# HG changeset patch
# User Paul Issott SliTaz Developers corner
+
+Each contributor may have an account on the project server with secure access, +disk space, a public directory and all development tools. Developers can compile +packages and maintainers of the mirror can handle sychronization. Tank also +hosts the website, web boot and mercurial repositories: +tank.slitaz.org +
+@@ -114,13 +125,13 @@
-Clone a repo, example for slitaz-doc: +Clone a repo, example for wok:
- $ hg clone http://repos.slitaz.org/slitaz-doc + $ hg clone http://repos.slitaz.org/wok
-Change directory to slitaz-doc, note you must be in the repository to be able +Change directory to wok, note you must be in the repository to be able to use 'hg' commands. To check all logs or just the last log:
@@ -128,9 +139,10 @@ $ hg head
-Modify one or more files and commit: +Add or modify one or more files and commit:
+ $ hg add $ hg status $ hg commit -m "Log message..." $ hg log @@ -146,6 +158,25 @@Done, your changes, code or corrections are now on the server.
+Updating a local wok
++To update your wok with the local server (pull to pull the changes) : +
++ $ hg pull + $ hg update ++Hg commands
++Hg commands that can be used. +
+
hg help
: Display the full list of commands.hg rollback
: Undo the last action performed (commit,
+ pull, push).hg log <package>
: Display a package log.hg head
: Display the last log.Before you begin to compile and create packages for SliTaz, be sure that the -work doesn't already exist in the wok indigest provided by the primary SliTaz +work doesn't already exist in the wok undigest provided by the primary SliTaz mirror. Don't forget that the members of the list are there to help you and that the documentation of the wok and tools @@ -178,31 +209,22 @@
-The management of the website and books (Handbook & Cookbook) is made via
-a rsync module, Mercurial, diff and patch utilities and the Mailing List.
-Rsync is a tool for incremental backup; using an ultra-fast algorithm, It can
-transfer or syncronize data both locally or over the network. The
-diff
utility is used to send the list of files containing only
-the changes and patch
to apply the changes to the original pages.
-
-You can syncronize the site and books graphically using Grsync or via the
-command line. To download the site for the first time or syncronize pages
-in the directory /home/hacker/Public/slitaz/website
;
-use the module rsync://slitaz.org/website
:
+The website and books (Handbook and Cookbook) are managed via
+a mercurial repository, they can be cloned using:
- $ rsync -r -t -p -v \ - --progress --delete \ - rsync://slitaz.org/website /home/hacker/Public/slitaz/website + $ hg clone http://hg.slitaz.org/website + Or if you have the proper permissions: + $ hg clone http://repos.slitaz.org/website+
The utilities diff
and patch
are command-line tools
-for creating and implementing differences between two files. This technique
-is often used for collaboration and the changes made to the original file can
-be clearly extracted. To create a diff
file readable by humans in
-a simple text editor, you must supply the -u
option:
+for creating and implementing a file containing differences between two files.
+This technique is often used for collaboration and the changes made to the
+original file can be clearly extracted. To create a diff
file
+readable by humans in a simple text editor, you must supply the -u
option:
$ diff -u file.orig file.new > file.diff