summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongheng Liu <z.liu@outlook.com.gr>2024-12-24 12:57:20 +0200
committerZhongheng Liu <z.liu@outlook.com.gr>2024-12-24 12:57:20 +0200
commit1d6fe7304c8609c4f3064464d6b4635f3108879a (patch)
tree1b98ede3be57ada0a141694a161257f568ee9d18
parent5205e4287ef65797ecd9591484f07da19dc575d1 (diff)
downloadgit_service-1d6fe7304c8609c4f3064464d6b4635f3108879a.tar.gz
git_service-1d6fe7304c8609c4f3064464d6b4635f3108879a.tar.bz2
git_service-1d6fe7304c8609c4f3064464d6b4635f3108879a.zip
chore: add comments
-rw-r--r--src/cgit_helper.rs5
-rw-r--r--src/git_tools.rs3
2 files changed, 8 insertions, 0 deletions
diff --git a/src/cgit_helper.rs b/src/cgit_helper.rs
index 04eae6e..f55c6d4 100644
--- a/src/cgit_helper.rs
+++ b/src/cgit_helper.rs
@@ -1,3 +1,8 @@
pub fn cgit_add_repo(cgit_repos_file_path: String, section_name: String) {
+ /* TODO
+ * Change configuration in /path/to/cgitrepos
+ * to make visible the new repository
+ * maybe let user choose if they want repo to be visible or not
+ * */
}
diff --git a/src/git_tools.rs b/src/git_tools.rs
index bd05d07..311aa93 100644
--- a/src/git_tools.rs
+++ b/src/git_tools.rs
@@ -54,5 +54,8 @@ pub fn make_repo(raw_repo_name: &str, owner_text: &str) -> Result<Repository, Re
return Err(RepoCreateError::Internal);
}
};
+ /* TODO
+ * We want to change the config file to append http.receivepack = true
+ * */
Ok(repo)
}