From af2c1d856ba2ef1ceca96762679961b43823319c Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Wed, 22 Sep 2021 20:19:36 +0100 Subject: [PATCH] Update README with organisation support --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e3a029..e536738 100644 --- a/README.md +++ a/README.md @@ -1,9 +1,15 @@ # chartered a little dig at creating a private cargo repository with authenticated downloads, the plan is to have git connect to a git server we setup that we can serve a fake index from generated just for the authenticated user that we can embed authentication credentials into. +designed to be easily morphable into a first-class authenticated registry-provider once [one][1] [of][2] the cargo RFCs go +through. + +[1]: https://github.com/rust-lang/rfcs/pull/2719 +[2]: https://github.com/rust-lang/rfcs/pull/3139 + [open tasks](https://github.com/w4/chartered/issues) #### fine grained permissions per user per crate @@ -12,5 +18,14 @@ - PUBLISH_VERSION - YANK_VERSION - MANAGE_USERS + +#### organisation support + +crates are required to be under an organisation, the organisation can be specified when declaring the custom registry +in `.cargo/config.toml` like so: -(support for groups coming) +``` +[registries] +my-org = { index = "ssh://chart.rs:22/my-org" } +my-other-org = { index = "ssh://chart.rs:22/my-other-org" } +``` -- rgit 0.1.3