From 36ab193f7324d33a078b59094a50a1b89fe11077 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Tue, 1 Jun 2021 12:28:32 -0400 Subject: update contrib documentation for anon ssh support --- site/contrib.md | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/site/contrib.md b/site/contrib.md index 5e911fd..d5182df 100644 --- a/site/contrib.md +++ b/site/contrib.md @@ -3,9 +3,19 @@ title: Information about sending patches for review x-toc-enable: true ... -Download TransChat from the Git repository like so: +How to download TransChat from the Git repository +------------------------------------------------- + +1. Create an ssh key like so: + + which ssh-keygen || sudo apt install ssh-client + [ -d ~/.ssh ] || mkdir ~/.ssh + [ -e ~/.ssh/id_ed25519.pub ] || ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -N '' + +2. Download TransChat from the Git repository like so: - git clone https://notabug.org/transchat/trans.chat.git + which git || sudo apt install git + git clone ssh://d@cryptonomic.net:public_git/trans.chat.git Git is a version control system, used to host the site, to coordinate development. You can download and work on the entire website, using Git. @@ -91,15 +101,15 @@ Any member of the public can Your patch will be reviewed for quality assurance, and merged if accepted. -How to download TransChat from the Git repository -------------------------------------------------- - -In your terminal: - - git clone https://notabug.org/transchat/trans.chat.git +How to submit your patches (via git push) +----------------------------------------- -A new directory named `transchat` will have been created, containing -transchat. + ssh-keygen -F cryptonomic.net || + printf '%s,%s %s %s\n' cryptonomic.net 2607:5300:201:3100::27b7 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPK7K8KsygvXtjw0yH4h43bwBGKq9oWBdCa1eY5rzT5D \ + >> ~/.ssh/known_hosts + git remote add origin d@cryptonomic.net:public_git/trans.chat.git || + git remote set-url --push origin d@cryptonomic.net:public_git/trans.chat.git + git push origin master How to submit your patches (via pull requests) ---------------------------------------------- -- cgit v1.2.3