{"action":"created","issue":{"url":"https://api.github.com/repos/SUSE/Portus/issues/752","repository_url":"https://api.github.com/repos/SUSE/Portus","labels_url":"https://api.github.com/repos/SUSE/Portus/issues/752/labels{/name}","comments_url":"https://api.github.com/repos/SUSE/Portus/issues/752/comments","events_url":"https://api.github.com/repos/SUSE/Portus/issues/752/events","html_url":"https://github.com/SUSE/Portus/issues/752","id":135672776,"number":752,"title":"There should be a way to fill up Portus with an existing registry","user":{"login":"mssola","id":767943,"avatar_url":"https://avatars.githubusercontent.com/u/767943?v=3","gravatar_id":"","url":"https://api.github.com/users/mssola","html_url":"https://github.com/mssola","followers_url":"https://api.github.com/users/mssola/followers","following_url":"https://api.github.com/users/mssola/following{/other_user}","gists_url":"https://api.github.com/users/mssola/gists{/gist_id}","starred_url":"https://api.github.com/users/mssola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mssola/subscriptions","organizations_url":"https://api.github.com/users/mssola/orgs","repos_url":"https://api.github.com/users/mssola/repos","events_url":"https://api.github.com/users/mssola/events{/privacy}","received_events_url":"https://api.github.com/users/mssola/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SUSE/Portus/labels/discussing","name":"discussing","color":"bfd4f2"},{"url":"https://api.github.com/repos/SUSE/Portus/labels/feature","name":"feature","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/SUSE/Portus/milestones/9","html_url":"https://github.com/SUSE/Portus/milestones/Import%20&%20handle%20existing%20data","labels_url":"https://api.github.com/repos/SUSE/Portus/milestones/9/labels","id":1597459,"number":9,"title":"Import & handle existing data","description":"","creator":{"login":"mssola","id":767943,"avatar_url":"https://avatars.githubusercontent.com/u/767943?v=3","gravatar_id":"","url":"https://api.github.com/users/mssola","html_url":"https://github.com/mssola","followers_url":"https://api.github.com/users/mssola/followers","following_url":"https://api.github.com/users/mssola/following{/other_user}","gists_url":"https://api.github.com/users/mssola/gists{/gist_id}","starred_url":"https://api.github.com/users/mssola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mssola/subscriptions","organizations_url":"https://api.github.com/users/mssola/orgs","repos_url":"https://api.github.com/users/mssola/repos","events_url":"https://api.github.com/users/mssola/events{/privacy}","received_events_url":"https://api.github.com/users/mssola/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":0,"state":"open","created_at":"2016-02-22T16:13:42Z","updated_at":"2016-02-23T10:23:37Z","due_on":"2016-08-25T22:00:00Z","closed_at":null},"comments":1,"created_at":"2016-02-23T08:44:00Z","updated_at":"2016-02-24T13:14:47Z","closed_at":null,"body":"One pain point of Portus is that it assumes that we start from an empty registry, which is not necessarily true. One way to cut this down is to allow crono to sync everything. Unfortunately, we have no way to synchronize repositories of namespaces that are unknown to Portus.\r\n\r\nBonus point: In the same way, we should be able to migrate from one registry to another.\r\n\r\nBlocked by #750 and #751 \r\n"},"comment":{"url":"https://api.github.com/repos/SUSE/Portus/issues/comments/188250995","html_url":"https://github.com/SUSE/Portus/issues/752#issuecomment-188250995","issue_url":"https://api.github.com/repos/SUSE/Portus/issues/752","id":188250995,"user":{"login":"egidijus","id":6087967,"avatar_url":"https://avatars.githubusercontent.com/u/6087967?v=3","gravatar_id":"","url":"https://api.github.com/users/egidijus","html_url":"https://github.com/egidijus","followers_url":"https://api.github.com/users/egidijus/followers","following_url":"https://api.github.com/users/egidijus/following{/other_user}","gists_url":"https://api.github.com/users/egidijus/gists{/gist_id}","starred_url":"https://api.github.com/users/egidijus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egidijus/subscriptions","organizations_url":"https://api.github.com/users/egidijus/orgs","repos_url":"https://api.github.com/users/egidijus/repos","events_url":"https://api.github.com/users/egidijus/events{/privacy}","received_events_url":"https://api.github.com/users/egidijus/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T13:14:47Z","updated_at":"2016-02-24T13:14:47Z","body":"Would it be possible to have portus cron to use image metadata for namespaces?\r\nhttps://docs.docker.com/engine/userguide/labels-custom-metadata/\r\n\r\nYou would add namespace metadata to the image, and then portus would try to parse the metadata to find out what namespace the image should be in.\r\n\r\nI have not played with metadata enough to know the limitations."}}