On Sun, Jan 12, 2025 at 4:33 AM Gregory Nutt wrote:
> On 1/11/2025 9:20 PM, Tomek CEDRO wrote:
> > By the way is there a way so that PR from "wild mirrors" like on
> > GitLab or Forgejo could land into the GitHub?
> >
> > You would have to push such commits to a branch on your local GH
> > account and then create a PR to the upstream?
>
> This is way outside my areas of expertise.  The way I think of it is
> that GIT is GIT wherever it is hosted.  The value added by these sites
> is in the integrated development tools that they they add and the
> particular work flow that they support.  So maybe some GIT only solution
> could work.
>
> I think the PRs as we think of them are inventions of Github. GIT
> supports command line PR generation which probably underlies Github PRs,
> but any use case with these would be awkward:
> https://git-scm.com/docs/git-request-pull/2.6.7

Yeah I never used that raw `git request-pull` myself.. I guess making
it easy to operate over a simple website is what made GitHub so
popular :-)

The question on making PRs to upstream from external mirrors was more
directed to Lup.. because whether its GitHub or GitBox or something
else it must land onto the Apache upstream repo and before that it
needs to be reviewed as PR and before that probably it needs to be
PR'ed on such external mirror :D I was wondering if PR can be easily
"forwarded from external mirror to the upstream repo" or needs to be
re-created manually based on git commits :-P I dont know it myself and
I think it could be good addition to the article :-) Maybe it could be
useful information for organizations that prefer to work on local
mirror of a project internally for whatever reason, and then just
"forward" selected PRs to the upstream when ready :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Reply via email to