pkgsrc-Users archive

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

Re: wip patch for using external git command



On Fri, Jun 14, 2024 at 09:57:37AM -0400, Greg Troxel wrote:
> Jonathan Perkin <jperkin%mnx.io@localhost> writes:
> 
> > * On 2024-06-14 at 13:02 BST, Greg Troxel wrote:
> >
> >>So if you want to add support for custom git, I think we first need git
> >>as a tool.
> >
> > To be clear this should stay wip-only.  We would never want pkgsrc
> > proper to fetch things using git.
> 
> Well, never is a strong word.  In an ideal world there would be actual
> release tarballs and we wouldn't be using any URLs that generate things.
> 
> github culture continues to cause problems, and it would not surprise me
> if fetch-via-git is the only mechanism for some package.  At some point
> we will probably end up talking about where we are on the "therefore
> that package is illegitimate and we don't allow it" vs "maybe we need to
> do something about fetching from git".

For github, the pkgsrc infrastructure already supports getting
tarballs for arbitrary commits just by setting GITHUB_TAG to the
commit hash (no git(1) needed).

Just in case this is news to anyone :)
 Thomas


Home | Main Index | Thread Index | Old Index