I received an email this AM from a fellow packager:
Please, do not put source tarballs in git. This is
not what is supposed to happen. Package sources are managed with
fedpkg, they are just added to the lookaside cache and to the .gitignore
file so you don't add them by mistake to the repository.
How did you manage to add them to the commit even if they are already in .gitignore?
The package is megatools. The procedure I used was from the maintenance guide -
yet apparently, these files ended up in a place where they weren't suppose to be.
The commands I used were:
- Stage any small patches or new source files for commit:
git add (somefile)
Details
git does not consider all files in the working directory to be a part of the git repository by default (handy, for keeping other files around that are relevant, like the source tree). This tells git to start considering these files as part of the repository locally. When you 'commit' and 'push' later, this change is communicated to the server.
- Upload new source files to the lookaside cache:
fedpkg new-sources
_______________________________________________ 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/2ZZYKYDD24LCFO6ST6O6RQBCEGKE6WAS/