{"action":"created","issue":{"url":"https://api.github.com/repos/desihub/desispec/issues/543","repository_url":"https://api.github.com/repos/desihub/desispec","labels_url":"https://api.github.com/repos/desihub/desispec/issues/543/labels{/name}","comments_url":"https://api.github.com/repos/desihub/desispec/issues/543/comments","events_url":"https://api.github.com/repos/desihub/desispec/issues/543/events","html_url":"https://github.com/desihub/desispec/pull/543","id":306666683,"number":543,"title":"DB sync","user":{"login":"julienguy","id":5192160,"avatar_url":"https://avatars0.githubusercontent.com/u/5192160?v=4","gravatar_id":"","url":"https://api.github.com/users/julienguy","html_url":"https://github.com/julienguy","followers_url":"https://api.github.com/users/julienguy/followers","following_url":"https://api.github.com/users/julienguy/following{/other_user}","gists_url":"https://api.github.com/users/julienguy/gists{/gist_id}","starred_url":"https://api.github.com/users/julienguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienguy/subscriptions","organizations_url":"https://api.github.com/users/julienguy/orgs","repos_url":"https://api.github.com/users/julienguy/repos","events_url":"https://api.github.com/users/julienguy/events{/privacy}","received_events_url":"https://api.github.com/users/julienguy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-19T22:50:49Z","updated_at":"2018-03-19T23:09:25Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/desihub/desispec/pulls/543","html_url":"https://github.com/desihub/desispec/pull/543","diff_url":"https://github.com/desihub/desispec/pull/543.diff","patch_url":"https://github.com/desihub/desispec/pull/543.patch"},"body":"Improved sync. DB based a prod on disk.\r\nThis is useful for simulation runs where frames or cframes are simulated directly.\r\nTested on an instance of the mini test.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/desihub/desispec/issues/comments/374416602","html_url":"https://github.com/desihub/desispec/pull/543#issuecomment-374416602","issue_url":"https://api.github.com/repos/desihub/desispec/issues/543","id":374416602,"user":{"login":"julienguy","id":5192160,"avatar_url":"https://avatars0.githubusercontent.com/u/5192160?v=4","gravatar_id":"","url":"https://api.github.com/users/julienguy","html_url":"https://github.com/julienguy","followers_url":"https://api.github.com/users/julienguy/followers","following_url":"https://api.github.com/users/julienguy/following{/other_user}","gists_url":"https://api.github.com/users/julienguy/gists{/gist_id}","starred_url":"https://api.github.com/users/julienguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienguy/subscriptions","organizations_url":"https://api.github.com/users/julienguy/orgs","repos_url":"https://api.github.com/users/julienguy/repos","events_url":"https://api.github.com/users/julienguy/events{/privacy}","received_events_url":"https://api.github.com/users/julienguy/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T23:09:25Z","updated_at":"2018-03-19T23:09:25Z","author_association":"CONTRIBUTOR","body":"The --force is to force the db creation on an existing redux prod. This is needed for simulations where frames or cframes are generated by the sims. If you think of a better approach to this don't hesistate to modify this branch.\r\nAs an example I have done,\r\n```\r\ndesi_pipe create --data /global/cscratch1/sd/jguy/sim2017/mini7/spectro/sim/mini --redux /global/cscratch1/sd/jguy/sim2017/mini7/spectro/redux --prod mini --db-sqlite\r\n\r\nsource /global/cscratch1/sd/jguy/sim2017/mini7/spectro/redux/mini/setup.sh\r\n\r\ndesi_pipe sync\r\n\r\n```\r\n\r\n"}}
{"actor":{"display_login":"julienguy"}}