Re: .gitignore - what is supposed to be in it ?

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

 



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.

Attachment: pgpibtxchQNZc.pgp
Description: PGP signature

--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux