New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
10.0 mig website canonical url #344
Conversation
Hey @reinka, thank you for your Pull Request. It looks like some users haven't signed our Contributor License Agreement, yet.
Appreciation of efforts, |
Isn't there any 9.0 commit to bring? Have you used migration guide https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-10.0? |
@pedrobaeza Sorry, but what do you mean by "Isn't there any 9.0 commit to bring?"? |
Well, have you run the commands specified in the migration guide? If so, this add any change since the 10.0 branch fork in your PR. |
@pedrobaeza I'm new to all this. I'll have a look at the requirements in your link and get back to you once I've taken care of it. Please bear with me. |
@pedrobaeza I reverted all my commits and proceeded as required in your link. Please let me know if I've mistaken/missed something. |
Perfect, now you only need to remove the initial commits + reverts instead of keeping them. If you don't know how, tell me and I'll do it. |
48c1252
to
1d28bd8
Compare
@pedrobaeza Tried to figure it out myself. I rebased and dropped all the commits you mentioned. Was this the correct way? |
Yeah, it seems so! Now go for the green Travis. |
@pedrobaeza I'm confused. I've checked the details of the travis build, there it says:
It seems all generated errors are due to |
@yajo can you check about the fail on website_seo_redirection? |
Maybe you need rebasing? |
@yajo Sorry to ask, but what kind of rebasing? I rebased before by dropping unnecessary commits. |
The main branch is now green, so if you make (assuming
|
1d28bd8
to
89e8042
Compare
Upstream website_event_sale addon already implements this behavior, these addons were not installable, thus big happy removal happening.
… the runbot url to 9.0 - remove <data> in the templates - replace <openerp> with <odoo> in the templates
add a proper description correct import according to review
bug fixes + add languages clean the code fix README file
[IMP] add pagination support
[IMP] website_canoncial_url: Several improvements * Use safe method to retrieve lang. This avoids a possible `KeyError`. * Use relative paths. Makes this work fine behind an HTTPS proxy. * Prefer `/` over `/page/homepage`. The root path canonicalized is more SEO and user friendly.
89e8042
to
92afd91
Compare
That didn't work. After that I ran your commands and it did work. If someone could explain why, I'd really appreciate it. |
The rebase hasn't gone correctly. |
Migration to v10.
Additionally, replaced relative URLs by absolute ones, according to these comments: #299 (review)