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

gitleaks: 7.4.1 -> 7.5.0 #121879

Merged
merged 1 commit into from May 6, 2021
Merged

gitleaks: 7.4.1 -> 7.5.0 #121879

merged 1 commit into from May 6, 2021

Conversation

r-ryantm
Copy link
Contributor

@r-ryantm r-ryantm commented May 6, 2021

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/zricethezav/gitleaks/releases.

meta.description for gitleaks is: "Scan git repos (or files) for secrets"

meta.homepage for gitleaks is: "https://github.com/zricethezav/gitleaks"

meta.changelog for gitleaks is: ""

Updates performed
  • Golang update
To inspect upstream changes
Impact
Checks done (click to expand)
  • built on NixOS

  • The tests defined in passthru.tests, if any, passed

  • /nix/store/0wn9kr31bmlzyb65f5bpzj5ksmv3ans2-gitleaks-7.5.0/bin/gitleaks passed the binary check.

  • 1 of 1 passed binary check by having a zero exit code.

  • 1 of 1 passed binary check by having the new version present in output.

  • found 7.5.0 with grep in /nix/store/0wn9kr31bmlzyb65f5bpzj5ksmv3ans2-gitleaks-7.5.0

  • found 7.5.0 in filename of file in /nix/store/0wn9kr31bmlzyb65f5bpzj5ksmv3ans2-gitleaks-7.5.0

  • directory tree listing: https://gist.github.com/f167b658c3866b177416ab4aba753427

  • du listing: https://gist.github.com/ac15a8905a6b7871569c6cd261855637


Rebuild report (if merged into master) (click to expand)
4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)


First fifty rebuilds by attrpath
gitleaks
Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/0wn9kr31bmlzyb65f5bpzj5ksmv3ans2-gitleaks-7.5.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.

Or, build yourself:

nix-build -A gitleaks https://github.com/r-ryantm/nixpkgs/archive/4f8435de76b59a366239c3f987d67058ebf7e12a.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/0wn9kr31bmlzyb65f5bpzj5ksmv3ans2-gitleaks-7.5.0
ls -la /nix/store/0wn9kr31bmlzyb65f5bpzj5ksmv3ans2-gitleaks-7.5.0/bin


Pre-merge build results

We have automatically built all packages that will get rebuilt due to
this change.

This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.

Result of nixpkgs-review run on x86_64-linux 1

1 package built:
  • gitleaks

Maintainer pings

cc @fabaff @kalbasit for testing.

@fabaff
Copy link
Member

fabaff commented May 6, 2021

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

1 package built:
  • gitleaks

Copy link
Member

@fabaff fabaff left a comment

Choose a reason for hiding this comment

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

...ew/pr-121879]$ ./results/gitleaks/bin/gitleaks -h
Usage:
  gitleaks [OPTIONS]

Application Options:
  -v, --verbose             Show verbose output from scan
  -q, --quiet               Sets log level to error and only output leaks, one json object per line
  -r, --repo-url=           Repository URL                                                                                                                                                           
[...]                

Change looks good to me.

@fabaff fabaff merged commit 882dd01 into NixOS:master May 6, 2021
@r-ryantm r-ryantm deleted the auto-update/gitleaks branch May 7, 2021 00:02
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.

None yet

2 participants