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

Resolution rules for derivative OSs #12

Open
NikolausDemmel opened this issue Jul 18, 2014 · 4 comments
Open

Resolution rules for derivative OSs #12

NikolausDemmel opened this issue Jul 18, 2014 · 4 comments
Assignees
Milestone

Comments

@NikolausDemmel
Copy link
Member

Here is a proposal for how to realize this:
http://xylem.readthedocs.org/en/latest/design.html#derivative-operating-systems

This considers the discussed tuples of name and version even for derivate OSs.

Feel free to comment / discuss in this issue.

@NikolausDemmel
Copy link
Member Author

@tfoote
Copy link

tfoote commented Jul 21, 2014

Adding this support is reasonable. I'm worried we are going to need to make sure to have some good debugging/introspection tools to tell the user what's going on. And when maintaining the rules this makes it possible to write redundant data which is not detectable without a full parse including loading the OS detection modules with their derivative tuples.

@wjwwood
Copy link
Member

wjwwood commented Jul 21, 2014

I agree, @NikolausDemmel try to keep in mind good places to insert messages for "resolution tracing" where we can some how see the process by which rules are selected with a debugging option.

@NikolausDemmel
Copy link
Member Author

Agreed. For resolution with debug enabled (-d flag) the we can output info at each point where decisions such as overwritten rules (different rules files), neglected installers (installer priority) or chosen OS name (derivative OSs) are made.

As for the rules files, we can extend the automatic tests to rosdistro (or a corresponding ros-independent default-sources repo) to loading the rules and resolving (without derivate OS logic) all keys for all (standard) os plugins. If the resolution matches the one for the 'parent' OS, the definition is redundant.

@NikolausDemmel NikolausDemmel self-assigned this Aug 10, 2014
@NikolausDemmel NikolausDemmel added this to the 0.1.0 Release milestone Aug 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants