On Thu, 2014-07-17 at 10:09 +0800, Christopher Meng wrote: > Hi, > > After using the new pkgdb2 API based fedpkg, I'd like to ask a question here: > > Is fedpkg designed to be usable when online only? > > ------------------------ > > Well.. > > If I cut disable my connection, fedpkg switch-branch doesn't work: > > Could not execute switch_branch: len([]) != len(['ssh: Could not > resolve hostname pkgs.fedoraproject.org: Name or service not known', > '', '', 'and the repository exists.']) > ERROR:rpkg:Could not execute switch_branch: len([]) != len(['ssh: > Could not resolve hostname pkgs.fedoraproject.org: Name or service not > known', '', '', 'and the repository exists.']) Off the top of my head, one thing it needs an online access for, is determining what Fedora release corresponds to the "master" branch. It does that by querying Koji (or maybe pkgdb2 now, not sure) There are probably many things which won't require an internet connection, and we could make these work if they don't already. But for example, how do you propose solving the point I mentioned? -- Mathieu -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct