public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Luya Tshimbalanga <luya@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/ImageMagick] epel8: Correct ImageMagick 6 upstream tag mapping
Date: Fri, 18 Sep 2026 07:21:59 GMT	[thread overview]
Message-ID: <178971611911.1.8564378685931700.rpms-ImageMagick-c8ca9f0eaaab@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ImageMagick
Branch : epel8
Commit : c8ca9f0eaaabc606f318d8170a50b05ec08437d0
Author : Luya Tshimbalanga <luya@fedoraproject.org>
Date   : 2026-09-18T00:21:44-07:00
Stats  : +4/-12 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/ImageMagick/c/c8ca9f0eaaabc606f318d8170a50b05ec08437d0?branch=epel8

Log:
Correct ImageMagick 6 upstream tag mapping

---
diff --git a/packit.yaml b/packit.yaml
index efb797c..15a324f 100644
--- a/packit.yaml
+++ b/packit.yaml
@@ -1,15 +1,3 @@
-actions:
-  post-upstream-clone:
-    - >-
-      bash -c 'case "$PACKIT_PROJECT_VERSION" in
-      6.*.*.*) ;;
-      *) echo "Expected ImageMagick 6 version, got $PACKIT_PROJECT_VERSION" >&2; exit 1 ;;
-      esac;
-      upstream_tag="${PACKIT_PROJECT_VERSION%.*}-${PACKIT_PROJECT_VERSION##*.}";
-      git rev-parse --verify "refs/tags/${upstream_tag}^{commit}" >/dev/null ||
-      { echo "Missing upstream tag ${upstream_tag}" >&2; exit 1; };
-      git tag "$PACKIT_PROJECT_VERSION" "$upstream_tag"'
-
 # ImageMagick 6 release configuration for the EPEL 9 and EPEL 8 branches.
 #
 # Packit Service ignores configuration outside the default Rawhide branch.
@@ -18,6 +6,10 @@ actions:
 # these branches is configured by Rawhide's packit.yaml.
 
 upstream_project_url: https://github.com/ImageMagick/ImageMagick6
+
+# Convert RPM 6.9.13.56 into upstream tag 6.9.13-56.
+# This EPEL workflow must always receive an explicit dotted version.
+upstream_tag_template: '{version:.6}-{version[7]}{version[8]}'
 upstream_tag_include: '^6\..+$'
 upstream_tag_exclude: '^7\..+$'
 version_update_specifiers: '>=6, <7'

                 reply	other threads:[~2026-09-18  7:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178971611911.1.8564378685931700.rpms-ImageMagick-c8ca9f0eaaab@fedoraproject.org \
    --to=luya@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox