#2317 dist-git - avoid the downstream-only hack we are using for autospec
Closed: MIGRATED a year ago by nikromen. Opened 2 years ago by praiskup.

We need a way around this (a new opt-out in rpkg, I guess, and proper configuration in copr-dist-git or dist-git):
https://pagure.io/rpkg/c/3087dd72e933568896b2f167bab75194482a6cd1

The reason is that in Copr we want to import the pre-generated SRPMs into our "proxy" DistGit instance. This way we keep the changelog and Release info baked into the Fedora DistGit "git log".


For now, we can apply this patch (ansible patching), and things should be fine...

--- /usr/lib/python3.10/site-packages/pyrpkg/utils.py   2022-09-06 20:05:35.000000000 +0000            [===                                                                                               ] ---  B/s |   0  B     --:-- ETA
+++ /usr/lib/python3.10/site-packages/pyrpkg/utils.py   2022-09-22 19:08:16.328405267 +0000
@@ -323,6 +323,7 @@


 def spec_file_processed_by_rpmautospec(file_name, dir_path=None):
+    return False
     file_path = os.path.join(dir_path or "", file_name)

     try:

Metadata Update from @nikromen:
- Issue close_status updated to: MIGRATED
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata