Is fedpkg designed to be usable for online only?

Mathieu Bridon bochecha at fedoraproject.org
Thu Jul 17 09:40:24 UTC 2014


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



More information about the devel mailing list