Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

WIP: archivebox: 0.7.2 -> 0.8.6rc3; nixos/archivebox: init #354836

Draft
wants to merge 34 commits into
base: master
Choose a base branch
from

Conversation

pyrox0
Copy link
Member

@pyrox0 pyrox0 commented Nov 9, 2024

Note: This PR is currently in draft state to get feedback about it. This is not ready to merge.

The plan is to merge this for the NixOS 25.05 release at the earliest, this is a breaking change so it will not be backported to 24.11.

See the upstream changelogs for all the changes between the current 0.7.2 and today:

Things done

Tasks to finish before merge(vague order, not required in this order):

  • Package all dependencies
  • Upgrade package to latest
  • Create NixOS module
  • Create tests for the module
  • Release notes
  • Deploy it on a test system and ensure it works

Folks building/testing this on non-x86_64-linux machines would be appreciated, I only have access to x86_64-linux myself.

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux (thanks @mweinelt!)
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

pkgs/development/python-modules/darkgraylib/default.nix Outdated Show resolved Hide resolved
pkgs/development/python-modules/darker/default.nix Outdated Show resolved Hide resolved
pkgs/development/python-modules/darker/default.nix Outdated Show resolved Hide resolved
pkgs/development/python-modules/darkgraylib/default.nix Outdated Show resolved Hide resolved
pkgs/development/python-modules/manageprojects/default.nix Outdated Show resolved Hide resolved
pkgs/by-name/ar/archivebox/package.nix Show resolved Hide resolved
pkgs/by-name/ar/archivebox/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/ar/archivebox/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/co/codespell/package.nix Show resolved Hide resolved
@pyrox0 pyrox0 force-pushed the archivebox-0.8.0 branch 2 times, most recently from e95d07b to ca907af Compare November 9, 2024 21:24
@pyrox0 pyrox0 force-pushed the archivebox-0.8.0 branch 2 times, most recently from 35dab76 to f47e672 Compare November 9, 2024 22:19
@ofborg ofborg bot added the 8.has: package (new) This PR adds a new package label Nov 10, 2024
@dotlambda dotlambda mentioned this pull request Nov 12, 2024
6 tasks
@pyrox0 pyrox0 force-pushed the archivebox-0.8.0 branch 2 times, most recently from be80485 to 8315cfc Compare November 15, 2024 01:25
@github-actions github-actions bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Nov 15, 2024
@pyrox0 pyrox0 changed the title WIP: archivebox: 0.7.2 -> 0.8.5rc53; nixos/archivebox: init WIP: archivebox: 0.7.2 -> 0.8.6rc0; nixos/archivebox: init Nov 15, 2024
@pyrox0 pyrox0 force-pushed the archivebox-0.8.0 branch 2 times, most recently from c4870c0 to c47fbfb Compare November 15, 2024 02:53
Copy link
Contributor

@viraptor viraptor left a comment

Choose a reason for hiding this comment

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

Looks ok. Left some questions.

pkgs/by-name/co/codespell/package.nix Show resolved Hide resolved
substituteInPlace manage_django_project/tests/test_command_coverage.py \
manage_django_project/tests/test_command_tox.py \
manage_django_project/tests/test_command_update_test_snapshot_files.py \
--replace-fail '.../bin/coverage' '${coverage}/bin/coverage'
Copy link
Contributor

Choose a reason for hiding this comment

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

Could be better to patch https://github.com/jedie/manage_django_project/blob/a07806a0304c0106f8378fad69b91de5c52f0b16/manage_django_project/tests/command_test_utils.py#L13 instead to strip the nix store path, so we don't have to patch all the separate tests.

@h7x4 h7x4 added the 8.has: module (new) This PR adds a module in `nixos/` label Nov 15, 2024
@ofborg ofborg bot requested a review from viraptor November 15, 2024 14:47
@wegank wegank added the 2.status: merge conflict This PR has merge conflicts with the target branch label Dec 10, 2024
@pyrox0 pyrox0 changed the title WIP: archivebox: 0.7.2 -> 0.8.6rc0; nixos/archivebox: init WIP: archivebox: 0.7.2 -> 0.8.6rc2; nixos/archivebox: init Dec 18, 2024
These depend on each other, so both are added here to ensure evaluation
never breaks.

python3Packages.django-tools: init at 0.56.2
python3Packages.manage-django-project: init at 0.8.0
@pyrox0 pyrox0 changed the title WIP: archivebox: 0.7.2 -> 0.8.6rc2; nixos/archivebox: init WIP: archivebox: 0.7.2 -> 0.8.6rc3; nixos/archivebox: init Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 6.topic: python 8.has: module (new) This PR adds a module in `nixos/` 8.has: module (update) This PR changes an existing module in `nixos/` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 11-100 10.rebuild-linux: 11-100
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants