Closed fwyzard closed 1 month ago
A new Pull Request was created by @fwyzard for branch master.
@cmsbuild, @iarspider, @smuzaffar, @aandvalenzuela can you please review it and eventually sign? Thanks. @sextonkennedy, @antoniovilela, @rappoccio you are the release manager for this. cms-bot commands are listed here
cms-bot internal usage
@fwyzard , sorry I missed this.
I have tested it locally and it works fine if I have already done it git cms-init
and I am in src
directory. As all git-cms
tools are suppose to work under cmsenv
so may be if one is not under src
then first do a cd $CMSSW_BASE
?
As all
git-cms
tools are suppose to work undercmsenv
so may be if one is not undersrc
then first do acd $CMSSW_BASE
?
Good point.
Also can you please move it under share/etc/profile.d/S99cms-git-tools-completion.sh
. Then we can just rsync this share/etc/profile.d
to /cvmfs/cms.cern.ch/share/etc/profile.d
which contains the scripts automatically sources by cmsset_default.sh
Just to double check, I should create a new directory share/etc/profile.d/
and move the file there, correct ?
Pull request #127 was updated.
Just to double check, I should create a new directory
share/etc/profile.d/
and move the file there, correct ?
yes, that is correct. By the way, does this work for CentOs7 ? I get strange results when run under cc7 releases ( may be it is git or bash version issue)
I've made three changes:
share/etc/profile.d/S99cms-git-tools-completion.sh
;$CMSSW_BASE
is defined and $CMSSW_BASE/src/.git
exists, take the list of packages from Git;$CMSSW_RELEASE_BASE
is defined and $CMSSW_RELEASE_BASE/src
exists, take the list of packages from the release area.From a quick test on CentOS 7.9 (in a cmssw-el7
container), the completion for git-cms-addpkg
is working, while the completion for git cms-addpkg
does not work.
But I don't get any completion for any of the native git
commands, either.
please test
+1
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b7626f/41744/summary.html
COMMIT: df187cc63a0071dc1bb71e2d38d6ab5fb6049077
CMSSW: CMSSW_14_2_X_2024-09-24-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cms-git-tools/127/41744/install.sh
to create a dev area with all the needed externals and cmssw changes.
The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b7626f/41744/git-recent-commits.json https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b7626f/41744/git-merge-result
Summary:
+externals
this needs to be tested via cmsdist PR (with changes to deploy this new script)
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @antoniovilela, @sextonkennedy, @rappoccio, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2)
The completion is available for both
git-cms-addpkg
andgit cms-addpkg
.