-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
The assets for bat 0.26 are as follows:
bat-musl_0.26.0_arm64.debbat-musl_0.26.0_musl-linux-amd64.debbat-musl_0.26.0_musl-linux-i686.debbat-v0.26.0-aarch64-apple-darwin.tar.gzbat-v0.26.0-aarch64-pc-windows-msvc.zipbat-v0.26.0-aarch64-unknown-linux-gnu.tar.gzbat-v0.26.0-aarch64-unknown-linux-musl.tar.gzbat-v0.26.0-arm-unknown-linux-gnueabihf.tar.gzbat-v0.26.0-arm-unknown-linux-musleabihf.tar.gzbat-v0.26.0-i686-pc-windows-msvc.zipbat-v0.26.0-i686-unknown-linux-gnu.tar.gzbat-v0.26.0-i686-unknown-linux-musl.tar.gzbat-v0.26.0-x86_64-apple-darwin.tar.gzbat-v0.26.0-x86_64-pc-windows-msvc.zipbat-v0.26.0-x86_64-unknown-linux-gnu.tar.gzbat-v0.26.0-x86_64-unknown-linux-musl.tar.gzbat_0.26.0_amd64.debbat_0.26.0_arm64.debbat_0.26.0_armhf.debbat_0.26.0_i686.debbat_0.26.0_musl-linux-armhf.deb
Of which, the .deb of those are as follows:
bat-musl_0.26.0_arm64.debbat-musl_0.26.0_musl-linux-amd64.debbat-musl_0.26.0_musl-linux-i686.debbat_0.26.0_amd64.debbat_0.26.0_arm64.debbat_0.26.0_armhf.debbat_0.26.0_i686.debbat_0.26.0_musl-linux-armhf.deb
First. There are three layers of consistency here:
bat-musl_0.26.0_arm64.debbat-musl_0.26.0_musl-linux-amd64.debbat-musl_0.26.0_musl-linux-i686.deb
have a different prefix, whereas all the others do not, including the other MUSL deb asset of:
bat_0.26.0_musl-linux-armhf.deb
Second. The .tar.gz and .zip assets all have GNU or MUSL or MSVC as the last sufufix, whereas the deb builds either don't have such a suffix at all:
bat_0.26.0_amd64.debbat_0.26.0_arm64.debbat_0.26.0_armhf.debbat_0.26.0_i686.deb
Or have it as a prefix before the version number:
bat-musl_0.26.0_arm64.deb
Or have it as a prefix after the version number:
bat_0.26.0_musl-linux-armhf.deb
Or have have it as both a prefix before and after the version number:
bat-musl_0.26.0_musl-linux-amd64.debbat-musl_0.26.0_musl-linux-i686.deb
It would be nice if their naming conventions were consistent, e.g.
bat-0.26.0_musl-linux-arm64.debbat-0.26.0_musl-linux-amd64.debbat-0.26.0_musl-linux-i686.debbat_0.26.0_amd64.debbat_0.26.0_arm64.debbat_0.26.0_armhf.debbat_0.26.0_i686.debbat_0.26.0_musl-linux-armhf.deb
And it would be even better if they were consistent with the .tar.gz and zip options.
This will make it easier for https://github.com/bevry/dorothy/blob/master/commands/setup-util-bat to determine the correct asset for the platform, as it will only need to contend with suffixes instead of prefixes and suffixes.