{"action":"created","issue":{"url":"https://api.github.com/repos/slicebuild/sb/issues/13","labels_url":"https://api.github.com/repos/slicebuild/sb/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/slicebuild/sb/issues/13/comments","events_url":"https://api.github.com/repos/slicebuild/sb/issues/13/events","html_url":"https://github.com/slicebuild/sb/issues/13","id":112112513,"number":13,"title":"Extend the find command to find similar images and missing dependencies at 2 levels","user":{"login":"alexro","id":853995,"avatar_url":"https://avatars.githubusercontent.com/u/853995?v=3","gravatar_id":"","url":"https://api.github.com/users/alexro","html_url":"https://github.com/alexro","followers_url":"https://api.github.com/users/alexro/followers","following_url":"https://api.github.com/users/alexro/following{/other_user}","gists_url":"https://api.github.com/users/alexro/gists{/gist_id}","starred_url":"https://api.github.com/users/alexro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexro/subscriptions","organizations_url":"https://api.github.com/users/alexro/orgs","repos_url":"https://api.github.com/users/alexro/repos","events_url":"https://api.github.com/users/alexro/events{/privacy}","received_events_url":"https://api.github.com/users/alexro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/slicebuild/sb/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"KalitaAlexey","id":11215191,"avatar_url":"https://avatars.githubusercontent.com/u/11215191?v=3","gravatar_id":"","url":"https://api.github.com/users/KalitaAlexey","html_url":"https://github.com/KalitaAlexey","followers_url":"https://api.github.com/users/KalitaAlexey/followers","following_url":"https://api.github.com/users/KalitaAlexey/following{/other_user}","gists_url":"https://api.github.com/users/KalitaAlexey/gists{/gist_id}","starred_url":"https://api.github.com/users/KalitaAlexey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KalitaAlexey/subscriptions","organizations_url":"https://api.github.com/users/KalitaAlexey/orgs","repos_url":"https://api.github.com/users/KalitaAlexey/repos","events_url":"https://api.github.com/users/KalitaAlexey/events{/privacy}","received_events_url":"https://api.github.com/users/KalitaAlexey/received_events","type":"User","site_admin":false},"milestone":null,"comments":21,"created_at":"2015-10-19T09:56:27Z","updated_at":"2015-10-24T15:40:00Z","closed_at":null,"body":"slices:\r\n  firstone - all deps are fine\r\n  name1 - all deps are fine\r\n  name2 - has a missing dep nameA\r\n  name3 - has a missing dep nameX\r\n  name4 - does not exist\r\n  another-name4 - all deps are fine\r\n  aname2 - all deps are fine\r\n\r\ncmd: sb find name1,name2,name4\r\n\r\n'find' builds up the list of all slices for a particular OS, then it finds all names that are similar to the requested ones (for now it checks that the requested name is part of a slice's name). It the reports the relative to the 'slices' dir path of the slice.\r\n\r\nIt also collects missing dependencies. 'find' looks at 2 levels: all slices and slices needed for the requested names.\r\n\r\nNotice in the cmd name3 is not requested. But this slice has a missing dependency, so it should be reported at the first level (health of the whole registry)\r\n\r\n'name2' exists but has a missing dep, 'name4' does not exist at all, These two should be reported at level 2 as needed to build the requested images.\r\n\r\noutput:\r\n  \r\nAll Similar:\r\n  /du/n/name1\r\n  /du/n/name2\r\n  /du/a/another-name4\r\n  /du/a/aname2\r\n\r\nAll Missing:\r\n  nameA,\r\n  nameX\r\n  name4\r\n\r\nFound Requested:\r\n  /du/n/name1\r\n  /du/n/name2\r\n\r\nMissing Requested:\r\n  nameA\r\n  name4\r\n\r\n\r\nSee: https://github.com/slicebuild/sb/blob/master/impl/mono/src/App/Commands/Find.cs\r\n"},"comment":{"url":"https://api.github.com/repos/slicebuild/sb/issues/comments/150827848","html_url":"https://github.com/slicebuild/sb/issues/13#issuecomment-150827848","issue_url":"https://api.github.com/repos/slicebuild/sb/issues/13","id":150827848,"user":{"login":"KalitaAlexey","id":11215191,"avatar_url":"https://avatars.githubusercontent.com/u/11215191?v=3","gravatar_id":"","url":"https://api.github.com/users/KalitaAlexey","html_url":"https://github.com/KalitaAlexey","followers_url":"https://api.github.com/users/KalitaAlexey/followers","following_url":"https://api.github.com/users/KalitaAlexey/following{/other_user}","gists_url":"https://api.github.com/users/KalitaAlexey/gists{/gist_id}","starred_url":"https://api.github.com/users/KalitaAlexey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KalitaAlexey/subscriptions","organizations_url":"https://api.github.com/users/KalitaAlexey/orgs","repos_url":"https://api.github.com/users/KalitaAlexey/repos","events_url":"https://api.github.com/users/KalitaAlexey/events{/privacy}","received_events_url":"https://api.github.com/users/KalitaAlexey/received_events","type":"User","site_admin":false},"created_at":"2015-10-24T15:40:00Z","updated_at":"2015-10-24T15:40:00Z","body":"@alexro apache-2 in meaning of semver.org is invalid. It must be apache-2.0.0"}}