Compare commits
30 Commits
68f7c3ab43
...
unify-outp
Author | SHA1 | Date | |
---|---|---|---|
3064d0231c | |||
5c73d55d91
|
|||
9e70fc25d4
|
|||
63ee619aef
|
|||
06abde6f6f
|
|||
99e0887505
|
|||
4bc78716ee | |||
a27f88a62b | |||
2d94c8b561 | |||
b4b2b2ec5d | |||
ec8e3e491e | |||
2245698405 | |||
9ee3ec2018 | |||
356da4d8ec | |||
b40d4958f0 | |||
9b8ef2cade | |||
e3cbf3e9b9 | |||
de64f73c46 | |||
670c6c738e | |||
774cec521e | |||
db2481002a | |||
53c60c77f5 | |||
94ad715566 | |||
42809e9d88 | |||
d7e2d9166c | |||
6325e185d0 | |||
6dcf391f6e | |||
e00bcba5f1 | |||
29abf18b46 | |||
046775c0f7 |
18
.github/workflows/build.yaml
vendored
Normal file
18
.github/workflows/build.yaml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
name: build
|
||||
on:
|
||||
push:
|
||||
branches: master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/catthehacker/ubuntu:runner-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v27
|
||||
- run: nix flake check
|
||||
- run: nix build
|
21
.github/workflows/test.yaml
vendored
Normal file
21
.github/workflows/test.yaml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: test
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/catthehacker/ubuntu:runner-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
- run: pipx run poetry -- install
|
||||
- run: pipx run poetry -- run python -m unittest discover -s tests -v
|
22
README.md
22
README.md
@@ -5,11 +5,27 @@ Nixpkgs PR status checker.
|
||||
## Example
|
||||
|
||||
```console
|
||||
$ nixprstatus 345501
|
||||
$ nixprstatus pr 345501
|
||||
ktailctl: 0.18.0 -> 0.18.1
|
||||
|
||||
✅ merged
|
||||
✅ master
|
||||
❌ nixos-unstable-small
|
||||
❌ nixos-unstable
|
||||
✅ nixos-unstable-small
|
||||
✅ nixos-unstable
|
||||
❌ nixos-24.05
|
||||
|
||||
$ nixprstatus --help
|
||||
Usage: python -m nixprstatus [OPTIONS] COMMAND [ARGS]...
|
||||
|
||||
Options:
|
||||
--install-completion Install completion for the current shell.
|
||||
--show-completion Show completion for the current shell, to copy it or
|
||||
customize the installation.
|
||||
--help Show this message and exit.
|
||||
|
||||
Commands:
|
||||
pr Get merge status of pull request.
|
||||
since Return the count of commits that has happened between the...
|
||||
watchlist Manage watchlist.
|
||||
```
|
||||
|
||||
|
@@ -32,7 +32,12 @@
|
||||
{
|
||||
packages = {
|
||||
nixprstatus = mkPoetryApplication {
|
||||
projectDir = ./.;
|
||||
projectDir = pkgs.lib.sourceFilesBySuffices ./. [
|
||||
"pyproject.toml"
|
||||
"poetry.lock"
|
||||
"README.md"
|
||||
".py"
|
||||
];
|
||||
python = pkgs.python312;
|
||||
nativeBuildInputs = [ pkgs.installShellFiles ];
|
||||
postInstall = ''
|
||||
|
@@ -1,8 +1,14 @@
|
||||
import typer
|
||||
import requests
|
||||
from rich.console import Console
|
||||
import json
|
||||
from typing import Annotated
|
||||
from nixprstatus.pr import pr_merge_status
|
||||
from nixprstatus.pr import commits_since
|
||||
from nixprstatus.watchlist import Watchlist
|
||||
from nixprstatus.watchlist import OutputFormat
|
||||
|
||||
app = typer.Typer()
|
||||
app = typer.Typer(rich_markup_mode=None)
|
||||
watchlist_app = typer.Typer()
|
||||
app.add_typer(watchlist_app, name="watchlist", help="Manage watchlist.")
|
||||
|
||||
DEFAULT_HEADERS = {
|
||||
"Accept": "application/vnd.github.text+json",
|
||||
@@ -12,37 +18,70 @@ BRANCHES = ["nixos-unstable-small", "nixos-unstable", "nixos-24.05"]
|
||||
|
||||
|
||||
@app.command()
|
||||
def pr(pr: str):
|
||||
"""Get status of pull request"""
|
||||
url = f"https://api.github.com/repos/NixOS/nixpkgs/pulls/{pr}"
|
||||
|
||||
pr_response = requests.get(url, headers=DEFAULT_HEADERS)
|
||||
pr_response.raise_for_status()
|
||||
|
||||
pr_data = pr_response.json()
|
||||
|
||||
console = Console()
|
||||
|
||||
if pr_data["merged"] is False:
|
||||
console.print(":x: master", highlight=False)
|
||||
for branch in BRANCHES:
|
||||
console.print(f":x: {branch}", highlight=False)
|
||||
return
|
||||
|
||||
console.print(":white_check_mark: master", highlight=False)
|
||||
|
||||
commit_sha = pr_data["merge_commit_sha"]
|
||||
|
||||
for branch in BRANCHES:
|
||||
url = f"https://api.github.com/repos/NixOS/nixpkgs/compare/{branch}...{commit_sha}"
|
||||
commit_response = requests.get(url, headers=DEFAULT_HEADERS)
|
||||
commit_response.raise_for_status()
|
||||
status = commit_response.json().get("status")
|
||||
|
||||
if status in ["identical", "behind"]:
|
||||
console.print(f":white_check_mark: {branch}", highlight=False)
|
||||
def pr(
|
||||
pr: int,
|
||||
branches: Annotated[
|
||||
list[str] | None, typer.Option(help="Check specific branch")
|
||||
] = None,
|
||||
format: Annotated[
|
||||
OutputFormat, typer.Option(help="Output format")
|
||||
] = OutputFormat.CONSOLE,
|
||||
):
|
||||
"""Get merge status of pull request."""
|
||||
if branches:
|
||||
status = pr_merge_status(pr, branches)
|
||||
else:
|
||||
console.print(f":x: {branch}", highlight=False)
|
||||
status = pr_merge_status(pr)
|
||||
|
||||
status.print(format=format)
|
||||
|
||||
|
||||
@app.command()
|
||||
def since(
|
||||
commit_sha: str,
|
||||
target: str = "nixos-unstable",
|
||||
waybar_format: Annotated[
|
||||
bool, typer.Option(help="Output in format expected by waybar")
|
||||
] = False,
|
||||
):
|
||||
"""
|
||||
Return the count of commits that has happened between the two refs.
|
||||
"""
|
||||
count = commits_since(target, commit_sha)
|
||||
|
||||
if waybar_format:
|
||||
output = {"text": str(count), "tooltip": f"{target}: {count}"}
|
||||
typer.echo(json.dumps(output))
|
||||
return
|
||||
typer.echo(count)
|
||||
|
||||
|
||||
@watchlist_app.command()
|
||||
def list(watchlist: str | None = None, format: OutputFormat = OutputFormat.CONSOLE):
|
||||
"""List PRs in watchlist."""
|
||||
wl = Watchlist.from_file(path=watchlist)
|
||||
wl.print(format=format)
|
||||
|
||||
|
||||
@watchlist_app.command()
|
||||
def add(pr: int, watchlist: str | None = None):
|
||||
"""Add PR to watchlist."""
|
||||
wl = Watchlist.from_file(path=watchlist)
|
||||
info = wl.add_pr(pr)
|
||||
wl.to_file(path=watchlist)
|
||||
print(f"Added #{info.pr}: {info.title} to watchlist.")
|
||||
|
||||
|
||||
@watchlist_app.command()
|
||||
def remove(pr: int):
|
||||
"""Remove PR from watchlist."""
|
||||
wl = Watchlist.from_file()
|
||||
if pr not in wl:
|
||||
print(f"#{pr} not in watchlist.")
|
||||
return
|
||||
wl.remove(pr)
|
||||
wl.to_file()
|
||||
print(f"Removed #{pr} from watchlist.")
|
||||
|
||||
|
||||
def main():
|
||||
|
6
nixprstatus/output.py
Normal file
6
nixprstatus/output.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from enum import Enum
|
||||
|
||||
|
||||
class OutputFormat(str, Enum):
|
||||
CONSOLE = "console"
|
||||
JSON = "json"
|
129
nixprstatus/pr.py
Normal file
129
nixprstatus/pr.py
Normal file
@@ -0,0 +1,129 @@
|
||||
import requests
|
||||
from pydantic import BaseModel
|
||||
from rich.console import Console
|
||||
|
||||
from nixprstatus.output import OutputFormat
|
||||
|
||||
DEFAULT_HEADERS = {
|
||||
"Accept": "application/vnd.github.text+json",
|
||||
}
|
||||
DEFAULT_BRANCHES = ["master", "nixos-unstable-small", "nixos-unstable", "nixos-24.05"]
|
||||
BACKPORT_LABEL = "backport release-24.05"
|
||||
|
||||
|
||||
class PRStatus(BaseModel):
|
||||
title: str
|
||||
merged: bool
|
||||
branches: dict[str, bool]
|
||||
|
||||
def print(self, format: OutputFormat = OutputFormat.CONSOLE):
|
||||
match format:
|
||||
case OutputFormat.JSON:
|
||||
print(self.model_dump_json())
|
||||
case OutputFormat.CONSOLE:
|
||||
console = Console(highlight=False)
|
||||
console.print(f"{self.title}\n")
|
||||
merged = ":white_check_mark: merged" if self.merged else ":x: merged"
|
||||
console.print(merged)
|
||||
|
||||
for branch in self.branches:
|
||||
output = (
|
||||
f":white_check_mark: {branch}"
|
||||
if self.branches[branch]
|
||||
else f":x: {branch}"
|
||||
)
|
||||
console.print(output)
|
||||
case _:
|
||||
raise ValueError(f"Unknown format: {format}")
|
||||
|
||||
|
||||
def commit_in_branch(commit_sha: str, branch: str) -> bool:
|
||||
url = f"https://api.github.com/repos/NixOS/nixpkgs/compare/{branch}...{commit_sha}"
|
||||
commit_response = requests.get(url, headers=DEFAULT_HEADERS)
|
||||
commit_response.raise_for_status()
|
||||
status = commit_response.json().get("status")
|
||||
|
||||
if status in ["identical", "behind"]:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
def commits_since(first_ref: str, last_ref: str) -> int:
|
||||
url = f"https://api.github.com/repos/NixOS/nixpkgs/compare/{first_ref}...{last_ref}"
|
||||
commit_response = requests.get(url, headers=DEFAULT_HEADERS)
|
||||
commit_response.raise_for_status()
|
||||
|
||||
return commit_response.json()["behind_by"]
|
||||
|
||||
|
||||
def get_pr(pr: int) -> dict:
|
||||
url = f"https://api.github.com/repos/NixOS/nixpkgs/pulls/{pr}"
|
||||
pr_response = requests.get(url, headers=DEFAULT_HEADERS)
|
||||
pr_response.raise_for_status()
|
||||
|
||||
return pr_response.json()
|
||||
|
||||
|
||||
def pr_merge_status(
|
||||
pr: int, branches: list[str] = DEFAULT_BRANCHES, check_backport: bool = True
|
||||
) -> PRStatus:
|
||||
url = f"https://api.github.com/repos/NixOS/nixpkgs/pulls/{pr}"
|
||||
pr_response = requests.get(url, headers=DEFAULT_HEADERS)
|
||||
pr_response.raise_for_status()
|
||||
|
||||
pr_data = pr_response.json()
|
||||
title = pr_data["title"]
|
||||
|
||||
merged = pr_data["merged"]
|
||||
if merged is False:
|
||||
return PRStatus(
|
||||
title=title, merged=False, branches={branch: False for branch in branches}
|
||||
)
|
||||
|
||||
commit_sha = pr_data.get("merge_commit_sha")
|
||||
|
||||
# Check for backport label
|
||||
has_backport_label = BACKPORT_LABEL in [
|
||||
label.get("name") for label in pr_data["labels"]
|
||||
]
|
||||
|
||||
results = {}
|
||||
|
||||
# Check if base branch is in our list, if it is
|
||||
# no need to call commit_in_branch
|
||||
merge_base_branch = pr_data.get("base", {}).get("ref")
|
||||
if merge_base_branch in branches:
|
||||
results[merge_base_branch] = True
|
||||
branches.remove(merge_base_branch)
|
||||
|
||||
for branch in branches:
|
||||
in_branch = commit_in_branch(commit_sha, branch)
|
||||
results[branch] = in_branch
|
||||
|
||||
if check_backport and has_backport_label and "nixos-24.05" in branches:
|
||||
# Check comments for message about backport
|
||||
comment_url = f"https://api.github.com/repos/NixOS/nixpkgs/issues/{pr}/comments"
|
||||
comment_response = requests.get(comment_url, headers=DEFAULT_HEADERS)
|
||||
comment_response.raise_for_status()
|
||||
|
||||
for comment in comment_response.json():
|
||||
body = comment.get("body_text", "")
|
||||
if "Successfully created backport PR" in body:
|
||||
backport_pr = body.split("\n")[-1].replace("#", "")
|
||||
|
||||
# Check if backport pr has been merged
|
||||
backport_url = (
|
||||
f"https://api.github.com/repos/NixOS/nixpkgs/pulls/{backport_pr}"
|
||||
)
|
||||
backport_response = requests.get(backport_url, headers=DEFAULT_HEADERS)
|
||||
backport_sha = backport_response.json().get("merge_commit_sha")
|
||||
if backport_sha is None:
|
||||
results[f"nixos-24.05 (#{backport_pr})"] = False
|
||||
return PRStatus(title=title, merged=True, branches=results)
|
||||
|
||||
results.pop("nixos-24.05")
|
||||
results[f"nixos-24.05 (#{backport_pr})"] = commit_in_branch(
|
||||
backport_sha, "nixos-24.05"
|
||||
)
|
||||
|
||||
return PRStatus(title=title, merged=True, branches=results)
|
88
nixprstatus/watchlist.py
Normal file
88
nixprstatus/watchlist.py
Normal file
@@ -0,0 +1,88 @@
|
||||
import json
|
||||
import os
|
||||
from pathlib import Path
|
||||
from pydantic import BaseModel
|
||||
from rich.console import Console
|
||||
|
||||
from nixprstatus.pr import get_pr
|
||||
from nixprstatus.output import OutputFormat
|
||||
|
||||
|
||||
class PRInfo(BaseModel):
|
||||
pr: int
|
||||
title: str
|
||||
|
||||
|
||||
class Watchlist(BaseModel):
|
||||
prs: list[PRInfo]
|
||||
|
||||
@classmethod
|
||||
def from_file(cls, path: str | None = None) -> "Watchlist":
|
||||
if not path:
|
||||
path = _default_path()
|
||||
|
||||
p = Path(path).expanduser()
|
||||
|
||||
if not p.exists():
|
||||
return cls(prs=[])
|
||||
|
||||
with open(p, "r") as f:
|
||||
data = json.load(f)
|
||||
return cls(**data)
|
||||
|
||||
def to_file(self, path: str | None = None):
|
||||
if not path:
|
||||
_ensure_default_path()
|
||||
path = _default_path()
|
||||
|
||||
p = Path(path).expanduser()
|
||||
|
||||
with open(p, "w") as f:
|
||||
f.write(self.model_dump_json())
|
||||
|
||||
def add_pr(self, pr: int) -> PRInfo:
|
||||
# Lookup PR info
|
||||
info = get_pr(pr)
|
||||
|
||||
title = info["title"]
|
||||
info = PRInfo(pr=pr, title=title)
|
||||
self.prs.append(info)
|
||||
return info
|
||||
|
||||
def remove(self, pr: int):
|
||||
self.prs = [p for p in self.prs if p.pr != pr]
|
||||
|
||||
def print(self, format: OutputFormat = OutputFormat.CONSOLE):
|
||||
match format:
|
||||
case OutputFormat.CONSOLE:
|
||||
console = Console()
|
||||
for pr in self.prs:
|
||||
console.print(f"{pr.pr}: {pr.title}")
|
||||
case OutputFormat.JSON:
|
||||
print(self.model_dump_json())
|
||||
case _:
|
||||
raise ValueError(f"Unknown format: {format}")
|
||||
|
||||
def pr(self, pr: int) -> PRInfo | None:
|
||||
for p in self.prs:
|
||||
if p.pr == pr:
|
||||
return p
|
||||
return None
|
||||
|
||||
def __contains__(self, item: PRInfo | int):
|
||||
match item:
|
||||
case PRInfo():
|
||||
return any([x == item for x in self.prs])
|
||||
case int():
|
||||
return any([x.pr == item for x in self.prs])
|
||||
|
||||
|
||||
def _default_path() -> str:
|
||||
if "XDG_STATE_HOME" in os.environ:
|
||||
return f"{os.environ['XDG_STATE_HOME']}/nixprstatus/watchlist.json"
|
||||
return "~/.config/nixprstatus/watchlist.json"
|
||||
|
||||
|
||||
def _ensure_default_path():
|
||||
p = Path(_default_path()).expanduser()
|
||||
p.parent.mkdir(parents=True, exist_ok=True)
|
137
poetry.lock
generated
137
poetry.lock
generated
@@ -1,5 +1,16 @@
|
||||
# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand.
|
||||
|
||||
[[package]]
|
||||
name = "annotated-types"
|
||||
version = "0.7.0"
|
||||
description = "Reusable constraint types to use with typing.Annotated"
|
||||
optional = false
|
||||
python-versions = ">=3.8"
|
||||
files = [
|
||||
{file = "annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53"},
|
||||
{file = "annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89"},
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "asttokens"
|
||||
version = "2.4.1"
|
||||
@@ -364,6 +375,130 @@ files = [
|
||||
[package.extras]
|
||||
tests = ["pytest"]
|
||||
|
||||
[[package]]
|
||||
name = "pydantic"
|
||||
version = "2.9.2"
|
||||
description = "Data validation using Python type hints"
|
||||
optional = false
|
||||
python-versions = ">=3.8"
|
||||
files = [
|
||||
{file = "pydantic-2.9.2-py3-none-any.whl", hash = "sha256:f048cec7b26778210e28a0459867920654d48e5e62db0958433636cde4254f12"},
|
||||
{file = "pydantic-2.9.2.tar.gz", hash = "sha256:d155cef71265d1e9807ed1c32b4c8deec042a44a50a4188b25ac67ecd81a9c0f"},
|
||||
]
|
||||
|
||||
[package.dependencies]
|
||||
annotated-types = ">=0.6.0"
|
||||
pydantic-core = "2.23.4"
|
||||
typing-extensions = [
|
||||
{version = ">=4.12.2", markers = "python_version >= \"3.13\""},
|
||||
{version = ">=4.6.1", markers = "python_version < \"3.13\""},
|
||||
]
|
||||
|
||||
[package.extras]
|
||||
email = ["email-validator (>=2.0.0)"]
|
||||
timezone = ["tzdata"]
|
||||
|
||||
[[package]]
|
||||
name = "pydantic-core"
|
||||
version = "2.23.4"
|
||||
description = "Core functionality for Pydantic validation and serialization"
|
||||
optional = false
|
||||
python-versions = ">=3.8"
|
||||
files = [
|
||||
{file = "pydantic_core-2.23.4-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:b10bd51f823d891193d4717448fab065733958bdb6a6b351967bd349d48d5c9b"},
|
||||
{file = "pydantic_core-2.23.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:4fc714bdbfb534f94034efaa6eadd74e5b93c8fa6315565a222f7b6f42ca1166"},
|
||||
{file = "pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:63e46b3169866bd62849936de036f901a9356e36376079b05efa83caeaa02ceb"},
|
||||
{file = "pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ed1a53de42fbe34853ba90513cea21673481cd81ed1be739f7f2efb931b24916"},
|
||||
{file = "pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cfdd16ab5e59fc31b5e906d1a3f666571abc367598e3e02c83403acabc092e07"},
|
||||
{file = "pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:255a8ef062cbf6674450e668482456abac99a5583bbafb73f9ad469540a3a232"},
|
||||
{file = "pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4a7cd62e831afe623fbb7aabbb4fe583212115b3ef38a9f6b71869ba644624a2"},
|
||||
{file = "pydantic_core-2.23.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f09e2ff1f17c2b51f2bc76d1cc33da96298f0a036a137f5440ab3ec5360b624f"},
|
||||
{file = "pydantic_core-2.23.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:e38e63e6f3d1cec5a27e0afe90a085af8b6806ee208b33030e65b6516353f1a3"},
|
||||
{file = "pydantic_core-2.23.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:0dbd8dbed2085ed23b5c04afa29d8fd2771674223135dc9bc937f3c09284d071"},
|
||||
{file = "pydantic_core-2.23.4-cp310-none-win32.whl", hash = "sha256:6531b7ca5f951d663c339002e91aaebda765ec7d61b7d1e3991051906ddde119"},
|
||||
{file = "pydantic_core-2.23.4-cp310-none-win_amd64.whl", hash = "sha256:7c9129eb40958b3d4500fa2467e6a83356b3b61bfff1b414c7361d9220f9ae8f"},
|
||||
{file = "pydantic_core-2.23.4-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:77733e3892bb0a7fa797826361ce8a9184d25c8dffaec60b7ffe928153680ba8"},
|
||||
{file = "pydantic_core-2.23.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1b84d168f6c48fabd1f2027a3d1bdfe62f92cade1fb273a5d68e621da0e44e6d"},
|
||||
{file = "pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:df49e7a0861a8c36d089c1ed57d308623d60416dab2647a4a17fe050ba85de0e"},
|
||||
{file = "pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ff02b6d461a6de369f07ec15e465a88895f3223eb75073ffea56b84d9331f607"},
|
||||
{file = "pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:996a38a83508c54c78a5f41456b0103c30508fed9abcad0a59b876d7398f25fd"},
|
||||
{file = "pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d97683ddee4723ae8c95d1eddac7c192e8c552da0c73a925a89fa8649bf13eea"},
|
||||
{file = "pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:216f9b2d7713eb98cb83c80b9c794de1f6b7e3145eef40400c62e86cee5f4e1e"},
|
||||
{file = "pydantic_core-2.23.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:6f783e0ec4803c787bcea93e13e9932edab72068f68ecffdf86a99fd5918878b"},
|
||||
{file = "pydantic_core-2.23.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:d0776dea117cf5272382634bd2a5c1b6eb16767c223c6a5317cd3e2a757c61a0"},
|
||||
{file = "pydantic_core-2.23.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:d5f7a395a8cf1621939692dba2a6b6a830efa6b3cee787d82c7de1ad2930de64"},
|
||||
{file = "pydantic_core-2.23.4-cp311-none-win32.whl", hash = "sha256:74b9127ffea03643e998e0c5ad9bd3811d3dac8c676e47db17b0ee7c3c3bf35f"},
|
||||
{file = "pydantic_core-2.23.4-cp311-none-win_amd64.whl", hash = "sha256:98d134c954828488b153d88ba1f34e14259284f256180ce659e8d83e9c05eaa3"},
|
||||
{file = "pydantic_core-2.23.4-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:f3e0da4ebaef65158d4dfd7d3678aad692f7666877df0002b8a522cdf088f231"},
|
||||
{file = "pydantic_core-2.23.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f69a8e0b033b747bb3e36a44e7732f0c99f7edd5cea723d45bc0d6e95377ffee"},
|
||||
{file = "pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:723314c1d51722ab28bfcd5240d858512ffd3116449c557a1336cbe3919beb87"},
|
||||
{file = "pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:bb2802e667b7051a1bebbfe93684841cc9351004e2badbd6411bf357ab8d5ac8"},
|
||||
{file = "pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d18ca8148bebe1b0a382a27a8ee60350091a6ddaf475fa05ef50dc35b5df6327"},
|
||||
{file = "pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:33e3d65a85a2a4a0dc3b092b938a4062b1a05f3a9abde65ea93b233bca0e03f2"},
|
||||
{file = "pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:128585782e5bfa515c590ccee4b727fb76925dd04a98864182b22e89a4e6ed36"},
|
||||
{file = "pydantic_core-2.23.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:68665f4c17edcceecc112dfed5dbe6f92261fb9d6054b47d01bf6371a6196126"},
|
||||
{file = "pydantic_core-2.23.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:20152074317d9bed6b7a95ade3b7d6054845d70584216160860425f4fbd5ee9e"},
|
||||
{file = "pydantic_core-2.23.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:9261d3ce84fa1d38ed649c3638feefeae23d32ba9182963e465d58d62203bd24"},
|
||||
{file = "pydantic_core-2.23.4-cp312-none-win32.whl", hash = "sha256:4ba762ed58e8d68657fc1281e9bb72e1c3e79cc5d464be146e260c541ec12d84"},
|
||||
{file = "pydantic_core-2.23.4-cp312-none-win_amd64.whl", hash = "sha256:97df63000f4fea395b2824da80e169731088656d1818a11b95f3b173747b6cd9"},
|
||||
{file = "pydantic_core-2.23.4-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:7530e201d10d7d14abce4fb54cfe5b94a0aefc87da539d0346a484ead376c3cc"},
|
||||
{file = "pydantic_core-2.23.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:df933278128ea1cd77772673c73954e53a1c95a4fdf41eef97c2b779271bd0bd"},
|
||||
{file = "pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0cb3da3fd1b6a5d0279a01877713dbda118a2a4fc6f0d821a57da2e464793f05"},
|
||||
{file = "pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:42c6dcb030aefb668a2b7009c85b27f90e51e6a3b4d5c9bc4c57631292015b0d"},
|
||||
{file = "pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:696dd8d674d6ce621ab9d45b205df149399e4bb9aa34102c970b721554828510"},
|
||||
{file = "pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2971bb5ffe72cc0f555c13e19b23c85b654dd2a8f7ab493c262071377bfce9f6"},
|
||||
{file = "pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8394d940e5d400d04cad4f75c0598665cbb81aecefaca82ca85bd28264af7f9b"},
|
||||
{file = "pydantic_core-2.23.4-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:0dff76e0602ca7d4cdaacc1ac4c005e0ce0dcfe095d5b5259163a80d3a10d327"},
|
||||
{file = "pydantic_core-2.23.4-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:7d32706badfe136888bdea71c0def994644e09fff0bfe47441deaed8e96fdbc6"},
|
||||
{file = "pydantic_core-2.23.4-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:ed541d70698978a20eb63d8c5d72f2cc6d7079d9d90f6b50bad07826f1320f5f"},
|
||||
{file = "pydantic_core-2.23.4-cp313-none-win32.whl", hash = "sha256:3d5639516376dce1940ea36edf408c554475369f5da2abd45d44621cb616f769"},
|
||||
{file = "pydantic_core-2.23.4-cp313-none-win_amd64.whl", hash = "sha256:5a1504ad17ba4210df3a045132a7baeeba5a200e930f57512ee02909fc5c4cb5"},
|
||||
{file = "pydantic_core-2.23.4-cp38-cp38-macosx_10_12_x86_64.whl", hash = "sha256:d4488a93b071c04dc20f5cecc3631fc78b9789dd72483ba15d423b5b3689b555"},
|
||||
{file = "pydantic_core-2.23.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:81965a16b675b35e1d09dd14df53f190f9129c0202356ed44ab2728b1c905658"},
|
||||
{file = "pydantic_core-2.23.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4ffa2ebd4c8530079140dd2d7f794a9d9a73cbb8e9d59ffe24c63436efa8f271"},
|
||||
{file = "pydantic_core-2.23.4-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:61817945f2fe7d166e75fbfb28004034b48e44878177fc54d81688e7b85a3665"},
|
||||
{file = "pydantic_core-2.23.4-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:29d2c342c4bc01b88402d60189f3df065fb0dda3654744d5a165a5288a657368"},
|
||||
{file = "pydantic_core-2.23.4-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5e11661ce0fd30a6790e8bcdf263b9ec5988e95e63cf901972107efc49218b13"},
|
||||
{file = "pydantic_core-2.23.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9d18368b137c6295db49ce7218b1a9ba15c5bc254c96d7c9f9e924a9bc7825ad"},
|
||||
{file = "pydantic_core-2.23.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:ec4e55f79b1c4ffb2eecd8a0cfba9955a2588497d96851f4c8f99aa4a1d39b12"},
|
||||
{file = "pydantic_core-2.23.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:374a5e5049eda9e0a44c696c7ade3ff355f06b1fe0bb945ea3cac2bc336478a2"},
|
||||
{file = "pydantic_core-2.23.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:5c364564d17da23db1106787675fc7af45f2f7b58b4173bfdd105564e132e6fb"},
|
||||
{file = "pydantic_core-2.23.4-cp38-none-win32.whl", hash = "sha256:d7a80d21d613eec45e3d41eb22f8f94ddc758a6c4720842dc74c0581f54993d6"},
|
||||
{file = "pydantic_core-2.23.4-cp38-none-win_amd64.whl", hash = "sha256:5f5ff8d839f4566a474a969508fe1c5e59c31c80d9e140566f9a37bba7b8d556"},
|
||||
{file = "pydantic_core-2.23.4-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:a4fa4fc04dff799089689f4fd502ce7d59de529fc2f40a2c8836886c03e0175a"},
|
||||
{file = "pydantic_core-2.23.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:0a7df63886be5e270da67e0966cf4afbae86069501d35c8c1b3b6c168f42cb36"},
|
||||
{file = "pydantic_core-2.23.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dcedcd19a557e182628afa1d553c3895a9f825b936415d0dbd3cd0bbcfd29b4b"},
|
||||
{file = "pydantic_core-2.23.4-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5f54b118ce5de9ac21c363d9b3caa6c800341e8c47a508787e5868c6b79c9323"},
|
||||
{file = "pydantic_core-2.23.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:86d2f57d3e1379a9525c5ab067b27dbb8a0642fb5d454e17a9ac434f9ce523e3"},
|
||||
{file = "pydantic_core-2.23.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:de6d1d1b9e5101508cb37ab0d972357cac5235f5c6533d1071964c47139257df"},
|
||||
{file = "pydantic_core-2.23.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1278e0d324f6908e872730c9102b0112477a7f7cf88b308e4fc36ce1bdb6d58c"},
|
||||
{file = "pydantic_core-2.23.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:9a6b5099eeec78827553827f4c6b8615978bb4b6a88e5d9b93eddf8bb6790f55"},
|
||||
{file = "pydantic_core-2.23.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:e55541f756f9b3ee346b840103f32779c695a19826a4c442b7954550a0972040"},
|
||||
{file = "pydantic_core-2.23.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:a5c7ba8ffb6d6f8f2ab08743be203654bb1aaa8c9dcb09f82ddd34eadb695605"},
|
||||
{file = "pydantic_core-2.23.4-cp39-none-win32.whl", hash = "sha256:37b0fe330e4a58d3c58b24d91d1eb102aeec675a3db4c292ec3928ecd892a9a6"},
|
||||
{file = "pydantic_core-2.23.4-cp39-none-win_amd64.whl", hash = "sha256:1498bec4c05c9c787bde9125cfdcc63a41004ff167f495063191b863399b1a29"},
|
||||
{file = "pydantic_core-2.23.4-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:f455ee30a9d61d3e1a15abd5068827773d6e4dc513e795f380cdd59932c782d5"},
|
||||
{file = "pydantic_core-2.23.4-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:1e90d2e3bd2c3863d48525d297cd143fe541be8bbf6f579504b9712cb6b643ec"},
|
||||
{file = "pydantic_core-2.23.4-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2e203fdf807ac7e12ab59ca2bfcabb38c7cf0b33c41efeb00f8e5da1d86af480"},
|
||||
{file = "pydantic_core-2.23.4-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e08277a400de01bc72436a0ccd02bdf596631411f592ad985dcee21445bd0068"},
|
||||
{file = "pydantic_core-2.23.4-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f220b0eea5965dec25480b6333c788fb72ce5f9129e8759ef876a1d805d00801"},
|
||||
{file = "pydantic_core-2.23.4-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:d06b0c8da4f16d1d1e352134427cb194a0a6e19ad5db9161bf32b2113409e728"},
|
||||
{file = "pydantic_core-2.23.4-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:ba1a0996f6c2773bd83e63f18914c1de3c9dd26d55f4ac302a7efe93fb8e7433"},
|
||||
{file = "pydantic_core-2.23.4-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:9a5bce9d23aac8f0cf0836ecfc033896aa8443b501c58d0602dbfd5bd5b37753"},
|
||||
{file = "pydantic_core-2.23.4-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:78ddaaa81421a29574a682b3179d4cf9e6d405a09b99d93ddcf7e5239c742e21"},
|
||||
{file = "pydantic_core-2.23.4-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:883a91b5dd7d26492ff2f04f40fbb652de40fcc0afe07e8129e8ae779c2110eb"},
|
||||
{file = "pydantic_core-2.23.4-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:88ad334a15b32a791ea935af224b9de1bf99bcd62fabf745d5f3442199d86d59"},
|
||||
{file = "pydantic_core-2.23.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:233710f069d251feb12a56da21e14cca67994eab08362207785cf8c598e74577"},
|
||||
{file = "pydantic_core-2.23.4-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:19442362866a753485ba5e4be408964644dd6a09123d9416c54cd49171f50744"},
|
||||
{file = "pydantic_core-2.23.4-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:624e278a7d29b6445e4e813af92af37820fafb6dcc55c012c834f9e26f9aaaef"},
|
||||
{file = "pydantic_core-2.23.4-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:f5ef8f42bec47f21d07668a043f077d507e5bf4e668d5c6dfe6aaba89de1a5b8"},
|
||||
{file = "pydantic_core-2.23.4-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:aea443fffa9fbe3af1a9ba721a87f926fe548d32cab71d188a6ede77d0ff244e"},
|
||||
{file = "pydantic_core-2.23.4.tar.gz", hash = "sha256:2584f7cf844ac4d970fba483a717dbe10c1c1c96a969bf65d61ffe94df1b2863"},
|
||||
]
|
||||
|
||||
[package.dependencies]
|
||||
typing-extensions = ">=4.6.0,<4.7.0 || >4.7.0"
|
||||
|
||||
[[package]]
|
||||
name = "pygments"
|
||||
version = "2.18.0"
|
||||
@@ -532,4 +667,4 @@ files = [
|
||||
[metadata]
|
||||
lock-version = "2.0"
|
||||
python-versions = "^3.12"
|
||||
content-hash = "63b5e4c863dada0a142924b2c90aa34d71bab6ff8a418e19130a4a9d26db5e6d"
|
||||
content-hash = "fe84b0646831111f9ab9ccb6d779eb5e06fac3b7581cf480741bb3c319bd9470"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "nixprstatus"
|
||||
version = "0.1.0"
|
||||
version = "0.1.5"
|
||||
description = "Nixpkgs PR status checker"
|
||||
authors = ["Torjus Håkestad <torjus@usit.uio.no>"]
|
||||
license = "MIT"
|
||||
@@ -10,6 +10,7 @@ readme = "README.md"
|
||||
python = "^3.12"
|
||||
requests = "^2.32.3"
|
||||
typer = "^0.12.5"
|
||||
pydantic = "^2.9.2"
|
||||
|
||||
|
||||
[tool.poetry.scripts]
|
||||
|
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
177
tests/fixtures/comments_345769.json
vendored
Normal file
177
tests/fixtures/comments_345769.json
vendored
Normal file
@@ -0,0 +1,177 @@
|
||||
[
|
||||
{
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/issues/comments/2388655041",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/pull/345769#issuecomment-2388655041",
|
||||
"issue_url": "https://api.github.com/repos/NixOS/nixpkgs/issues/345769",
|
||||
"id": 2388655041,
|
||||
"node_id": "IC_kwDOAEVQ_M6OX_vB",
|
||||
"user": {
|
||||
"login": "mweinelt",
|
||||
"id": 131599,
|
||||
"node_id": "MDQ6VXNlcjEzMTU5OQ==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/131599?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/mweinelt",
|
||||
"html_url": "https://github.com/mweinelt",
|
||||
"followers_url": "https://api.github.com/users/mweinelt/followers",
|
||||
"following_url": "https://api.github.com/users/mweinelt/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/mweinelt/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/mweinelt/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/mweinelt/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/mweinelt/orgs",
|
||||
"repos_url": "https://api.github.com/users/mweinelt/repos",
|
||||
"events_url": "https://api.github.com/users/mweinelt/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/mweinelt/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"created_at": "2024-10-02T13:31:48Z",
|
||||
"updated_at": "2024-10-02T13:31:48Z",
|
||||
"author_association": "MEMBER",
|
||||
"body_text": "@ofborg build firefox-unwrapped.tests",
|
||||
"reactions": {
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/issues/comments/2388655041/reactions",
|
||||
"total_count": 0,
|
||||
"+1": 0,
|
||||
"-1": 0,
|
||||
"laugh": 0,
|
||||
"hooray": 0,
|
||||
"confused": 0,
|
||||
"heart": 0,
|
||||
"rocket": 0,
|
||||
"eyes": 0
|
||||
},
|
||||
"performed_via_github_app": null
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/issues/comments/2389811254",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/pull/345769#issuecomment-2389811254",
|
||||
"issue_url": "https://api.github.com/repos/NixOS/nixpkgs/issues/345769",
|
||||
"id": 2389811254,
|
||||
"node_id": "IC_kwDOAEVQ_M6OcaA2",
|
||||
"user": {
|
||||
"login": "github-actions[bot]",
|
||||
"id": 41898282,
|
||||
"node_id": "MDM6Qm90NDE4OTgyODI=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
|
||||
"html_url": "https://github.com/apps/github-actions",
|
||||
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
|
||||
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
|
||||
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
|
||||
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
|
||||
"type": "Bot",
|
||||
"site_admin": false
|
||||
},
|
||||
"created_at": "2024-10-02T22:45:02Z",
|
||||
"updated_at": "2024-10-02T22:45:02Z",
|
||||
"author_association": "CONTRIBUTOR",
|
||||
"body_text": "Successfully created backport PR for `release-24.05`:\n\n#346022",
|
||||
"reactions": {
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/issues/comments/2389811254/reactions",
|
||||
"total_count": 0,
|
||||
"+1": 0,
|
||||
"-1": 0,
|
||||
"laugh": 0,
|
||||
"hooray": 0,
|
||||
"confused": 0,
|
||||
"heart": 0,
|
||||
"rocket": 0,
|
||||
"eyes": 0
|
||||
},
|
||||
"performed_via_github_app": {
|
||||
"id": 15368,
|
||||
"client_id": "Iv1.05c79e9ad1f6bdfa",
|
||||
"slug": "github-actions",
|
||||
"node_id": "MDM6QXBwMTUzNjg=",
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"name": "GitHub Actions",
|
||||
"description": "Automate your workflow from idea to production",
|
||||
"external_url": "https://help.github.com/en/actions",
|
||||
"html_url": "https://github.com/apps/github-actions",
|
||||
"created_at": "2018-07-30T09:30:17Z",
|
||||
"updated_at": "2024-04-10T20:33:16Z",
|
||||
"permissions": {
|
||||
"actions": "write",
|
||||
"administration": "read",
|
||||
"attestations": "write",
|
||||
"checks": "write",
|
||||
"contents": "write",
|
||||
"deployments": "write",
|
||||
"discussions": "write",
|
||||
"issues": "write",
|
||||
"merge_queues": "write",
|
||||
"metadata": "read",
|
||||
"packages": "write",
|
||||
"pages": "write",
|
||||
"pull_requests": "write",
|
||||
"repository_hooks": "write",
|
||||
"repository_projects": "write",
|
||||
"security_events": "write",
|
||||
"statuses": "write",
|
||||
"vulnerability_alerts": "read"
|
||||
},
|
||||
"events": [
|
||||
"branch_protection_rule",
|
||||
"check_run",
|
||||
"check_suite",
|
||||
"create",
|
||||
"delete",
|
||||
"deployment",
|
||||
"deployment_status",
|
||||
"discussion",
|
||||
"discussion_comment",
|
||||
"fork",
|
||||
"gollum",
|
||||
"issues",
|
||||
"issue_comment",
|
||||
"label",
|
||||
"merge_group",
|
||||
"milestone",
|
||||
"page_build",
|
||||
"project",
|
||||
"project_card",
|
||||
"project_column",
|
||||
"public",
|
||||
"pull_request",
|
||||
"pull_request_review",
|
||||
"pull_request_review_comment",
|
||||
"push",
|
||||
"registry_package",
|
||||
"release",
|
||||
"repository",
|
||||
"repository_dispatch",
|
||||
"status",
|
||||
"watch",
|
||||
"workflow_dispatch",
|
||||
"workflow_run"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
180
tests/fixtures/compare_master_2c5fac3edf2d00d948253e392ec1604b29b38f14.json
vendored
Normal file
180
tests/fixtures/compare_master_2c5fac3edf2d00d948253e392ec1604b29b38f14.json
vendored
Normal file
@@ -0,0 +1,180 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/compare/master...2c5fac3edf2d00d948253e392ec1604b29b38f14",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/compare/master...2c5fac3edf2d00d948253e392ec1604b29b38f14",
|
||||
"permalink_url": "https://github.com/NixOS/nixpkgs/compare/NixOS:64046f0...NixOS:2c5fac3",
|
||||
"diff_url": "https://github.com/NixOS/nixpkgs/compare/master...2c5fac3edf2d00d948253e392ec1604b29b38f14.diff",
|
||||
"patch_url": "https://github.com/NixOS/nixpkgs/compare/master...2c5fac3edf2d00d948253e392ec1604b29b38f14.patch",
|
||||
"base_commit": {
|
||||
"sha": "64046f018f169b026bb4a4b206e5b0dfe18b0401",
|
||||
"node_id": "C_kwDOAEVQ_NoAKDY0MDQ2ZjAxOGYxNjliMDI2YmI0YTRiMjA2ZTViMGRmZTE4YjA0MDE",
|
||||
"commit": {
|
||||
"author": {
|
||||
"name": "lassulus",
|
||||
"email": "github@lassul.us",
|
||||
"date": "2024-10-05T22:34:39Z"
|
||||
},
|
||||
"committer": {
|
||||
"name": "GitHub",
|
||||
"email": "noreply@github.com",
|
||||
"date": "2024-10-05T22:34:39Z"
|
||||
},
|
||||
"message": "writers: add writeNim and writeNimBin (#338857)",
|
||||
"tree": {
|
||||
"sha": "4ee4a6bc6b2ac2f6775d73483bb1a2fb5247b9e5",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/git/trees/4ee4a6bc6b2ac2f6775d73483bb1a2fb5247b9e5"
|
||||
},
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/git/commits/64046f018f169b026bb4a4b206e5b0dfe18b0401",
|
||||
"comment_count": 0,
|
||||
"verification": {
|
||||
"verified": true,
|
||||
"reason": "valid",
|
||||
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsFcBAABCAAQBQJnAb7/CRC1aQ7uu5UhlAAAcAMQAFu2ArPp+KOxfx9lcIGDUAbq\nV2ILtISGUy3PoA/1thdBfdItToKxk8hB3Hxgu6OTn8a3IG3IAKMYmFv5VyNt5sWg\n+6EhuhCwmKUHhJflNOk1Hv49QIcAJ7nnu94RohXvToZetNrwDT3rcyIzG9uOVM5k\n5Q50/WaJ5O6GSWYGRJYLVG6Ko2Vdm79zD+EHGgmd28DQw8l4gV+EHdTQx+pOnrZt\nEPCKNxyi0ijdiN/x4xMQGyCrjZAyEklXcI4DUcVdn06IUGLhCfrOb4XG6QeIW0q6\nlkw36zDdM133f0JidAuE78ARZqGg7jN5YWSt+ec8hGactdE+0xjA66oHEx3sK5PZ\n8qd6FF4UkOk5tbEOdoap9kVBVRMQrf0DRMWD8+TBnDotPyBwjxRUA2mqT8FatXUs\nPuhUqZJyh2kMHHUOTn4ZuOFziX4nTv/f08H8BCt6wCLqvMO3FpQMDxb0u0LlO5kE\nwanK2z7yzdo0BOn620LZ3MjPnM4xv0zHI0WjLBs/vKxmxLojmt3aJtDfXMjM/mBm\nMVj39tYer+wa94UDKsSWf1/1fvmBVrXRCEurUAhAstapYaTYYdyVQs1OaQLMtYaD\n1k45+7m4xIrWQ/jgoBmHTqth6XXM8QAY0iHy15KPNGxbR6iFgbny7+qZP4o2AmFX\n1qBIKa2D2vKroxc1/c6H\n=Nzlo\n-----END PGP SIGNATURE-----\n",
|
||||
"payload": "tree 4ee4a6bc6b2ac2f6775d73483bb1a2fb5247b9e5\nparent 5f821de20c900edf3e4067246f70add908a9dc97\nparent ca23669cf857ea1914bbdd411f87ee88999d4479\nauthor lassulus <github@lassul.us> 1728167679 +0100\ncommitter GitHub <noreply@github.com> 1728167679 +0100\n\nwriters: add writeNim and writeNimBin (#338857)\n\n"
|
||||
}
|
||||
},
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/64046f018f169b026bb4a4b206e5b0dfe18b0401",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/64046f018f169b026bb4a4b206e5b0dfe18b0401",
|
||||
"comments_url": "https://api.github.com/repos/NixOS/nixpkgs/commits/64046f018f169b026bb4a4b206e5b0dfe18b0401/comments",
|
||||
"author": {
|
||||
"login": "Lassulus",
|
||||
"id": 621759,
|
||||
"node_id": "MDQ6VXNlcjYyMTc1OQ==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/621759?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/Lassulus",
|
||||
"html_url": "https://github.com/Lassulus",
|
||||
"followers_url": "https://api.github.com/users/Lassulus/followers",
|
||||
"following_url": "https://api.github.com/users/Lassulus/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/Lassulus/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/Lassulus/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/Lassulus/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/Lassulus/orgs",
|
||||
"repos_url": "https://api.github.com/users/Lassulus/repos",
|
||||
"events_url": "https://api.github.com/users/Lassulus/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/Lassulus/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"committer": {
|
||||
"login": "web-flow",
|
||||
"id": 19864447,
|
||||
"node_id": "MDQ6VXNlcjE5ODY0NDQ3",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/19864447?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/web-flow",
|
||||
"html_url": "https://github.com/web-flow",
|
||||
"followers_url": "https://api.github.com/users/web-flow/followers",
|
||||
"following_url": "https://api.github.com/users/web-flow/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/web-flow/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/web-flow/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/web-flow/orgs",
|
||||
"repos_url": "https://api.github.com/users/web-flow/repos",
|
||||
"events_url": "https://api.github.com/users/web-flow/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/web-flow/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"parents": [
|
||||
{
|
||||
"sha": "5f821de20c900edf3e4067246f70add908a9dc97",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/5f821de20c900edf3e4067246f70add908a9dc97",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/5f821de20c900edf3e4067246f70add908a9dc97"
|
||||
},
|
||||
{
|
||||
"sha": "ca23669cf857ea1914bbdd411f87ee88999d4479",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/ca23669cf857ea1914bbdd411f87ee88999d4479",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/ca23669cf857ea1914bbdd411f87ee88999d4479"
|
||||
}
|
||||
]
|
||||
},
|
||||
"merge_base_commit": {
|
||||
"sha": "2c5fac3edf2d00d948253e392ec1604b29b38f14",
|
||||
"node_id": "C_kwDOAEVQ_NoAKDJjNWZhYzNlZGYyZDAwZDk0ODI1M2UzOTJlYzE2MDRiMjliMzhmMTQ",
|
||||
"commit": {
|
||||
"author": {
|
||||
"name": "Thomas Gerbet",
|
||||
"email": "thomas@gerbet.me",
|
||||
"date": "2024-09-30T18:58:09Z"
|
||||
},
|
||||
"committer": {
|
||||
"name": "Bjørn Forsman",
|
||||
"email": "bjorn.forsman@gmail.com",
|
||||
"date": "2024-10-01T06:56:48Z"
|
||||
},
|
||||
"message": "wireshark: 4.2.6 -> 4.2.7\n\nFixes CVE-2024-8250.\nhttps://www.wireshark.org/security/wnpa-sec-2024-11.html\n\nChanges:\nhttps://www.wireshark.org/docs/relnotes/wireshark-4.2.7.html",
|
||||
"tree": {
|
||||
"sha": "35384ecd1601439a960f3ef76a1974bb7784523f",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/git/trees/35384ecd1601439a960f3ef76a1974bb7784523f"
|
||||
},
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/git/commits/2c5fac3edf2d00d948253e392ec1604b29b38f14",
|
||||
"comment_count": 0,
|
||||
"verification": {
|
||||
"verified": false,
|
||||
"reason": "unsigned",
|
||||
"signature": null,
|
||||
"payload": null
|
||||
}
|
||||
},
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/2c5fac3edf2d00d948253e392ec1604b29b38f14",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/2c5fac3edf2d00d948253e392ec1604b29b38f14",
|
||||
"comments_url": "https://api.github.com/repos/NixOS/nixpkgs/commits/2c5fac3edf2d00d948253e392ec1604b29b38f14/comments",
|
||||
"author": {
|
||||
"login": "LeSuisse",
|
||||
"id": 737767,
|
||||
"node_id": "MDQ6VXNlcjczNzc2Nw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/737767?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/LeSuisse",
|
||||
"html_url": "https://github.com/LeSuisse",
|
||||
"followers_url": "https://api.github.com/users/LeSuisse/followers",
|
||||
"following_url": "https://api.github.com/users/LeSuisse/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/LeSuisse/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/LeSuisse/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/LeSuisse/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/LeSuisse/orgs",
|
||||
"repos_url": "https://api.github.com/users/LeSuisse/repos",
|
||||
"events_url": "https://api.github.com/users/LeSuisse/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/LeSuisse/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"committer": {
|
||||
"login": "bjornfor",
|
||||
"id": 133602,
|
||||
"node_id": "MDQ6VXNlcjEzMzYwMg==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/133602?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bjornfor",
|
||||
"html_url": "https://github.com/bjornfor",
|
||||
"followers_url": "https://api.github.com/users/bjornfor/followers",
|
||||
"following_url": "https://api.github.com/users/bjornfor/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bjornfor/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bjornfor/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bjornfor/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bjornfor/orgs",
|
||||
"repos_url": "https://api.github.com/users/bjornfor/repos",
|
||||
"events_url": "https://api.github.com/users/bjornfor/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bjornfor/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"parents": [
|
||||
{
|
||||
"sha": "92bdb0b4e0f698cdde010c2254cdb2afee6e07c3",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/92bdb0b4e0f698cdde010c2254cdb2afee6e07c3",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/92bdb0b4e0f698cdde010c2254cdb2afee6e07c3"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": "behind",
|
||||
"ahead_by": 0,
|
||||
"behind_by": 1773,
|
||||
"total_commits": 0,
|
||||
"commits": [
|
||||
|
||||
],
|
||||
"files": [
|
||||
|
||||
]
|
||||
}
|
186
tests/fixtures/compare_nixos-24.05_1e6376619b9192dc7603e07d7187572c45048dd7.json
vendored
Normal file
186
tests/fixtures/compare_nixos-24.05_1e6376619b9192dc7603e07d7187572c45048dd7.json
vendored
Normal file
@@ -0,0 +1,186 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/compare/nixos-24.05...1e6376619b9192dc7603e07d7187572c45048dd7",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/compare/nixos-24.05...1e6376619b9192dc7603e07d7187572c45048dd7",
|
||||
"permalink_url": "https://github.com/NixOS/nixpkgs/compare/NixOS:ecbc1ca...NixOS:1e63766",
|
||||
"diff_url": "https://github.com/NixOS/nixpkgs/compare/nixos-24.05...1e6376619b9192dc7603e07d7187572c45048dd7.diff",
|
||||
"patch_url": "https://github.com/NixOS/nixpkgs/compare/nixos-24.05...1e6376619b9192dc7603e07d7187572c45048dd7.patch",
|
||||
"base_commit": {
|
||||
"sha": "ecbc1ca8ffd6aea8372ad16be9ebbb39889e55b6",
|
||||
"node_id": "C_kwDOAEVQ_NoAKGVjYmMxY2E4ZmZkNmFlYTgzNzJhZDE2YmU5ZWJiYjM5ODg5ZTU1YjY",
|
||||
"commit": {
|
||||
"author": {
|
||||
"name": "OTABI Tomoya",
|
||||
"email": "tomoya.otabi@gmail.com",
|
||||
"date": "2024-10-06T05:47:56Z"
|
||||
},
|
||||
"committer": {
|
||||
"name": "GitHub",
|
||||
"email": "noreply@github.com",
|
||||
"date": "2024-10-06T05:47:56Z"
|
||||
},
|
||||
"message": "[Backport release-24.05] brave: 1.70.119 -> 1.70.123 (#346428)",
|
||||
"tree": {
|
||||
"sha": "f0b5ae7d234fd6c2d86f5603b4522f2ba74eda5b",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/git/trees/f0b5ae7d234fd6c2d86f5603b4522f2ba74eda5b"
|
||||
},
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/git/commits/ecbc1ca8ffd6aea8372ad16be9ebbb39889e55b6",
|
||||
"comment_count": 0,
|
||||
"verification": {
|
||||
"verified": true,
|
||||
"reason": "valid",
|
||||
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsFcBAABCAAQBQJnAiSMCRC1aQ7uu5UhlAAA0TYQAKRPy/FYu1l+CaEVlEayD+7E\ngFboJbXErmlX5/5lmwW/J3VQb2t3wlhlP5R82Utb66Gucy49vSbKcWAC3DgAT0fG\n2UOozKXq6bAJ+tzBPX/lFNNJHYmTFN3uGifkP+cHZdh7CE0EHH8IFE7rWOfYSMpK\n7Syjl1DsJ72j6ZNdWB3c1J4jCnGQKJRtgJI5yw7feqt6MYVUNLIENuo/RZHZtEF8\nCLZwx9a950pXPLUAH3HyTnoV76H9wC2ahWGUq3Mum/Cdf3WqPi0nuw+rqtjQvvCh\nK1cuS/wOlSTPqVt9S1U4GgUIdE1u82o2Zkxm/b8hOAxBNNg7nCf8RYyITL3gkubc\nIM4UgiOxL/ybpsYmNZ7zzpi8z1N28SrbGlfVG0Zp/7asniKCe/uJoXTQlxR+2GsN\nTld9B272Ttvrnyfokb05+DbTqEPV7NEG7HzXRIKcIYvcP0QdFFYch893n/t1fbFP\niOyqV3FJB68Dcjsr35zqQBPMcGNUtoo2hQFbmCZV3xYWKRfgUD6RnP+oFyIqrw5s\ne1WBwaiAbVnlCACkugGSXNF8s563cHauQkJi7553o75hqXsE8ezHCW12C4OUAQM8\nIspE3A8C/yC137IdAz3L/CpG6Qdp11AZQ1EG0oO0v7TtxQQHR3cBEUTO1vknG5iV\nuWuPBHuc5atQWRe2eVco\n=gGAX\n-----END PGP SIGNATURE-----\n",
|
||||
"payload": "tree f0b5ae7d234fd6c2d86f5603b4522f2ba74eda5b\nparent 17ae88b569bb15590549ff478bab6494dde4a907\nparent d4eb7924598b8bd830e85c93aeb6aa7c5294de9a\nauthor OTABI Tomoya <tomoya.otabi@gmail.com> 1728193676 +0900\ncommitter GitHub <noreply@github.com> 1728193676 +0900\n\n[Backport release-24.05] brave: 1.70.119 -> 1.70.123 (#346428)\n\n"
|
||||
}
|
||||
},
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/ecbc1ca8ffd6aea8372ad16be9ebbb39889e55b6",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/ecbc1ca8ffd6aea8372ad16be9ebbb39889e55b6",
|
||||
"comments_url": "https://api.github.com/repos/NixOS/nixpkgs/commits/ecbc1ca8ffd6aea8372ad16be9ebbb39889e55b6/comments",
|
||||
"author": {
|
||||
"login": "natsukium",
|
||||
"id": 25083790,
|
||||
"node_id": "MDQ6VXNlcjI1MDgzNzkw",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/25083790?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/natsukium",
|
||||
"html_url": "https://github.com/natsukium",
|
||||
"followers_url": "https://api.github.com/users/natsukium/followers",
|
||||
"following_url": "https://api.github.com/users/natsukium/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/natsukium/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/natsukium/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/natsukium/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/natsukium/orgs",
|
||||
"repos_url": "https://api.github.com/users/natsukium/repos",
|
||||
"events_url": "https://api.github.com/users/natsukium/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/natsukium/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"committer": {
|
||||
"login": "web-flow",
|
||||
"id": 19864447,
|
||||
"node_id": "MDQ6VXNlcjE5ODY0NDQ3",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/19864447?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/web-flow",
|
||||
"html_url": "https://github.com/web-flow",
|
||||
"followers_url": "https://api.github.com/users/web-flow/followers",
|
||||
"following_url": "https://api.github.com/users/web-flow/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/web-flow/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/web-flow/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/web-flow/orgs",
|
||||
"repos_url": "https://api.github.com/users/web-flow/repos",
|
||||
"events_url": "https://api.github.com/users/web-flow/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/web-flow/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"parents": [
|
||||
{
|
||||
"sha": "17ae88b569bb15590549ff478bab6494dde4a907",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/17ae88b569bb15590549ff478bab6494dde4a907",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/17ae88b569bb15590549ff478bab6494dde4a907"
|
||||
},
|
||||
{
|
||||
"sha": "d4eb7924598b8bd830e85c93aeb6aa7c5294de9a",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/d4eb7924598b8bd830e85c93aeb6aa7c5294de9a",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/d4eb7924598b8bd830e85c93aeb6aa7c5294de9a"
|
||||
}
|
||||
]
|
||||
},
|
||||
"merge_base_commit": {
|
||||
"sha": "1e6376619b9192dc7603e07d7187572c45048dd7",
|
||||
"node_id": "C_kwDOAEVQ_NoAKDFlNjM3NjYxOWI5MTkyZGM3NjAzZTA3ZDcxODc1NzJjNDUwNDhkZDc",
|
||||
"commit": {
|
||||
"author": {
|
||||
"name": "Martin Weinelt",
|
||||
"email": "mweinelt@users.noreply.github.com",
|
||||
"date": "2024-10-04T00:25:13Z"
|
||||
},
|
||||
"committer": {
|
||||
"name": "GitHub",
|
||||
"email": "noreply@github.com",
|
||||
"date": "2024-10-04T00:25:13Z"
|
||||
},
|
||||
"message": "[Backport release-24.05] Firefox: 130.0.1 -> 131.0; 128.2.0esr -> 128.3.0esr; 115.15.0esr -> 115.16.0esr (#346022)",
|
||||
"tree": {
|
||||
"sha": "ca267bfaced108f8b846f36b4222f50bcbea132e",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/git/trees/ca267bfaced108f8b846f36b4222f50bcbea132e"
|
||||
},
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/git/commits/1e6376619b9192dc7603e07d7187572c45048dd7",
|
||||
"comment_count": 0,
|
||||
"verification": {
|
||||
"verified": true,
|
||||
"reason": "valid",
|
||||
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsFcBAABCAAQBQJm/zXpCRC1aQ7uu5UhlAAAwfYQAKQ+YS049CLiRZX5L6663sip\nQ0lB49M6NgX6cx/uzDP2wkNdPZ+Ft/76Fngki9B3UBvJsdfgYsWMZ0L8lNCJPV5v\n65FCH0yzbwHz2gCgE2dTPMbd1qQGFaO1rSqksmLlovoA5NTHLrkoN7PEdNt97YQm\nvsJKHNAMzBgwmdom7OyxcBQfAmvNT4nijFqDW0AJ8VzS72EYW2il0S/uVzK2EE0k\nZdVX+oK2pYYYwaWchPofOalDLgXY5dteqNU7cQRdSI1saxoFbXVyLqo2N/lSm4/b\nv9+Uwwycjl7FyRCwucWXVBuMbbDsJW68xHSg060HbxBUEL3os8CleTiRWcXVa64d\nc619UC4/PQM+7pQFhOvATVBX+jWe508PQX5RCWIzQJWoOu+xcBbNeSImstM6jFWB\nDhKRYGM56+nPH+WRliTK6w07KAOhYMFDRAGHbUm3x5L03oqXowVjYx9UfdFBeNqW\noeETR77F6zfH/lBcW68JQMWM4ZG/sCo4HM81DY4vR99EPNKOPKNycjmV2Jb3WHRN\nO1DSmEeiCt7lgeuGmvIOXA5Z+QvAEGv8ZWRZ/K276GuK9kePh6xbu0ntAXRvy5iw\n/f426Ikzy7UM/yEL7458jrhyyqHlxiOXm+B+TSwbNSjLXHJdH5Ap3seIQjdo+num\nTWeoCrlH/oi+Tv83Iiye\n=G4zI\n-----END PGP SIGNATURE-----\n",
|
||||
"payload": "tree ca267bfaced108f8b846f36b4222f50bcbea132e\nparent 0799dfba72420acad00f6c6b643e42f14589da6f\nparent 0010c39a77012492a1602258ad8e3fd5e9377bf6\nauthor Martin Weinelt <mweinelt@users.noreply.github.com> 1728001513 +0200\ncommitter GitHub <noreply@github.com> 1728001513 +0200\n\n[Backport release-24.05] Firefox: 130.0.1 -> 131.0; 128.2.0esr -> 128.3.0esr; 115.15.0esr -> 115.16.0esr (#346022)\n\n"
|
||||
}
|
||||
},
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/1e6376619b9192dc7603e07d7187572c45048dd7",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/1e6376619b9192dc7603e07d7187572c45048dd7",
|
||||
"comments_url": "https://api.github.com/repos/NixOS/nixpkgs/commits/1e6376619b9192dc7603e07d7187572c45048dd7/comments",
|
||||
"author": {
|
||||
"login": "mweinelt",
|
||||
"id": 131599,
|
||||
"node_id": "MDQ6VXNlcjEzMTU5OQ==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/131599?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/mweinelt",
|
||||
"html_url": "https://github.com/mweinelt",
|
||||
"followers_url": "https://api.github.com/users/mweinelt/followers",
|
||||
"following_url": "https://api.github.com/users/mweinelt/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/mweinelt/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/mweinelt/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/mweinelt/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/mweinelt/orgs",
|
||||
"repos_url": "https://api.github.com/users/mweinelt/repos",
|
||||
"events_url": "https://api.github.com/users/mweinelt/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/mweinelt/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"committer": {
|
||||
"login": "web-flow",
|
||||
"id": 19864447,
|
||||
"node_id": "MDQ6VXNlcjE5ODY0NDQ3",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/19864447?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/web-flow",
|
||||
"html_url": "https://github.com/web-flow",
|
||||
"followers_url": "https://api.github.com/users/web-flow/followers",
|
||||
"following_url": "https://api.github.com/users/web-flow/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/web-flow/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/web-flow/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/web-flow/orgs",
|
||||
"repos_url": "https://api.github.com/users/web-flow/repos",
|
||||
"events_url": "https://api.github.com/users/web-flow/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/web-flow/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"parents": [
|
||||
{
|
||||
"sha": "0799dfba72420acad00f6c6b643e42f14589da6f",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/0799dfba72420acad00f6c6b643e42f14589da6f",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/0799dfba72420acad00f6c6b643e42f14589da6f"
|
||||
},
|
||||
{
|
||||
"sha": "0010c39a77012492a1602258ad8e3fd5e9377bf6",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/0010c39a77012492a1602258ad8e3fd5e9377bf6",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/0010c39a77012492a1602258ad8e3fd5e9377bf6"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": "behind",
|
||||
"ahead_by": 0,
|
||||
"behind_by": 68,
|
||||
"total_commits": 0,
|
||||
"commits": [
|
||||
|
||||
],
|
||||
"files": [
|
||||
|
||||
]
|
||||
}
|
||||
|
24306
tests/fixtures/compare_nixos-24.05_2c5fac3edf2d00d948253e392ec1604b29b38f14.json
vendored
Normal file
24306
tests/fixtures/compare_nixos-24.05_2c5fac3edf2d00d948253e392ec1604b29b38f14.json
vendored
Normal file
File diff suppressed because one or more lines are too long
24154
tests/fixtures/compare_nixos-24.05_3569a56280e8afba7c10f9171dac71ff882ff1c1.json
vendored
Normal file
24154
tests/fixtures/compare_nixos-24.05_3569a56280e8afba7c10f9171dac71ff882ff1c1.json
vendored
Normal file
File diff suppressed because one or more lines are too long
185
tests/fixtures/compare_nixos-unstable_27e30d177e57d912d614c88c622dcfdb2e6e6515.json
vendored
Normal file
185
tests/fixtures/compare_nixos-unstable_27e30d177e57d912d614c88c622dcfdb2e6e6515.json
vendored
Normal file
@@ -0,0 +1,185 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/compare/nixos-unstable...27e30d177e57d912d614c88c622dcfdb2e6e6515",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/compare/nixos-unstable...27e30d177e57d912d614c88c622dcfdb2e6e6515",
|
||||
"permalink_url": "https://github.com/NixOS/nixpkgs/compare/NixOS:bc947f5...NixOS:27e30d1",
|
||||
"diff_url": "https://github.com/NixOS/nixpkgs/compare/nixos-unstable...27e30d177e57d912d614c88c622dcfdb2e6e6515.diff",
|
||||
"patch_url": "https://github.com/NixOS/nixpkgs/compare/nixos-unstable...27e30d177e57d912d614c88c622dcfdb2e6e6515.patch",
|
||||
"base_commit": {
|
||||
"sha": "bc947f541ae55e999ffdb4013441347d83b00feb",
|
||||
"node_id": "C_kwDOAEVQ_NoAKGJjOTQ3ZjU0MWFlNTVlOTk5ZmZkYjQwMTM0NDEzNDdkODNiMDBmZWI",
|
||||
"commit": {
|
||||
"author": {
|
||||
"name": "Masum Reza",
|
||||
"email": "50095635+JohnRTitor@users.noreply.github.com",
|
||||
"date": "2024-10-04T05:06:13Z"
|
||||
},
|
||||
"committer": {
|
||||
"name": "GitHub",
|
||||
"email": "noreply@github.com",
|
||||
"date": "2024-10-04T05:06:13Z"
|
||||
},
|
||||
"message": "alpaca: 2.0.3 -> 2.0.5 (#345070)",
|
||||
"tree": {
|
||||
"sha": "3e7376cebbaf8793c39bb68447950f1045fd4ea5",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/git/trees/3e7376cebbaf8793c39bb68447950f1045fd4ea5"
|
||||
},
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/git/commits/bc947f541ae55e999ffdb4013441347d83b00feb",
|
||||
"comment_count": 0,
|
||||
"verification": {
|
||||
"verified": true,
|
||||
"reason": "valid",
|
||||
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsFcBAABCAAQBQJm/3fFCRC1aQ7uu5UhlAAA2JMQAIz5pfsohrsrdPgPxlZVDuaQ\nVPLlM82MOpkq958U90OnXyC4ZlIX2+YwvCUkuRjYjMv9VlHMHU6olHy/jvt5VF/g\nckoaAMztOsPqgyKUXiMew83j8L8EBqVQQZ3W2Br9EnzG2RNEDUQdP5c6Fwc4tccl\nmb3PPb15Nm0lFnitwUO78KxILhrekjdxxrKC/wUihaL/gH4CzdkReVZJ6FPbq9l6\n/HTTDW+amrpOr2XLQ2dC5Cy/nvZS+MPjduNSPsf5a5/ElKmNltbPFChTY0pnv/dq\nrH1zDsohfbtk5WgcmLhiIOpvO86yLfa82sPUJA65GuAW7gYGbMsN6Sh3CnfY7sxb\n7x5r7/sSodxG4t2lML571JfX2aFCeNKgeYomViRu1ZGyHg3LJAN8jKi1JIyVCpH1\nkiTOmQQWzPJRC2COvMGSdXVc7h4CuInev7MmDDiubJDkFYyT8DBzpqVxUTmni13p\ndwr6QAWZZpjnxZxVFnYLlTSifLUIazEJTqaNWnCCc99hyWAo+f5njUlT+9fPLoKE\nHAgMmC55sOzOXnLLgPIoZe2g3wtHNELY3Y6wq7hfS2K9GCxJnJ3mttiUypnyHEuR\n/dVGOlES5p7xWUZ+zEYOp+cLnMWudB5X5cf/ojooLQJc8CL8gIfOD7KOrKewf2Yi\nUUUYH6/erCgoQE2klAaS\n=Hu+V\n-----END PGP SIGNATURE-----\n",
|
||||
"payload": "tree 3e7376cebbaf8793c39bb68447950f1045fd4ea5\nparent 674acd883193175de91d37a6b3ea8c814d12c8bb\nparent e229318f7d34f4988a815e6d10b8fb0f7e0e2974\nauthor Masum Reza <50095635+JohnRTitor@users.noreply.github.com> 1728018373 +0530\ncommitter GitHub <noreply@github.com> 1728018373 +0530\n\nalpaca: 2.0.3 -> 2.0.5 (#345070)\n\n"
|
||||
}
|
||||
},
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/bc947f541ae55e999ffdb4013441347d83b00feb",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/bc947f541ae55e999ffdb4013441347d83b00feb",
|
||||
"comments_url": "https://api.github.com/repos/NixOS/nixpkgs/commits/bc947f541ae55e999ffdb4013441347d83b00feb/comments",
|
||||
"author": {
|
||||
"login": "JohnRTitor",
|
||||
"id": 50095635,
|
||||
"node_id": "MDQ6VXNlcjUwMDk1NjM1",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/50095635?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/JohnRTitor",
|
||||
"html_url": "https://github.com/JohnRTitor",
|
||||
"followers_url": "https://api.github.com/users/JohnRTitor/followers",
|
||||
"following_url": "https://api.github.com/users/JohnRTitor/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/JohnRTitor/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/JohnRTitor/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/JohnRTitor/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/JohnRTitor/orgs",
|
||||
"repos_url": "https://api.github.com/users/JohnRTitor/repos",
|
||||
"events_url": "https://api.github.com/users/JohnRTitor/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/JohnRTitor/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"committer": {
|
||||
"login": "web-flow",
|
||||
"id": 19864447,
|
||||
"node_id": "MDQ6VXNlcjE5ODY0NDQ3",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/19864447?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/web-flow",
|
||||
"html_url": "https://github.com/web-flow",
|
||||
"followers_url": "https://api.github.com/users/web-flow/followers",
|
||||
"following_url": "https://api.github.com/users/web-flow/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/web-flow/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/web-flow/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/web-flow/orgs",
|
||||
"repos_url": "https://api.github.com/users/web-flow/repos",
|
||||
"events_url": "https://api.github.com/users/web-flow/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/web-flow/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"parents": [
|
||||
{
|
||||
"sha": "674acd883193175de91d37a6b3ea8c814d12c8bb",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/674acd883193175de91d37a6b3ea8c814d12c8bb",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/674acd883193175de91d37a6b3ea8c814d12c8bb"
|
||||
},
|
||||
{
|
||||
"sha": "e229318f7d34f4988a815e6d10b8fb0f7e0e2974",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/e229318f7d34f4988a815e6d10b8fb0f7e0e2974",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/e229318f7d34f4988a815e6d10b8fb0f7e0e2974"
|
||||
}
|
||||
]
|
||||
},
|
||||
"merge_base_commit": {
|
||||
"sha": "27e30d177e57d912d614c88c622dcfdb2e6e6515",
|
||||
"node_id": "C_kwDOAEVQ_NoAKDI3ZTMwZDE3N2U1N2Q5MTJkNjE0Yzg4YzYyMmRjZmRiMmU2ZTY1MTU",
|
||||
"commit": {
|
||||
"author": {
|
||||
"name": "nixpkgs-merge-bot[bot]",
|
||||
"email": "148217876+nixpkgs-merge-bot[bot]@users.noreply.github.com",
|
||||
"date": "2024-10-01T17:15:20Z"
|
||||
},
|
||||
"committer": {
|
||||
"name": "GitHub",
|
||||
"email": "noreply@github.com",
|
||||
"date": "2024-10-01T17:15:20Z"
|
||||
},
|
||||
"message": "fflogs: 8.13.5 -> 8.14.0 (#344409)",
|
||||
"tree": {
|
||||
"sha": "209d35171564896577260569f6da7d444d22435d",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/git/trees/209d35171564896577260569f6da7d444d22435d"
|
||||
},
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/git/commits/27e30d177e57d912d614c88c622dcfdb2e6e6515",
|
||||
"comment_count": 0,
|
||||
"verification": {
|
||||
"verified": true,
|
||||
"reason": "valid",
|
||||
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsFcBAABCAAQBQJm/C4oCRC1aQ7uu5UhlAAAqUMQAINLlEPM+qnZU0Tb+7sJW/Ww\nu7SViLn6rH2EzZSVxS4DBD/phRm2wmQyjmVRpYMkRFsUQQFLQBjA5oPfzlT+frej\nNCHADxJ8h27xfV3mi40hJkWaC++ssuElh2ZYoyC9wC1yuViO44tuDQKapt6ROQIG\n8Wrg10RN7FBjd5Mb87NBOlSamiIdwobnQUBFCN3MweZ7i7CiuSq2ShKKyEy1KZIn\nH1GVV6rSkRXS0uN9s62uiISSVsvS88RpIMES83Z+fh8v6C+gw6fhUOIP0fLSVogi\neYAB3btJMCryvam7r7gfDDn2yQ6gxlpQYRDgVoK1sLeXg5hy4ouzykkrxvBbvgFd\nGl1eOePkRX+Pz5dPBIYON6QkhgEq6Ysnk4Z7FKvCmXpzDD8Yu0DWWMh65gzMXl9n\nFtThPLEurDXtZoxGnTmqD5MgNpYdH+NgLGH7ml69TinkgkRfvNeDeScmECydBnwN\n/4WTVXCzr6O0sER2MOd3Lb+LjOcymegzLnkySzvCousB2O2viVet9xs2D8QhD1LW\n9eiWfPNsuoC4xjBk/4DPmw0aSjfFiueVudG8cHg0+QxYMnbCVb3kBbjaPTmDTj8U\n/c8Eni7wIp7KEquEJTIh9Uq0thloNk/wgqY9Hj9XErcuyWZCmcB3CqIm2ZuRk9Bh\neHggC9G9VXULWzRj2OvC\n=G9Lq\n-----END PGP SIGNATURE-----\n",
|
||||
"payload": "tree 209d35171564896577260569f6da7d444d22435d\nparent 9133b9f5554437083a6618581eeae88c53593b0d\nparent c914c30b5b9f65577b83cf0b84a01e46fa1ddf96\nauthor nixpkgs-merge-bot[bot] <148217876+nixpkgs-merge-bot[bot]@users.noreply.github.com> 1727802920 +0000\ncommitter GitHub <noreply@github.com> 1727802920 +0000\n\nfflogs: 8.13.5 -> 8.14.0 (#344409)\n\n"
|
||||
}
|
||||
},
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/27e30d177e57d912d614c88c622dcfdb2e6e6515",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/27e30d177e57d912d614c88c622dcfdb2e6e6515",
|
||||
"comments_url": "https://api.github.com/repos/NixOS/nixpkgs/commits/27e30d177e57d912d614c88c622dcfdb2e6e6515/comments",
|
||||
"author": {
|
||||
"login": "nixpkgs-merge-bot[bot]",
|
||||
"id": 148217876,
|
||||
"node_id": "BOT_kgDOCNWgFA",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/in/409421?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/nixpkgs-merge-bot%5Bbot%5D",
|
||||
"html_url": "https://github.com/apps/nixpkgs-merge-bot",
|
||||
"followers_url": "https://api.github.com/users/nixpkgs-merge-bot%5Bbot%5D/followers",
|
||||
"following_url": "https://api.github.com/users/nixpkgs-merge-bot%5Bbot%5D/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/nixpkgs-merge-bot%5Bbot%5D/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/nixpkgs-merge-bot%5Bbot%5D/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/nixpkgs-merge-bot%5Bbot%5D/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/nixpkgs-merge-bot%5Bbot%5D/orgs",
|
||||
"repos_url": "https://api.github.com/users/nixpkgs-merge-bot%5Bbot%5D/repos",
|
||||
"events_url": "https://api.github.com/users/nixpkgs-merge-bot%5Bbot%5D/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/nixpkgs-merge-bot%5Bbot%5D/received_events",
|
||||
"type": "Bot",
|
||||
"site_admin": false
|
||||
},
|
||||
"committer": {
|
||||
"login": "web-flow",
|
||||
"id": 19864447,
|
||||
"node_id": "MDQ6VXNlcjE5ODY0NDQ3",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/19864447?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/web-flow",
|
||||
"html_url": "https://github.com/web-flow",
|
||||
"followers_url": "https://api.github.com/users/web-flow/followers",
|
||||
"following_url": "https://api.github.com/users/web-flow/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/web-flow/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/web-flow/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/web-flow/orgs",
|
||||
"repos_url": "https://api.github.com/users/web-flow/repos",
|
||||
"events_url": "https://api.github.com/users/web-flow/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/web-flow/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"parents": [
|
||||
{
|
||||
"sha": "9133b9f5554437083a6618581eeae88c53593b0d",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/9133b9f5554437083a6618581eeae88c53593b0d",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/9133b9f5554437083a6618581eeae88c53593b0d"
|
||||
},
|
||||
{
|
||||
"sha": "c914c30b5b9f65577b83cf0b84a01e46fa1ddf96",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/c914c30b5b9f65577b83cf0b84a01e46fa1ddf96",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/c914c30b5b9f65577b83cf0b84a01e46fa1ddf96"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": "behind",
|
||||
"ahead_by": 0,
|
||||
"behind_by": 795,
|
||||
"total_commits": 0,
|
||||
"commits": [
|
||||
|
||||
],
|
||||
"files": [
|
||||
|
||||
]
|
||||
}
|
180
tests/fixtures/compare_nixos-unstable_2c5fac3edf2d00d948253e392ec1604b29b38f14.json
vendored
Normal file
180
tests/fixtures/compare_nixos-unstable_2c5fac3edf2d00d948253e392ec1604b29b38f14.json
vendored
Normal file
@@ -0,0 +1,180 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/compare/nixos-unstable...2c5fac3edf2d00d948253e392ec1604b29b38f14",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/compare/nixos-unstable...2c5fac3edf2d00d948253e392ec1604b29b38f14",
|
||||
"permalink_url": "https://github.com/NixOS/nixpkgs/compare/NixOS:bc947f5...NixOS:2c5fac3",
|
||||
"diff_url": "https://github.com/NixOS/nixpkgs/compare/nixos-unstable...2c5fac3edf2d00d948253e392ec1604b29b38f14.diff",
|
||||
"patch_url": "https://github.com/NixOS/nixpkgs/compare/nixos-unstable...2c5fac3edf2d00d948253e392ec1604b29b38f14.patch",
|
||||
"base_commit": {
|
||||
"sha": "bc947f541ae55e999ffdb4013441347d83b00feb",
|
||||
"node_id": "C_kwDOAEVQ_NoAKGJjOTQ3ZjU0MWFlNTVlOTk5ZmZkYjQwMTM0NDEzNDdkODNiMDBmZWI",
|
||||
"commit": {
|
||||
"author": {
|
||||
"name": "Masum Reza",
|
||||
"email": "50095635+JohnRTitor@users.noreply.github.com",
|
||||
"date": "2024-10-04T05:06:13Z"
|
||||
},
|
||||
"committer": {
|
||||
"name": "GitHub",
|
||||
"email": "noreply@github.com",
|
||||
"date": "2024-10-04T05:06:13Z"
|
||||
},
|
||||
"message": "alpaca: 2.0.3 -> 2.0.5 (#345070)",
|
||||
"tree": {
|
||||
"sha": "3e7376cebbaf8793c39bb68447950f1045fd4ea5",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/git/trees/3e7376cebbaf8793c39bb68447950f1045fd4ea5"
|
||||
},
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/git/commits/bc947f541ae55e999ffdb4013441347d83b00feb",
|
||||
"comment_count": 0,
|
||||
"verification": {
|
||||
"verified": true,
|
||||
"reason": "valid",
|
||||
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsFcBAABCAAQBQJm/3fFCRC1aQ7uu5UhlAAA2JMQAIz5pfsohrsrdPgPxlZVDuaQ\nVPLlM82MOpkq958U90OnXyC4ZlIX2+YwvCUkuRjYjMv9VlHMHU6olHy/jvt5VF/g\nckoaAMztOsPqgyKUXiMew83j8L8EBqVQQZ3W2Br9EnzG2RNEDUQdP5c6Fwc4tccl\nmb3PPb15Nm0lFnitwUO78KxILhrekjdxxrKC/wUihaL/gH4CzdkReVZJ6FPbq9l6\n/HTTDW+amrpOr2XLQ2dC5Cy/nvZS+MPjduNSPsf5a5/ElKmNltbPFChTY0pnv/dq\nrH1zDsohfbtk5WgcmLhiIOpvO86yLfa82sPUJA65GuAW7gYGbMsN6Sh3CnfY7sxb\n7x5r7/sSodxG4t2lML571JfX2aFCeNKgeYomViRu1ZGyHg3LJAN8jKi1JIyVCpH1\nkiTOmQQWzPJRC2COvMGSdXVc7h4CuInev7MmDDiubJDkFYyT8DBzpqVxUTmni13p\ndwr6QAWZZpjnxZxVFnYLlTSifLUIazEJTqaNWnCCc99hyWAo+f5njUlT+9fPLoKE\nHAgMmC55sOzOXnLLgPIoZe2g3wtHNELY3Y6wq7hfS2K9GCxJnJ3mttiUypnyHEuR\n/dVGOlES5p7xWUZ+zEYOp+cLnMWudB5X5cf/ojooLQJc8CL8gIfOD7KOrKewf2Yi\nUUUYH6/erCgoQE2klAaS\n=Hu+V\n-----END PGP SIGNATURE-----\n",
|
||||
"payload": "tree 3e7376cebbaf8793c39bb68447950f1045fd4ea5\nparent 674acd883193175de91d37a6b3ea8c814d12c8bb\nparent e229318f7d34f4988a815e6d10b8fb0f7e0e2974\nauthor Masum Reza <50095635+JohnRTitor@users.noreply.github.com> 1728018373 +0530\ncommitter GitHub <noreply@github.com> 1728018373 +0530\n\nalpaca: 2.0.3 -> 2.0.5 (#345070)\n\n"
|
||||
}
|
||||
},
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/bc947f541ae55e999ffdb4013441347d83b00feb",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/bc947f541ae55e999ffdb4013441347d83b00feb",
|
||||
"comments_url": "https://api.github.com/repos/NixOS/nixpkgs/commits/bc947f541ae55e999ffdb4013441347d83b00feb/comments",
|
||||
"author": {
|
||||
"login": "JohnRTitor",
|
||||
"id": 50095635,
|
||||
"node_id": "MDQ6VXNlcjUwMDk1NjM1",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/50095635?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/JohnRTitor",
|
||||
"html_url": "https://github.com/JohnRTitor",
|
||||
"followers_url": "https://api.github.com/users/JohnRTitor/followers",
|
||||
"following_url": "https://api.github.com/users/JohnRTitor/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/JohnRTitor/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/JohnRTitor/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/JohnRTitor/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/JohnRTitor/orgs",
|
||||
"repos_url": "https://api.github.com/users/JohnRTitor/repos",
|
||||
"events_url": "https://api.github.com/users/JohnRTitor/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/JohnRTitor/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"committer": {
|
||||
"login": "web-flow",
|
||||
"id": 19864447,
|
||||
"node_id": "MDQ6VXNlcjE5ODY0NDQ3",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/19864447?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/web-flow",
|
||||
"html_url": "https://github.com/web-flow",
|
||||
"followers_url": "https://api.github.com/users/web-flow/followers",
|
||||
"following_url": "https://api.github.com/users/web-flow/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/web-flow/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/web-flow/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/web-flow/orgs",
|
||||
"repos_url": "https://api.github.com/users/web-flow/repos",
|
||||
"events_url": "https://api.github.com/users/web-flow/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/web-flow/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"parents": [
|
||||
{
|
||||
"sha": "674acd883193175de91d37a6b3ea8c814d12c8bb",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/674acd883193175de91d37a6b3ea8c814d12c8bb",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/674acd883193175de91d37a6b3ea8c814d12c8bb"
|
||||
},
|
||||
{
|
||||
"sha": "e229318f7d34f4988a815e6d10b8fb0f7e0e2974",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/e229318f7d34f4988a815e6d10b8fb0f7e0e2974",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/e229318f7d34f4988a815e6d10b8fb0f7e0e2974"
|
||||
}
|
||||
]
|
||||
},
|
||||
"merge_base_commit": {
|
||||
"sha": "2c5fac3edf2d00d948253e392ec1604b29b38f14",
|
||||
"node_id": "C_kwDOAEVQ_NoAKDJjNWZhYzNlZGYyZDAwZDk0ODI1M2UzOTJlYzE2MDRiMjliMzhmMTQ",
|
||||
"commit": {
|
||||
"author": {
|
||||
"name": "Thomas Gerbet",
|
||||
"email": "thomas@gerbet.me",
|
||||
"date": "2024-09-30T18:58:09Z"
|
||||
},
|
||||
"committer": {
|
||||
"name": "Bjørn Forsman",
|
||||
"email": "bjorn.forsman@gmail.com",
|
||||
"date": "2024-10-01T06:56:48Z"
|
||||
},
|
||||
"message": "wireshark: 4.2.6 -> 4.2.7\n\nFixes CVE-2024-8250.\nhttps://www.wireshark.org/security/wnpa-sec-2024-11.html\n\nChanges:\nhttps://www.wireshark.org/docs/relnotes/wireshark-4.2.7.html",
|
||||
"tree": {
|
||||
"sha": "35384ecd1601439a960f3ef76a1974bb7784523f",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/git/trees/35384ecd1601439a960f3ef76a1974bb7784523f"
|
||||
},
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/git/commits/2c5fac3edf2d00d948253e392ec1604b29b38f14",
|
||||
"comment_count": 0,
|
||||
"verification": {
|
||||
"verified": false,
|
||||
"reason": "unsigned",
|
||||
"signature": null,
|
||||
"payload": null
|
||||
}
|
||||
},
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/2c5fac3edf2d00d948253e392ec1604b29b38f14",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/2c5fac3edf2d00d948253e392ec1604b29b38f14",
|
||||
"comments_url": "https://api.github.com/repos/NixOS/nixpkgs/commits/2c5fac3edf2d00d948253e392ec1604b29b38f14/comments",
|
||||
"author": {
|
||||
"login": "LeSuisse",
|
||||
"id": 737767,
|
||||
"node_id": "MDQ6VXNlcjczNzc2Nw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/737767?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/LeSuisse",
|
||||
"html_url": "https://github.com/LeSuisse",
|
||||
"followers_url": "https://api.github.com/users/LeSuisse/followers",
|
||||
"following_url": "https://api.github.com/users/LeSuisse/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/LeSuisse/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/LeSuisse/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/LeSuisse/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/LeSuisse/orgs",
|
||||
"repos_url": "https://api.github.com/users/LeSuisse/repos",
|
||||
"events_url": "https://api.github.com/users/LeSuisse/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/LeSuisse/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"committer": {
|
||||
"login": "bjornfor",
|
||||
"id": 133602,
|
||||
"node_id": "MDQ6VXNlcjEzMzYwMg==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/133602?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bjornfor",
|
||||
"html_url": "https://github.com/bjornfor",
|
||||
"followers_url": "https://api.github.com/users/bjornfor/followers",
|
||||
"following_url": "https://api.github.com/users/bjornfor/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bjornfor/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bjornfor/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bjornfor/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bjornfor/orgs",
|
||||
"repos_url": "https://api.github.com/users/bjornfor/repos",
|
||||
"events_url": "https://api.github.com/users/bjornfor/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bjornfor/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"parents": [
|
||||
{
|
||||
"sha": "92bdb0b4e0f698cdde010c2254cdb2afee6e07c3",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/commits/92bdb0b4e0f698cdde010c2254cdb2afee6e07c3",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/commit/92bdb0b4e0f698cdde010c2254cdb2afee6e07c3"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": "behind",
|
||||
"ahead_by": 0,
|
||||
"behind_by": 918,
|
||||
"total_commits": 0,
|
||||
"commits": [
|
||||
|
||||
],
|
||||
"files": [
|
||||
|
||||
]
|
||||
}
|
443
tests/fixtures/pulls_345583.json
vendored
Normal file
443
tests/fixtures/pulls_345583.json
vendored
Normal file
@@ -0,0 +1,443 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/pulls/345583",
|
||||
"id": 2099869862,
|
||||
"node_id": "PR_kwDOAEVQ_M59KXim",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/pull/345583",
|
||||
"diff_url": "https://github.com/NixOS/nixpkgs/pull/345583.diff",
|
||||
"patch_url": "https://github.com/NixOS/nixpkgs/pull/345583.patch",
|
||||
"issue_url": "https://api.github.com/repos/NixOS/nixpkgs/issues/345583",
|
||||
"number": 345583,
|
||||
"state": "closed",
|
||||
"locked": false,
|
||||
"title": "wireshark: 4.2.6 -> 4.2.7",
|
||||
"user": {
|
||||
"login": "LeSuisse",
|
||||
"id": 737767,
|
||||
"node_id": "MDQ6VXNlcjczNzc2Nw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/737767?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/LeSuisse",
|
||||
"html_url": "https://github.com/LeSuisse",
|
||||
"followers_url": "https://api.github.com/users/LeSuisse/followers",
|
||||
"following_url": "https://api.github.com/users/LeSuisse/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/LeSuisse/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/LeSuisse/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/LeSuisse/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/LeSuisse/orgs",
|
||||
"repos_url": "https://api.github.com/users/LeSuisse/repos",
|
||||
"events_url": "https://api.github.com/users/LeSuisse/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/LeSuisse/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"body": "## Description of changes\r\n\r\nFixes CVE-2024-8250.\r\nhttps://www.wireshark.org/security/wnpa-sec-2024-11.html\r\n\r\nChanges:\r\nhttps://www.wireshark.org/docs/relnotes/wireshark-4.2.7.html\r\n<!--\r\nFor package updates please link to a changelog or describe changes, this helps your fellow maintainers discover breaking updates.\r\nFor new packages please briefly describe the package or provide a link to its homepage.\r\n-->\r\n\r\n## Things done\r\n\r\n<!-- Please check what applies. Note that these are not hard requirements but merely serve as information for reviewers. -->\r\n\r\n- Built on platform(s)\r\n - [x] x86_64-linux\r\n - [ ] aarch64-linux\r\n - [ ] x86_64-darwin\r\n - [ ] aarch64-darwin\r\n- For non-Linux: Is sandboxing enabled in `nix.conf`? (See [Nix manual](https://nixos.org/manual/nix/stable/command-ref/conf-file.html))\r\n - [ ] `sandbox = relaxed`\r\n - [ ] `sandbox = true`\r\n- [ ] Tested, as applicable:\r\n - [NixOS test(s)](https://nixos.org/manual/nixos/unstable/index.html#sec-nixos-tests) (look inside [nixos/tests](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests))\r\n - and/or [package tests](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-tests)\r\n - or, for functions and \"core\" functionality, tests in [lib/tests](https://github.com/NixOS/nixpkgs/blob/master/lib/tests) or [pkgs/test](https://github.com/NixOS/nixpkgs/blob/master/pkgs/test)\r\n - made sure NixOS tests are [linked](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#linking-nixos-module-tests-to-a-package) to the relevant packages\r\n- [x] 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](https://github.com/Mic92/nixpkgs-review#usage)\r\n- [x] Tested basic functionality of all binary files (usually in `./result/bin/`)\r\n- [24.11 Release Notes](https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/release-notes/rl-2411.section.md) (or backporting [23.11](https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/release-notes/rl-2311.section.md) and [24.05](https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/release-notes/rl-2405.section.md) Release notes)\r\n - [ ] (Package updates) Added a release notes entry if the change is major or breaking\r\n - [ ] (Module updates) Added a release notes entry if the change is significant\r\n - [ ] (Module addition) Added a release notes entry if adding a new NixOS module\r\n- [x] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md).\r\n\r\n<!--\r\nTo help with the large amounts of pull requests, we would appreciate your\r\nreviews of other pull requests, especially simple package updates. Just leave a\r\ncomment describing what you have tested in the relevant package/service.\r\nReviewing helps to reduce the average time-to-merge for everyone.\r\nThanks a lot if you do!\r\n\r\nList of open PRs: https://github.com/NixOS/nixpkgs/pulls\r\nReviewing guidelines: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#reviewing-contributions\r\n-->\r\n\r\nResult of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)\r\n<details>\r\n <summary>4 packages marked as broken and skipped:</summary>\r\n <ul>\r\n <li>python311Packages.dissect-cobaltstrike</li>\r\n <li>python311Packages.dissect-cobaltstrike.dist</li>\r\n <li>python312Packages.dissect-cobaltstrike</li>\r\n <li>python312Packages.dissect-cobaltstrike.dist</li>\r\n </ul>\r\n</details>\r\n<details>\r\n <summary>24 packages built:</summary>\r\n <ul>\r\n <li>compactor</li>\r\n <li>credslayer</li>\r\n <li>credslayer.dist</li>\r\n <li>dbmonster</li>\r\n <li>haka</li>\r\n <li>hfinger</li>\r\n <li>hfinger.dist</li>\r\n <li>ostinato</li>\r\n <li>python311Packages.manuf</li>\r\n <li>python311Packages.manuf.dist</li>\r\n <li>python311Packages.pyshark</li>\r\n <li>python311Packages.pyshark.dist</li>\r\n <li>python312Packages.manuf</li>\r\n <li>python312Packages.manuf.dist</li>\r\n <li>python312Packages.pyshark</li>\r\n <li>python312Packages.pyshark.dist</li>\r\n <li>qtwirediff</li>\r\n <li>termshark</li>\r\n <li>tshark</li>\r\n <li>tshark.dev</li>\r\n <li>wifite2</li>\r\n <li>wifite2.dist</li>\r\n <li>wireshark</li>\r\n <li>wireshark.dev</li>\r\n </ul>\r\n</details>\r\n\r\n---\r\n\r\nAdd a :+1: [reaction] to [pull requests you find important].\r\n\r\n[reaction]: https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/\r\n[pull requests you find important]: https://github.com/NixOS/nixpkgs/pulls?q=is%3Aopen+sort%3Areactions-%2B1-desc\r\n",
|
||||
"created_at": "2024-09-30T19:26:00Z",
|
||||
"updated_at": "2024-10-01T08:26:57Z",
|
||||
"closed_at": "2024-10-01T06:56:48Z",
|
||||
"merged_at": "2024-10-01T06:56:48Z",
|
||||
"merge_commit_sha": "2c5fac3edf2d00d948253e392ec1604b29b38f14",
|
||||
"assignee": null,
|
||||
"assignees": [
|
||||
|
||||
],
|
||||
"requested_reviewers": [
|
||||
{
|
||||
"login": "fpletz",
|
||||
"id": 114159,
|
||||
"node_id": "MDQ6VXNlcjExNDE1OQ==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/114159?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/fpletz",
|
||||
"html_url": "https://github.com/fpletz",
|
||||
"followers_url": "https://api.github.com/users/fpletz/followers",
|
||||
"following_url": "https://api.github.com/users/fpletz/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/fpletz/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/fpletz/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/fpletz/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/fpletz/orgs",
|
||||
"repos_url": "https://api.github.com/users/fpletz/repos",
|
||||
"events_url": "https://api.github.com/users/fpletz/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/fpletz/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
],
|
||||
"requested_teams": [
|
||||
|
||||
],
|
||||
"labels": [
|
||||
{
|
||||
"id": 126506420,
|
||||
"node_id": "MDU6TGFiZWwxMjY1MDY0MjA=",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/labels/1.severity:%20security",
|
||||
"name": "1.severity: security",
|
||||
"color": "e11d21",
|
||||
"default": false,
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"id": 731734101,
|
||||
"node_id": "MDU6TGFiZWw3MzE3MzQxMDE=",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/labels/10.rebuild-linux:%2011-100",
|
||||
"name": "10.rebuild-linux: 11-100",
|
||||
"color": "fbca04",
|
||||
"default": false,
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"id": 731735423,
|
||||
"node_id": "MDU6TGFiZWw3MzE3MzU0MjM=",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/labels/10.rebuild-darwin:%2011-100",
|
||||
"name": "10.rebuild-darwin: 11-100",
|
||||
"color": "fbca04",
|
||||
"default": false,
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"id": 6984924132,
|
||||
"node_id": "LA_kwDOAEVQ_M8AAAABoFV75A",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/labels/backport%20release-24.05",
|
||||
"name": "backport release-24.05",
|
||||
"color": "0fafaa",
|
||||
"default": false,
|
||||
"description": "Backport PR automatically"
|
||||
}
|
||||
],
|
||||
"milestone": null,
|
||||
"draft": false,
|
||||
"commits_url": "https://api.github.com/repos/NixOS/nixpkgs/pulls/345583/commits",
|
||||
"review_comments_url": "https://api.github.com/repos/NixOS/nixpkgs/pulls/345583/comments",
|
||||
"review_comment_url": "https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}",
|
||||
"comments_url": "https://api.github.com/repos/NixOS/nixpkgs/issues/345583/comments",
|
||||
"statuses_url": "https://api.github.com/repos/NixOS/nixpkgs/statuses/64a0ed1ab2dbbf66d7674d5d5787537341d961b0",
|
||||
"head": {
|
||||
"label": "LeSuisse:wireshark-4.2.7",
|
||||
"ref": "wireshark-4.2.7",
|
||||
"sha": "64a0ed1ab2dbbf66d7674d5d5787537341d961b0",
|
||||
"user": {
|
||||
"login": "LeSuisse",
|
||||
"id": 737767,
|
||||
"node_id": "MDQ6VXNlcjczNzc2Nw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/737767?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/LeSuisse",
|
||||
"html_url": "https://github.com/LeSuisse",
|
||||
"followers_url": "https://api.github.com/users/LeSuisse/followers",
|
||||
"following_url": "https://api.github.com/users/LeSuisse/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/LeSuisse/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/LeSuisse/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/LeSuisse/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/LeSuisse/orgs",
|
||||
"repos_url": "https://api.github.com/users/LeSuisse/repos",
|
||||
"events_url": "https://api.github.com/users/LeSuisse/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/LeSuisse/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"repo": {
|
||||
"id": 330208195,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzMzAyMDgxOTU=",
|
||||
"name": "nixpkgs",
|
||||
"full_name": "LeSuisse/nixpkgs",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "LeSuisse",
|
||||
"id": 737767,
|
||||
"node_id": "MDQ6VXNlcjczNzc2Nw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/737767?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/LeSuisse",
|
||||
"html_url": "https://github.com/LeSuisse",
|
||||
"followers_url": "https://api.github.com/users/LeSuisse/followers",
|
||||
"following_url": "https://api.github.com/users/LeSuisse/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/LeSuisse/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/LeSuisse/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/LeSuisse/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/LeSuisse/orgs",
|
||||
"repos_url": "https://api.github.com/users/LeSuisse/repos",
|
||||
"events_url": "https://api.github.com/users/LeSuisse/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/LeSuisse/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/LeSuisse/nixpkgs",
|
||||
"description": "Nix Packages collection",
|
||||
"fork": true,
|
||||
"url": "https://api.github.com/repos/LeSuisse/nixpkgs",
|
||||
"forks_url": "https://api.github.com/repos/LeSuisse/nixpkgs/forks",
|
||||
"keys_url": "https://api.github.com/repos/LeSuisse/nixpkgs/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/LeSuisse/nixpkgs/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/LeSuisse/nixpkgs/teams",
|
||||
"hooks_url": "https://api.github.com/repos/LeSuisse/nixpkgs/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/LeSuisse/nixpkgs/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/LeSuisse/nixpkgs/events",
|
||||
"assignees_url": "https://api.github.com/repos/LeSuisse/nixpkgs/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/LeSuisse/nixpkgs/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/LeSuisse/nixpkgs/tags",
|
||||
"blobs_url": "https://api.github.com/repos/LeSuisse/nixpkgs/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/LeSuisse/nixpkgs/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/LeSuisse/nixpkgs/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/LeSuisse/nixpkgs/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/LeSuisse/nixpkgs/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/LeSuisse/nixpkgs/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/LeSuisse/nixpkgs/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/LeSuisse/nixpkgs/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/LeSuisse/nixpkgs/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/LeSuisse/nixpkgs/subscription",
|
||||
"commits_url": "https://api.github.com/repos/LeSuisse/nixpkgs/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/LeSuisse/nixpkgs/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/LeSuisse/nixpkgs/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/LeSuisse/nixpkgs/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/LeSuisse/nixpkgs/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/LeSuisse/nixpkgs/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/LeSuisse/nixpkgs/merges",
|
||||
"archive_url": "https://api.github.com/repos/LeSuisse/nixpkgs/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/LeSuisse/nixpkgs/downloads",
|
||||
"issues_url": "https://api.github.com/repos/LeSuisse/nixpkgs/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/LeSuisse/nixpkgs/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/LeSuisse/nixpkgs/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/LeSuisse/nixpkgs/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/LeSuisse/nixpkgs/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/LeSuisse/nixpkgs/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/LeSuisse/nixpkgs/deployments",
|
||||
"created_at": "2021-01-16T16:40:54Z",
|
||||
"updated_at": "2024-05-30T20:02:25Z",
|
||||
"pushed_at": "2024-10-03T13:24:28Z",
|
||||
"git_url": "git://github.com/LeSuisse/nixpkgs.git",
|
||||
"ssh_url": "git@github.com:LeSuisse/nixpkgs.git",
|
||||
"clone_url": "https://github.com/LeSuisse/nixpkgs.git",
|
||||
"svn_url": "https://github.com/LeSuisse/nixpkgs",
|
||||
"homepage": "",
|
||||
"size": 4437697,
|
||||
"stargazers_count": 1,
|
||||
"watchers_count": 1,
|
||||
"language": "Nix",
|
||||
"has_issues": false,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": false,
|
||||
"has_pages": false,
|
||||
"has_discussions": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": {
|
||||
"key": "mit",
|
||||
"name": "MIT License",
|
||||
"spdx_id": "MIT",
|
||||
"url": "https://api.github.com/licenses/mit",
|
||||
"node_id": "MDc6TGljZW5zZTEz"
|
||||
},
|
||||
"allow_forking": true,
|
||||
"is_template": false,
|
||||
"web_commit_signoff_required": false,
|
||||
"topics": [
|
||||
|
||||
],
|
||||
"visibility": "public",
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 1,
|
||||
"default_branch": "master"
|
||||
}
|
||||
},
|
||||
"base": {
|
||||
"label": "NixOS:master",
|
||||
"ref": "master",
|
||||
"sha": "c1e68f011844844605548984e3c8cd1a9379d78f",
|
||||
"user": {
|
||||
"login": "NixOS",
|
||||
"id": 487568,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjQ4NzU2OA==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/487568?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/NixOS",
|
||||
"html_url": "https://github.com/NixOS",
|
||||
"followers_url": "https://api.github.com/users/NixOS/followers",
|
||||
"following_url": "https://api.github.com/users/NixOS/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/NixOS/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/NixOS/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/NixOS/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/NixOS/orgs",
|
||||
"repos_url": "https://api.github.com/users/NixOS/repos",
|
||||
"events_url": "https://api.github.com/users/NixOS/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/NixOS/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"repo": {
|
||||
"id": 4542716,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnk0NTQyNzE2",
|
||||
"name": "nixpkgs",
|
||||
"full_name": "NixOS/nixpkgs",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "NixOS",
|
||||
"id": 487568,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjQ4NzU2OA==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/487568?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/NixOS",
|
||||
"html_url": "https://github.com/NixOS",
|
||||
"followers_url": "https://api.github.com/users/NixOS/followers",
|
||||
"following_url": "https://api.github.com/users/NixOS/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/NixOS/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/NixOS/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/NixOS/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/NixOS/orgs",
|
||||
"repos_url": "https://api.github.com/users/NixOS/repos",
|
||||
"events_url": "https://api.github.com/users/NixOS/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/NixOS/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/NixOS/nixpkgs",
|
||||
"description": "Nix Packages collection & NixOS",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs",
|
||||
"forks_url": "https://api.github.com/repos/NixOS/nixpkgs/forks",
|
||||
"keys_url": "https://api.github.com/repos/NixOS/nixpkgs/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/NixOS/nixpkgs/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/NixOS/nixpkgs/teams",
|
||||
"hooks_url": "https://api.github.com/repos/NixOS/nixpkgs/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/NixOS/nixpkgs/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/NixOS/nixpkgs/events",
|
||||
"assignees_url": "https://api.github.com/repos/NixOS/nixpkgs/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/NixOS/nixpkgs/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/NixOS/nixpkgs/tags",
|
||||
"blobs_url": "https://api.github.com/repos/NixOS/nixpkgs/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/NixOS/nixpkgs/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/NixOS/nixpkgs/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/NixOS/nixpkgs/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/NixOS/nixpkgs/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/NixOS/nixpkgs/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/NixOS/nixpkgs/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/NixOS/nixpkgs/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/NixOS/nixpkgs/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/NixOS/nixpkgs/subscription",
|
||||
"commits_url": "https://api.github.com/repos/NixOS/nixpkgs/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/NixOS/nixpkgs/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/NixOS/nixpkgs/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/NixOS/nixpkgs/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/NixOS/nixpkgs/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/NixOS/nixpkgs/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/NixOS/nixpkgs/merges",
|
||||
"archive_url": "https://api.github.com/repos/NixOS/nixpkgs/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/NixOS/nixpkgs/downloads",
|
||||
"issues_url": "https://api.github.com/repos/NixOS/nixpkgs/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/NixOS/nixpkgs/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/NixOS/nixpkgs/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/NixOS/nixpkgs/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/NixOS/nixpkgs/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/NixOS/nixpkgs/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/NixOS/nixpkgs/deployments",
|
||||
"created_at": "2012-06-04T02:49:46Z",
|
||||
"updated_at": "2024-10-05T22:47:49Z",
|
||||
"pushed_at": "2024-10-05T22:34:39Z",
|
||||
"git_url": "git://github.com/NixOS/nixpkgs.git",
|
||||
"ssh_url": "git@github.com:NixOS/nixpkgs.git",
|
||||
"clone_url": "https://github.com/NixOS/nixpkgs.git",
|
||||
"svn_url": "https://github.com/NixOS/nixpkgs",
|
||||
"homepage": "",
|
||||
"size": 4520403,
|
||||
"stargazers_count": 17638,
|
||||
"watchers_count": 17638,
|
||||
"language": "Nix",
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": false,
|
||||
"has_pages": false,
|
||||
"has_discussions": false,
|
||||
"forks_count": 13796,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 15342,
|
||||
"license": {
|
||||
"key": "mit",
|
||||
"name": "MIT License",
|
||||
"spdx_id": "MIT",
|
||||
"url": "https://api.github.com/licenses/mit",
|
||||
"node_id": "MDc6TGljZW5zZTEz"
|
||||
},
|
||||
"allow_forking": true,
|
||||
"is_template": false,
|
||||
"web_commit_signoff_required": false,
|
||||
"topics": [
|
||||
"hacktoberfest",
|
||||
"linux",
|
||||
"nix",
|
||||
"nixos",
|
||||
"nixpkgs"
|
||||
],
|
||||
"visibility": "public",
|
||||
"forks": 13796,
|
||||
"open_issues": 15342,
|
||||
"watchers": 17638,
|
||||
"default_branch": "master"
|
||||
}
|
||||
},
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/pulls/345583"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://github.com/NixOS/nixpkgs/pull/345583"
|
||||
},
|
||||
"issue": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/issues/345583"
|
||||
},
|
||||
"comments": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/issues/345583/comments"
|
||||
},
|
||||
"review_comments": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/pulls/345583/comments"
|
||||
},
|
||||
"review_comment": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}"
|
||||
},
|
||||
"commits": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/pulls/345583/commits"
|
||||
},
|
||||
"statuses": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/statuses/64a0ed1ab2dbbf66d7674d5d5787537341d961b0"
|
||||
}
|
||||
},
|
||||
"author_association": "CONTRIBUTOR",
|
||||
"auto_merge": null,
|
||||
"active_lock_reason": null,
|
||||
"merged": true,
|
||||
"mergeable": null,
|
||||
"rebaseable": null,
|
||||
"mergeable_state": "unknown",
|
||||
"merged_by": {
|
||||
"login": "bjornfor",
|
||||
"id": 133602,
|
||||
"node_id": "MDQ6VXNlcjEzMzYwMg==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/133602?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bjornfor",
|
||||
"html_url": "https://github.com/bjornfor",
|
||||
"followers_url": "https://api.github.com/users/bjornfor/followers",
|
||||
"following_url": "https://api.github.com/users/bjornfor/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bjornfor/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bjornfor/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bjornfor/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bjornfor/orgs",
|
||||
"repos_url": "https://api.github.com/users/bjornfor/repos",
|
||||
"events_url": "https://api.github.com/users/bjornfor/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bjornfor/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"comments": 2,
|
||||
"review_comments": 0,
|
||||
"maintainer_can_modify": false,
|
||||
"commits": 1,
|
||||
"additions": 2,
|
||||
"deletions": 2,
|
||||
"changed_files": 1
|
||||
}
|
453
tests/fixtures/pulls_345769.json
vendored
Normal file
453
tests/fixtures/pulls_345769.json
vendored
Normal file
@@ -0,0 +1,453 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/pulls/345769",
|
||||
"id": 2102240863,
|
||||
"node_id": "PR_kwDOAEVQ_M59TaZf",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/pull/345769",
|
||||
"diff_url": "https://github.com/NixOS/nixpkgs/pull/345769.diff",
|
||||
"patch_url": "https://github.com/NixOS/nixpkgs/pull/345769.patch",
|
||||
"issue_url": "https://api.github.com/repos/NixOS/nixpkgs/issues/345769",
|
||||
"number": 345769,
|
||||
"state": "closed",
|
||||
"locked": false,
|
||||
"title": "Firefox: 130.0.1 -> 131.0; 128.2.0esr -> 128.3.0esr; 115.15.0esr -> 115.16.0esr",
|
||||
"user": {
|
||||
"login": "mweinelt",
|
||||
"id": 131599,
|
||||
"node_id": "MDQ6VXNlcjEzMTU5OQ==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/131599?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/mweinelt",
|
||||
"html_url": "https://github.com/mweinelt",
|
||||
"followers_url": "https://api.github.com/users/mweinelt/followers",
|
||||
"following_url": "https://api.github.com/users/mweinelt/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/mweinelt/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/mweinelt/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/mweinelt/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/mweinelt/orgs",
|
||||
"repos_url": "https://api.github.com/users/mweinelt/repos",
|
||||
"events_url": "https://api.github.com/users/mweinelt/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/mweinelt/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"body": "https://www.mozilla.org/en-US/firefox/131.0/releasenotes/\r\nhttps://www.mozilla.org/en-US/firefox/128.3.0/releasenotes/\r\nhttps://www.mozilla.org/en-US/firefox/115.16.0/releasenotes/\r\nhttps://www.mozilla.org/security/advisories/mfsa2024-46\r\nhttps://www.mozilla.org/security/advisories/mfsa2024-47\r\nhttps://www.mozilla.org/security/advisories/mfsa2024-48\r\n\r\n## Things done\r\n\r\n<!-- Please check what applies. Note that these are not hard requirements but merely serve as information for reviewers. -->\r\n\r\n- Built on platform(s)\r\n - [ ] x86_64-linux\r\n - [x] aarch64-linux\r\n - [ ] x86_64-darwin\r\n - [ ] aarch64-darwin\r\n- For non-Linux: Is sandboxing enabled in `nix.conf`? (See [Nix manual](https://nixos.org/manual/nix/stable/command-ref/conf-file.html))\r\n - [ ] `sandbox = relaxed`\r\n - [ ] `sandbox = true`\r\n- [x] Tested, as applicable:\r\n - [NixOS test(s)](https://nixos.org/manual/nixos/unstable/index.html#sec-nixos-tests) (look inside [nixos/tests](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests))\r\n - and/or [package tests](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-tests)\r\n - or, for functions and \"core\" functionality, tests in [lib/tests](https://github.com/NixOS/nixpkgs/blob/master/lib/tests) or [pkgs/test](https://github.com/NixOS/nixpkgs/blob/master/pkgs/test)\r\n - made sure NixOS tests are [linked](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#linking-nixos-module-tests-to-a-package) to the relevant packages\r\n- [ ] 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](https://github.com/Mic92/nixpkgs-review#usage)\r\n- [ ] Tested basic functionality of all binary files (usually in `./result/bin/`)\r\n- [24.11 Release Notes](https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/release-notes/rl-2411.section.md) (or backporting [23.11](https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/release-notes/rl-2311.section.md) and [24.05](https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/release-notes/rl-2405.section.md) Release notes)\r\n - [ ] (Package updates) Added a release notes entry if the change is major or breaking\r\n - [ ] (Module updates) Added a release notes entry if the change is significant\r\n - [ ] (Module addition) Added a release notes entry if adding a new NixOS module\r\n- [x] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md).\r\n\r\n<!--\r\nTo help with the large amounts of pull requests, we would appreciate your\r\nreviews of other pull requests, especially simple package updates. Just leave a\r\ncomment describing what you have tested in the relevant package/service.\r\nReviewing helps to reduce the average time-to-merge for everyone.\r\nThanks a lot if you do!\r\n\r\nList of open PRs: https://github.com/NixOS/nixpkgs/pulls\r\nReviewing guidelines: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#reviewing-contributions\r\n-->\r\n\r\n---\r\n\r\nAdd a :+1: [reaction] to [pull requests you find important].\r\n\r\n[reaction]: https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/\r\n[pull requests you find important]: https://github.com/NixOS/nixpkgs/pulls?q=is%3Aopen+sort%3Areactions-%2B1-desc\r\n",
|
||||
"created_at": "2024-10-01T20:21:32Z",
|
||||
"updated_at": "2024-10-02T22:45:03Z",
|
||||
"closed_at": "2024-10-02T22:44:30Z",
|
||||
"merged_at": "2024-10-02T22:44:30Z",
|
||||
"merge_commit_sha": "3569a56280e8afba7c10f9171dac71ff882ff1c1",
|
||||
"assignee": null,
|
||||
"assignees": [
|
||||
|
||||
],
|
||||
"requested_reviewers": [
|
||||
{
|
||||
"login": "lovesegfault",
|
||||
"id": 7243783,
|
||||
"node_id": "MDQ6VXNlcjcyNDM3ODM=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7243783?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/lovesegfault",
|
||||
"html_url": "https://github.com/lovesegfault",
|
||||
"followers_url": "https://api.github.com/users/lovesegfault/followers",
|
||||
"following_url": "https://api.github.com/users/lovesegfault/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lovesegfault/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/lovesegfault/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/lovesegfault/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/lovesegfault/orgs",
|
||||
"repos_url": "https://api.github.com/users/lovesegfault/repos",
|
||||
"events_url": "https://api.github.com/users/lovesegfault/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/lovesegfault/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
],
|
||||
"requested_teams": [
|
||||
|
||||
],
|
||||
"labels": [
|
||||
{
|
||||
"id": 126506420,
|
||||
"node_id": "MDU6TGFiZWwxMjY1MDY0MjA=",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/labels/1.severity:%20security",
|
||||
"name": "1.severity: security",
|
||||
"color": "e11d21",
|
||||
"default": false,
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"id": 731734101,
|
||||
"node_id": "MDU6TGFiZWw3MzE3MzQxMDE=",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/labels/10.rebuild-linux:%2011-100",
|
||||
"name": "10.rebuild-linux: 11-100",
|
||||
"color": "fbca04",
|
||||
"default": false,
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"id": 731735222,
|
||||
"node_id": "MDU6TGFiZWw3MzE3MzUyMjI=",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/labels/10.rebuild-darwin:%201-10",
|
||||
"name": "10.rebuild-darwin: 1-10",
|
||||
"color": "eeffee",
|
||||
"default": false,
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"id": 740714914,
|
||||
"node_id": "MDU6TGFiZWw3NDA3MTQ5MTQ=",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/labels/11.by:%20package-maintainer",
|
||||
"name": "11.by: package-maintainer",
|
||||
"color": "ddeecc",
|
||||
"default": false,
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"id": 6984924132,
|
||||
"node_id": "LA_kwDOAEVQ_M8AAAABoFV75A",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/labels/backport%20release-24.05",
|
||||
"name": "backport release-24.05",
|
||||
"color": "0fafaa",
|
||||
"default": false,
|
||||
"description": "Backport PR automatically"
|
||||
}
|
||||
],
|
||||
"milestone": null,
|
||||
"draft": false,
|
||||
"commits_url": "https://api.github.com/repos/NixOS/nixpkgs/pulls/345769/commits",
|
||||
"review_comments_url": "https://api.github.com/repos/NixOS/nixpkgs/pulls/345769/comments",
|
||||
"review_comment_url": "https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}",
|
||||
"comments_url": "https://api.github.com/repos/NixOS/nixpkgs/issues/345769/comments",
|
||||
"statuses_url": "https://api.github.com/repos/NixOS/nixpkgs/statuses/ee93526fc9f1de32f23df4187f3e573eeafc562d",
|
||||
"head": {
|
||||
"label": "mweinelt:firefox-131.0",
|
||||
"ref": "firefox-131.0",
|
||||
"sha": "ee93526fc9f1de32f23df4187f3e573eeafc562d",
|
||||
"user": {
|
||||
"login": "mweinelt",
|
||||
"id": 131599,
|
||||
"node_id": "MDQ6VXNlcjEzMTU5OQ==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/131599?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/mweinelt",
|
||||
"html_url": "https://github.com/mweinelt",
|
||||
"followers_url": "https://api.github.com/users/mweinelt/followers",
|
||||
"following_url": "https://api.github.com/users/mweinelt/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/mweinelt/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/mweinelt/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/mweinelt/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/mweinelt/orgs",
|
||||
"repos_url": "https://api.github.com/users/mweinelt/repos",
|
||||
"events_url": "https://api.github.com/users/mweinelt/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/mweinelt/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"repo": {
|
||||
"id": 101918349,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkxMDE5MTgzNDk=",
|
||||
"name": "nixpkgs",
|
||||
"full_name": "mweinelt/nixpkgs",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "mweinelt",
|
||||
"id": 131599,
|
||||
"node_id": "MDQ6VXNlcjEzMTU5OQ==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/131599?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/mweinelt",
|
||||
"html_url": "https://github.com/mweinelt",
|
||||
"followers_url": "https://api.github.com/users/mweinelt/followers",
|
||||
"following_url": "https://api.github.com/users/mweinelt/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/mweinelt/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/mweinelt/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/mweinelt/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/mweinelt/orgs",
|
||||
"repos_url": "https://api.github.com/users/mweinelt/repos",
|
||||
"events_url": "https://api.github.com/users/mweinelt/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/mweinelt/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/mweinelt/nixpkgs",
|
||||
"description": "Nix Packages collection",
|
||||
"fork": true,
|
||||
"url": "https://api.github.com/repos/mweinelt/nixpkgs",
|
||||
"forks_url": "https://api.github.com/repos/mweinelt/nixpkgs/forks",
|
||||
"keys_url": "https://api.github.com/repos/mweinelt/nixpkgs/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/mweinelt/nixpkgs/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/mweinelt/nixpkgs/teams",
|
||||
"hooks_url": "https://api.github.com/repos/mweinelt/nixpkgs/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/mweinelt/nixpkgs/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/mweinelt/nixpkgs/events",
|
||||
"assignees_url": "https://api.github.com/repos/mweinelt/nixpkgs/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/mweinelt/nixpkgs/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/mweinelt/nixpkgs/tags",
|
||||
"blobs_url": "https://api.github.com/repos/mweinelt/nixpkgs/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/mweinelt/nixpkgs/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/mweinelt/nixpkgs/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/mweinelt/nixpkgs/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/mweinelt/nixpkgs/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/mweinelt/nixpkgs/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/mweinelt/nixpkgs/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/mweinelt/nixpkgs/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/mweinelt/nixpkgs/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/mweinelt/nixpkgs/subscription",
|
||||
"commits_url": "https://api.github.com/repos/mweinelt/nixpkgs/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/mweinelt/nixpkgs/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/mweinelt/nixpkgs/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/mweinelt/nixpkgs/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/mweinelt/nixpkgs/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/mweinelt/nixpkgs/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/mweinelt/nixpkgs/merges",
|
||||
"archive_url": "https://api.github.com/repos/mweinelt/nixpkgs/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/mweinelt/nixpkgs/downloads",
|
||||
"issues_url": "https://api.github.com/repos/mweinelt/nixpkgs/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/mweinelt/nixpkgs/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/mweinelt/nixpkgs/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/mweinelt/nixpkgs/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/mweinelt/nixpkgs/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/mweinelt/nixpkgs/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/mweinelt/nixpkgs/deployments",
|
||||
"created_at": "2017-08-30T18:59:28Z",
|
||||
"updated_at": "2023-01-31T16:52:24Z",
|
||||
"pushed_at": "2024-10-04T00:24:53Z",
|
||||
"git_url": "git://github.com/mweinelt/nixpkgs.git",
|
||||
"ssh_url": "git@github.com:mweinelt/nixpkgs.git",
|
||||
"clone_url": "https://github.com/mweinelt/nixpkgs.git",
|
||||
"svn_url": "https://github.com/mweinelt/nixpkgs",
|
||||
"homepage": null,
|
||||
"size": 4358923,
|
||||
"stargazers_count": 1,
|
||||
"watchers_count": 1,
|
||||
"language": "Nix",
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": false,
|
||||
"has_pages": false,
|
||||
"has_discussions": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 2,
|
||||
"license": {
|
||||
"key": "mit",
|
||||
"name": "MIT License",
|
||||
"spdx_id": "MIT",
|
||||
"url": "https://api.github.com/licenses/mit",
|
||||
"node_id": "MDc6TGljZW5zZTEz"
|
||||
},
|
||||
"allow_forking": true,
|
||||
"is_template": false,
|
||||
"web_commit_signoff_required": false,
|
||||
"topics": [
|
||||
|
||||
],
|
||||
"visibility": "public",
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 1,
|
||||
"default_branch": "master"
|
||||
}
|
||||
},
|
||||
"base": {
|
||||
"label": "NixOS:master",
|
||||
"ref": "master",
|
||||
"sha": "2b40f1b3c890531e18d8d09a53bc1a62c4add99e",
|
||||
"user": {
|
||||
"login": "NixOS",
|
||||
"id": 487568,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjQ4NzU2OA==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/487568?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/NixOS",
|
||||
"html_url": "https://github.com/NixOS",
|
||||
"followers_url": "https://api.github.com/users/NixOS/followers",
|
||||
"following_url": "https://api.github.com/users/NixOS/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/NixOS/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/NixOS/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/NixOS/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/NixOS/orgs",
|
||||
"repos_url": "https://api.github.com/users/NixOS/repos",
|
||||
"events_url": "https://api.github.com/users/NixOS/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/NixOS/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"repo": {
|
||||
"id": 4542716,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnk0NTQyNzE2",
|
||||
"name": "nixpkgs",
|
||||
"full_name": "NixOS/nixpkgs",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "NixOS",
|
||||
"id": 487568,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjQ4NzU2OA==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/487568?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/NixOS",
|
||||
"html_url": "https://github.com/NixOS",
|
||||
"followers_url": "https://api.github.com/users/NixOS/followers",
|
||||
"following_url": "https://api.github.com/users/NixOS/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/NixOS/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/NixOS/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/NixOS/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/NixOS/orgs",
|
||||
"repos_url": "https://api.github.com/users/NixOS/repos",
|
||||
"events_url": "https://api.github.com/users/NixOS/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/NixOS/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/NixOS/nixpkgs",
|
||||
"description": "Nix Packages collection & NixOS",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs",
|
||||
"forks_url": "https://api.github.com/repos/NixOS/nixpkgs/forks",
|
||||
"keys_url": "https://api.github.com/repos/NixOS/nixpkgs/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/NixOS/nixpkgs/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/NixOS/nixpkgs/teams",
|
||||
"hooks_url": "https://api.github.com/repos/NixOS/nixpkgs/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/NixOS/nixpkgs/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/NixOS/nixpkgs/events",
|
||||
"assignees_url": "https://api.github.com/repos/NixOS/nixpkgs/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/NixOS/nixpkgs/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/NixOS/nixpkgs/tags",
|
||||
"blobs_url": "https://api.github.com/repos/NixOS/nixpkgs/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/NixOS/nixpkgs/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/NixOS/nixpkgs/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/NixOS/nixpkgs/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/NixOS/nixpkgs/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/NixOS/nixpkgs/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/NixOS/nixpkgs/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/NixOS/nixpkgs/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/NixOS/nixpkgs/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/NixOS/nixpkgs/subscription",
|
||||
"commits_url": "https://api.github.com/repos/NixOS/nixpkgs/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/NixOS/nixpkgs/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/NixOS/nixpkgs/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/NixOS/nixpkgs/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/NixOS/nixpkgs/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/NixOS/nixpkgs/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/NixOS/nixpkgs/merges",
|
||||
"archive_url": "https://api.github.com/repos/NixOS/nixpkgs/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/NixOS/nixpkgs/downloads",
|
||||
"issues_url": "https://api.github.com/repos/NixOS/nixpkgs/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/NixOS/nixpkgs/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/NixOS/nixpkgs/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/NixOS/nixpkgs/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/NixOS/nixpkgs/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/NixOS/nixpkgs/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/NixOS/nixpkgs/deployments",
|
||||
"created_at": "2012-06-04T02:49:46Z",
|
||||
"updated_at": "2024-10-06T22:10:34Z",
|
||||
"pushed_at": "2024-10-06T22:19:24Z",
|
||||
"git_url": "git://github.com/NixOS/nixpkgs.git",
|
||||
"ssh_url": "git@github.com:NixOS/nixpkgs.git",
|
||||
"clone_url": "https://github.com/NixOS/nixpkgs.git",
|
||||
"svn_url": "https://github.com/NixOS/nixpkgs",
|
||||
"homepage": "",
|
||||
"size": 4523255,
|
||||
"stargazers_count": 17645,
|
||||
"watchers_count": 17645,
|
||||
"language": "Nix",
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": false,
|
||||
"has_pages": false,
|
||||
"has_discussions": false,
|
||||
"forks_count": 13801,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 15261,
|
||||
"license": {
|
||||
"key": "mit",
|
||||
"name": "MIT License",
|
||||
"spdx_id": "MIT",
|
||||
"url": "https://api.github.com/licenses/mit",
|
||||
"node_id": "MDc6TGljZW5zZTEz"
|
||||
},
|
||||
"allow_forking": true,
|
||||
"is_template": false,
|
||||
"web_commit_signoff_required": false,
|
||||
"topics": [
|
||||
"hacktoberfest",
|
||||
"linux",
|
||||
"nix",
|
||||
"nixos",
|
||||
"nixpkgs"
|
||||
],
|
||||
"visibility": "public",
|
||||
"forks": 13801,
|
||||
"open_issues": 15261,
|
||||
"watchers": 17645,
|
||||
"default_branch": "master"
|
||||
}
|
||||
},
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/pulls/345769"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://github.com/NixOS/nixpkgs/pull/345769"
|
||||
},
|
||||
"issue": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/issues/345769"
|
||||
},
|
||||
"comments": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/issues/345769/comments"
|
||||
},
|
||||
"review_comments": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/pulls/345769/comments"
|
||||
},
|
||||
"review_comment": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}"
|
||||
},
|
||||
"commits": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/pulls/345769/commits"
|
||||
},
|
||||
"statuses": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/statuses/ee93526fc9f1de32f23df4187f3e573eeafc562d"
|
||||
}
|
||||
},
|
||||
"author_association": "MEMBER",
|
||||
"auto_merge": null,
|
||||
"active_lock_reason": null,
|
||||
"merged": true,
|
||||
"mergeable": null,
|
||||
"rebaseable": null,
|
||||
"mergeable_state": "unknown",
|
||||
"merged_by": {
|
||||
"login": "mweinelt",
|
||||
"id": 131599,
|
||||
"node_id": "MDQ6VXNlcjEzMTU5OQ==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/131599?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/mweinelt",
|
||||
"html_url": "https://github.com/mweinelt",
|
||||
"followers_url": "https://api.github.com/users/mweinelt/followers",
|
||||
"following_url": "https://api.github.com/users/mweinelt/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/mweinelt/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/mweinelt/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/mweinelt/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/mweinelt/orgs",
|
||||
"repos_url": "https://api.github.com/users/mweinelt/repos",
|
||||
"events_url": "https://api.github.com/users/mweinelt/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/mweinelt/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"comments": 2,
|
||||
"review_comments": 0,
|
||||
"maintainer_can_modify": false,
|
||||
"commits": 4,
|
||||
"additions": 419,
|
||||
"deletions": 419,
|
||||
"changed_files": 2
|
||||
}
|
||||
|
468
tests/fixtures/pulls_346022.json
vendored
Normal file
468
tests/fixtures/pulls_346022.json
vendored
Normal file
@@ -0,0 +1,468 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/pulls/346022",
|
||||
"id": 2104407907,
|
||||
"node_id": "PR_kwDOAEVQ_M59brdj",
|
||||
"html_url": "https://github.com/NixOS/nixpkgs/pull/346022",
|
||||
"diff_url": "https://github.com/NixOS/nixpkgs/pull/346022.diff",
|
||||
"patch_url": "https://github.com/NixOS/nixpkgs/pull/346022.patch",
|
||||
"issue_url": "https://api.github.com/repos/NixOS/nixpkgs/issues/346022",
|
||||
"number": 346022,
|
||||
"state": "closed",
|
||||
"locked": false,
|
||||
"title": "[Backport release-24.05] Firefox: 130.0.1 -> 131.0; 128.2.0esr -> 128.3.0esr; 115.15.0esr -> 115.16.0esr",
|
||||
"user": {
|
||||
"login": "github-actions[bot]",
|
||||
"id": 41898282,
|
||||
"node_id": "MDM6Qm90NDE4OTgyODI=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
|
||||
"html_url": "https://github.com/apps/github-actions",
|
||||
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
|
||||
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
|
||||
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
|
||||
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
|
||||
"type": "Bot",
|
||||
"site_admin": false
|
||||
},
|
||||
"body": "Bot-based backport to `release-24.05`, triggered by a label in #345769.\n\n* [x] Before merging, ensure that this backport is [acceptable for the release](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#changes-acceptable-for-releases).\n * Even as a non-commiter, if you find that it is not acceptable, leave a comment.",
|
||||
"created_at": "2024-10-02T22:45:00Z",
|
||||
"updated_at": "2024-10-04T00:25:16Z",
|
||||
"closed_at": "2024-10-04T00:25:13Z",
|
||||
"merged_at": "2024-10-04T00:25:13Z",
|
||||
"merge_commit_sha": "1e6376619b9192dc7603e07d7187572c45048dd7",
|
||||
"assignee": null,
|
||||
"assignees": [
|
||||
|
||||
],
|
||||
"requested_reviewers": [
|
||||
{
|
||||
"login": "mweinelt",
|
||||
"id": 131599,
|
||||
"node_id": "MDQ6VXNlcjEzMTU5OQ==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/131599?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/mweinelt",
|
||||
"html_url": "https://github.com/mweinelt",
|
||||
"followers_url": "https://api.github.com/users/mweinelt/followers",
|
||||
"following_url": "https://api.github.com/users/mweinelt/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/mweinelt/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/mweinelt/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/mweinelt/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/mweinelt/orgs",
|
||||
"repos_url": "https://api.github.com/users/mweinelt/repos",
|
||||
"events_url": "https://api.github.com/users/mweinelt/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/mweinelt/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
{
|
||||
"login": "lovesegfault",
|
||||
"id": 7243783,
|
||||
"node_id": "MDQ6VXNlcjcyNDM3ODM=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7243783?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/lovesegfault",
|
||||
"html_url": "https://github.com/lovesegfault",
|
||||
"followers_url": "https://api.github.com/users/lovesegfault/followers",
|
||||
"following_url": "https://api.github.com/users/lovesegfault/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lovesegfault/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/lovesegfault/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/lovesegfault/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/lovesegfault/orgs",
|
||||
"repos_url": "https://api.github.com/users/lovesegfault/repos",
|
||||
"events_url": "https://api.github.com/users/lovesegfault/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/lovesegfault/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
],
|
||||
"requested_teams": [
|
||||
|
||||
],
|
||||
"labels": [
|
||||
{
|
||||
"id": 126506420,
|
||||
"node_id": "MDU6TGFiZWwxMjY1MDY0MjA=",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/labels/1.severity:%20security",
|
||||
"name": "1.severity: security",
|
||||
"color": "e11d21",
|
||||
"default": false,
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"id": 731734101,
|
||||
"node_id": "MDU6TGFiZWw3MzE3MzQxMDE=",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/labels/10.rebuild-linux:%2011-100",
|
||||
"name": "10.rebuild-linux: 11-100",
|
||||
"color": "fbca04",
|
||||
"default": false,
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"id": 731735222,
|
||||
"node_id": "MDU6TGFiZWw3MzE3MzUyMjI=",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/labels/10.rebuild-darwin:%201-10",
|
||||
"name": "10.rebuild-darwin: 1-10",
|
||||
"color": "eeffee",
|
||||
"default": false,
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"id": 1955058051,
|
||||
"node_id": "MDU6TGFiZWwxOTU1MDU4MDUx",
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs/labels/10.rebuild-darwin:%201",
|
||||
"name": "10.rebuild-darwin: 1",
|
||||
"color": "eeffee",
|
||||
"default": false,
|
||||
"description": ""
|
||||
}
|
||||
],
|
||||
"milestone": null,
|
||||
"draft": false,
|
||||
"commits_url": "https://api.github.com/repos/NixOS/nixpkgs/pulls/346022/commits",
|
||||
"review_comments_url": "https://api.github.com/repos/NixOS/nixpkgs/pulls/346022/comments",
|
||||
"review_comment_url": "https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}",
|
||||
"comments_url": "https://api.github.com/repos/NixOS/nixpkgs/issues/346022/comments",
|
||||
"statuses_url": "https://api.github.com/repos/NixOS/nixpkgs/statuses/0010c39a77012492a1602258ad8e3fd5e9377bf6",
|
||||
"head": {
|
||||
"label": "NixOS:backport-345769-to-release-24.05",
|
||||
"ref": "backport-345769-to-release-24.05",
|
||||
"sha": "0010c39a77012492a1602258ad8e3fd5e9377bf6",
|
||||
"user": {
|
||||
"login": "NixOS",
|
||||
"id": 487568,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjQ4NzU2OA==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/487568?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/NixOS",
|
||||
"html_url": "https://github.com/NixOS",
|
||||
"followers_url": "https://api.github.com/users/NixOS/followers",
|
||||
"following_url": "https://api.github.com/users/NixOS/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/NixOS/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/NixOS/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/NixOS/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/NixOS/orgs",
|
||||
"repos_url": "https://api.github.com/users/NixOS/repos",
|
||||
"events_url": "https://api.github.com/users/NixOS/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/NixOS/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"repo": {
|
||||
"id": 4542716,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnk0NTQyNzE2",
|
||||
"name": "nixpkgs",
|
||||
"full_name": "NixOS/nixpkgs",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "NixOS",
|
||||
"id": 487568,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjQ4NzU2OA==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/487568?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/NixOS",
|
||||
"html_url": "https://github.com/NixOS",
|
||||
"followers_url": "https://api.github.com/users/NixOS/followers",
|
||||
"following_url": "https://api.github.com/users/NixOS/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/NixOS/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/NixOS/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/NixOS/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/NixOS/orgs",
|
||||
"repos_url": "https://api.github.com/users/NixOS/repos",
|
||||
"events_url": "https://api.github.com/users/NixOS/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/NixOS/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/NixOS/nixpkgs",
|
||||
"description": "Nix Packages collection & NixOS",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs",
|
||||
"forks_url": "https://api.github.com/repos/NixOS/nixpkgs/forks",
|
||||
"keys_url": "https://api.github.com/repos/NixOS/nixpkgs/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/NixOS/nixpkgs/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/NixOS/nixpkgs/teams",
|
||||
"hooks_url": "https://api.github.com/repos/NixOS/nixpkgs/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/NixOS/nixpkgs/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/NixOS/nixpkgs/events",
|
||||
"assignees_url": "https://api.github.com/repos/NixOS/nixpkgs/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/NixOS/nixpkgs/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/NixOS/nixpkgs/tags",
|
||||
"blobs_url": "https://api.github.com/repos/NixOS/nixpkgs/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/NixOS/nixpkgs/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/NixOS/nixpkgs/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/NixOS/nixpkgs/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/NixOS/nixpkgs/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/NixOS/nixpkgs/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/NixOS/nixpkgs/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/NixOS/nixpkgs/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/NixOS/nixpkgs/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/NixOS/nixpkgs/subscription",
|
||||
"commits_url": "https://api.github.com/repos/NixOS/nixpkgs/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/NixOS/nixpkgs/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/NixOS/nixpkgs/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/NixOS/nixpkgs/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/NixOS/nixpkgs/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/NixOS/nixpkgs/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/NixOS/nixpkgs/merges",
|
||||
"archive_url": "https://api.github.com/repos/NixOS/nixpkgs/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/NixOS/nixpkgs/downloads",
|
||||
"issues_url": "https://api.github.com/repos/NixOS/nixpkgs/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/NixOS/nixpkgs/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/NixOS/nixpkgs/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/NixOS/nixpkgs/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/NixOS/nixpkgs/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/NixOS/nixpkgs/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/NixOS/nixpkgs/deployments",
|
||||
"created_at": "2012-06-04T02:49:46Z",
|
||||
"updated_at": "2024-10-06T23:37:45Z",
|
||||
"pushed_at": "2024-10-06T23:20:18Z",
|
||||
"git_url": "git://github.com/NixOS/nixpkgs.git",
|
||||
"ssh_url": "git@github.com:NixOS/nixpkgs.git",
|
||||
"clone_url": "https://github.com/NixOS/nixpkgs.git",
|
||||
"svn_url": "https://github.com/NixOS/nixpkgs",
|
||||
"homepage": "",
|
||||
"size": 4523386,
|
||||
"stargazers_count": 17644,
|
||||
"watchers_count": 17644,
|
||||
"language": "Nix",
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": false,
|
||||
"has_pages": false,
|
||||
"has_discussions": false,
|
||||
"forks_count": 13801,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 15261,
|
||||
"license": {
|
||||
"key": "mit",
|
||||
"name": "MIT License",
|
||||
"spdx_id": "MIT",
|
||||
"url": "https://api.github.com/licenses/mit",
|
||||
"node_id": "MDc6TGljZW5zZTEz"
|
||||
},
|
||||
"allow_forking": true,
|
||||
"is_template": false,
|
||||
"web_commit_signoff_required": false,
|
||||
"topics": [
|
||||
"hacktoberfest",
|
||||
"linux",
|
||||
"nix",
|
||||
"nixos",
|
||||
"nixpkgs"
|
||||
],
|
||||
"visibility": "public",
|
||||
"forks": 13801,
|
||||
"open_issues": 15261,
|
||||
"watchers": 17644,
|
||||
"default_branch": "master"
|
||||
}
|
||||
},
|
||||
"base": {
|
||||
"label": "NixOS:release-24.05",
|
||||
"ref": "release-24.05",
|
||||
"sha": "5966581aa04be7eff830b9e1457d56dc70a0b798",
|
||||
"user": {
|
||||
"login": "NixOS",
|
||||
"id": 487568,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjQ4NzU2OA==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/487568?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/NixOS",
|
||||
"html_url": "https://github.com/NixOS",
|
||||
"followers_url": "https://api.github.com/users/NixOS/followers",
|
||||
"following_url": "https://api.github.com/users/NixOS/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/NixOS/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/NixOS/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/NixOS/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/NixOS/orgs",
|
||||
"repos_url": "https://api.github.com/users/NixOS/repos",
|
||||
"events_url": "https://api.github.com/users/NixOS/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/NixOS/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"repo": {
|
||||
"id": 4542716,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnk0NTQyNzE2",
|
||||
"name": "nixpkgs",
|
||||
"full_name": "NixOS/nixpkgs",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "NixOS",
|
||||
"id": 487568,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjQ4NzU2OA==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/487568?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/NixOS",
|
||||
"html_url": "https://github.com/NixOS",
|
||||
"followers_url": "https://api.github.com/users/NixOS/followers",
|
||||
"following_url": "https://api.github.com/users/NixOS/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/NixOS/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/NixOS/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/NixOS/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/NixOS/orgs",
|
||||
"repos_url": "https://api.github.com/users/NixOS/repos",
|
||||
"events_url": "https://api.github.com/users/NixOS/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/NixOS/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/NixOS/nixpkgs",
|
||||
"description": "Nix Packages collection & NixOS",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/NixOS/nixpkgs",
|
||||
"forks_url": "https://api.github.com/repos/NixOS/nixpkgs/forks",
|
||||
"keys_url": "https://api.github.com/repos/NixOS/nixpkgs/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/NixOS/nixpkgs/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/NixOS/nixpkgs/teams",
|
||||
"hooks_url": "https://api.github.com/repos/NixOS/nixpkgs/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/NixOS/nixpkgs/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/NixOS/nixpkgs/events",
|
||||
"assignees_url": "https://api.github.com/repos/NixOS/nixpkgs/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/NixOS/nixpkgs/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/NixOS/nixpkgs/tags",
|
||||
"blobs_url": "https://api.github.com/repos/NixOS/nixpkgs/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/NixOS/nixpkgs/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/NixOS/nixpkgs/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/NixOS/nixpkgs/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/NixOS/nixpkgs/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/NixOS/nixpkgs/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/NixOS/nixpkgs/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/NixOS/nixpkgs/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/NixOS/nixpkgs/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/NixOS/nixpkgs/subscription",
|
||||
"commits_url": "https://api.github.com/repos/NixOS/nixpkgs/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/NixOS/nixpkgs/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/NixOS/nixpkgs/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/NixOS/nixpkgs/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/NixOS/nixpkgs/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/NixOS/nixpkgs/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/NixOS/nixpkgs/merges",
|
||||
"archive_url": "https://api.github.com/repos/NixOS/nixpkgs/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/NixOS/nixpkgs/downloads",
|
||||
"issues_url": "https://api.github.com/repos/NixOS/nixpkgs/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/NixOS/nixpkgs/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/NixOS/nixpkgs/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/NixOS/nixpkgs/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/NixOS/nixpkgs/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/NixOS/nixpkgs/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/NixOS/nixpkgs/deployments",
|
||||
"created_at": "2012-06-04T02:49:46Z",
|
||||
"updated_at": "2024-10-06T23:37:45Z",
|
||||
"pushed_at": "2024-10-06T23:20:18Z",
|
||||
"git_url": "git://github.com/NixOS/nixpkgs.git",
|
||||
"ssh_url": "git@github.com:NixOS/nixpkgs.git",
|
||||
"clone_url": "https://github.com/NixOS/nixpkgs.git",
|
||||
"svn_url": "https://github.com/NixOS/nixpkgs",
|
||||
"homepage": "",
|
||||
"size": 4523386,
|
||||
"stargazers_count": 17644,
|
||||
"watchers_count": 17644,
|
||||
"language": "Nix",
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": false,
|
||||
"has_pages": false,
|
||||
"has_discussions": false,
|
||||
"forks_count": 13801,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 15261,
|
||||
"license": {
|
||||
"key": "mit",
|
||||
"name": "MIT License",
|
||||
"spdx_id": "MIT",
|
||||
"url": "https://api.github.com/licenses/mit",
|
||||
"node_id": "MDc6TGljZW5zZTEz"
|
||||
},
|
||||
"allow_forking": true,
|
||||
"is_template": false,
|
||||
"web_commit_signoff_required": false,
|
||||
"topics": [
|
||||
"hacktoberfest",
|
||||
"linux",
|
||||
"nix",
|
||||
"nixos",
|
||||
"nixpkgs"
|
||||
],
|
||||
"visibility": "public",
|
||||
"forks": 13801,
|
||||
"open_issues": 15261,
|
||||
"watchers": 17644,
|
||||
"default_branch": "master"
|
||||
}
|
||||
},
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/pulls/346022"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://github.com/NixOS/nixpkgs/pull/346022"
|
||||
},
|
||||
"issue": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/issues/346022"
|
||||
},
|
||||
"comments": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/issues/346022/comments"
|
||||
},
|
||||
"review_comments": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/pulls/346022/comments"
|
||||
},
|
||||
"review_comment": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}"
|
||||
},
|
||||
"commits": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/pulls/346022/commits"
|
||||
},
|
||||
"statuses": {
|
||||
"href": "https://api.github.com/repos/NixOS/nixpkgs/statuses/0010c39a77012492a1602258ad8e3fd5e9377bf6"
|
||||
}
|
||||
},
|
||||
"author_association": "CONTRIBUTOR",
|
||||
"auto_merge": null,
|
||||
"active_lock_reason": null,
|
||||
"merged": true,
|
||||
"mergeable": null,
|
||||
"rebaseable": null,
|
||||
"mergeable_state": "unknown",
|
||||
"merged_by": {
|
||||
"login": "mweinelt",
|
||||
"id": 131599,
|
||||
"node_id": "MDQ6VXNlcjEzMTU5OQ==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/131599?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/mweinelt",
|
||||
"html_url": "https://github.com/mweinelt",
|
||||
"followers_url": "https://api.github.com/users/mweinelt/followers",
|
||||
"following_url": "https://api.github.com/users/mweinelt/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/mweinelt/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/mweinelt/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/mweinelt/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/mweinelt/orgs",
|
||||
"repos_url": "https://api.github.com/users/mweinelt/repos",
|
||||
"events_url": "https://api.github.com/users/mweinelt/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/mweinelt/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"comments": 1,
|
||||
"review_comments": 0,
|
||||
"maintainer_can_modify": false,
|
||||
"commits": 4,
|
||||
"additions": 419,
|
||||
"deletions": 419,
|
||||
"changed_files": 2
|
||||
}
|
||||
|
32
tests/helpers/mocks.py
Normal file
32
tests/helpers/mocks.py
Normal file
@@ -0,0 +1,32 @@
|
||||
import requests
|
||||
import json
|
||||
|
||||
|
||||
def mocked_requests_get(*args, **kwargs):
|
||||
class MockedResponse:
|
||||
def __init__(self, json_data, status_code):
|
||||
self.json_data = json_data
|
||||
self.status_code = status_code
|
||||
|
||||
def json(self):
|
||||
return json.loads(self.json_data)
|
||||
|
||||
def raise_for_status(self):
|
||||
if self.status_code not in [200, 201]:
|
||||
raise requests.exceptions.HTTPError()
|
||||
|
||||
if "pulls" in args[0]:
|
||||
pr = args[0].split("/")[-1]
|
||||
with open(f"tests/fixtures/pulls_{pr}.json") as f:
|
||||
data = f.read()
|
||||
return MockedResponse(data, 200)
|
||||
elif "compare" in args[0]:
|
||||
branch, commit_sha = args[0].split("/")[-1].split("...")
|
||||
with open(f"tests/fixtures/compare_{branch}_{commit_sha}.json") as f:
|
||||
data = f.read()
|
||||
return MockedResponse(data, 200)
|
||||
elif "comments" in args[0]:
|
||||
pr = args[0].split("/")[-2]
|
||||
with open(f"tests/fixtures/comments_{pr}.json") as f:
|
||||
data = f.read()
|
||||
return MockedResponse(data, 200)
|
69
tests/test_pr.py
Normal file
69
tests/test_pr.py
Normal file
@@ -0,0 +1,69 @@
|
||||
import unittest
|
||||
import unittest.mock
|
||||
|
||||
from nixprstatus.pr import commit_in_branch, pr_merge_status, commits_since
|
||||
from tests.helpers.mocks import mocked_requests_get
|
||||
|
||||
|
||||
class TestPRMergeStatus(unittest.TestCase):
|
||||
@unittest.mock.patch("requests.get", side_effect=mocked_requests_get)
|
||||
def test_pr_merge_status_345583(self, mock_get):
|
||||
pr = 345583
|
||||
branches = ["master", "nixos-unstable", "nixos-24.05"]
|
||||
|
||||
res = pr_merge_status(pr, branches, check_backport=False)
|
||||
self.assertTrue(res.merged)
|
||||
self.assertTrue(res.branches["master"])
|
||||
self.assertTrue(res.branches["nixos-unstable"])
|
||||
self.assertFalse(res.branches["nixos-24.05"])
|
||||
|
||||
@unittest.mock.patch("requests.get", side_effect=mocked_requests_get)
|
||||
def test_pr_merge_status_backport_345769(self, mock_get):
|
||||
pr = 345769
|
||||
branches = ["nixos-24.05"]
|
||||
|
||||
res = pr_merge_status(pr, branches, check_backport=True)
|
||||
self.assertTrue(res.merged)
|
||||
self.assertTrue(res.branches["nixos-24.05 (#346022)"])
|
||||
|
||||
@unittest.mock.patch("requests.get", side_effect=mocked_requests_get)
|
||||
def test_pr_merge_status_title_345769(self, mock_get):
|
||||
pr = 345769
|
||||
branches = ["nixos-24.05"]
|
||||
expected_title = "Firefox: 130.0.1 -> 131.0; 128.2.0esr -> 128.3.0esr; 115.15.0esr -> 115.16.0esr"
|
||||
|
||||
res = pr_merge_status(pr, branches, check_backport=True)
|
||||
self.assertEqual(res.title, expected_title)
|
||||
|
||||
@unittest.mock.patch("requests.get", side_effect=mocked_requests_get)
|
||||
def test_pr_merge_status_no_check_master_345583(self, mock_get):
|
||||
pr = 345583
|
||||
branches = ["master", "nixos-unstable", "nixos-24.05"]
|
||||
master_compare_url = "https://api.github.com/repos/NixOS/nixpkgs/compare/master...2c5fac3edf2d00d948253e392ec1604b29b38f14"
|
||||
|
||||
res = pr_merge_status(pr, branches, check_backport=False)
|
||||
self.assertTrue(res.merged)
|
||||
self.assertTrue(res.branches["master"])
|
||||
|
||||
urls_called = [call[0][0] for call in mock_get.call_args_list]
|
||||
self.assertFalse(master_compare_url in urls_called)
|
||||
|
||||
|
||||
class TestCommitInBranch(unittest.TestCase):
|
||||
@unittest.mock.patch("requests.get", side_effect=mocked_requests_get)
|
||||
def test_commit_in_branch_2c5fac3e(self, mock_get):
|
||||
commit_sha = "2c5fac3edf2d00d948253e392ec1604b29b38f14"
|
||||
|
||||
res = commit_in_branch(commit_sha, "master")
|
||||
self.assertTrue(res)
|
||||
res = commit_in_branch(commit_sha, "nixos-24.05")
|
||||
self.assertFalse(res)
|
||||
|
||||
|
||||
class TestCommitsSince(unittest.TestCase):
|
||||
@unittest.mock.patch("requests.get", side_effect=mocked_requests_get)
|
||||
def test_commits_since_27e30d17(self, mock_get):
|
||||
commit_sha = "27e30d177e57d912d614c88c622dcfdb2e6e6515"
|
||||
|
||||
res = commits_since("nixos-unstable", commit_sha)
|
||||
self.assertEqual(res, 795)
|
40
tests/test_watchlist.py
Normal file
40
tests/test_watchlist.py
Normal file
@@ -0,0 +1,40 @@
|
||||
from nixprstatus.watchlist import Watchlist, PRInfo
|
||||
from tempfile import TemporaryDirectory
|
||||
import unittest
|
||||
|
||||
from tests.helpers.mocks import mocked_requests_get
|
||||
|
||||
|
||||
class TestWatchlist(unittest.TestCase):
|
||||
def test_save_load(self):
|
||||
with TemporaryDirectory() as d:
|
||||
filename = f"{d}/test.json"
|
||||
|
||||
watchlist = Watchlist(prs=[PRInfo(pr=1, title="PR 1")])
|
||||
watchlist.to_file(filename)
|
||||
|
||||
# Check that the file was written correctly
|
||||
with open(filename, "r") as f:
|
||||
self.assertEqual(watchlist.model_dump_json(), f.read())
|
||||
|
||||
# Check that the file can be read back
|
||||
loaded = Watchlist.from_file(filename)
|
||||
self.assertEqual(watchlist, loaded)
|
||||
|
||||
@unittest.mock.patch("requests.get", side_effect=mocked_requests_get)
|
||||
def test_add_pr(self, mock_get):
|
||||
w = Watchlist(prs=[])
|
||||
w.add_pr(345583)
|
||||
self.assertEqual(len(w.prs), 1)
|
||||
self.assertEqual(w.prs[0].title, "wireshark: 4.2.6 -> 4.2.7")
|
||||
|
||||
def test_get_pr(self):
|
||||
w = Watchlist(prs=[PRInfo(pr=1, title="PR 1")])
|
||||
self.assertEqual(w.pr(1), PRInfo(pr=1, title="PR 1"))
|
||||
self.assertEqual(w.pr(2), None)
|
||||
|
||||
def test_contains(self):
|
||||
w = Watchlist(prs=[PRInfo(pr=1, title="PR 1")])
|
||||
self.assertIn(PRInfo(pr=1, title="PR 1"), w)
|
||||
self.assertIn(1, w)
|
||||
self.assertNotIn(2, w)
|
Reference in New Issue
Block a user