-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Rework sitemap.xml.gz view to fix it for plone.app.multilingual [2.3.x] #92
Conversation
ok, then its a bug (fix) label. I think its obvious that a PR with label bug must be a fix for a bug. |
@jensens it is - I just wasn't sure if you used these Labels for any special filtering, and didn't want to break things if so ;-) For example now 01 type: bug makes it look like there are 4 bugs when there are really 3, (this one is a fix for 91 already listed) Whatever you are happy with is great with me :-) |
As the changelog verifier tells you: Please add a note to |
@jensens sure - will do. I also need to add tests in plone.app.multilingual & am hoping for someone to add tests in LinguaPlone to make sure we don't break that! |
@erral I would like to rebase this branch to remove my trial & error from history. Are you (as the only person who has pulled it) OK with that ? |
The tests for PAM 2.x just passed, but we still need tests on PAM 1.x & LinguaPlone Just had a think through the dependencies, I'd appreciate a few more eyes to review this, as I @erral @jensens @mauritsvanrees + any others you think should see this.
(*) No new release should be required for LinguaPlone unless we break something! New releases are required for
Backports could conceivably be required at some point for PAM 3.x or plone.app.layout 2.5 Version pins |
👍 for rebase |
@erral rebase is done. Can you try cherry-picking the tests from PAM 2.x to PAM 1.x? Can you give any input on the LinguaPlone tests? |
Sorry, this comment is a mistake, i was looking at Plone 4.1 test. |
Ah, great another dependency! But PAM 1.x works on Plone 4.3 doesn't it? Mikel Larreategi notifications@github.com wrote:
|
Here is the PAM 1.x pull-request with the changes done in PAM 2.x and the backported tests |
Update of the above table
New releases (and tests) are required for
with Pins to the new p.a.layouts in new releases for
and tests (but no releases) that we haven't broken anything in
A backportmight be required at some point for PAM 3.x |
…ply such a filter if LinguaPlone is installed. The filter could (and probably should) be moved to LinguaPlone, but this is an improvement on previous code that assumed LinguaPlone was the only multilingual addon for Plone
a75fb2b
to
ca6c2d9
Compare
lgtm - is there any action needed in master? |
@jensens Yep there will be, (or should that be in 2.5.x branch?), but I need a merge and release here, so I can pin in p.a.m 2.x to fix the real problem. I'll juggle those balls first, then come back to the others. Ok? |
perfect, thanks a lot! |
Thanks @jensens who should I ping for a release? Can I also ask you on whether I need to also fix in 2.5.x branch or master or both? PAM master seems still to be testing against 2.5.x, but could it move to 2.6.x one day? Is 2.6.x just for Plone 5.1? Changes that you and thet made here mention some "Incompatibilities", but I'm not clear what it IS compatible with :-) |
@djowett for releases we have the @plone/release-team :) |
IMO its first enough to fix master branch. PAM master tests should run against p.a.layout master branch, since this is all in core now. This should be updated in PAM if needed. Fixing 1.5.x as well is then more or less just cherry picking. |
Agreed on all points. Thanks for clarifying |
@plone/release-team please can we have a release of plone.app.layout from the 2.3.x branch? |
Sure. I have released plone.app.layout 2.3.16. |
Branch: refs/heads/master Date: 2016-12-19T17:35:27Z Author: Daniel Jowett (djowett) <daniel@jowettenterprises.com> Commit: plone/plone.app.multilingual@16ff77e Add tests for sitemap.xml.gz (expect to fail for now) See plone/plone.app.layout#91 and plone/plone.app.layout#92 Also see #209 Files changed: A src/plone/app/multilingual/tests/test_sitemap.py M CHANGES.rst Repository: plone.app.multilingual Branch: refs/heads/master Date: 2016-12-19T17:42:35Z Author: Daniel Jowett (djowett) <daniel@jowettenterprises.com> Commit: plone/plone.app.multilingual@71eb2fa Use assertIn/assertNotIn - easier to read (requires Python 2.7) Files changed: M src/plone/app/multilingual/tests/test_sitemap.py Repository: plone.app.multilingual Branch: refs/heads/master Date: 2016-12-21T17:50:02Z Author: Daniel Jowett (djowett) <daniel@jowettenterprises.com> Commit: plone/plone.app.multilingual@7d157d2 Fix tests to use registry rather than portal_properties; unpin plone.app.multilingual so we are testing this source rather than a packaged egg Files changed: M src/plone/app/multilingual/tests/test_sitemap.py M test-plone-5.x.cfg Repository: plone.app.multilingual Branch: refs/heads/master Date: 2016-12-30T14:29:51Z Author: Daniel Jowett (djowett) <daniel@jowettenterprises.com> Commit: plone/plone.app.multilingual@58c7556 We shouldn't allow *everything* to fail in Travis! Files changed: M .travis.yml Repository: plone.app.multilingual Branch: refs/heads/master Date: 2016-12-30T14:29:51Z Author: Daniel Jowett (djowett) <daniel@jowettenterprises.com> Commit: plone/plone.app.multilingual@389aebc Update failing test - Catalan translations not currently available Files changed: M src/plone/app/multilingual/tests/robot/test_translate_content.robot Repository: plone.app.multilingual Branch: refs/heads/master Date: 2016-12-30T20:15:33Z Author: Daniel Jowett (djowett) <daniel@jowettenterprises.com> Commit: plone/plone.app.multilingual@62336fc Require a version of plone.app.layout which contains our sitemap fix Basically this is: * 2.6.3+ for Plone 5.1 * 2.5.22+ for Plone 5.0 Files changed: M setup.py M test-plone-5.0.x.cfg Repository: plone.app.multilingual Branch: refs/heads/master Date: 2016-12-30T20:16:55Z Author: Daniel Jowett (djowett) <daniel@jowettenterprises.com> Commit: plone/plone.app.multilingual@205c047 Try adding plone 5.1 to Travis tests Files changed: A test-plone-5.1.x.cfg M .travis.yml Repository: plone.app.multilingual Branch: refs/heads/master Date: 2017-01-03T17:47:20+01:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.app.multilingual@737910b Merge pull request #255 from plone/master_issue_91-sitemap.xml.gz Fix sitemap.xml.gz in master (issue #209) Files changed: A src/plone/app/multilingual/tests/test_sitemap.py A test-plone-5.1.x.cfg M .travis.yml M CHANGES.rst M setup.py M src/plone/app/multilingual/tests/robot/test_translate_content.robot M test-plone-5.0.x.cfg M test-plone-5.x.cfg
Branch: refs/heads/master Date: 2016-12-19T17:35:27Z Author: Daniel Jowett (djowett) <daniel@jowettenterprises.com> Commit: plone/plone.app.multilingual@16ff77e Add tests for sitemap.xml.gz (expect to fail for now) See plone/plone.app.layout#91 and plone/plone.app.layout#92 Also see #209 Files changed: A src/plone/app/multilingual/tests/test_sitemap.py M CHANGES.rst Repository: plone.app.multilingual Branch: refs/heads/master Date: 2016-12-19T17:42:35Z Author: Daniel Jowett (djowett) <daniel@jowettenterprises.com> Commit: plone/plone.app.multilingual@71eb2fa Use assertIn/assertNotIn - easier to read (requires Python 2.7) Files changed: M src/plone/app/multilingual/tests/test_sitemap.py Repository: plone.app.multilingual Branch: refs/heads/master Date: 2016-12-21T17:50:02Z Author: Daniel Jowett (djowett) <daniel@jowettenterprises.com> Commit: plone/plone.app.multilingual@7d157d2 Fix tests to use registry rather than portal_properties; unpin plone.app.multilingual so we are testing this source rather than a packaged egg Files changed: M src/plone/app/multilingual/tests/test_sitemap.py M test-plone-5.x.cfg Repository: plone.app.multilingual Branch: refs/heads/master Date: 2016-12-30T14:29:51Z Author: Daniel Jowett (djowett) <daniel@jowettenterprises.com> Commit: plone/plone.app.multilingual@58c7556 We shouldn't allow *everything* to fail in Travis! Files changed: M .travis.yml Repository: plone.app.multilingual Branch: refs/heads/master Date: 2016-12-30T14:29:51Z Author: Daniel Jowett (djowett) <daniel@jowettenterprises.com> Commit: plone/plone.app.multilingual@389aebc Update failing test - Catalan translations not currently available Files changed: M src/plone/app/multilingual/tests/robot/test_translate_content.robot Repository: plone.app.multilingual Branch: refs/heads/master Date: 2016-12-30T20:15:33Z Author: Daniel Jowett (djowett) <daniel@jowettenterprises.com> Commit: plone/plone.app.multilingual@62336fc Require a version of plone.app.layout which contains our sitemap fix Basically this is: * 2.6.3+ for Plone 5.1 * 2.5.22+ for Plone 5.0 Files changed: M setup.py M test-plone-5.0.x.cfg Repository: plone.app.multilingual Branch: refs/heads/master Date: 2016-12-30T20:16:55Z Author: Daniel Jowett (djowett) <daniel@jowettenterprises.com> Commit: plone/plone.app.multilingual@205c047 Try adding plone 5.1 to Travis tests Files changed: A test-plone-5.1.x.cfg M .travis.yml Repository: plone.app.multilingual Branch: refs/heads/master Date: 2017-01-03T17:47:20+01:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.app.multilingual@737910b Merge pull request #255 from plone/master_issue_91-sitemap.xml.gz Fix sitemap.xml.gz in master (issue #209) Files changed: A src/plone/app/multilingual/tests/test_sitemap.py A test-plone-5.1.x.cfg M .travis.yml M CHANGES.rst M setup.py M src/plone/app/multilingual/tests/robot/test_translate_content.robot M test-plone-5.0.x.cfg M test-plone-5.x.cfg
fix styles for '#portal-header'
Tests still required, but this is a suggested fix for #91