Skip to content
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

X_and_newer version selectors don't work for X <- EOLd distros #197

Open
gavanderhoorn opened this issue Feb 6, 2017 · 7 comments
Open
Labels

Comments

@gavanderhoorn
Copy link
Contributor

gavanderhoorn commented Feb 6, 2017

Just noticed this today (but it's probably been like this for some time): it would seem the x_and_newer version selector (used when conditionally including pages fi) doesn't work if x is in the list of hidden distros.

An example is the Setting up Dynamic Reconfigure for a Node (python) tutorial. The page looks empty, while in fact the contents is just hidden. The version predicate for that page is groovy_and_newer. Changing it to indigo_and_newer makes things work again.

It would seem to make sense for the page to be rendered even if Groovy and Hydro have been EOLd, would it not?

@gavanderhoorn
Copy link
Contributor Author

I've just changed the predicate to read indigo_and_newer on the dynamic_reconfigure tutorial, so that the page renders correctly again.

The problem described in my OP is easily reproducable by just changing it to read groovy_and_newer again.

@dirk-thomas
Copy link
Member

The recent change from #169 might have exposed this problem. @mikaelarguedas If this happens more often now with the hidden distros being updated the wiki version macro might need to be updated.

@mikaelarguedas
Copy link
Contributor

Thanks for pointing it out. With Jade being EOL in May it would make sense to update the wiki macro. An audit of the wiki for lunar release may be necessary because many other pages may be impacted by the recent change

@dirk-thomas
Copy link
Member

I think this needs to be handled before Jade being EOLed. The recently merged PR changed moved electric, fuerte, groovy, and hydro to hidden distros and this seems to affect some pages. It needs to quantified how many pages are affected. Either those can be addressed manually or the macro needs to be updated to produce the correct result even if the distro name referred to is hidden (the second option would also prevent the problem in the future).

@gavanderhoorn
Copy link
Contributor Author

@dirk-thomas wrote:

[..] the macro needs to be updated to produce the correct result even if the distro name referred to is hidden (the second option would also prevent the problem in the future).

Personally (but I'm just a humble user) fixing the macro to always work would seem like the only acceptable way to deal with this: groovy_and_newer implies that it is a superset of indigo_and_newer.

@dirk-thomas
Copy link
Member

Personally (but I'm just a humble user) fixing the macro to always work would seem like the only acceptable way to deal with this: groovy_and_newer implies that it is a superset of indigo_and_newer.

👍

@mikaelarguedas
Copy link
Contributor

I reverted the change for now and will iterate on fixing the macro soon. I update the wiki page to use groovy_and_newer again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants