Skip to content

Inconsistent .deb MUSL package names #3482

@balupton

Description

@balupton

The assets for bat 0.26 are as follows:

  • bat-musl_0.26.0_arm64.deb
  • bat-musl_0.26.0_musl-linux-amd64.deb
  • bat-musl_0.26.0_musl-linux-i686.deb
  • bat-v0.26.0-aarch64-apple-darwin.tar.gz
  • bat-v0.26.0-aarch64-pc-windows-msvc.zip
  • bat-v0.26.0-aarch64-unknown-linux-gnu.tar.gz
  • bat-v0.26.0-aarch64-unknown-linux-musl.tar.gz
  • bat-v0.26.0-arm-unknown-linux-gnueabihf.tar.gz
  • bat-v0.26.0-arm-unknown-linux-musleabihf.tar.gz
  • bat-v0.26.0-i686-pc-windows-msvc.zip
  • bat-v0.26.0-i686-unknown-linux-gnu.tar.gz
  • bat-v0.26.0-i686-unknown-linux-musl.tar.gz
  • bat-v0.26.0-x86_64-apple-darwin.tar.gz
  • bat-v0.26.0-x86_64-pc-windows-msvc.zip
  • bat-v0.26.0-x86_64-unknown-linux-gnu.tar.gz
  • bat-v0.26.0-x86_64-unknown-linux-musl.tar.gz
  • bat_0.26.0_amd64.deb
  • bat_0.26.0_arm64.deb
  • bat_0.26.0_armhf.deb
  • bat_0.26.0_i686.deb
  • bat_0.26.0_musl-linux-armhf.deb

Of which, the .deb of those are as follows:

  • bat-musl_0.26.0_arm64.deb
  • bat-musl_0.26.0_musl-linux-amd64.deb
  • bat-musl_0.26.0_musl-linux-i686.deb
  • bat_0.26.0_amd64.deb
  • bat_0.26.0_arm64.deb
  • bat_0.26.0_armhf.deb
  • bat_0.26.0_i686.deb
  • bat_0.26.0_musl-linux-armhf.deb

First. There are three layers of consistency here:

  • bat-musl_0.26.0_arm64.deb
  • bat-musl_0.26.0_musl-linux-amd64.deb
  • bat-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.deb
  • bat_0.26.0_arm64.deb
  • bat_0.26.0_armhf.deb
  • bat_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.deb
  • bat-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.deb
  • bat-0.26.0_musl-linux-amd64.deb
  • bat-0.26.0_musl-linux-i686.deb
  • bat_0.26.0_amd64.deb
  • bat_0.26.0_arm64.deb
  • bat_0.26.0_armhf.deb
  • bat_0.26.0_i686.deb
  • bat_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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions