Tim Landscheidt wrote: > Todd Zullinger <tmz@xxxxxxxxx> wrote: > >> […] > >> For example, the rpmlint's .gitignore contains the >> following¹: > >> /*.rpm >> /results_rpmlint/ >> /rpmlint-*/ >> /rpmlint-*.tar.gz > >> […] > > Apropos: Many .gitignores only reference the source files, > i. e. not /results_${name} or /${name}-*.rpm. Therefore I > usually add the latter two to .git/info/exclude and I wonder > how others handle this. If it's a package I often work on, I generally add it to the .gitignore directly. > Will fedpkg (and its backend) always create results_${name} > and ${name}-*.rpm in the top directory or is the destination > configurable? If the former, it would make sense to add > them to .gitignore "for everybody", e. g. recommend that in > the Packaging Guidelines. If not, I'd find it useful to > have "fedpkg clone" add them to the initial > .git/info/exclude. The results_* and *.src.rpm files are always created at the top level and are not configurable in fedpkg/rpkg (so far as I can tell). I think it makes sense to have them in every package .gitignore file. Whether that's best done via the scripts which are used to create a new repo after a package review, via fedpkg/rpkg (automatically or by a command/option), or just documented as a best practice in the guidelines I'm not sure. -- Todd ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I have to decide between two equally frightening options. If I wanted to do that, I'd vote. -- Duckman
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/ZAT7KK5GBEONTPI4VVGSDCFDFLHP6IJG/