public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/folly-rpm-macros] epel10: Note the folly-rpm-macros version-release convention in AGENTS.md
@ 2026-10-07 17:18 Michel Lind
0 siblings, 0 replies; only message in thread
From: Michel Lind @ 2026-10-07 17:18 UTC (permalink / raw)
To: git-commits
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.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-07 17:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 17:18 [rpms/folly-rpm-macros] epel10: Note the folly-rpm-macros version-release convention in AGENTS.md Michel Lind
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox