[Fedora-packaging] .gitignore - what is supposed to be in it ?

Todd Zullinger tmz at pobox.com
Tue May 10 14:04:34 UTC 2011


David Timms wrote:
> Hi, I noticed my .gitignore has:
> rakarrack-0.5.8_Equinox.tar.bz2
> /rakarrack-0.6.1.tar.bz2
> /rakarrack-47245c3.tar.gz
>
> The tar I expected to find 4724 is there, but so are the last few
> versions. How does this work / is something going wrong ?

By default, fedpkg new-sources adds an entry for each tarball you
upload.  I find it simpler to just add *.tar.bz2 to my packages.  With
this, fedpkg notices that you have a pattern in the ignore file which
matches what it would have added and skips doing so.  An example from
one of my packages:

*~
*.rpm
*.tar.bz2
/.build*.log
/git-*/

For reference, the / anchors the match at the same directory level as
the .gitignore file.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All I really want for Christmas is Santa's list of Naughty Girls.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/packaging/attachments/20110510/4146d2b5/attachment.bin 


More information about the packaging mailing list