Skip to content

dwarfs: 0.7.5 → 0.9.9 - #312656

Merged
SuperSandro2000 merged 1 commit into
NixOS:masterfrom
luftmensch-luftmensch:dwarfs_0.9.9
May 20, 2024
Merged

SuperSandro2000 merged 1 commit into
NixOS:masterfrom
luftmensch-luftmensch:dwarfs_0.9.9

Conversation

@luftmensch-luftmensch

Copy link
Copy Markdown
Contributor

Description of changes

Closes #306563

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release 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.

Add a 👍 reaction to pull requests you find important.

@luftmensch-luftmensch

Copy link
Copy Markdown
Contributor Author
> nix build .#dwarfs
> tree result/
 result
├──  bin
│  ├──  dwarfs
│  ├──  dwarfsbench
│  ├──  dwarfsck
│  ├──  dwarfsextract
│  ├──  mkdwarfs
│  └──  mount.dwarfs -> dwarfs
├──  sbin -> bin
└──  share
   └──  man
      ├──  man1
      │  ├──  dwarfs.1.gz
      │  ├──  dwarfsck.1.gz
      │  ├──  dwarfsextract.1.gz
      │  └──  mkdwarfs.1.gz
      └──  man5
         └──  dwarfs-format.5.gz
./result/bin/dwarfs --help                                                                                                                                       0.015s 
     ___                  ___ ___
    |   \__ __ ____ _ _ _| __/ __|         Deduplicating Warp-speed
    | |) \ V  V / _` | '_| _|\__ \      Advanced Read-only File System
    |___/ \_/\_/\__,_|_| |_| |___/         by Marcus Holland-Moritz

dwarfs (v0.9.9, fuse version 35)
built on x86_64, Linux-6.1.90, GNU 13.2.0

usage: dwarfs <image> <mountpoint> [options]

DWARFS options:
    -o cachesize=SIZE      set size of block cache (512M)
    -o workers=NUM         number of worker threads (2)
    -o mlock=NAME          mlock mode: (none), try, must
    -o decratio=NUM        ratio for full decompression (0.8)
    -o offset=NUM|auto     filesystem image offset in bytes (0)
    -o enable_nlink        show correct hardlink numbers
    -o readonly            show read-only file system
    -o (no_)cache_image    (don't) keep image in kernel cache
    -o (no_)cache_files    (don't) keep files in kernel cache
    -o debuglevel=NAME     error, warn, info, debug, trace
    -o tidy_strategy=NAME  (none)|time|swap
    -o tidy_interval=TIME  interval for cache tidying (5m)
    -o tidy_max_age=TIME   tidy blocks after this time (10m)
    -o perfmon=name[,...]  enable performance monitor

FUSE options:
    -h   --help            print help
    -V   --version         print version
    -d   -o debug          enable debug output (implies -f)
    -f                     foreground operation
    -s                     disable multi-threaded operation
    -o clone_fd            use separate fuse device fd for each thread
                           (may improve performance)
    -o max_idle_threads    the maximum number of idle worker threads
                           allowed (default: -1)
    -o max_threads         the maximum number of worker threads
                           allowed (default: 10)

@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/3962

@ofborg ofborg Bot added 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels May 18, 2024
@luftmensch-luftmensch luftmensch-luftmensch changed the title dwarfs: 0.7.5 → 0.9.8 dwarfs: 0.7.5 → 0.9.9 May 18, 2024
@Misterio77

Copy link
Copy Markdown
Member

Result of nixpkgs-review pr 312656 run on x86_64-linux 1

1 package built:
  • dwarfs

@SuperSandro2000
SuperSandro2000 merged commit b4450ee into NixOS:master May 20, 2024
@luftmensch-luftmensch
luftmensch-luftmensch deleted the dwarfs_0.9.9 branch May 20, 2024 20:34
rev = "v${version}";
rev = "refs/tags/v${version}";
fetchSubmodules = true;
hash = "sha256-Zzm2SaFR31TBBMDfgJulVbqsJBh1He2wBFzHRC/c5vg=";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version was bumped but the hash is unchanged.

So this is really building the old version!

@nh2 nh2 mentioned this pull request Jun 23, 2024
@nh2 nh2 mentioned this pull request Jun 23, 2024
3 of 14 tasks
nh2 added a commit to nh2/nixpkgs that referenced this pull request Jun 23, 2024
The previous update to 0.9.9 didn't actually update the version because
it forgot to update the hash,
so the old source archive continued to be used:
NixOS#312656 (comment)

Because now the new code is actually pulled in, it needs new
dependencies and fixes.

* `PRJ_GIT_DATE` is needed.
  Remove the manual replacement of versions, and use the
  approach that upstream added for nixpkgs:
  NixOS#181723 (comment)
  This avoids cases like this, where new versioning fields are added;
  upstream takes care of it for us now.
* Use `finalAttrs` for correct version overriding.
* Fix compile error with `gtest`, see added comments.
* Enable FLAC support
  (and the tests don't pass without it on this version, see
  mhx/dwarfs@21901d7)
github-actions Bot pushed a commit that referenced this pull request Jun 24, 2024
The previous update to 0.9.9 didn't actually update the version because
it forgot to update the hash,
so the old source archive continued to be used:
#312656 (comment)

Because now the new code is actually pulled in, it needs new
dependencies and fixes.

* `PRJ_GIT_DATE` is needed.
  Remove the manual replacement of versions, and use the
  approach that upstream added for nixpkgs:
  #181723 (comment)
  This avoids cases like this, where new versioning fields are added;
  upstream takes care of it for us now.
* Use `finalAttrs` for correct version overriding.
* Fix compile error with `gtest`, see added comments.
* Enable FLAC support
  (and the tests don't pass without it on this version, see
  mhx/dwarfs@21901d7)

(cherry picked from commit 9bb686f)
veprbl pushed a commit that referenced this pull request Aug 20, 2024
The previous update to 0.9.9 didn't actually update the version because
it forgot to update the hash,
so the old source archive continued to be used:
#312656 (comment)

Because now the new code is actually pulled in, it needs new
dependencies and fixes.

* `PRJ_GIT_DATE` is needed.
  Remove the manual replacement of versions, and use the
  approach that upstream added for nixpkgs:
  #181723 (comment)
  This avoids cases like this, where new versioning fields are added;
  upstream takes care of it for us now.
* Use `finalAttrs` for correct version overriding.
* Fix compile error with `gtest`, see added comments.
* Enable FLAC support
  (and the tests don't pass without it on this version, see
  mhx/dwarfs@21901d7)

(cherry picked from commit 9bb686f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update request: dwarfs 0.7.5 → 0.9.8

5 participants