Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1169

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176
8000 feat: added golang support for reading and writing xz-compressed files & add crc tool - OpenShift Local by savitojs · Pull Request #1178 · alexellis/arkade · GitHub
Nothing Special   »   [go: up one dir, main page]

Skip to content

Conversation

savitojs
Copy link
@savitojs savitojs commented Jun 3, 2025

fixes #1176 #1175

Description

Motivation and Context

  • I have raised an issue to propose this change, which has been given a label of design/approved by a maintainer (required)

How Has This Been Tested?

If updating or adding a new CLI to arkade get, run:

go build && ./hack/test-tool.sh crc

+ ./arkade get crc --arch arm64 --os darwin --quiet
+ file /home/sav/.arkade/bin/crc
/home/sav/.arkade/bin/crc: xar archive compressed TOC: 5066, SHA-1 checksum
+ rm /home/sav/.arkade/bin/crc
+ echo

+ ./arkade get crc --arch x86_64 --os darwin --quiet
+ file /home/sav/.arkade/bin/crc
/home/sav/.arkade/bin/crc: xar archive compressed TOC: 5066, SHA-1 checksum
+ rm /home/sav/.arkade/bin/crc
+ echo

+ ./arkade get crc --arch x86_64 --os linux --quiet
+ file /home/sav/.arkade/bin/crc
/home/sav/.arkade/bin/crc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, Go BuildID=aV8HDwbJnL4eYAu4akjk/Nc9Fl1uHK0-jOXlUB-R_/3A3l00a66CVSE4L3nrIB/WfP8hPFOFc3uUgb2jByO, BuildID[sha1]=d35b79088470d2cb2845698a7991e42849e0dda3, with debug_info, not stripped, too many notes (256)
+ rm /home/sav/.arkade/bin/crc
+ echo

+ ./arkade get crc --arch aarch64 --os linux --quiet
+ file /home/sav/.arkade/bin/crc
/home/sav/.arkade/bin/crc: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, Go BuildID=vFB_Mnv1xGPk1N00MaU4/SVt_TReCp04zYEni5Nps/JeV1TD7JzURAsAbESgPB/pOBQriEDg081pnXyPrN_, BuildID[sha1]=6303ec930e4c1c6740c3bbb290f216ce1b7c5fb6, with debug_info, not stripped, too many notes (256)
+ rm /home/sav/.arkade/bin/crc
+ echo

+ ./arkade get crc --arch x86_64 --os mingw --quiet


Note: arkade ONLY supports downloading .exe binaries but not installer packages (.msi).
Please manually run the installer: /tmp/arkade-3081368978/crc-windows-amd64.msi
Error: stat /tmp/arkade-3081368978/crc.exe: no such file or directory

Running above command works with Linux and Mac.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Documentation

  • I have updated the list of tools in README.md if (required) with ./arkade get --format markdown
  • I have updated the list of apps in README.md if (required) with ./arkade install --help

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have signed-off my commits with git commit -s
  • I have tested this on arm, or have added code to prevent deployment

@derek derek bot added the new-contributor label Jun 3, 2025
@savitojs savitojs marked this pull request as draft June 3, 2025 22:13
savitojs added 2 commits June 16, 2025 17:27
Signed-off-by: Savitoj Singh <savsingh@redhat.com>
Signed-off-by: Savitoj Singh <savsingh@redhat.com>
@savitojs savitojs changed the title wip: feat: added golang support for reading and writing xz-compressed files wip: feat: added golang support for reading and writing xz-compressed files & add crc tool - OpenShift Local Jun 17, 2025
@savitojs savitojs marked this pull request as ready for review June 17, 2025 00:43
@savitojs
Copy link
Author
savitojs commented Jul 1, 2025

I just tested the new version, it works

$ crc version
WARN A new version (2.52.0) has been published on https://developers.redhat.com/content-gateway/file/pub/openshift-v4/clients/crc/2.52.0/crc-linux-amd64.tar.xz 
CRC version: 2.51.0+80aa80
OpenShift version: 4.18.2

$ arkade get crc

Downloading: crc
2025/07/01 18:10:50 Looking up version for: crc
2025/07/01 18:10:50 Found: 
Downloading: https://mirror.openshift.com/pub/openshift-v4/clients/crc/latest/crc-linux-amd64.tar.xz
34.02 MiB / 34.02 MiB [---------------------------------------------------------------------------------------------------------] 100.00%
/tmp/arkade-3700362939/crc-linux-amd64.tar.xz written.
2025/07/01 18:11:05 Extracted: /tmp/arkade-3700362939/crc
2025/07/01 18:11:05 Copying /tmp/arkade-3700362939/crc to /home/savsingh/.arkade/bin/crc

Wrote: /home/sav/.arkade/bin/crc (101.3MB)

# Add arkade binary directory to your PATH variable
export PATH=$PATH:$HOME/.arkade/bin/

# Test the binary:
/home/sav/.arkade/bin/crc

# Or install with:
sudo mv /home/sav/.arkade/bin/crc /usr/local/bin/

👏 Say thanks for arkade and sponsor Alex via GitHub: https://github.com/sponsors/alexellis

$ crc version
CRC version: 2.52.0+47be8d
OpenShift version: 4.19.0
MicroShift version: 4.19.0

@savitojs savitojs changed the title wip: feat: added golang support for reading and writing xz-compressed files & add crc tool - OpenShift Local feat: added golang support for reading and writing xz-compressed files & add crc tool - OpenShift Local Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for tar.xz

2 participants

0