Re: "yumdownloader --source" doesn't need enabled source repos, does it?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11.02.2014 23:48, Robert P. J. Day wrote:
> On Wed, 12 Feb 2014, Ed Greshko wrote:
> 
>> On 02/12/14 06:27, Robert P. J. Day wrote:
>>> On Tue, 11 Feb 2014, Frank Murphy wrote:
>>>
>>>> On Tue, 11 Feb 2014 16:23:37 -0500 (EST)
>>>> "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx> wrote:
>>>>
>>>>>   currently (against my better judgment) updating one of the fedora
>>>>> wiki pages:
>>>>>
>>>>>   https://fedoraproject.org/wiki/Building_a_custom_kernel
>>>>>
>>>>> and i'm fairly sure that "yumdownloader --source" does *not* need the
>>>>> user to explicitly enable the source repos, yumdownloader will do that
>>>>> automatically, yes? where is that actually stated? "man yumdownloader"
>>>>> doesn't say that but it seems to work fine for me here, i just want to
>>>>> know where i can point to make that clear. thanks.
>>>>>
>>>>> rday
>>>>>
>>>> yumdownloader -h (--help)
>>>   that does not clarify what i was asking about -- it simply says that
>>> "--source" operates on source packages.
>>
>> Well, it actually says....
>>
>>   yumdownloader options:
>>     --destdir=DESTDIR   destination directory (defaults to current directory)
>>     --urls              just list the urls it would download instead of
>>                         downloading
>>     --resolve           resolve dependencies and download required packages
>>     --source            operate on source packages
>>     --archlist=ARCHLIST
>>                         only download packages of certain architecture(s)
>>
>> So, those 5 options are the ones that apply to "yumdownloader".
>> Since there is no mention of --enablerepo being part of the options
>> applicable to "yumdownloader" it implies that option is not
>> available/needed.
> 
>   ok, i'll take that as the best confirmation i can get. thanks.
> 
> rday
> 

def setupSourceRepos(self):
   # enable the -source repos for enabled primary repos
http://yum.baseurl.org/gitweb?p=yum-utils.git;a=blob;f=yumdownloader.py;h=b448aa8537410610268527afa5923727c084650a;hb=HEAD#l113

"… Never disable source repos. …"
http://yum.baseurl.org/gitweb?p=yum-utils.git;a=commit;h=a4eb3957dbf36f29d2fe49b380f7399b73dedbc1

"make the '--source' work and make it a little smarter so the
'reponame-source' are enabled automaticly for all enabled repos, when
'--source' is used. …"
http://yum.baseurl.org/gitweb?p=yum-utils.git;a=commit;h=75b53276b1a0a061b5860e24a97e5e71779a27f7


poma



-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux