unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: Chris Marusich <cmmarusich@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Branch management, wip-ppc64le, and POWER9
Date: Thu, 04 Feb 2021 09:38:43 +0000	[thread overview]
Message-ID: <877dnoyxy4.fsf@cbaines.net> (raw)
In-Reply-To: <87k0romcrz.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3465 bytes --]


Chris Marusich <cmmarusich@gmail.com> writes:

> Since I'm now making commits on wip-ppc64le to add support for POWER9
> machines like the Talos II and Blackbird from Raptor Computing Systems,
> I'd like to understand more about how I am expected to manage that
> branch.  Before I touched it, it sat with just one lonely commit,
> essentially unused.  So it seems to me like I'm not stepping on anyone's
> toes, and that I should just make commits like I normally would on
> master, staging, or core-updates, being careful to follow the usual
> guidelines.
>
> Specifically, I'm curious to know:
>
> - Is it usually expected that wip branches can be rebased?  I don't plan
>   to rebase wip-ppc64le, since I'd like to be able to coordinate with
>   others using this branch, but I'm not sure what others expect.

I think rebasing introduces issues with commit signatures, since you'd
then be signing others commits. If multiple people are committing to the
branch, I'd treat it like staging/core-updates, and merge rather than
rebasing.

> - Should I just periodically merge from master, or perhaps core-updates,
>   to keep wip-ppc64le up to date and resolve conflicts early?  I've
>   already merged master into this branch once, to get it back up to
>   date.  I haven't merged core-updates into it yet.  I think
>   periodically merging branches into wip-ppc64le is the right thing to
>   do, since eventually the end goal will be to merge wip-ppc64le into
>   core-updates to get POWER9 support into a release.  However, I suppose
>   if I merge from different branches, I could wind up dealing with
>   unnecessary conflicts.

core-updates is pretty broken at the moment (building the channel
derivation fails), so I wouldn't recommend that.

Merging master as soon as conflicts arise sounds good, I think it's
easier to handle the conflicts in smaller batches, so more frequent
merges are useful.

Once both branches are in a good state, maybe then will be the time to
merge core-updates in to wip-ppc64le to test that combination of
changes, and then if that goes well, merge wip-ppc64le in to
core-updates and stop using the wip-ppc64le branch.

> - For Efraim specifically, there is some overlap between the work
>   required on wip-ppc64le and the work required on wip-ppc.  I have
>   already cherry-picked one of your commits
>   (2da8fcfdee7cfde8110a68806f3c4d497f217fe5) onto wip-ppc64le (as commit
>   52f0b3db6ef3d3c5067c704c2190f72d2994a999), since it was needed.  How
>   would you like to coordinate this work?
>
> - Are there any other tips/advice/rules?

I'd really like to develop the Guix Data Service instance here [1] and
associated Guix Build Coordinator instance in to something that can be
used to work with non-master branches.

1: https://data.guix-patches.cbaines.net/

wip-ppc64le is already being processed [2], but ppc64le derivations
aren't being computed. I think adding a change like [3] to the branch
would make sense, and prompt the Guix Data Service to compute those
derivations.

2: https://data.guix-patches.cbaines.net/repository/2/branch/wip-ppc64le
3: https://git.guix-patches.cbaines.net/guix-patches/commit/?h=wip-lle-bout-le1&id=53dcca860787ae6cf3949d9c03c0108c47d47c9e

Once there are computed derivations, then the connected Guix Build
Coordinator instance can start building them. This isn't meant for
providing substitutes to users, but instead for quality assurance. Does
that all make sense?

Thanks,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

  reply	other threads:[~2021-02-04  9:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-04  8:56 Branch management, wip-ppc64le, and POWER9 Chris Marusich
2021-02-04  9:38 ` Christopher Baines [this message]
2021-02-04 18:53   ` Leo Famulari
2021-02-04 18:57     ` Leo Famulari
2021-02-07  3:04   ` Chris Marusich

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=877dnoyxy4.fsf@cbaines.net \
    --to=mail@cbaines.net \
    --cc=cmmarusich@gmail.com \
    --cc=guix-devel@gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).