Re: Gitignore configuration for packages

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

 



On Thu, Mar 16, 2017 at 12:33:15PM +0100, Guido Aulisi wrote:
> Il giorno gio, 16/03/2017 alle 11.10 +0000, Tom Hughes ha scritto:
> > On 16/03/17 10:47, Guido Aulisi wrote:
> > > Il giorno gio, 16/03/2017 alle 10.38 +0000, Tom Hughes ha scritto:
> > > > On 16/03/17 10:32, Guido Aulisi wrote:
> > > > 
> > > > > I was thinking about adding some default gitignores to package
> > > > > repositories, I think we need at least:
> > > > > 
> > > > > /results_*
> > > > > /*.src.rpm
> > > > > 
> > > > > This is to ignore fedpkg mockbuild output
> > > > > 
> > > > > What do you think about that?
> > > > > Should I add that gitignore lines by myself in every package I
> > > > > manintain or should it be a global fedora config?

It would be nice to have that.

> > > > 
> > > > No, because if you do that then "fedpkg clean" won't cleanup
> > > > those
> > > > files
> > > > anymore...

What if we patch fedpkg first, so  the 'clean' command would always
remove the srpm files (even if in the gitignore)? Is there any situation
where this is not desired? A new packager asked me once if they should
include the SRPM in the repository. I explained why they shouldn't, but
it took me some time to find a link with documentation supporting that
[1] (maybe this should be included in the guidelines or in the package
maintance guide).

[1] https://fedoraproject.org/wiki/Package_Source_Control#Repository_Contents

-- 
Athos Ribeiro

http://www.ime.usp.br/~athoscr
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux