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

Can't pull packages with cms add-pkg #14093

Closed
cferraio opened this issue Apr 15, 2016 · 4 comments
Closed

Can't pull packages with cms add-pkg #14093

cferraio opened this issue Apr 15, 2016 · 4 comments

Comments

@cferraio
Copy link
Contributor

Hi git experts,

I have managed to make a mess of my personal git world. I'm not sure what exactly I did, but I can explain the symptoms. Previously, when I would create a cmssw release area, I could simply checkout packages using "git cms-addpkg ", but now this isn't working. For example, the following commands produce nothing, whereas I usually would have been able to checkout the files:

[cferraio@lxplus076 ~]$ cmsrel CMSSW_7_5_5
WARNING: Release CMSSW_7_5_5 is not available for architecture slc6_amd64_gcc472.
         Developer's area is created for available architecture slc6_amd64_gcc491.
[cferraio@lxplus076 ~]$ cd CMSSW_7_5_5/src/
[cferraio@lxplus076 src]$ cmsenv
[cferraio@lxplus076 src]$ git cms-addpkg EventFilter/CastorRawToDigi
No release tags specified, using default CMSSW_7_5_5.
[cferraio@lxplus076 src]$ ls
total 0

If I go to an "old" directory (one where addpkg was previously working), I can still checkout packages with no issues, but whenever I start a new cmssw directory, I'm having these issues.

I also noticed the following, in "old", working directories, the branch I'm on corresponds to the cmssw release I'm in, for example:

[cferraio@lxplus057 ~]$ cd private/CMSSW_7_5_7_patch1/src/
[cferraio@lxplus057 src]$ cmsenv
[cferraio@lxplus057 src]$ git branch
  CMSSW_7_5_X
* from-CMSSW_7_5_7_patch1

But, in a fresh release, this is different:

[cferraio@lxplus0002 ~]$ cmsrel CMSSW_7_5_7_patch1
[cferraio@lxplus0002 ~]$ cd CMSSW_7_5_7_patch1/src/
[cferraio@lxplus0002 src]$ cmsenv
[cferraio@lxplus0002 src]$ git branch
  ZdcUnpacker_DigiRecoFix81X
* my-cmssw

This makes me think it's some simple setting that I messed up somewhere, but I'm unsure of how to fix it.

Thanks for your help.
-Chris

@cmsbuild
Copy link
Contributor

A new Issue was created by @cferraio (Chris Ferraioli).

@davidlange6, @smuzaffar, @Degano, @davidlt, @Dr15Jones can you please review it and eventually sign/assign? Thanks.

cms-bot commands are list here #13029

@slava77
Copy link
Contributor

slava77 commented Apr 15, 2016

maybe write to hn-cms-git@cern.ch instead?

@cferraio
Copy link
Contributor Author

thanks slava, once again! will do.

@smuzaffar
Copy link
Contributor

bsunanda pushed a commit to bsunanda/cmssw that referenced this issue Feb 27, 2024
rbhattacharya04 pushed a commit to rbhattacharya04/cmssw that referenced this issue Mar 7, 2024
Raffaella07 pushed a commit to Raffaella07/cmssw that referenced this issue Apr 15, 2024
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

4 participants