When using "import srpm" an automatized way (e.g. in Copr), the .gitignore becomes larger and larger with each new tarball in srpm;
Would it be possible (at least with an option) to clean the sources and .gitignore files and fill them with info from the actually imported source RPM?
sources
.gitignore
Ah, sorry - at least sources are fine, but .gitignore is only getting larger.
@praiskup
As an example, to upload a tarball rpkg-1.54.tar.gz, is there any way to find older versions, e.g. rpkg-1.53.tar.gz etc? What about other files except tarball?
rpkg-1.54.tar.gz
rpkg-1.53.tar.gz
From my point of view, it's difficult to parse .gitignore and find out "old versions" tarball filenames or other sources filename. And different packages might have different tarball filename format, which causes rpkg is also difficult to determine or figure out the match expression (whatever regex or some other glob) dynamically.
Probably it would be good for each package itself to clean the .gitignore because it's easy for maintainer to find out old tarball filenames and clean that file with a simple script (might be a cron job for some cases).
This issue has been unresolved for more than a year, and is going to be closed within a week if no further action is taken. If you feel this is in error, please contact me. This is a cleaning process suggested by Jay Greguske. Copy of this ticket was already closed in JIRA tracker.