GNU bug report logs -
#41828
[PATCH 0/2] Branching and rebuilding strategy changes
Previous Next
Reported by: Marius Bakke <marius <at> gnu.org>
Date: Fri, 12 Jun 2020 14:32:01 UTC
Severity: normal
Tags: patch
Done: Marius Bakke <marius <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41828 in the body.
You can then email your comments to 41828 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#41828
; Package
guix-patches
.
(Fri, 12 Jun 2020 14:32:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Marius Bakke <marius <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 12 Jun 2020 14:32:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This pull request adds a reduced 'staging' jobset to Cuirass, to
prevent needless rebuilds outside of the freeze cycles.
It also adjusts the documentation to more closely match the current
staging and core-updates practices.
Marius Bakke (2):
ci: Add a 'staging' jobset.
doc: Adjust branching and rebuilding strategy to match reality.
doc/contributing.texi | 8 ++++----
gnu/ci.scm | 15 +++++++++++++++
2 files changed, 19 insertions(+), 4 deletions(-)
--
2.26.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#41828
; Package
guix-patches
.
(Fri, 12 Jun 2020 14:35:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 41828 <at> debbugs.gnu.org (full text, mbox):
* gnu/ci.scm (%staging-packages): New variable.
(hydra-jobs): Add case for 'staging and use it.
---
gnu/ci.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/ci.scm b/gnu/ci.scm
index fa67168e22..ee8faffd3b 100644
--- a/gnu/ci.scm
+++ b/gnu/ci.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo <at> gnu.org>
;;; Copyright © 2017 Jan Nieuwenhuizen <janneke <at> gnu.org>
;;; Copyright © 2018, 2019 Clément Lassieur <clement <at> lassieur.org>
+;;; Copyright © 2020 Marius Bakke <marius <at> gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -125,6 +126,14 @@ SYSTEM."
%guile-bootstrap-tarball
%bootstrap-tarballs))
+(define %staging-packages
+ ;; Selected packages intended to be used for the staging jobset in between
+ ;; freeze cycles to avoid building everything all the time, yet still
+ ;; exercise the package graphs enough to catch regressions.
+ (map specification->package
+ '("guix" "emacs" "diffoscope" "network-manager" "syncthing"
+ "alacritty" "git" "git-annex" "krita" "qemu" "grub-hybrid")))
+
(define (packages-to-cross-build target)
"Return the list of packages to cross-build for TARGET."
;; Don't cross-build the bootstrap tarballs for MinGW.
@@ -499,6 +508,12 @@ Return #f if no such checkout is found."
package system))
%core-packages)
(cross-jobs store system)))
+ ((staging)
+ ;; Build a small, but heavy sample only.
+ (append (map (lambda (package)
+ (package-job store (job-name package)
+ package system))
+ %staging-packages)))
((hello)
;; Build hello package only.
(if (string=? system (%current-system))
--
2.26.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#41828
; Package
guix-patches
.
(Fri, 12 Jun 2020 14:35:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 41828 <at> debbugs.gnu.org (full text, mbox):
The amount of packages has more than tripled since this section was written.
Adjust the rebuild limits and cycle lengths based on current practices.
* doc/contributing.texi (Submitting Patches): Increase 'staging' rebuild limit
to 1800 packages, and adjust the cycle to six weeks. Increase 'core-updates'
cycle to six months.
---
doc/contributing.texi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/contributing.texi b/doc/contributing.texi
index 88128e5498..c56f4fd2e9 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -991,16 +991,16 @@ rebuilding induced, commits go to different branches, along these lines:
@item 300 dependent packages or less
@code{master} branch (non-disruptive changes).
-@item between 300 and 1,200 dependent packages
+@item between 300 and 1,800 dependent packages
@code{staging} branch (non-disruptive changes). This branch is intended
-to be merged in @code{master} every 3 weeks or so. Topical changes
+to be merged in @code{master} every 6 weeks or so. Topical changes
(e.g., an update of the GNOME stack) can instead go to a specific branch
(say, @code{gnome-updates}).
-@item more than 1,200 dependent packages
+@item more than 1,800 dependent packages
@code{core-updates} branch (may include major and potentially disruptive
changes). This branch is intended to be merged in @code{master} every
-2.5 months or so.
+6 months or so.
@end table
All these branches are @uref{@value{SUBSTITUTE-SERVER},
--
2.26.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#41828
; Package
guix-patches
.
(Sat, 13 Jun 2020 16:57:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 41828 <at> debbugs.gnu.org (full text, mbox):
Hello!
Marius Bakke <marius <at> gnu.org> skribis:
> This pull request adds a reduced 'staging' jobset to Cuirass, to
> prevent needless rebuilds outside of the freeze cycles.
>
> It also adjusts the documentation to more closely match the current
> staging and core-updates practices.
>
> Marius Bakke (2):
> ci: Add a 'staging' jobset.
> doc: Adjust branching and rebuilding strategy to match reality.
Both LGTM.
Thanks,
Ludo’.
Reply sent
to
Marius Bakke <marius <at> gnu.org>
:
You have taken responsibility.
(Mon, 22 Jun 2020 01:18:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Marius Bakke <marius <at> gnu.org>
:
bug acknowledged by developer.
(Mon, 22 Jun 2020 01:18:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 41828-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Marius Bakke <marius <at> gnu.org> writes:
> This pull request adds a reduced 'staging' jobset to Cuirass, to
> prevent needless rebuilds outside of the freeze cycles.
>
> It also adjusts the documentation to more closely match the current
> staging and core-updates practices.
>
> Marius Bakke (2):
> ci: Add a 'staging' jobset.
> doc: Adjust branching and rebuilding strategy to match reality.
I decided to scrap patch 1/2 in this series. Partly because it would
not work as-is, and partly because I got another idea: instead of the
reduced jobset, we can limit it to x86_64 only. That way we get
substitutes for developers, but avoid the expensive and often needless
rebuilds on other architectures.
I will be doing that from here on in between freeze cycles.
The other patch was pushed in bb9a99e6571c492d30f95c5b51ead6861d1dc098.
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 20 Jul 2020 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 356 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.