tech-repository archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: irt: Re: Core statement on version control systems



At Mon, 1 Dec 2025 20:29:11 +0100, Rhialto <rhialto%falu.nl@localhost> wrote:
Subject: Re: irt: Re: Core statement on version control systems
>
> On Sat 29 Nov 2025 at 23:18:04 +0000, David Holland wrote:
> > Github pull requests are a fine way to send ten-line patches to random
> > projects you aren't part of, provided you've already signed up for
> > Github.

I would posit that practically (i.e. for all real intents and purposes)
"everyone" who the NetBSD project might want to attract as potential
contributors _is_ already on some forge, be it github or gitlab or
whatever.

> If you don't have those permissions, it gets a lot more annoying.  You
> must create a fork of the repo on github to your own account. If you
> already cloned the repo to your local machine, you now have to switch
> its upstream to the fork (or add a new upstream for it). Then you do the
> branch + push (to your fork) + pull request dance.

I don't find that to be much extra work vs. working on a project where I
have push permissions to but where I still have to push branches for
approval, but perhaps that's because I use tools other than the web
browser to help me.

I.e. there are command-line tools as well as various locally executed
GUI tools (e.g. magit in emacs) that can make the task vastly simpler
with no web browser required.

> If you just wanted to ever make this one pull request, it stops here.
> But if you want to keep following the project, you now have a fork which
> gets outdated quickly. Github finally added a button to update a branch
> from the original repo, but you'll have to switch though all branches to
> keep up to date completely. That can be a lot of work... and even with
> the command line I am not aware of a simple way to update the whole repo
> (including all branches).

I use "git up -p" (PyGitUp), a Git extension that, with the right
configuration, updates all local branches from the upstream and then
pushes them to your clone.

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgp5Stb_PiPIJ.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index