A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow.
Find a file
Christina Sørensen 3d3b6d6646
feat!: implemented naive categories
Naive category implementation.

Works somewhat, including part of tests.

However, I realize now that perhaps, having unique category names in
nescesarry for subcommands.

On the other hand, allowing them to be non unique would allow splitting
up category definitions.

But finding the category in a vec would be slow...

...and I want a lot of categories probably...

I'm still working on this... here is one way to do it ᕕ( ᐛ )ᕗ

Saved in the git log for posterity.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-06-24 10:30:36 +02:00
src feat!: implemented naive categories 2023-06-24 10:30:36 +02:00
.gitignore initial commit 2023-06-08 18:50:09 +02:00
Cargo.lock feat!: add repo flags 2023-06-22 15:54:45 +02:00
Cargo.toml feat!: add repo flags 2023-06-22 15:54:45 +02:00
CODE_Of_CONDUCT.md initial commit 2023-06-08 18:50:09 +02:00
flake.lock refactor: removed unused code from flake 2023-06-18 19:34:51 +02:00
flake.nix refactor: removed unused code from flake 2023-06-18 19:34:51 +02:00
install initial commit 2023-06-08 18:50:09 +02:00
install_debug initial commit 2023-06-08 18:50:09 +02:00
LICENSE initial commit 2023-06-08 18:50:09 +02:00
README.org fix: changed config.yaml location 2023-06-18 18:06:44 +00:00

gg - git gut

A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow. Useful for dealing with "dotfiles", and with git support as a first class feature. Configuration is done throug a single yaml file, giving it a paradigm that should bring joy to those that use declarative operating systems and package managers.

Although this isn't really a case where it matters that much for performance, being written in rust instead of e.g. janky scripting languages does also mean it is snappy and reliable, and the extensive testing helps ensure regressions aren't introduced.

That said, we're in 0.0.Z, here be dragons for now.

Installation

$ git clone https://github.com/cafkafk/git
$ ./install

Configuration

If you want a template, you can copy the file from src/test/config.yaml:

$ mkdir -p ~/.config/gg/
$ cp src/test/config.yaml ~/.config/gg/config.yaml

You should seriously change this file before running any commands.

The configuration format will likely break regularly in versions 0.Y.Z.