Question about commiting the sources
limburgher at gmail.com
Fri Mar 16 14:38:02 UTC 2012
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
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.
> Hope this explanation is not even more confusing:)
> Best regards,
> Jan Synacek
> BaseOS team Brno
> devel mailing list
> devel at lists.fedoraproject.org
in your fear, seek only peace
in your fear, seek only love
More information about the devel