Commit Graph

3114 Commits

Author SHA1 Message Date
291b353d9c clan-cli: actually run commands 2023-07-24 17:42:26 +02:00
e9c0432681 rename hidden-announce to hidden-ssh-announce, create qr codes
All checks were successful
build / test (push) Successful in 11s
2023-07-24 12:40:08 +02:00
930f1660e9 installer: wait for onion hostname to be available 2023-07-24 12:40:08 +02:00
d99060695f Merge pull request 'templates: add template for enw clan' (#20) from flake-template into main
All checks were successful
build / test (push) Successful in 8s
2023-07-21 13:18:53 +00:00
d17ae02a43 Merge pull request 'nixosModules.installer: move into packages' (#18) from installer-ci-hotfix into main
All checks were successful
build / test (push) Successful in 7s
Reviewed-on: #18
2023-07-21 12:12:05 +00:00
0b654c7434 apply treefmt
All checks were successful
build / test (push) Successful in 11s
2023-07-21 14:11:46 +02:00
ddaf55fd08 flake: only expose nixpkgs-cached architectures 2023-07-21 14:09:32 +02:00
74c256ca04 nixosModules.installer: move into packages 2023-07-21 14:09:32 +02:00
DavHau
7223b25ac6 clan-cli: fix tests
Some checks failed
build / test (push) Failing after 4s
2023-07-21 14:07:38 +02:00
DavHau
f370635518 python: fix dev shell command check
Some checks failed
build / test (push) Failing after 3s
2023-07-21 13:51:56 +02:00
e74ca71d41 Merge pull request 'cli' (#17) from cli into main
Some checks failed
build / test (push) Failing after 3s
Reviewed-on: #17
2023-07-21 11:51:42 +00:00
e4ccd85848 clan-cli: fix tests
Some checks failed
build / test (push) Failing after 3s
2023-07-21 13:51:10 +02:00
b7cf89dba8 clan-cli: add missing typing 2023-07-21 13:50:46 +02:00
DavHau
ca044a078c templates/python: fix type annotations
Some checks failed
build / test (push) Failing after 4s
2023-07-21 13:48:37 +02:00
DavHau
e806b5549d clan-cli: enable mypy for tests
Some checks failed
build / test (push) Failing after 8s
2023-07-21 13:43:29 +02:00
a05c550b41 Merge pull request 'add tests' (#16) from cli into main
Reviewed-on: #16
2023-07-21 11:36:41 +00:00
d2d0d39e41 add tests 2023-07-21 13:34:40 +02:00
8a9e7a9007 Merge pull request 'cli' (#15) from cli into main
Reviewed-on: #15
2023-07-21 11:31:53 +00:00
054ac3f624 clan-cli: make mypy it's own derivation
parallelize ci more.
2023-07-21 13:31:14 +02:00
7f937077cf clan-cli/tests: fixup imports 2023-07-21 13:30:49 +02:00
24c318df43 Merge pull request 'revert formatting from nixpkgs-fmt' (#14) from cli into main
Reviewed-on: #14
2023-07-21 11:10:10 +00:00
875ee61aa0 revert formatting from nixpkgs-fmt 2023-07-21 13:08:51 +02:00
9c81da4c93 Merge pull request 'cli' (#13) from cli into main
Reviewed-on: #13
2023-07-21 11:04:06 +00:00
3ce01871e5 fix black and ruff checks 2023-07-21 13:03:51 +02:00
926de547e2 clan-cli/tests: reformat 2023-07-21 12:48:26 +02:00
0bf3f42812 clan-cli: restructure according to python's module standard 2023-07-21 12:47:47 +02:00
73dbad0167 clan-cli: drop duplicate entrypoint
not sure what's the use case of multiple main function is
2023-07-21 11:30:38 +02:00
c87db7106a Merge pull request 'clan-cli: dev-shell, build, tab completion, formatting, linting, unit tests' (#11) from cli into main
Reviewed-on: #11
2023-07-21 09:26:57 +00:00
3ab90e6785 add deadnix to formatter 2023-07-21 11:25:24 +02:00
22849366d8 apply ruff autoformatting 2023-07-21 11:22:02 +02:00
88295ce77d treefmt: add ruff + black 2023-07-21 11:21:54 +02:00
e4fbb08f91 make argcomplete optional
In case someone ever messes up the PYTHONPATH this will gracefull degrade
2023-07-21 11:19:03 +02:00
DavHau
4c4ff01b64 clan-cli: write some unit tests 2023-07-21 11:19:03 +02:00
DavHau
a0701bf988 clan-cli: expose via flake packages 2023-07-21 11:19:03 +02:00
DavHau
af7e4d7bb9 clan-cli: shell completion for bash, zsh, fish 2023-07-21 11:19:03 +02:00
DavHau
1e5cce99a9 clan-cli: manage sub-commands via python argparse 2023-07-21 11:19:03 +02:00
DavHau
95df33e2bc clan-cli: rename clan-admin.py -> clan_admin.py 2023-07-21 11:19:03 +02:00
DavHau
b34141283f clan-cli: fix mypy 2023-07-21 11:19:03 +02:00
DavHau
9906d12384 clan-cli: initialize python project from template
clan-cli: remove unnecessary unit test file

clan-cli: fix shell.nix too stateful

clan-cli: remove conftest.py

clan-cli: fix flake-module.nix
2023-07-21 11:19:03 +02:00
fb394f29ae Merge pull request 'switch from alejandra -> nixpkgs-fmt' (#12) from formatting into main
Reviewed-on: #12
2023-07-21 09:15:48 +00:00
9aaac528f8 switch from alejandra -> nixpkgs-fmt
alejandra has someone questionable choices for formatting that no one would apply to there code if they would format manually.
nixpkgs-fmt seems to produce more readable results.
2023-07-21 11:15:28 +02:00
DavHau
cf583e2d44 templates/python: improve shell.nix 2023-07-21 02:05:11 +02:00
DavHau
178df2eccb templates/python: fix flake-module.nix 2023-07-21 02:05:11 +02:00
DavHau
908a79be0e templates/python: add command check to run all checks 2023-07-20 18:30:27 +02:00
DavHau
f7388021ae templates: fix default.nix for python project 2023-07-20 18:05:39 +02:00
DavHau
e445beeb0b templates: cleanup python template 2023-07-20 17:55:28 +02:00
DavHau
eaaf0d2992 Merge pull request 'templates: add python-project' (#10) from python-template into main 2023-07-20 15:49:45 +00:00
cadfb90bd3 Merge pull request 'pkgs.clan: init barebones version' (#7) from clan-init into main
Reviewed-on: #7
2023-07-19 15:56:41 +00:00
e3af3e9fb6 pkgs.clan: init barebones version 2023-07-17 18:53:29 +02:00
5ff515ac02 Merge pull request 'docs: add use-cases for different kinds of users' (#5) from use-cases into main
Reviewed-on: #5
2023-07-17 12:08:02 +00:00