Is fedpkg designed to be usable for online only?

Vít Ondruch vondruch at redhat.com
Thu Jul 17 09:58:49 UTC 2014


Dne 17.7.2014 11:40, Mathieu Bridon napsal(a):
> 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?
>
>

You can use --dist parameter to workaround this particular point in 
question.


Vít


More information about the devel mailing list