Skip to content
This repository was archived by the owner on Jan 12, 2025. It is now read-only.

Fix resolve aarch64 to ARM64#67

Open
jcnix wants to merge 2 commits intodanielbraun89:mainfrom
jcnix:patch-1
Open

Fix resolve aarch64 to ARM64#67
jcnix wants to merge 2 commits intodanielbraun89:mainfrom
jcnix:patch-1

Conversation

@jcnix
Copy link

@jcnix jcnix commented Dec 18, 2024

When using nanolayer with devcontainer features, some Github Releases use aarch64 instead of ARM64 in their releases.

I encountered this problem with ripgrep
https://github.com/BurntSushi/ripgrep/releases

See output below. nanolayer was not able to resolve this correctly and mistakenly chose ppc64 which was not compatible with my system.

'ripgrep-14.1.1-aarch64-apple-darwin.tar.gz' filtered by '([Mm]ac[Oo][Ss]|[Mm]ac\-[Oo][Ss]|\-osx\-|_osx_|[Dd]arwin|\.dmg)' (negative)
'ripgrep-14.1.1-aarch64-apple-darwin.tar.gz.sha256' filtered by '(\.sig$|\.text$|\.txt$|[Cc]hecksums|sha256|\.sha1$|\.md5$)' (negative)
'ripgrep-14.1.1-aarch64-unknown-linux-gnu.tar.gz.sha256' filtered by '(\.sig$|\.text$|\.txt$|[Cc]hecksums|sha256|\.sha1$|\.md5$)' (negative)
'ripgrep-14.1.1-armv7-unknown-linux-gnueabihf.tar.gz' filtered by '([Aa][Rr][Mm]v7)' (negative)
'ripgrep-14.1.1-armv7-unknown-linux-gnueabihf.tar.gz.sha256' filtered by '([Aa][Rr][Mm]v7)' (negative)
'ripgrep-14.1.1-armv7-unknown-linux-musleabi.tar.gz' filtered by '([Aa][Rr][Mm]v7)' (negative)
'ripgrep-14.1.1-armv7-unknown-linux-musleabi.tar.gz.sha256' filtered by '([Aa][Rr][Mm]v7)' (negative)
'ripgrep-14.1.1-armv7-unknown-linux-musleabihf.tar.gz' filtered by '([Aa][Rr][Mm]v7)' (negative)
'ripgrep-14.1.1-armv7-unknown-linux-musleabihf.tar.gz.sha256' filtered by '([Aa][Rr][Mm]v7)' (negative)
'ripgrep-14.1.1-i686-pc-windows-msvc.zip' filtered by '(i686|\-686|_686)' (negative)
'ripgrep-14.1.1-i686-pc-windows-msvc.zip.sha256' filtered by '(i686|\-686|_686)' (negative)
'ripgrep-14.1.1-i686-unknown-linux-gnu.tar.gz' filtered by '(i686|\-686|_686)' (negative)
'ripgrep-14.1.1-i686-unknown-linux-gnu.tar.gz.sha256' filtered by '(i686|\-686|_686)' (negative)
'ripgrep-14.1.1-powerpc64-unknown-linux-gnu.tar.gz.sha256' filtered by '(\.sig$|\.text$|\.txt$|[Cc]hecksums|sha256|\.sha1$|\.md5$)' (negative)
'ripgrep-14.1.1-s390x-unknown-linux-gnu.tar.gz' filtered by '(s390x|s390)' (negative)
'ripgrep-14.1.1-s390x-unknown-linux-gnu.tar.gz.sha256' filtered by '(s390x|s390)' (negative)
'ripgrep-14.1.1-x86_64-apple-darwin.tar.gz' filtered by '([Aa]md64|\-x64|x64|x86[_-]64)' (negative)
'ripgrep-14.1.1-x86_64-apple-darwin.tar.gz.sha256' filtered by '([Aa]md64|\-x64|x64|x86[_-]64)' (negative)
'ripgrep-14.1.1-x86_64-pc-windows-gnu.zip' filtered by '([Aa]md64|\-x64|x64|x86[_-]64)' (negative)
'ripgrep-14.1.1-x86_64-pc-windows-gnu.zip.sha256' filtered by '([Aa]md64|\-x64|x64|x86[_-]64)' (negative)
'ripgrep-14.1.1-x86_64-pc-windows-msvc.zip' filtered by '([Aa]md64|\-x64|x64|x86[_-]64)' (negative)
'ripgrep-14.1.1-x86_64-pc-windows-msvc.zip.sha256' filtered by '([Aa]md64|\-x64|x64|x86[_-]64)' (negative)
'ripgrep-14.1.1-x86_64-unknown-linux-musl.tar.gz' filtered by '([Aa]md64|\-x64|x64|x86[_-]64)' (negative)
'ripgrep-14.1.1-x86_64-unknown-linux-musl.tar.gz.sha256' filtered by '([Aa]md64|\-x64|x64|x86[_-]64)' (negative)
'ripgrep_14.1.1-1_amd64.deb' filtered by '([Aa]md64|\-x64|x64|x86[_-]64)' (negative)
'ripgrep_14.1.1-1_amd64.deb.sha256' filtered by '([Aa]md64|\-x64|x64|x86[_-]64)' (negative)
'ripgrep-14.1.1-aarch64-unknown-linux-gnu.tar.gz' filtered by '.*rg.*'
'ripgrep-14.1.1-powerpc64-unknown-linux-gnu.tar.gz' filtered by '.*rg.*'
'ripgrep-14.1.1-aarch64-unknown-linux-gnu.tar.gz' filtered by '([Aa]rm64|ARM64)'
'ripgrep-14.1.1-powerpc64-unknown-linux-gnu.tar.gz' filtered by '([Aa]rm64|ARM64)'
'ripgrep-14.1.1-aarch64-unknown-linux-gnu.tar.gz' filtered by '(?i)(debian)'
'ripgrep-14.1.1-powerpc64-unknown-linux-gnu.tar.gz' filtered by '(?i)(debian)'
'ripgrep-14.1.1-aarch64-unknown-linux-gnu.tar.gz' filtered by '.*static.*'
'ripgrep-14.1.1-powerpc64-unknown-linux-gnu.tar.gz' filtered by '.*static.*'
'ripgrep-14.1.1-aarch64-unknown-linux-gnu.tar.gz' filtered by '(?i)(debian)'
'ripgrep-14.1.1-powerpc64-unknown-linux-gnu.tar.gz' filtered by '(?i)(debian)'
'ripgrep-14.1.1-aarch64-unknown-linux-gnu.tar.gz' filtered by '\-ARM\-?|\-arm\-'
'ripgrep-14.1.1-powerpc64-unknown-linux-gnu.tar.gz' filtered by '\-ARM\-?|\-arm\-'
'ripgrep-14.1.1-aarch64-unknown-linux-gnu.tar.gz' filtered by '(?i)(arch)' (negative)
resolved asset: ripgrep-14.1.1-powerpc64-unknown-linux-gnu.tar.gz

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant