Closed kpedro88 closed 6 years ago
A new Pull Request was created by @kpedro88 (Kevin Pedro) for branch master.
@cmsbuild, @smuzaffar, @gudrutis, @mrodozov can you please review it and eventually sign? Thanks. You can sign-off by replying to this message having '+1' in the first line of your reply. You can reject by replying to this message having '-1' in the first line of your reply.
external issue cms-sw/cmsdist#3828
Pull request #96 was updated.
external issue cms-sw/cmsdist#3828
rebased on top of #95 due to doc/Makefile changes
cms-rmpkg
was originally introduced in #80, but then removed in #83. The problems were:This PR addresses the first two concerns by:
$CMSSW_VERSION
and stopping if any requested packages are on it.pyc
) and stopping if any requested packages are on it-o, --force
(will delete untracked files in that case)Other changes in this PR:
Questions for others (@smuzaffar, @fwyzard, @davidlange6, anybody else who cares):
cms-rmpkg
won't remove A if B triggers an error (because nonexistent, containing untracked files, or modified). Should we try to make it more permissive (e.g. remove anything it can remove)?Tested as follows:
First test:
gives:
Second test:
gives: