Re: [gentoo-dev] file(1) now supports Gentoo file types!

2022-09-15 Thread Michał Górny
On Wed, 2022-09-14 at 23:58 +0100, Sam James wrote:
> Hi,
> 
> Fun thing to share: thanks to mgorny, file(1) (sys-apps/file) now
> supports Gentoo ebuilds, eclasses, and binpkgs.
> 
> ```
> $ file sys-apps/file/file-.ebuild
> sys-apps/file/file-.ebuild: Gentoo ebuild, EAPI 8, ASCII text
> 
> $ file sys-apps/file/Manifest
> sys-apps/file/Manifest: Gentoo Manifest (GLEP 74)
> 
> $ file eclass/autotools.eclass
> eclass/autotools.eclass: Gentoo eclass autotools.eclass, Unicode text,
> UTF-8 text
> 
> $ file /var/cache/binpkgs/app-shells//zsh-5.9-r1.gpkg.tar
> /var/cache/binpkgs/app-shells//zsh-5.9-r1.gpkg.tar: Gentoo GLEP 78
> (GPKG) binary package for "zsh-5.9-r1" using zstd compression
> ```
> 
> Thought this was a nice fun thing to share.
> 

Unfortunately it doesn't support transparent lzip decompression, so it
still does a disservice to our users.

-- 
Best regards,
Michał Górny




[gentoo-dev] file(1) now supports Gentoo file types!

2022-09-14 Thread Sam James
Hi,

Fun thing to share: thanks to mgorny, file(1) (sys-apps/file) now
supports Gentoo ebuilds, eclasses, and binpkgs.

```
$ file sys-apps/file/file-.ebuild
sys-apps/file/file-.ebuild: Gentoo ebuild, EAPI 8, ASCII text

$ file sys-apps/file/Manifest
sys-apps/file/Manifest: Gentoo Manifest (GLEP 74)

$ file eclass/autotools.eclass
eclass/autotools.eclass: Gentoo eclass autotools.eclass, Unicode text,
UTF-8 text

$ file /var/cache/binpkgs/app-shells//zsh-5.9-r1.gpkg.tar
/var/cache/binpkgs/app-shells//zsh-5.9-r1.gpkg.tar: Gentoo GLEP 78
(GPKG) binary package for "zsh-5.9-r1" using zstd compression
```

Thought this was a nice fun thing to share.

Best,
sam