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

nixos/soft-serve: init #242467

Merged
merged 2 commits into from
Oct 21, 2023
Merged

Conversation

dadada
Copy link
Contributor

@dadada dadada commented Jul 9, 2023

Description of changes

This adds a NixOS module for Soft Serve, a tasty, self-hostable Git server for the command line.

The module has a test that checks some basic things like creating users, creating a repo and cloning it. Bash is required for running the hook scripts (e.g., on push), so I added it to the path of the wrapper.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • 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/)
  • 23.11 Release Notes (or backporting 23.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.

@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-ready-for-review/3032/2420

pkgs/servers/soft-serve/default.nix Outdated Show resolved Hide resolved
pkgs/servers/soft-serve/default.nix Outdated Show resolved Hide resolved
nixos/tests/soft-serve.nix Outdated Show resolved Hide resolved
nixos/tests/soft-serve.nix Outdated Show resolved Hide resolved
nixos/modules/services/misc/soft-serve.nix Outdated Show resolved Hide resolved
nixos/modules/services/misc/soft-serve.nix Outdated Show resolved Hide resolved
nixos/modules/services/misc/soft-serve.nix Outdated Show resolved Hide resolved
nixos/modules/services/misc/soft-serve.nix Outdated Show resolved Hide resolved
nixos/modules/services/misc/soft-serve.nix Outdated Show resolved Hide resolved
nixos/modules/services/misc/soft-serve.nix Outdated Show resolved Hide resolved
@dadada dadada force-pushed the dev/dadada/init-nixos-soft-serve branch from 2861030 to c3b204c Compare July 14, 2023 17:01
@dadada dadada force-pushed the dev/dadada/init-nixos-soft-serve branch from c3b204c to bfde5e2 Compare August 2, 2023 18:43
@dadada
Copy link
Contributor Author

dadada commented Sep 15, 2023

Hi, how can we proceed with this? I think I have addressed all change requests and the branch still has no conflicts. Can this be merged?

pkgs/servers/soft-serve/default.nix Show resolved Hide resolved
nixos/tests/soft-serve.nix Outdated Show resolved Hide resolved
nixos/tests/soft-serve.nix Show resolved Hide resolved
nixos/tests/soft-serve.nix Outdated Show resolved Hide resolved
nixos/tests/soft-serve.nix Outdated Show resolved Hide resolved
nixos/modules/services/misc/soft-serve.nix Outdated Show resolved Hide resolved
@dadada dadada force-pushed the dev/dadada/init-nixos-soft-serve branch from dda88a3 to ce64489 Compare October 20, 2023 22:31
This adds bash to the PATH of soft-serve. This is
required for the hooks to work, since they
are implemented in bash.
@dadada dadada force-pushed the dev/dadada/init-nixos-soft-serve branch from ce64489 to 8bc1ba6 Compare October 20, 2023 22:40
@Janik-Haag
Copy link
Member

Result of nixpkgs-review pr 242467 run on x86_64-linux 1

1 package blacklisted:
  • nixos-install-tools
1 package built:
  • soft-serve

@dadada dadada force-pushed the dev/dadada/init-nixos-soft-serve branch 2 times, most recently from 3197960 to 4275ac8 Compare October 21, 2023 12:54
Copy link
Member

@Janik-Haag Janik-Haag left a comment

Choose a reason for hiding this comment

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

LGTM

This adds a NixOS module for Soft Serve, a tasty, self-hostable Git
server for the command line. The module has a test that checks some
basic things like creating users, creating a repo and cloning it.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
@dadada dadada force-pushed the dev/dadada/init-nixos-soft-serve branch from 4275ac8 to 77f7b5a Compare October 21, 2023 15:51
@Janik-Haag Janik-Haag merged commit abca224 into NixOS:master Oct 21, 2023
22 of 23 checks passed
@dadada dadada deleted the dev/dadada/init-nixos-soft-serve branch October 21, 2023 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants