pds: init at 0.4.74, nixos/pds: init#350645
Conversation
f315d95 to
6afa70f
Compare
|
Upstream uses PNPM, why not use the existing PNPM tooling to generate the package? That means then there's no need to store an additional lockfile in-tree. See https://nixos.org/manual/nixpkgs/stable/#javascript-pnpm for how to use nixpkgs' pnpm tooling. Edit: I see your comment. Let me see if I can improve that for the pnpm tooling. |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/4786 |
|
Upstream has updated to 0.4.67, you might want to consider updating. |
6afa70f to
0b35498
Compare
|
Managed to successfully deploy it to my server :) |
0b35498 to
4065add
Compare
|
Yeah, I didn't bother packaging the admin scripts because the main one just fetches scripts for subcommands and they all have wrong shebang. Probably upstream should be fixed to use Edit: opened a PR upstream bluesky-social/pds#121 |
You should also be able to run the |
|
Also, having looked into the |
Not really. It'll fix the main script but all it's doing is download subsequent ones that will still fail because they're not patched https://github.com/bluesky-social/pds/blob/main/pdsadmin.sh#L22-L30 Other way would be to patch the main script to use store path instead of downloading it but I wasn't sure if that's not too much change. But maybe that's a good idea to keep them locked to pds version |
yeah I'd say vendor the scripts, you could even make a new pdsadmin script in-tree and replace the one in the repo with it if you want. Removing what's essentially |
ac7f4dc to
2d67d86
Compare
|
Hm on my server |
913a3a8 to
8cabcfb
Compare
There was a problem hiding this comment.
Why do we need a temporary file?
There was a problem hiding this comment.
Cause the script tries to source it and it almost always does not exist (the default is /pds/pds.env which looks docker-ish) but even if it does we still want to use our variables instead
https://github.com/bluesky-social/pds/blob/main/pdsadmin/account.sh#L6-L7
1387952 to
3ff967c
Compare
|
I don't even have the |
|
@ofborg eval |
3ff967c to
9e2f53f
Compare
|
|
What are the blockers here? Would be nice not to have to drop into virtualisation.containers but it’s not the end of the world |
|
Ugh I didn't notice the merge conflict label, would be great if it would also ping the PR author |
9e2f53f to
7546db0
Compare
7546db0 to
2c09cb8
Compare
2c09cb8 to
6d0241e
Compare
|
Are we good to merge now @SuperSandro2000? Merge conflicts in release notes are getting quite annoying. |
Was addressed
|
This PR looks very fine, great work! To not stretch this out any further, I'm jumping in with the merge. If anybody still has nits to complain about, I encourage creating a follow-up PR. In general I'd like to see more optimistic merging in Nixpkgs to avoid situations like these, which are often discouraging for contributors. |
Things done
Self hosted server for https://bsky.social/
Closes #357466
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.