mitmproxy2swagger 0 -> 1
attrpath: mitmproxy2swagger
Checking auto update branch...
[version]
[version] skipping because derivation has updateScript
[rustCrateVersion]
[rustCrateVersion] No cargoSha256 or cargoHash found
[golangModuleVersion]
[golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash
[updateScript]
[updateScript] Success
[updateScript] this derivation will be built:
/nix/store/z2i587bi32akkkg7jkvdgsr0faz7rpn9-packages.json.drv
building '/nix/store/z2i587bi32akkkg7jkvdgsr0faz7rpn9-packages.json.drv'...
Going to be running update for following packages:
- mitmproxy2swagger-0.7.2
Press Enter key to continue...
Running update for:
- mitmproxy2swagger-0.7.2: UPDATING ...
- mitmproxy2swagger-0.7.2: DONE.
Packages updated!
[quotedUrls]
[quotedUrls] nothing found to replace
Diff after rewrites:
diff --git a/pkgs/tools/security/mitmproxy2swagger/default.nix b/pkgs/tools/security/mitmproxy2swagger/default.nix
index 3378e0d332c..6e5f934d868 100644
--- a/pkgs/tools/security/mitmproxy2swagger/default.nix
+++ b/pkgs/tools/security/mitmproxy2swagger/default.nix
@@ -5,14 +5,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "mitmproxy2swagger";
- version = "0.7.2";
+ version = "0.8.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "alufers";
repo = pname;
rev = "refs/tags/${version}";
- hash = "sha256-LnH0RDiRYJAGI7ZT6Idu1AqSz0yBRuBJvhIgY72Z4CA=";
+ hash = "sha256-HD+zYWQvmAqtJqG8I2Yib/UWCvUewGsXxTtd2E4GyJ0=";
};
nativeBuildInputs = with python3.pkgs; [
No auto update branch exists
Successfully finished processing
cachix "/nix/store/3xj4ics7c77gmhqjnvski8k631rwzmaa-mitmproxy2swagger-0.8.0"
[check][nixpkgs-review]
Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
1 package built:
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 5
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 5
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 8
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 7
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 5
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 7
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 7
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 7
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 7
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 7
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 7
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 7
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 7
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 7
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 7
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 7
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 7
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 7
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 7
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 5
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 5
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 4
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 4
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 5
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 5
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 5
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 5
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 5
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 5
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 5
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 4
Waiting for OfBorg: https://events.nix.ci/stats.php's evaluator.messages.waiting = 3
Automatic update generated by [nixpkgs-update](https://github.com/ryantm/nixpkgs-update) tools. This update was made based on information from passthru.updateScript.
meta.description for mitmproxy2swagger is: Tool to automagically reverse-engineer REST APIs
meta.homepage for mitmproxy2swagger is: https://github.com/alufers/mitmproxy2swagger
meta.changelog for mitmproxy2swagger is: https://github.com/alufers/mitmproxy2swagger/releases/tag/0.8.0
###### Updates performed
- Ran passthru.UpdateScript
###### To inspect upstream changes
###### Impact
Checks done (click to expand)
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 0.8.0 with grep in /nix/store/3xj4ics7c77gmhqjnvski8k631rwzmaa-mitmproxy2swagger-0.8.0
- found 0.8.0 in filename of file in /nix/store/3xj4ics7c77gmhqjnvski8k631rwzmaa-mitmproxy2swagger-0.8.0
---
Rebuild report (if merged into master) (click to expand)
```
1 total rebuild path(s)
1 package rebuild(s)
First fifty rebuilds by attrpath
mitmproxy2swagger
```
Instructions to test this update (click to expand)
---
Either **download from Cachix**:
```
nix-store -r /nix/store/3xj4ics7c77gmhqjnvski8k631rwzmaa-mitmproxy2swagger-0.8.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 mitmproxy2swagger https://github.com/r-ryantm/nixpkgs/archive/2f6ac12f4d09fd41c926297363c8f8d393e2910a.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/3xj4ics7c77gmhqjnvski8k631rwzmaa-mitmproxy2swagger-0.8.0
ls -la /nix/store/3xj4ics7c77gmhqjnvski8k631rwzmaa-mitmproxy2swagger-0.8.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](https://github.com/Mic92/nixpkgs-review)
1 package built:
---
###### Maintainer pings
cc @fabaff for [testing](https://github.com/ryantm/nixpkgs-update/blob/master/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do).
HTTPError (HttpExceptionRequest Request {
host = "api.github.com"
port = 443
secure = True
requestHeaders = [("User-Agent","github.hs/0.28.0.1"),("Accept","application/vnd.github.v3+json"),("Authorization","")]
path = "/repos/nixos/nixpkgs/pulls"
queryString = ""
method = "POST"
proxy = Nothing
rawBody = False
redirectCount = 10
responseTimeout = ResponseTimeoutDefault
requestVersion = HTTP/1.1
proxySecureMode = ProxySecureWithConnect
}
(StatusCodeException (Response {responseStatus = Status {statusCode = 422, statusMessage = "Unprocessable Entity"}, responseVersion = HTTP/1.1, responseHeaders = [("Server","GitHub.com"),("Date","Wed, 15 Feb 2023 00:46:58 GMT"),("Content-Type","application/json; charset=utf-8"),("Content-Length","190"),("X-OAuth-Scopes","gist, public_repo"),("X-Accepted-OAuth-Scopes",""),("X-GitHub-Media-Type","github.v3; format=json"),("x-github-api-version-selected","2022-11-28"),("X-RateLimit-Limit","5000"),("X-RateLimit-Remaining","4855"),("X-RateLimit-Reset","1676422869"),("X-RateLimit-Used","145"),("X-RateLimit-Resource","core"),("Access-Control-Expose-Headers","ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset"),("Access-Control-Allow-Origin","*"),("Strict-Transport-Security","max-age=31536000; includeSubdomains; preload"),("X-Frame-Options","deny"),("X-Content-Type-Options","nosniff"),("X-XSS-Protection","0"),("Referrer-Policy","origin-when-cross-origin, strict-origin-when-cross-origin"),("Content-Security-Policy","default-src 'none'"),("Vary","Accept-Encoding, Accept, X-Requested-With"),("X-GitHub-Request-Id","DE0A:1769:4953B0C:4A86B84:63EC2B82")], responseBody = (), responseCookieJar = CJ {expose = []}, responseClose' = ResponseClose, responseOriginalRequest = Request {
host = "api.github.com"
port = 443
secure = True
requestHeaders = [("User-Agent","github.hs/0.28.0.1"),("Accept","application/vnd.github.v3+json"),("Authorization","")]
path = "/repos/nixos/nixpkgs/pulls"
queryString = ""
method = "POST"
proxy = Nothing
rawBody = False
redirectCount = 10
responseTimeout = ResponseTimeoutDefault
requestVersion = HTTP/1.1
proxySecureMode = ProxySecureWithConnect
}
}) "{\"message\":\"Validation Failed\",\"errors\":[{\"resource\":\"PullRequest\",\"field\":\"head\",\"code\":\"invalid\"}],\"documentation_url\":\"https://docs.github.com/rest/reference/pulls#create-a-pull-request\"}"))