| Newsgroups |
gmane.linux.lfs.beyond.devel |
| Message-ID |
<[email protected]> |
On Mon, 2025-02-24 at 16:58 +0800, Xi Ruoyao wrote:
> On Mon, 2025-02-24 at 00:15 +0800, Xi Ruoyao wrote:
> > On Sun, 2025-02-23 at 09:36 -0600, Bruce Dubbs wrote:
> > > On 2/22/25 11:39 PM, Xi Ruoyao ([email protected] via blfs-dev
> > > Mailing List) wrote:
> > > > On Sat, 2025-02-22 at 19:04 -0600, Bruce Dubbs wrote:
> > >
> > > > > I could not figure out how github wanted to download as a
> > > > > different file name, so I
> > > > > just made the url name, the download name, and the extracted
> > > > > directory name all the
> > > > > same: libxkbcommon-xkbcommon
> > > > >
> > > > > https://github.com/xkbcommon/libxkbcommon/archive/xkbcommon-1.8.0/libxkbcommon-xkbcommon-1.8.0.tar.gz
> > > >
> > > > But then shouldn't we do the same for intel-media and gmmlib? If
> > > > you
> > > > download
> > > > https://github.com/intel/media-driver/archive/intel-media-24.4.4.tar.gz
> > > > via a browser the file name would be media-driver-intel-media-
> > > > 24.4.4.tar.gz, and for gmmlib it would be gmmlib-intel-gmmlib-
> > > > 22.5.5.tar.gz.
> > >
> > > Sigh. I suppose so for consistency. Do you have time to do it?
> >
> > Done.
>
> I performed a book-wide audition with
>
> grep -E 'github.com.*/[^/]*/archive/[vV]?[^/]*/' $(find -name \*.xml) |
> grep -Ev 'github.com.*/([^/]*)/archive/[vV]?([^/]*)/\1-\2.tar.gz'
>
> and found other 4 packages: spirv-{headers,tools}, smartypants, and
> jasper. I'll push the fix for them soon.
As the names are way tooooo stupid and we just got a new case (faac-
1.31), I've started experimenting a new method: having a fork of the
problematic repositories and setting up a GitHub action to daily sync
the fork and rename the tags if there's a new one.
I used libxkbcommon for demonstration. The fork is set up at
https://github.com/lfs-book/libxkbcommon, the action file is at
https://github.com/lfs-book/libxkbcommon/blob/lfs/action/.github/workflows/lfs-retag.yml
and it has produced
https://github.com/lfs-book/libxkbcommon/archive/v1.8.0/libxkbcommon-1.8.0.tar.gz
for us.
I plan to set this up for all the problematic packages.
--
Xi Ruoyao <[email protected]>
School of Aerospace Science and Technology, Xidian University
--
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page