{"action":"created","issue":{"url":"https://api.github.com/repos/galaxyproject/planemo/issues/119","labels_url":"https://api.github.com/repos/galaxyproject/planemo/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/galaxyproject/planemo/issues/119/comments","events_url":"https://api.github.com/repos/galaxyproject/planemo/issues/119/events","html_url":"https://github.com/galaxyproject/planemo/issues/119","id":67393685,"number":119,"title":"shed_mirror command","user":{"login":"erasche","id":458683,"avatar_url":"https://avatars.githubusercontent.com/u/458683?v=3","gravatar_id":"","url":"https://api.github.com/users/erasche","html_url":"https://github.com/erasche","followers_url":"https://api.github.com/users/erasche/followers","following_url":"https://api.github.com/users/erasche/following{/other_user}","gists_url":"https://api.github.com/users/erasche/gists{/gist_id}","starred_url":"https://api.github.com/users/erasche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erasche/subscriptions","organizations_url":"https://api.github.com/users/erasche/orgs","repos_url":"https://api.github.com/users/erasche/repos","events_url":"https://api.github.com/users/erasche/events{/privacy}","received_events_url":"https://api.github.com/users/erasche/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/galaxyproject/planemo/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"erasche","id":458683,"avatar_url":"https://avatars.githubusercontent.com/u/458683?v=3","gravatar_id":"","url":"https://api.github.com/users/erasche","html_url":"https://github.com/erasche","followers_url":"https://api.github.com/users/erasche/followers","following_url":"https://api.github.com/users/erasche/following{/other_user}","gists_url":"https://api.github.com/users/erasche/gists{/gist_id}","starred_url":"https://api.github.com/users/erasche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erasche/subscriptions","organizations_url":"https://api.github.com/users/erasche/orgs","repos_url":"https://api.github.com/users/erasche/repos","events_url":"https://api.github.com/users/erasche/events{/privacy}","received_events_url":"https://api.github.com/users/erasche/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-04-09T16:01:40Z","updated_at":"2015-04-30T10:20:15Z","closed_at":null,"body":"It would be nice to have a \"shed_mirror\" command that would take:\r\n\r\n- source TS\r\n- destination TS\r\n- destination TS `--owner`\r\n- a list of `username/package_name`\r\n\r\nIt would be a combination of `shed_download` and `shed_upload` with a temporary `tar xvfz; rm package*/.hg_archival.txt; tar cvfz;` in between.\r\n\r\nOr...galaxy could just allow cross TS deps. `:|`"},"comment":{"url":"https://api.github.com/repos/galaxyproject/planemo/issues/comments/97729517","html_url":"https://github.com/galaxyproject/planemo/issues/119#issuecomment-97729517","issue_url":"https://api.github.com/repos/galaxyproject/planemo/issues/119","id":97729517,"user":{"login":"peterjc","id":63959,"avatar_url":"https://avatars.githubusercontent.com/u/63959?v=3","gravatar_id":"","url":"https://api.github.com/users/peterjc","html_url":"https://github.com/peterjc","followers_url":"https://api.github.com/users/peterjc/followers","following_url":"https://api.github.com/users/peterjc/following{/other_user}","gists_url":"https://api.github.com/users/peterjc/gists{/gist_id}","starred_url":"https://api.github.com/users/peterjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterjc/subscriptions","organizations_url":"https://api.github.com/users/peterjc/orgs","repos_url":"https://api.github.com/users/peterjc/repos","events_url":"https://api.github.com/users/peterjc/events{/privacy}","received_events_url":"https://api.github.com/users/peterjc/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T10:20:15Z","updated_at":"2015-04-30T10:20:15Z","body":"One major problem for this ``shed_mirror`` command is what to do with the hg revision entries in any dependency XML files?\r\n\r\nA naive download from TS1 and upload to TS2 would break because the hg commit hashes used in dependencies in TS1 are unlikely to match those in TS2. Removing the revisions would result in using the latest version of the dependency in TS2, sometimes the right thing to do but not always.\r\n\r\n(I think the Tool Shed needs to stop using hg commits as the dependency versioning string to make this and inter-toolshed dependencies possible)"}}