{"action":"created","issue":{"url":"https://api.github.com/repos/RobertLuptonTheGood/eups/issues/93","repository_url":"https://api.github.com/repos/RobertLuptonTheGood/eups","labels_url":"https://api.github.com/repos/RobertLuptonTheGood/eups/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/RobertLuptonTheGood/eups/issues/93/comments","events_url":"https://api.github.com/repos/RobertLuptonTheGood/eups/issues/93/events","html_url":"https://github.com/RobertLuptonTheGood/eups/issues/93","id":133532066,"number":93,"title":"User tags broken","user":{"login":"mjuric","id":620059,"avatar_url":"https://avatars.githubusercontent.com/u/620059?v=3","gravatar_id":"","url":"https://api.github.com/users/mjuric","html_url":"https://github.com/mjuric","followers_url":"https://api.github.com/users/mjuric/followers","following_url":"https://api.github.com/users/mjuric/following{/other_user}","gists_url":"https://api.github.com/users/mjuric/gists{/gist_id}","starred_url":"https://api.github.com/users/mjuric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjuric/subscriptions","organizations_url":"https://api.github.com/users/mjuric/orgs","repos_url":"https://api.github.com/users/mjuric/repos","events_url":"https://api.github.com/users/mjuric/events{/privacy}","received_events_url":"https://api.github.com/users/mjuric/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-14T11:37:30Z","updated_at":"2016-03-14T22:47:22Z","closed_at":null,"body":"User tags declared in `~/.eups` are forgotten when `setups.sh` is run again. This was first noticed in the [discussion on discourse](https://community.lsst.org/t/change-of-behavior-in-eups/523). I've managed to reproduce the bug and isolate its introduction to commit babde22. More specifically, [it's this line](https://github.com/RobertLuptonTheGood/eups/commit/babde226f096d20fcea56b069cf63c31f04acd66#diff-d040f65ada06eb8708ac6a26429f9c00R126) that triggers it.\r\n\r\nBased on a first look, I suspect it has something to do with a) user tags only being stored in the pickled product DB (i.e., in `~/.eups/ups_db/DarwinX86.pickleDB1_3_0`) -- which may be the real bug -- and b) the line mentioned above triggering a rebuild of that database, which didn't use to happen before.\r\n\r\nThose pickle databases were always something I tried to avoid touching as the code seems to be quite messy, so this may be a task for someone who's more intimately familiar with them ( @RobertLuptonTheGood )? I suspect the real bug is in the fact that the user tag isn't getting written out to a `.chain` file in `~/.eups`, but I don't know enough about how user tags are implemented and meant to work to be certain."},"comment":{"url":"https://api.github.com/repos/RobertLuptonTheGood/eups/issues/comments/196553514","html_url":"https://github.com/RobertLuptonTheGood/eups/issues/93#issuecomment-196553514","issue_url":"https://api.github.com/repos/RobertLuptonTheGood/eups/issues/93","id":196553514,"user":{"login":"danielsf","id":1682854,"avatar_url":"https://avatars.githubusercontent.com/u/1682854?v=3","gravatar_id":"","url":"https://api.github.com/users/danielsf","html_url":"https://github.com/danielsf","followers_url":"https://api.github.com/users/danielsf/followers","following_url":"https://api.github.com/users/danielsf/following{/other_user}","gists_url":"https://api.github.com/users/danielsf/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsf/subscriptions","organizations_url":"https://api.github.com/users/danielsf/orgs","repos_url":"https://api.github.com/users/danielsf/repos","events_url":"https://api.github.com/users/danielsf/events{/privacy}","received_events_url":"https://api.github.com/users/danielsf/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T22:47:22Z","updated_at":"2016-03-14T22:47:22Z","body":"If I can add urgency to this issue: DESC users are starting to run into this bug.  It is making it very hard for us (the Sims team, mostly) to coach them through using EUPS and the stack."}}