aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2022-06-08 14:35:03 +0200
committerMaximilian Manz <maximilian.manz@de.clara.net>2022-06-20 11:33:04 +0200
commitbd5517ac4dac286d4255e52a081deac3ef6330fd (patch)
tree649cee09d3b582466cdb3f2611eeb9a5c1a76754
parentupdate dependencies (diff)
add readme
-rw-r--r--README.org47
1 files changed, 47 insertions, 0 deletions
diff --git a/README.org b/README.org
new file mode 100644
index 0000000..3d4bd10
--- /dev/null
+++ b/README.org
@@ -0,0 +1,47 @@
+#+title: gtree
+
+A tool to clone and pull whole group trees from a git forge, properly organized on disk.
+
+* Usage
+#+begin_src
+gtree
+Sync Gitlab Trees
+
+USAGE:
+ gtree <SUBCOMMAND> [SCOPE]
+
+ARGS:
+ <SCOPE> Only operate on this subtree
+
+OPTIONS:
+ -h, --help Print help information
+ -j, --jobs <JOBS> Number of jobs to run in parallel, 0 is automatic [default: 0]
+
+SUBCOMMANDS:
+ help Print this message or the help of the given subcommand(s)
+ list List Directories
+ sync Download new repositories and delete old ones, also update
+ update Pull and Push new commits to and from the cloned repos
+#+end_src
+
+* Config
+Default location for the config file is ~$HOME/.config/gtree/config.toml~, in the toml format, yaml is also supported.
+
+#+begin_src toml
+# Give the forge a easily identifiable name
+["gitlab.com"]
+# Configure which kind of forge this is
+# Currently only gitlab is supported
+type = "gitlab"
+
+# Set the domain name to reach the forge at
+host = "gitlab.com"
+
+# API Token for the forge
+# for gitlab this is a Personal Access Token
+# https://gitlab.com/-/profile/personal_access_tokens
+token = "HgDAfJ9tfD5xUw2L6SUm"
+
+# Directory to clone the repos into
+directory = "/home/audron/repo/gitlab.com"
+#+end_src
41 2025-05-06fix rustls missing cryptoproviderMax Audron-1/+6 2025-05-06remove too commonly used used for shifty_eyesMax Audron-1/+1 2025-05-06fix truncate on unicodeMax Audron-10/+20 fuck unicode all my homies stan ascii 2025-05-06update dependenciesMax Audron-691/+1659 2024-08-12add nix build and moduleMax Audron-5/+427 2022-02-19remove jsonnet lock fileMax Audron-36/+0 2022-02-19fix deploy to work with gitlab agentMax Audron-4/+4 2021-10-22write tons of documentation and reorganize some modulesMax Audron-65/+300 2021-10-22remove wolfram alpha url shorteningMax Audron-1/+2 2021-10-20remove failing wolfram alpha test casesMax Audron-105/+55 this is due to the url shorterner dying randomly and also just generally bad idea to call external services during unit tests. 2021-10-20bump version to 1.6.2Max Audron-3/+2 2021-10-20prepare for release on crates.ioMax Audron-39/+65 2021-10-20add async docs to macro crate and bump versionMax Audron-9/+10 2021-10-20change hook errors to be logged as warningsMax Audron-3/+3 they in nearly all cases aren't critical enough to warrant an actual error messages 2021-10-20fix configuration not loading correctly on release buildsMax Audron-8/+23 2021-10-19replace sedregex crate8-rework-sedMax Audron-20/+358 This replaces the sedregex crate with our own implementation for multiple reasons: 1. We required to access the parsed regex, this required a patch to the sedregex crate which did not get merged due to an inactive dev, blocking us from publishing on crates.Io 2. We wanted to highlight the changes done in bold 3. We want to add execution of multiple chained sed commands in the future which would require more modification 2021-10-19add formatting trait for irc codesMax Audron-0/+129 add an impl off the formatting trait on String to format Strings with the typical irc formatting codes for bold, italic etc 2021-10-17fix links in readmeMax Audron-2/+2