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

Idea for ska version #23

Closed
taldcroft opened this issue Jul 12, 2018 · 3 comments
Closed

Idea for ska version #23

taldcroft opened this issue Jul 12, 2018 · 3 comments

Comments

@taldcroft
Copy link
Member

Following discussion in #19, one possibility is to have each meta package provide a version file. Then the ska_version script would effectively paste all those together, giving a possibly long but unique version description of the environment. E.g.

$SKA/versions/
    ska3-flight
    ska3-core
    ska3-pinned
    ska3-perl

Then ska_version might give something like:

flight-2018.09.22:core-2018.08.01:pinned-2018.08.01:perl-2018.08.01

If you decide to uninstall ska3-flight then it looks like core-2018.08.01:pinned-2018.08.01:perl-2018.08.01.

@jeanconn
Copy link
Contributor

ska_version could also be a script that queries the versions of those packages from conda, but version files are probably simpler.

@taldcroft
Copy link
Member Author

Per discussion, implement a ska_version script that gets package names and versions from conda list (JSON file) and looks for any package name starting with ska3-. So this requires the convention of having versioned metapackaged named thusly (fine).

Output looks like below (alphabetized):

core-2018.09.22:flight-2018.08.01:pinned-2018.08.01:perl-2018.08.01

@jeanconn
Copy link
Contributor

Closed by #37

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

No branches or pull requests

2 participants