public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michel Lind <salimma@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/folly-rpm-macros] epel10: Note the folly-rpm-macros version-release convention in AGENTS.md
Date: Wed, 07 Oct 2026 17:18:57 GMT	[thread overview]
Message-ID: <179139353707.1.5200072331237871717.rpms-folly-rpm-macros-4834ed86bd7b@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/folly-rpm-macros
            Branch : epel10
            Commit : 4834ed86bd7be6fbf7fc317cdeaa89b0345c1df6
            Author : Michel Lind <salimma@fedoraproject.org>
            Date   : 2026-09-25T10:37:27+01:00
            Stats  : +16/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/folly-rpm-macros/c/4834ed86bd7be6fbf7fc317cdeaa89b0345c1df6?branch=epel10

            Log:
            Note the folly-rpm-macros version-release convention in AGENTS.md

- folly-rpm-macros' Version is the current Fedora release number, so a
  meaningful macro change moves only the release; dependents must require
  version-release (>= 46-3) and be bumped in the same round

Assisted-by: Claude Code:claude-opus-5
Signed-off-by: Michel Lind <salimma@fedoraproject.org>

---
diff --git a/AGENTS.md b/AGENTS.md
index ab60bfb..8db91ae 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -47,6 +47,16 @@ Running the license helper from a checkout of this repository leaves a
 `getdeps_vendor_license_checkcpython-3XX.pyc`); it is not in `.gitignore` and
 has been committed by accident once. Check `git status` before `git add -A`.
 
+folly-rpm-macros' Version is the Fedora release number current when it was
+last touched (46 today), not a version of its own, so a macro change usually
+only moves the *release*: 46-2, 46-3. A dependent that needs the new
+behaviour must therefore require the release too, `BuildRequires:
+folly-rpm-macros >= 46-3`, which cachelib and mcrouter both do. A bare
+`>= 46` would be satisfied by a macros build that predates the change and
+the package would fail in a way that points at the wrong file. Bump the
+dependents whenever a macro change is meaningful to them, in the same round
+as the macros build.
+
 Commit conventions: ask before committing, `git commit -s`, `Assisted-by:
 Claude Code:<model-id>` trailer in Fedora repos (no Co-Authored-By), amend
 unpushed commits with `--date=now`. rpmautospec turns the subject and any
@@ -96,9 +106,10 @@ Read `cachelib.spec` as the reference. The pieces, in order:
 - **`ExclusiveArch: x86_64 aarch64 ppc64le`** in the spec itself. Anything the
   SRPM step needs (ExclusiveArch, bconds) cannot come from this package:
   `-srpm-macros` only work when preloaded into every SRPM buildroot.
-- **`BuildRequires: folly-rpm-macros >= 46`** plus `gcc-c++` (or clang under
-  the `toolchain_clang` bcond). Everything else comes from
-  `%getdeps_generate_buildrequires` and `%getdeps_vendor_license_buildrequires`.
+- **`BuildRequires: folly-rpm-macros >= <version>-<release>`** plus `gcc-c++`
+  (or clang under the `toolchain_clang` bcond). The release matters: see
+  below. Everything else comes from `%getdeps_generate_buildrequires` and
+  `%getdeps_vendor_license_buildrequires`.
 - **Sections:**
   ```
   %prep
@@ -161,7 +172,8 @@ Read `cachelib.spec` as the reference. The pieces, in order:
    starts with an inline `--config-str`, cachebench replays the shipped test
    configs).
 7. Commit (subject + `- ` bullets = changelog), push, koji: folly-rpm-macros
-   first whenever the spec needs a newer one.
+   first whenever the spec needs a newer one, and raise the
+   `folly-rpm-macros >= <version>-<release>` floor in the same round.
 
 Tuesday is when the weekly tags appear; keep the packit/canary cadence weekly,
 a full build is 45 minutes warm and hours cold.

                 reply	other threads:[~2026-10-07 17:18 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=179139353707.1.5200072331237871717.rpms-folly-rpm-macros-4834ed86bd7b@fedoraproject.org \
    --to=salimma@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