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

git-cms-addpkg and new packages #117

Open
kpedro88 opened this issue Feb 8, 2021 · 1 comment
Open

git-cms-addpkg and new packages #117

kpedro88 opened this issue Feb 8, 2021 · 1 comment

Comments

@kpedro88
Copy link
Contributor

kpedro88 commented Feb 8, 2021

I just encountered the following situation:

  1. checkout a CMSSW release as usual, call git cms-init
  2. create a new package, add & commit files inside the new package
  3. call git cms-addpkg to get an existing package

The result is that the tracked files from the new package are removed from the working directory by the sparse checkout that occurs when git cms-addpkg is called. (I had to call git cms-addpkg for the new package to get the files back.)

I'm not immediately sure if there's a way to resolve this problem. Maybe the first time git cms-addpkg is called (identified by the sparse-checkout file having default contents?), it could call git cms-sparse-checkout, similar to what the git cms-[]-topic commands do.

@cmsbuild
Copy link

cmsbuild commented Feb 8, 2021

A new Issue was created by @kpedro88 Kevin Pedro.

@Dr15Jones, @dpiparo, @silviodonato, @smuzaffar, @makortel, @qliphy can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants