Christina Sørensen
2ec23ddcde
fix(flake): resolve build failure with cargo.lock update
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-01-27 16:55:03 +01:00
Christina Sørensen
39e7c02d55
build(flake): change flake inputs
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-01-27 15:52:36 +01:00
Christina Sørensen
67ced3ff8a
chore(flake): bump lockfile
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-01-27 15:32:43 +01:00
Christina Sørensen
80b63969c6
feat(reuse): reuse compliance
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-17 09:05:16 +01:00
dependabot[bot]
8b86dcafb6
build(deps): bump rustix from 0.38.7 to 0.38.24
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.38.7 to 0.38.24.
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.7...v0.38.24 )
---
updated-dependencies:
- dependency-name: rustix
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-17 08:48:15 +01:00
Christina Sørensen
c5c988d465
build(flake): add pre-commit-hook
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-17 08:45:04 +01:00
Christina Sørensen
50bd636a64
chore(flake): move to semnix, update inputs
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-17 08:41:00 +01:00
Christina Sørensen
4a0f855b67
refactor(link): add Ok and make IoError more understandable
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-17 07:46:29 +02:00
Christina Sørensen
f17e2a5986
refactor(link): propagate canonicalization errors
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-17 05:09:30 +00:00
Christina Sørensen
fe7c932c69
refactor(link): remove TODO comment
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-17 05:09:30 +00:00
Christina Sørensen
1d72d44e04
refactor(link): remove debug error messages
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-17 05:09:30 +00:00
Christina Sørensen
cf4877dad5
refactor(link): add LinkError::IoError wrapping, fix happy path
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-17 05:09:30 +00:00
Christina Sørensen
7113f235c5
refactor(link): add error handling for linking
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-17 05:09:30 +00:00
Christina Sørensen
6b317ee6af
refactor(link): add LinkError and use for handle_file_exists
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-17 05:09:30 +00:00
Christina Sørensen
cea9a4eb43
feat(clap): add force, unlink flags
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-16 18:46:23 +02:00
Christina Sørensen
b1a0c99264
build(git): add .direnv to gitignore
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-06 16:54:08 +02:00
Christina Sørensen
03b5a617c6
build(nix): do crane EZA style
...
This is essentailly taken from the work of 9glenda
https://github.com/eza-community/eza/pull/462
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-06 16:16:56 +02:00
Christina Sørensen
4f4cd5b7cb
docs: remove outdated gif, make readme cool
2023-10-06 13:54:19 +00:00
Christina Sørensen
faf3ca8554
docs: fix readme
2023-09-29 10:57:46 +00:00
Christina Sørensen
5e8f06cdb7
docs: explain dhall workflow
...
Leaving a rope for people that wonder how to do this in a less scary way.
2023-09-29 12:57:01 +02:00
Christina Sørensen
6081fea08c
build(cargo): set MSRV to 1.69
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-09-25 10:52:35 +02:00
Christina Sørensen
5aabd48fec
chore(flake): bump flake lock
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-09-25 10:45:59 +02:00
Christina Sørensen
c50483b07f
build(git): add gitignore
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-09-25 10:45:25 +02:00
Christina Sørensen
17e11726c1
chore: fix code of conduct
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:44:09 +02:00
Christina Sørensen
d32dbed166
ci: borrow ci setup from eza
2023-08-09 14:40:17 +00:00
Christina Sørensen
0a7e6cf439
doc: fix readme
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:36:56 +02:00
Christina Sørensen
658a5c9d8c
chore: name project seidr
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
33c708f01d
fix: deperacte lib.rs
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
3068bce5a8
fix: remove feature
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
a3fc76f8ff
chore: fix rust version for nixpkgs compatibility
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
93054d0c1c
refactor: code quality improvements
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
66d8014872
feat: kind gitrepo validator+testing
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
b5ab764ea7
fix(git): fix case of validators
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
e12dae4ebc
feat: handle category without repos
...
This is a dirty hack, but we won't have to duplicate it when the kinds
field is done, so I don't feel /too/ bad about including it :D
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
49a6c65783
feat: made all repo fields options
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
9be5d10e28
doc(git): documented run_series macro
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
d17f14be97
refactor(git): started implementing validity check for repo kinds
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
c37cd42b7e
refactor(git): removed series_on_all
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
72533ea8e8
refactor: remove duplicate code on Config
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
6993753889
tests: added kinds to test config
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
9e4b5cef2e
feat: added repo kinds
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
93175124b8
refactor: renamed GitRepo to Repo
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
8cbff324e7
refactor: added kind field to GitRepo
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
83d2458b37
refactor: added RepoKinds enum
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
d8197b2731
refactor: made RepoFlags non exhaustive
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
98bcd7b79c
refactor: started work on generic macro
...
This is to help make series operations more generic.
This refactor has been needed for a while, and I'm very excited to
finally start working on it, but this is just the bare minimum, we
still need to handle on a repo type basis.
But also, yes, this starts the slow crawl towards generic repos intead
of hardcoded functions for each repo type (links, gitrepo) etc
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
fb5250c8e1
feat: -m flag (untested)
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
9b86d9d6fb
fix(main,cli): naming was confusing
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
8b94120214
feat(wip): repo and category selecting for subcmd
...
This starts to implement repo and category selecting for subcommands
that make use of these (push, pull, quick, fast... most of them!)
Still, this is proof of concept, now it needs to actually be made robust
and generalized, as well as implemented on all the commands.
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00
Christina Sørensen
9d8128d3aa
doc: cleaned up comments
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-09 16:27:56 +02:00