sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit a160fa3cc1b83df2244bed12a2eeb844fabbcb01
parent fca4415ad6d8a1ca1fd34fe4a195c767fce05b14
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat,  5 Jan 2019 14:27:36 +0100

update wiki rules and script references for the current server

Diffstat:
Msuckless.org/wiki/index.md | 33+++++++++++----------------------
1 file changed, 11 insertions(+), 22 deletions(-)

diff --git a/suckless.org/wiki/index.md b/suckless.org/wiki/index.md @@ -11,7 +11,7 @@ or Then edit the wiki as you like. The markdown interpreter that is currently used on the suckless.org werc instance is -[discount 2.1.3](http://www.pell.portland.or.us/~orc/Code/discount/). +[discount](http://www.pell.portland.or.us/~orc/Code/discount/). For adding new files, after you created them, use: @@ -42,12 +42,13 @@ Rules We kindly ask you to not destroy the way we like to collaborate with the community. * Please do not add files bigger than *100kb*. -* Please do not add any binary files except screenshots or images related to our software. - You are allowed to add your code patches to the wiki if you do not have an - external web server to serve them to the community. The extension of patches - should be `.diff`. +* Please do not add any binary files except screenshots or images related to + our software. You are allowed to add your code patches to the wiki if you do + not have an external web server to serve them to the community. The extension + of patches should be `.diff`. * The extension of newly created Markdown files has to be `.md`. -* Please do not add HTML files or inline JavaScript. +* Please do not add inline HTML, HTML files or inline JavaScript. +* There are some dialects of Markdown, please don't use too "advanced" features. Changes ------- @@ -60,26 +61,14 @@ Moderators If you are a moderator, you will likely need the following procedure to pull the changes into the main repository: - cd /var/www/sites - sudo -u www-data git checkout . - sudo -u www-data git pull + see /git/scripts/updatewiki.sh -These commands can be found at /usr/local/bin/updatewiki for your convenience. - -The checkout is needed to prevent local atime changes to stop the pull. Please -keep on using www-data, so the webserver can access everything. - -For managing the patches (reject/modify etc.) of course the other git commands -apply too. +This script makes sure the changes are pulled in with the correct permissions. Repositories ------------ This is for moderators. -There is a script in /usr/local/bin/newrepo with the usage - - newrepo $reponame - -It should be used to create new git repositories. - +To create a new repository just git init --bare and symlink the git hooks (see +the hooks/ directory in other projects).