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>
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>
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>
Of course, the calling process is different from us, and we can't
actually change their PWD >_<
*sigh*
But, this can be put in e.g. an alias, which seems to be what most
jump/cd expanding types of programs do. We are not those, so, going
beyond what most of those do with ptrace and hackery is not really in
scope...
But ugh, I hate this. But I still want this feature for myself
so ¯\_(ツ)_/¯
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Setup only for loading config file for now, probably not a lot of code
here that is super intensive, but having the structure set up to bench
is pretty nice when it's needed suddenly.
Two steps ahead as always, still haven't capitalized on the architecture
rewrite, yet here I am adding this.
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Adding git to the library file makes the doctests run.
Turns out they were very broken.
This commit sets us up for a refactor, with setter and getters.
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
** [0.2.0] - 2023-07-07
*** Bug Fixes
- Made categories with only links possible
*** Features
- [**breaking**] Put links in categories
*** Miscellaneous Tasks
- Filled out Cargo.toml
- Added test.yaml to gitignore
- Fixed up code, roadmap for bump
*** Refactor
- Simple code quality changes
*** Testing
- Refactored testing, added tests dir
** [0.1.2] - 2023-07-03
*** Features
- Implemented quiet flag
*** Miscellaneous Tasks
- Bump to v0.1.2
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This is usually regenereated with a different ordering every time tests
are run. This is annoying.
It's because the underlying hashmap doesn't have ordering.
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Added all fields for [package], those where there was nothing of
interest to add were just added as comments for reference. Some of them
might be used later.
Signed-off-by: Christina Sørensen <christina@cafkafk.com>