Skip to content

Add overrides argument to eups list#150

Closed
leeskelvin wants to merge 4 commits intomasterfrom
u/lskelvin/eups-diff
Closed

Add overrides argument to eups list#150
leeskelvin wants to merge 4 commits intomasterfrom
u/lskelvin/eups-diff

Conversation

@leeskelvin
Copy link
Collaborator

No description provided.

@leeskelvin leeskelvin marked this pull request as draft January 12, 2024 20:33
@leeskelvin leeskelvin force-pushed the u/lskelvin/eups-diff branch from cfcca7c to f6218a8 Compare January 16, 2024 19:17
@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 leeskelvin force-pushed the u/lskelvin/eups-diff branch from f6218a8 to da8f1c6 Compare January 22, 2024 16:51
@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 force-pushed the u/lskelvin/eups-diff branch from 61dfe37 to 4bc4212 Compare February 2, 2024 20:55
@leeskelvin leeskelvin force-pushed the u/lskelvin/eups-diff branch from 9f1e33f to 87a397f Compare April 30, 2024 18:04
@leeskelvin leeskelvin force-pushed the u/lskelvin/eups-diff branch from bd482bf to 2ac8f02 Compare May 8, 2024 16:55
@leeskelvin leeskelvin changed the title Add diff argument to eups list Add overrides argument to eups list May 24, 2024
@leeskelvin leeskelvin force-pushed the u/lskelvin/eups-diff branch from 2ac8f02 to 7d635cd Compare July 10, 2024 13:08
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.
@leeskelvin
Copy link
Collaborator Author

Withdrawing this PR due to lack of progress. I'll continue using a local alias to extract the information that would have been provided by this PR.

@leeskelvin leeskelvin closed this Sep 10, 2025
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