{"action":"created","issue":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/14093","repository_url":"https://api.github.com/repos/cms-sw/cmssw","labels_url":"https://api.github.com/repos/cms-sw/cmssw/issues/14093/labels{/name}","comments_url":"https://api.github.com/repos/cms-sw/cmssw/issues/14093/comments","events_url":"https://api.github.com/repos/cms-sw/cmssw/issues/14093/events","html_url":"https://github.com/cms-sw/cmssw/issues/14093","id":148674315,"number":14093,"title":"Can't pull packages with cms add-pkg","user":{"login":"cferraio","id":5058388,"avatar_url":"https://avatars.githubusercontent.com/u/5058388?v=3","gravatar_id":"","url":"https://api.github.com/users/cferraio","html_url":"https://github.com/cferraio","followers_url":"https://api.github.com/users/cferraio/followers","following_url":"https://api.github.com/users/cferraio/following{/other_user}","gists_url":"https://api.github.com/users/cferraio/gists{/gist_id}","starred_url":"https://api.github.com/users/cferraio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cferraio/subscriptions","organizations_url":"https://api.github.com/users/cferraio/orgs","repos_url":"https://api.github.com/users/cferraio/repos","events_url":"https://api.github.com/users/cferraio/events{/privacy}","received_events_url":"https://api.github.com/users/cferraio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cms-sw/cmssw/labels/pending-assignment","name":"pending-assignment","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-15T14:24:17Z","updated_at":"2016-04-15T14:30:13Z","closed_at":null,"body":"Hi git experts,\r\n\r\nI 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 <package>\", but now this isn't working. For example, the following commands produce nothing, whereas I usually would have been able to checkout the files:\r\n```\r\n[cferraio@lxplus076 ~]$ cmsrel CMSSW_7_5_5\r\nWARNING: Release CMSSW_7_5_5 is not available for architecture slc6_amd64_gcc472.\r\n         Developer's area is created for available architecture slc6_amd64_gcc491.\r\n[cferraio@lxplus076 ~]$ cd CMSSW_7_5_5/src/\r\n[cferraio@lxplus076 src]$ cmsenv\r\n[cferraio@lxplus076 src]$ git cms-addpkg EventFilter/CastorRawToDigi\r\nNo release tags specified, using default CMSSW_7_5_5.\r\n[cferraio@lxplus076 src]$ ls\r\ntotal 0\r\n```\r\nIf 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.\r\n\r\nI also noticed the following, in \"old\", working directories, the branch I'm on corresponds to the cmssw release I'm in, for example:\r\n```\r\n[cferraio@lxplus057 ~]$ cd private/CMSSW_7_5_7_patch1/src/\r\n[cferraio@lxplus057 src]$ cmsenv\r\n[cferraio@lxplus057 src]$ git branch\r\n  CMSSW_7_5_X\r\n* from-CMSSW_7_5_7_patch1\r\n```\r\nBut, in a fresh release, this is different:\r\n```\r\n[cferraio@lxplus0002 ~]$ cmsrel CMSSW_7_5_7_patch1\r\n[cferraio@lxplus0002 ~]$ cd CMSSW_7_5_7_patch1/src/\r\n[cferraio@lxplus0002 src]$ cmsenv\r\n[cferraio@lxplus0002 src]$ git branch\r\n  ZdcUnpacker_DigiRecoFix81X\r\n* my-cmssw\r\n```\r\n\r\nThis makes me think it's some simple setting that I messed up somewhere, but I'm unsure of how to fix it.\r\n\r\nThanks for your help.\r\n-Chris"},"comment":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/comments/210483654","html_url":"https://github.com/cms-sw/cmssw/issues/14093#issuecomment-210483654","issue_url":"https://api.github.com/repos/cms-sw/cmssw/issues/14093","id":210483654,"user":{"login":"slava77","id":4676718,"avatar_url":"https://avatars.githubusercontent.com/u/4676718?v=3","gravatar_id":"","url":"https://api.github.com/users/slava77","html_url":"https://github.com/slava77","followers_url":"https://api.github.com/users/slava77/followers","following_url":"https://api.github.com/users/slava77/following{/other_user}","gists_url":"https://api.github.com/users/slava77/gists{/gist_id}","starred_url":"https://api.github.com/users/slava77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slava77/subscriptions","organizations_url":"https://api.github.com/users/slava77/orgs","repos_url":"https://api.github.com/users/slava77/repos","events_url":"https://api.github.com/users/slava77/events{/privacy}","received_events_url":"https://api.github.com/users/slava77/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T14:30:13Z","updated_at":"2016-04-15T14:30:13Z","body":"maybe write to hn-cms-git@cern.ch instead?"}}