Question about commiting the sources

Sergio Belkin sebelk at gmail.com
Fri Mar 16 14:42:09 UTC 2012


2012/3/16 Jon Ciesla <limburgher at gmail.com>:
> On Fri, Mar 16, 2012 at 9:33 AM, Jan Synacek <jsynacek at redhat.com> wrote:
>> On 03/16/12 at 11:16am, Sergio Belkin wrote:
>>> Perhaps and stupid question:
>>>
>>> After upload new-sources to repo, it outputs:
>>> Uploaded and added to .gitignore:
>>> Source upload succeeded. Don't forget to commit the sources file
>>>
>>> I don't understand! By default it add sources files to .gitignore and
>>> then it asks for commit them?
>>>
>>> Is it something that I misunderstood?
>>>
>>
>> It just tells you not to forget to commit the file named 'sources'. The file
>> changes when you execute new-sources and should be commited, because it
>> contains an md5sum of the source tarball.
>>
>> The message is somewhat misleading, because the 'sources' file gets staged
>> automatically after new-sources, so if you do fedpkg commit, it gets commited
>> anyway.
>
> The upload puts the new sources in the lookaside cache, which is
> outside of git, and updates the sources file, but doesn't commit it to
> git, because the assumption is that your have other changes to make,
> like updating the spec, new patches perhaps, etc.
>
> -J
>
>> Hope this explanation is not even more confusing:)
>>
>> Best regards,
>> --
>> Jan Synacek
>> BaseOS team Brno
>> --
>> devel mailing list
>> devel at lists.fedoraproject.org
>> https://admin.fedoraproject.org/mailman/listinfo/devel
>
>
>
> --
> in your fear, seek only peace
> in your fear, seek only love
>
> -d. bowie
> --
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel



-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org

Thanks everyone for the explanation!


More information about the devel mailing list