all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Nicolas Graves via <help-guix@gnu.org>, help-guix@gnu.org
Cc: ngraves@ngraves.fr
Subject: Re: managing waiting patches
Date: Fri, 09 Sep 2022 19:08:09 +0200	[thread overview]
Message-ID: <86a678pjba.fsf@gmail.com> (raw)
In-Reply-To: <87a68lorw8.fsf@ngraves.fr>

Hi,

I am very late to the party. :-)

On Thu, 04 Aug 2022 at 00:59, Nicolas Graves via <help-guix@gnu.org> wrote:

> I've some patches waiting to be merged, and was thinking about how to
> deal with that. (I understand that maintainers are few and probably
> overworked, I'm not criticizing anyone.)

I sympathize.


> There are actually two problems in one :
>
> 1) how to manage and track series of patches one makes in his local repo
> copy.

[...]

> Is there a place I can find some best practices about managing series of
> patches (as a contributor), beyond implementing "The Perfect Setup"?

What I personally do.  Either,

 a) use “git worktree” and checkout a branch with my stuff
 b) move my stuff to another folder and use the option --load-path
 c) create a channel (I barely do that)

Usually, I do b) when I need to share the result when colleagues.  I
find it easier/faster and less error-prone than via c) a channel (turn
on/off the channel at pull-time depending on the status of the series).

About a), I usually create a worktree (and a branch) for each series.

Once I get a Debbugs number, I sometimes rename this worktree and branch
to something like: patch-12345-julia-csv where julia-csv is a package
and the worktree contains all the required dependencies.

When I start another package, say julia-foo, depending on julia-csv, I
create another worktree (and branch) starting at the branch
patch-12345-julia-csv.

Doing so, just running plain ’ls’ shows me the situation; or ’y’ from
Emacs Magit.


> 2) how to get one's patches to pass.
>
> Another problematic I encounter is having to wait for a patch series to
> pass to send another one. Another example.

Well, if the review is slow, it is probably because committers are busy
elsewhere.  :-)

When I feel frustrated, I open the bug tracker and dive in old bugs or
patches.  Many are forgotten and triage can help to save some time to
others; which can be reallocated for merging new contributions. :-)

The aim of mentors is to have a better idea to whom could review and/or
commit.  For instance, about some Python patches from May, it appears
reasonable to send a friendly ping and CC Lars or Hartmut.

Just to mention that some patches are easier to review than others.

Last, roam on #guix or #guix-hpc is sometimes helpful.


Thank you for your contributions and I hope this is motivating you in
helping for reviewing. :-)


Cheers,
simon


      parent reply	other threads:[~2022-09-09 17:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-03 22:59 managing waiting patches Nicolas Graves via
2022-08-09 20:54 ` Ludovic Courtès
2022-08-09 22:02   ` Nicolas Graves via
2022-09-05 19:45     ` Ludovic Courtès
2022-09-09 17:08 ` zimoun [this message]

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=86a678pjba.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=ngraves@ngraves.fr \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.