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

Add overrides argument to eups list #150

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

leeskelvin
Copy link
Collaborator

No description provided.

@leeskelvin leeskelvin marked this pull request as draft January 12, 2024 20:33
@timj
Copy link
Collaborator

timj commented Jan 22, 2024

@leeskelvin you will need to rebase this PR. It seems like a new release of EUPS is due, are you wanting this PR to be included?

@leeskelvin
Copy link
Collaborator Author

Rebased, thanks. I still need to perform a fairly significant rewrite based on @RobertLuptonTheGood's initial review which I haven't had time to get to yet, so please don't wait for me on this PR. I hope to have the updated PR in-place by the end of this week.

@leeskelvin leeskelvin force-pushed the u/lskelvin/eups-diff branch 2 times, most recently from c103228 to 61dfe37 Compare January 26, 2024 20:56
@leeskelvin leeskelvin marked this pull request as ready for review January 26, 2024 21:03
@leeskelvin leeskelvin changed the title Add eups diff subcommand Add diff argument to eups list Feb 2, 2024
@leeskelvin leeskelvin changed the title Add diff argument to eups list Add overrides argument to eups list May 24, 2024
This commit adds a new argument to eups list: -C or  --diff. This
argument calculates the relative complement (aka, set difference) of
declared version products with respect to currently setup products.

All dependent products associated with the named product will be used as
a reference, relative to the list of setup products managed by EUPS.
Following feedback from Nate Lust, the name "diff" may prove to be
confusing to some, as it implies a diff between two versions and not
necessarily a diff of all the product dependencies that come when
setting up that product. It was felt that a name change to "overrides"
(or, "-o" in short) would more accurately describe the operation here -
i.e., it shows what products the end-user has locally set up which
override those they would get when setting up lsst_distrib with a given
version/tag. To further accentuate that difference, dependent products
are now identified by virtue of a leading "|" symbol, as EUPS utilizes
for the "--dependencies" argument.
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

Successfully merging this pull request may close these issues.

2 participants