-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Gathering "package" tags and putting the same "package" tag in several releases? #10
Comments
IOW, using git cms-addpkg, is there a way to specify from which (personal) github repository / branch / tag to get the package? BTW, where do I find the documentation of cms-addpkg? The current help text does not say this: gruen@ughent2: Options: -d, --debug enable debug output |
No, at the moment, you'll need to use |
Hmm, but how do I specify the individual package I want the updates from, given that I do not want the all repository changes to be pulled in every time? |
Use sparse checkout, e.g: http://jasonkarns.com/blog/subdirectory-checkouts-with-git-sparse-checkout/ |
As one of the people commented there, this is rather cumbersome (editing config files for each separate case) |
Will chime in here since this is relevant to a question I was trying to understand. If this is too old & forgotten I'll open a new issue if nobody sees this :) So there is the CMSSW development use case which is referred to in the FAQ and here, but there is the probably more common CMSSW analysis use case, where typically an analyzer is pulling in tags from different releases to catch the latest PATtuple recipe, pull in analysis code not tied to a specific release, etc. Quite often we have a dozen-odd packages, each from a different release or standalone tag. To be more specific, how might I do something like: cvs co -r cms538_v1 -d SusyAnalysis/SusyNtuplizer UserCode/LPCPJM/SusyAnalysis/SusyNtuplizer (The first line is covered now since we moved that guy to GitHub on its own, but the remaining 14 or so lines has me worried...) Thanks, --Dave |
@DAMason, frankly that looks like a mess. It's better to create a branch/repo for your recipe. Instead of doing all this, then I would need just to pull some branch/tag. |
As long as your changes are in a release or in the HEAD, you can now follow what described in: |
Sorry, but concerning the comment by davidlt: "create a branch/repo" |
@DAMason @Martin-Grunewald can you see if: gives you an idea on how to solve such a usecase in the git way (look at the second part, the first one is for the trivial case). |
Hi, I do not understand your reply here: the "#10" link refers to DAMAson's comments further up in the thread, |
Added Mht/Ht to energy sums
Add changes to the clients which use APVCyclePhaseProducerFromL1TS
Heavy-ion people assigned to more specific packages
added npile-up for genericNtuple
Constructor directly from file
Add possibility to save half-precision float variables
Localmaster
…gyCut Energy threshold on reconstructed candidates
update deeptau sonic producer
Update low pileup recipe to work with high pileup setup
…_12_4_0_pre2 Geometric linking CMSSW_12_4_0_pre2
…ackason2_tmp kernel optimisations. utilize produceLegacy switch.
Changes for running testbench
…_pre4_stable Add CaloRecHitSoA and PFRecHitSoA and PFRecHitProducerAlpaka
make startup allocations safe on platforms where dlsym allocates memory
Typo fix in dydz matches
…T_removeExtraTCInfo Remove extra TC info
…4_0_X Test conditions for T36
Sync for Wmass main
Hi,
I have a question how to most effectively organise the collection of several "package" tags, given that in GIT package tags in the cvs language do not exist as always the full repository is tagged.
In the CVS language, say I have a few new tags of some packages which I want to test together. So I make a release area, and then need to pull in each updated package from someone else's GitHub repository. How does that work if the tags are repository wide? How do I ensure I get from each GiutHub repository only the single/few package I really want?
Related question: in the CVS world it was possible to have a single package tag in several release series (eg, the same HLTrigger/Configuration tag in both 53X and 61X). How does GIT support this, given that tags are not per package? Would I need to develop in one branch and then copy and commit for the other branches, given that "tags" are repository wide?
The text was updated successfully, but these errors were encountered: