summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml14
-rw-r--r--LICENSE21
-rw-r--r--readme.org6
3 files changed, 35 insertions, 6 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 72f7a13..2e9d506 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,15 @@
[package]
name = "shackle"
version = "0.1.0"
+authors = ["Justin Wernick <justin@worthe-it.co.za>"]
edition = "2021"
+description = "A shell for restricting access on a version control server"
+readme = "readme.org"
+# TODO: homepage = ""
+repository = "https://code.worthe-it.co.za/shackle.git/"
+license = "MIT"
+# TODO: keywords = []
+# TODO: categories = ""
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -30,7 +38,7 @@ opt-level = 3
# infrequently, and having this on breaks sccache
incremental = false
-[workspace]
-
[profile.release]
-lto = true \ No newline at end of file
+lto = true
+
+[workspace]
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..04404e5
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2023 Justin Wernick
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE. \ No newline at end of file
diff --git a/readme.org b/readme.org
index 64152ea..ea5cf71 100644
--- a/readme.org
+++ b/readme.org
@@ -1,7 +1,7 @@
#+TITLE: Shackle Shell
#+AUTHOR: Justin Wernick
-A shell intended for restricted access on a version control repo server.
+A shell for restricting access on a version control server.
This is intended as a replacement for [[https://git-scm.com/docs/git-shell][Git Shell]], but with a few opinionated
differences:
@@ -67,7 +67,7 @@ differences:
** Post-MVP
-- [ ] proper licensing
+- [X] proper licensing
- [ ] functions correctly when the git path isn't created yet
- [ ] git archive with git upload-archive
- [ ] git config management around protected branches
@@ -79,4 +79,4 @@ differences:
* License
-# TODO
+Licensed under [[./LICENSE][MIT License]].