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

weblate: init at 5.6.2, add module #325541

Merged
merged 13 commits into from
Aug 13, 2024
Merged

Conversation

erictapen
Copy link
Member

@erictapen erictapen commented Jul 8, 2024

Description of changes

This is (afaik) the third attempt to get Weblate into Nixpkgs (#48726, #169797) and is a combination of these efforts, plus my work on a separate flake https://github.com/ngi-nix/weblate which I did for Summer of Nix back then.

Marked as a draft for now, as I might need to file some changes in here as a separate PR. Also the commit structure is kinda messy and is grown over time, I'd do a cleaner rebase once it's ready for review. The project builds though and the NixOS tests run successully.

@jtojnar I included you as maintainer in a few packages you started in #48726, is that okay?

Extra thanks to @summersamara, who helped me through some python madness ❤️ .

Thanks for Summer of Nix to fund this work!

Things done

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

@github-actions github-actions bot added 6.topic: python 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 Jul 8, 2024
@fricklerhandwerk fricklerhandwerk requested a review from wegank July 8, 2024 14:05
@nixos-discourse
Copy link

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

https://discourse.nixos.org/t/2024-summer-of-nix-program-updates/46053/3

@jtojnar
Copy link
Member

jtojnar commented Jul 8, 2024

@jtojnar I included you as maintainer in a few packages you started in #48726, is that okay?

Sorry, I no longer have the capacity to maintain new packages.

@h7x4 h7x4 added the 8.has: module (new) This PR adds a module in `nixos/` label Jul 9, 2024
@ofborg ofborg bot requested a review from fabaff August 11, 2024 16:39
erictapen added a commit to erictapen/ngipkgs that referenced this pull request Aug 12, 2024
erictapen added a commit to erictapen/ngipkgs that referenced this pull request Aug 12, 2024
@fricklerhandwerk fricklerhandwerk merged commit 13c9697 into NixOS:master Aug 13, 2024
28 checks passed
@fricklerhandwerk
Copy link
Contributor

Thanks a lot everyone!

wegank pushed a commit to ngi-nix/ngipkgs that referenced this pull request Aug 13, 2024
…25541 (#331)

Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
erictapen added a commit to erictapen/ngipkgs that referenced this pull request Aug 13, 2024
This is due to Weblate being merged into Nixpkgs:
NixOS/nixpkgs#325541

Poetry2nix was only used by Weblate, so I also removed that
erictapen added a commit to erictapen/ngipkgs that referenced this pull request Aug 14, 2024
This is due to Weblate being merged into Nixpkgs:
NixOS/nixpkgs#325541

Poetry2nix was only used by Weblate, so I also removed that
wegank pushed a commit to erictapen/ngipkgs that referenced this pull request Aug 15, 2024
This is due to Weblate being merged into Nixpkgs:
NixOS/nixpkgs#325541

Poetry2nix was only used by Weblate, so I also removed that
wegank pushed a commit to ngi-nix/ngipkgs that referenced this pull request Aug 15, 2024
* flake.lock: Update

Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/154bcb95ad51bc257c2ce4043a725de6ca700ef6' (2024-08-09)
  → 'github:NixOS/nixpkgs/daf7bb95821b789db24fc1ac21f613db0c1bf2cb' (2024-08-14)

* weblate: remove package and module, only leave example

This is due to Weblate being merged into Nixpkgs:
NixOS/nixpkgs#325541

Poetry2nix was only used by Weblate, so I also removed that
@dotlambda
Copy link
Member

Did anyone even look at the Python packages during review??

@GetPsyched
Copy link
Member

I did, though at the time I wasn't aware of the newer Python package conventions. (missing the sha256 to hash was an oversight though)

@nixos-discourse
Copy link

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

https://discourse.nixos.org/t/prs-reaching-the-right-reviewers/51312/1

@erictapen
Copy link
Member Author

@dotlambda I addressed your reviews in #338217, though I don't really get the strength of your tone. Looks like it was mostly nits, that can just be solved by better linting eventually.

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 8.has: tests This PR has tests 10.rebuild-darwin: 11-100 10.rebuild-linux: 11-100 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants