public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/oscillatord] rawhide: Write %changelog from the release script instead of %autochangelog
@ 2026-11-25 13:01 Oleg Obleukhov
0 siblings, 0 replies; only message in thread
From: Oleg Obleukhov @ 2026-11-25 13:01 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/oscillatord
Branch : rawhide
Commit : 767866b18adb43688b141141f19a139e58eaaa34
Author : Oleg Obleukhov <leoleovich@fedoraproject.org>
Date : 2026-11-25T12:59:59+00:00
Stats : +155/-17 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/oscillatord/c/767866b18adb43688b141141f19a139e58eaaa34?branch=rawhide
Log:
Write %changelog from the release script instead of %autochangelog
%autochangelog turned every commit to this repo into a changelog entry, so changes to rebuild/ needed [skip changelog] in their message. The release script now writes one %changelog entry per release, listing the upstream commits since the previous version (title and author, merges left out), and nothing else adds one. The history is kept as rpmautospec rendered it.
---
diff --git a/oscillatord.spec b/oscillatord.spec
index 95ce9da..a037df1 100644
--- a/oscillatord.spec
+++ b/oscillatord.spec
@@ -65,4 +65,137 @@ sed -e 's/-O0//g' -i CMakeLists.txt
%exclude %{_unitdir}/%{name}@.service
%changelog
-%autochangelog
+* Fri Nov 13 2026 Oleg Obleukhov <leoleovich@fedoraproject.org> - 3.10.5-1
+- Update to 3.10.5
+
+* Mon Sep 07 2026 leoleovich <leoleovich@meta.com> - 3.10.4-2
+- [oscillatord] exclude default config from rpm
+
+* Fri Sep 04 2026 Oleg Obleukhov <leoleovich@fedoraproject.org> - 3.10.4-1
+- Update to 3.10.4
+
+* Fri Aug 14 2026 Oleg Obleukhov <leoleovich@fedoraproject.org> - 3.10.3-1
+- Update to 3.10.3
+
+* Fri Aug 14 2026 Oleg Obleukhov <leoleovich@fedoraproject.org> - 3.10.1-1
+- Update to 3.10.1
+
+* Fri Aug 14 2026 Oleg Obleukhov <leoleovich@fedoraproject.org> - 3.10.0-3
+- New repository
+
+* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
+
+* Tue Jun 23 2026 Oleg Obleukhov <leoleovich@fedoraproject.org> - 3.10.0-1
+- Update to 3.10.0
+
+* Wed Jun 03 2026 Oleg Obleukhov <leoleovich@fedoraproject.org> - 3.9.3-1
+- Update to 3.9.3
+
+* Thu May 21 2026 Yixin Wei <esoapw@fedoraproject.org> - 3.9.2-1
+- Update to 3.9.2
+
+* Fri May 15 2026 Yixin Wei <esoapw@fedoraproject.org> - 3.9.1-2
+- Exclude i686: ubloxcfg-1.16 has no i686 binaries (per ubloxcfg 4fa4187)
+
+* Tue May 05 2026 Yixin Wei <esoapw@fedoraproject.org> - 3.9.1-1
+- Update to 3.9.1; drop pkg-config sed (handled upstream)
+
+* Fri Apr 17 2026 Yixin Wei <esoapw@fedoraproject.org> - 3.9.0-4
+- Fix pkg-config name: ubloxcfg 1.16 renamed libubloxcfg.pc to ubloxcfg.pc
+
+* Thu Apr 16 2026 Yixin Wei <esoapw@fedoraproject.org> - 3.9.0-3
+- Remove systemd service sed fix, now handled by CMake upstream (99d9c6a)
+
+* Wed Apr 15 2026 Yixin Wei <esoapw@fedoraproject.org> - 3.9.0-2
+- Update sources for 3.9.0
+
+* Wed Apr 15 2026 Yixin Wei <esoapw@fedoraproject.org> - 3.9.0-1
+- Update to 3.9.0, require ubloxcfg >= 1.16
+
+* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.4-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
+
+* Wed Aug 20 2025 Patrick Cullen <cullenptrck@gmail.com> - 3.8.4-2
+- Update to 3.8.4
+
+* Wed Aug 20 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.4-1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
+
+* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.3-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
+
+* Tue Apr 01 2025 Vadim Fedorenko <vadfed@fb.com> - 3.8.3-1
+- Update to 3.8.3
+
+* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
+
+* Thu Aug 22 2024 Yaroslav Kolomiiets <yarek@fedoraproject.org> - 3.8.2-1
+- Update to 3.8.2
+
+* Wed Aug 21 2024 Yaroslav Kolomiiets <yarek@fedoraproject.org> - 3.8.1-1
+- Update to 3.8.1
+
+* Tue Aug 06 2024 Vadim Fedorenko <vadfed@fb.com> - 3.8.0-1
+- Update to 3.8.0
+
+* Thu Jul 25 2024 Miroslav Suchý <msuchy@redhat.com> - 3.7.0-3
+- convert GPLv2+ license to SPDX
+
+* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
+
+* Mon Apr 08 2024 Patrick Cullen <cullenptrck@gmail.com> - 3.7.0-1
+- Update to 3.7.0
+
+* Tue Feb 13 2024 Patrick Cullen <cullenptrck@gmail.com> - 3.6.3-1
+- Update to 3.6.3
+
+* Fri Feb 02 2024 Patrick Cullen <cullenptrck@gmail.com> - 3.6.2-1
+- Update to 3.6.2
+
+* Wed Jan 31 2024 Patrick Cullen <cullenptrck@gmail.com> - 3.6.1-1
+- Update to 3.6.1
+
+* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
+
+* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
+
+* Wed Nov 15 2023 Patrick Cullen <cullenptrck@gmail.com> - 3.6.0-1
+- Update to 3.6.0
+
+* Wed Oct 11 2023 Patrick Cullen <cullenptrck@gmail.com> - 3.5.6-1
+- Update to 3.5.6
+
+* Tue Sep 26 2023 Oleg Obleukhov <leoleovich@fedoraproject.org> - 3.5.4-1
+- Update to 3.5.4
+
+* Tue Sep 05 2023 Oleg Obleukhov <leoleovich@fedoraproject.org> - 3.5.3-1
+- Update to 3.5.3
+
+* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
+
+* Tue Mar 28 2023 Oleg Obleukhov <leoleovich@fedoraproject.org> - 3.5.1-1
+- Update to 3.5.1
+
+* Tue Feb 21 2023 Oleg Obleukhov <leoleovich@fedoraproject.org> - 3.5.0-1
+- Update to 3.5.0
+
+* Tue Feb 14 2023 Oleg Obleukhov <leoleovich@fedoraproject.org> - 3.4.5-1
+- Update to 3.4.5
+
+* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.3-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Wed Jan 11 2023 Alexander Bulimov <abulimov@fedoraproject.org> - 3.4.3-1
+- Update to 3.4.3
+
+* Tue Jan 03 2023 Alexander Bulimov <abulimov@fedoraproject.org> - 3.4.2-3
+- Drop C99 patch that was merged upstream
+
+* Tue Jan 03 2023 Oleg Obleukhov <leoleovich@gmail.com> - 3.4.2-2
+- RPMAUTOSPEC: unresolvable merge
diff --git a/rebuild/README.md b/rebuild/README.md
index b4452de..eec1798 100644
--- a/rebuild/README.md
+++ b/rebuild/README.md
@@ -16,9 +16,10 @@ rebuild/release.sh 3.10.5
```
It bumps `Version:` in both specs on rawhide, uploads the tarballs with `fedpkg new-sources`,
-commits and pushes, and fast-forwards every release branch to rawhide. Each commit message lists
-the upstream commits since the previous version as `- title (author)` (merges left out), which
-`%autochangelog` puts into the RPM changelog. Then, for all branches at
+commits and pushes, and fast-forwards every release branch to rawhide. The specs' `%changelog` is
+written by this script, not `%autochangelog`: each release adds one entry listing the upstream
+commits since the previous version as `- title (author)` (merges left out), so commits to this
+repo never show up in it. Then, for all branches at
once (EPEL first), it requests a side tag, builds disciplining-minipod, builds oscillatord against
it (`koji build --wait-build`) and files one Bodhi update from the side tag. Each update's link is
printed the moment its branch is built (`epel10.3 Bodhi update for karma: https://...`), so it
@@ -52,8 +53,7 @@ finished builds and existing updates are reused. A branch with commits that are
skipped and listed in the summary; merge it by hand and rerun.
The release works in its own dist-git clones, not in your checkout: run `git pull` before you next
-commit here. Commits that only change `rebuild/` need `[skip changelog]` on a line of their own in
-the message, or they show up in the RPM changelog.
+commit here.
## Requirements
diff --git a/rebuild/release-inner.sh b/rebuild/release-inner.sh
index 03b5c39..d94c5f5 100755
--- a/rebuild/release-inner.sh
+++ b/rebuild/release-inner.sh
@@ -31,12 +31,13 @@ spec_version() { sed -n -E 's/^Version:[[:space:]]+([^[:space:]]+).*/\1/p' "$(co
build_state() { koji --noauth buildinfo "$1" 2>/dev/null | sed -n -E 's/^State: ([A-Z]+).*/\1/p' || true; }
build_tag() { koji --noauth list-targets --name "$1" --quiet 2>/dev/null | awk 'NR == 1 {print $2}' || true; }
task_url() { echo "https://koji.fedoraproject.org/koji/taskinfo?taskID=$1"; }
-# Commits OLD..NEW of a GitHub repo, as "- title (author)" changelog lines; merges are dropped.
+# Commits OLD..NEW of a GitHub repo as %changelog lines "- title (author)"; merges are dropped.
upstream_changes() {
curl -fsSL "https://api.github.com/repos/$1/compare/$2...$3" | jq -r '
(.commits[] | select((.parents | length) == 1)
| "- \(.commit.message | split("\n")[0] | sub("\\s+$"; "")) (\(.commit.author.name))"),
- (if .total_commits > (.commits | length) then "- and \(.total_commits - (.commits | length)) more: \(.html_url)" else empty end)'
+ (if .total_commits > (.commits | length) then "- and \(.total_commits - (.commits | length)) more: \(.html_url)" else empty end)
+ | gsub("%"; "%%")'
}
log "Installing packaging tools"
@@ -141,15 +142,19 @@ if [ ${#need[@]} -gt 0 ]; then
(cd "$work" && spectool -g -f -s 0 "$p.spec" >/dev/null) || die "could not download $url"
fi
echo "$p: $(spec_version "$p") -> $version $url"
+ # This script owns %changelog: one entry per release listing upstream commits, never this repo's own.
repo=$(sed -n -E 's#^https://github\.com/([^/]+/[^/]+)/.*#\1#p' <<<"$url")
- msg="Update to $version"
- if changes=$(upstream_changes "$repo" "v$(spec_version "$p")" "v$version"); then
- [ -z "$changes" ] || msg+=$'\n\n'"$changes"
- else
- echo "WARNING: could not list the $repo commits; the $p changelog gets only \"$msg\"" >&2
- fi
- printf '%s\n' "$msg" >"$work/commit-msg"
- sed 's/^/ /' "$work/commit-msg"
+ changes=$(upstream_changes "$repo" "v$(spec_version "$p")" "v$version") \
+ || { echo "WARNING: could not list the $repo commits; the $p changelog entry gets only \"Update to $version\"" >&2; changes=""; }
+ {
+ echo "* $(LC_ALL=C date -u '+%a %b %d %Y') $(git config user.name) <$(git config user.email)> - $version-1"
+ echo "- Update to $version"
+ [ -z "$changes" ] || printf '%s\n' "$changes"
+ echo
+ } >"$work/changelog-entry"
+ grep -qx '%changelog' "$work/$p.spec" || die "no %changelog line in $p.spec"
+ sed -i "/^%changelog$/r $work/changelog-entry" "$work/$p.spec"
+ sed 's/^/ /' "$work/changelog-entry"
done
fi
@@ -192,7 +197,7 @@ for p in "${need[@]}"; do
cp "$work/$p.spec" "$d/$p.spec"
fp "$p" new-sources "$work"/*.tar.gz
git -C "$d" add "$p.spec" sources .gitignore
- git -C "$d" commit -q -F "$work/commit-msg"
+ git -C "$d" commit -q -m "Update to $version"
done
pending=0
for p in "${pkgs[@]}"; do
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-25 13:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-25 13:01 [rpms/oscillatord] rawhide: Write %changelog from the release script instead of %autochangelog Oleg Obleukhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox