diff options
author | Andrew Cady <u@marble> | 2021-06-01 12:28:32 -0400 |
---|---|---|
committer | Andrew Cady <u@marble> | 2021-06-01 12:57:49 -0400 |
commit | 36ab193f7324d33a078b59094a50a1b89fe11077 (patch) | |
tree | d11048fda8808dfb1d45cd4193ec6b2a2c58bc68 | |
parent | 4fba66dc175b449ab7e4093b521bc3196b559042 (diff) |
-rw-r--r-- | site/contrib.md | 30 |
1 files 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 | |||
3 | x-toc-enable: true | 3 | x-toc-enable: true |
4 | ... | 4 | ... |
5 | 5 | ||
6 | Download TransChat from the Git repository like so: | 6 | How to download TransChat from the Git repository |
7 | ------------------------------------------------- | ||
8 | |||
9 | 1. Create an ssh key like so: | ||
10 | |||
11 | which ssh-keygen || sudo apt install ssh-client | ||
12 | [ -d ~/.ssh ] || mkdir ~/.ssh | ||
13 | [ -e ~/.ssh/id_ed25519.pub ] || ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -N '' | ||
14 | |||
15 | 2. Download TransChat from the Git repository like so: | ||
7 | 16 | ||
8 | git clone https://notabug.org/transchat/trans.chat.git | 17 | which git || sudo apt install git |
18 | git clone ssh://d@cryptonomic.net:public_git/trans.chat.git | ||
9 | 19 | ||
10 | Git is a version control system, used to host the site, to coordinate | 20 | Git is a version control system, used to host the site, to coordinate |
11 | development. You can download and work on the entire website, using Git. | 21 | development. You can download and work on the entire website, using Git. |
@@ -91,15 +101,15 @@ Any member of the public can | |||
91 | 101 | ||
92 | Your patch will be reviewed for quality assurance, and merged if accepted. | 102 | Your patch will be reviewed for quality assurance, and merged if accepted. |
93 | 103 | ||
94 | How to download TransChat from the Git repository | 104 | How to submit your patches (via git push) |
95 | ------------------------------------------------- | 105 | ----------------------------------------- |
96 | |||
97 | In your terminal: | ||
98 | |||
99 | git clone https://notabug.org/transchat/trans.chat.git | ||
100 | 106 | ||
101 | A new directory named `transchat` will have been created, containing | 107 | ssh-keygen -F cryptonomic.net || |
102 | transchat. | 108 | printf '%s,%s %s %s\n' cryptonomic.net 2607:5300:201:3100::27b7 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPK7K8KsygvXtjw0yH4h43bwBGKq9oWBdCa1eY5rzT5D \ |
109 | >> ~/.ssh/known_hosts | ||
110 | git remote add origin d@cryptonomic.net:public_git/trans.chat.git || | ||
111 | git remote set-url --push origin d@cryptonomic.net:public_git/trans.chat.git | ||
112 | git push origin master | ||
103 | 113 | ||
104 | How to submit your patches (via pull requests) | 114 | How to submit your patches (via pull requests) |
105 | ---------------------------------------------- | 115 | ---------------------------------------------- |