mygit

[UNMAINTAINED] A cgit/webgit alternative, written in Rust
Log | Files | Refs | README | LICENSE

commit ad7a07a9998dff14e9ff93001bd3ac5b2114f2d1
parent a24c87629debfc0395a9c0c7d4e69f382c0bb26d
Author: Johann150 <johann@qwertqwefsday.eu>
Date:   Mon, 15 Mar 2021 18:57:44 +0100

change name in some more places

Diffstat:
MCargo.lock | 40++++++++++++++++++++--------------------
Rmygit.toml -> grifter.toml | 0
Msrc/main.rs | 4++--
Mtemplates/base.html | 4++--
4 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock @@ -864,6 +864,26 @@ dependencies = [ ] [[package]] +name = "grifter" +version = "0.1.0" +dependencies = [ + "anyhow", + "askama", + "askama_tide", + "async-std", + "chrono", + "git2", + "once_cell", + "percent-encoding", + "pico-args", + "pulldown-cmark", + "serde", + "syntect", + "tide", + "toml", +] + +[[package]] name = "hashbrown" version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1117,26 +1137,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525" [[package]] -name = "mygit" -version = "0.1.0" -dependencies = [ - "anyhow", - "askama", - "askama_tide", - "async-std", - "chrono", - "git2", - "once_cell", - "percent-encoding", - "pico-args", - "pulldown-cmark", - "serde", - "syntect", - "tide", - "toml", -] - -[[package]] name = "nb-connect" version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" diff --git a/mygit.toml b/grifter.toml diff --git a/src/main.rs b/src/main.rs @@ -18,7 +18,7 @@ pub struct Config { } const HELP: &str = "\ -mygit +grifter FLAGS: -h, --help Prints help information @@ -39,7 +39,7 @@ fn args() -> Config { } let toml_text = - fs::read_to_string("mygit.toml").expect("expected configuration file mygit.toml"); + fs::read_to_string("grifter.toml").expect("expected configuration file grifter.toml"); match toml::from_str(&toml_text) { Ok(config) => config, Err(e) => { diff --git a/templates/base.html b/templates/base.html @@ -13,9 +13,9 @@ <div id="content"> {% block content %}{% endblock %} </div> - <hr class = "thin"> + <hr class="thin"> <div class="footer"> - Server running <a href="git.alexwennerberg.com/mygit">mygit</a> + Server running <a href="git.alexwennerberg.com/grifter">grifter</a> </div> </body> </html>