{"action":"created","issue":{"url":"https://api.github.com/repos/ocaml/opam/issues/2098","labels_url":"https://api.github.com/repos/ocaml/opam/issues/2098/labels{/name}","comments_url":"https://api.github.com/repos/ocaml/opam/issues/2098/comments","events_url":"https://api.github.com/repos/ocaml/opam/issues/2098/events","html_url":"https://github.com/ocaml/opam/issues/2098","id":66142930,"number":2098,"title":"mechanism to vendor opam dependencies locally","user":{"login":"perrelle","id":7481485,"avatar_url":"https://avatars.githubusercontent.com/u/7481485?v=3","gravatar_id":"","url":"https://api.github.com/users/perrelle","html_url":"https://github.com/perrelle","followers_url":"https://api.github.com/users/perrelle/followers","following_url":"https://api.github.com/users/perrelle/following{/other_user}","gists_url":"https://api.github.com/users/perrelle/gists{/gist_id}","starred_url":"https://api.github.com/users/perrelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perrelle/subscriptions","organizations_url":"https://api.github.com/users/perrelle/orgs","repos_url":"https://api.github.com/users/perrelle/repos","events_url":"https://api.github.com/users/perrelle/events{/privacy}","received_events_url":"https://api.github.com/users/perrelle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-04-03T13:04:43Z","updated_at":"2015-07-07T09:16:54Z","closed_at":null,"body":"If I am not mistaken, the procedure to build a local repository when you don't already have opam initialized is to:\r\n1/ Init opam\r\n2/ Install the packages you want to put in you local repo\r\n3/ Move into the .opam directory and remove the log subdirectory\r\n4/ use opam-admin make --resolve with the wanted packages\r\nThe installation of the package is unnecessary as you only want to download them. It should probably be possible to build a local repository without an opam root. "},"comment":{"url":"https://api.github.com/repos/ocaml/opam/issues/comments/119134174","html_url":"https://github.com/ocaml/opam/issues/2098#issuecomment-119134174","issue_url":"https://api.github.com/repos/ocaml/opam/issues/2098","id":119134174,"user":{"login":"bobot","id":102849,"avatar_url":"https://avatars.githubusercontent.com/u/102849?v=3","gravatar_id":"","url":"https://api.github.com/users/bobot","html_url":"https://github.com/bobot","followers_url":"https://api.github.com/users/bobot/followers","following_url":"https://api.github.com/users/bobot/following{/other_user}","gists_url":"https://api.github.com/users/bobot/gists{/gist_id}","starred_url":"https://api.github.com/users/bobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobot/subscriptions","organizations_url":"https://api.github.com/users/bobot/orgs","repos_url":"https://api.github.com/users/bobot/repos","events_url":"https://api.github.com/users/bobot/events{/privacy}","received_events_url":"https://api.github.com/users/bobot/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T09:16:54Z","updated_at":"2015-07-07T09:16:54Z","body":"The problems seems that `Remove the unrequired package \"versions\"` use only the packages fetched by `opam admin make --resolve`. How do you think the complete information should be transfered from `opam admin make` to the remaining part of the script?"}}