Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ouch: init at 0.1.5 #131538

Merged
merged 1 commit into from
Jul 30, 2021
Merged

ouch: init at 0.1.5 #131538

merged 1 commit into from
Jul 30, 2021

Conversation

psibi
Copy link
Member

@psibi psibi commented Jul 26, 2021

Motivation for this change

Adds the ouch cli for easy compression and decompression of files. Tested it locally on a NixOS machine:

$ /nix/store/bmsmpi9hzyjjhqvq4brbchh42j5rdffi-ouch-0.1.5/bin/ouch
ouch - Obvious Unified Compression files Helper

USAGE:
    ouch <files...>                        Decompresses files.

    ouch compress <files...> OUTPUT.EXT    Compresses files into OUTPUT.EXT,
                                           where EXT must be a supported format.

FLAGS:
    -h, --help    Display this help information.
    -y, --yes     Skip overwrite questions.
    -n, --no      Skip overwrite questions.
    --version     Display version information.

SPECIFIC FLAGS:
    -o, --output FOLDER_PATH    When decompressing, to decompress files to
                                another folder.

Visit https://github.com/vrmiguel/ouch for more usage examples.
$ /nix/store/bmsmpi9hzyjjhqvq4brbchh42j5rdffi-ouch-0.1.5/bin/ouch ~/Downloads/helm-v3.6.2-linux-amd64.tar.gz
[INFO] "/home/sibi/Downloads/helm-v3.6.2-linux-amd64.tar.gz" extracted into memory (45.13 MB).
[INFO] attempting to decompress "helm-v3.6.2-linux-amd64.tar"
[INFO] "./linux-amd64/" extracted. (0 B)
[INFO] "./linux-amd64/helm" extracted. (45.11 MB)
[INFO] "./linux-amd64/LICENSE" extracted. (11.37 kB)
[INFO] "./linux-amd64/README.md" extracted. (3.37 kB)
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes (or backporting 21.05 Relase notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@risicle
Copy link
Contributor

risicle commented Jul 28, 2021

Builds & runs, macos 10.15 & nixos x86_64

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.

3 participants