website view en/devel/index.html @ rev 13

Update mirrors URL (France + USA)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 02 15:17:53 2008 +0200 (2008-04-02)
parents 86c53b7a99c4
children fc69ec3c3b99
line source
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <title>SliTaz - Developers corner</title>
6 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
7 <meta name="description" content="SliTaz GNU/Linux project information overview" />
8 <meta name="keywords" lang="en" content="about slitaz, gnu, linux, mini distro, livecd" />
9 <meta name="robots" content="index, follow, all" />
10 <meta name="revisit-after" content="7 days" />
11 <meta name="expires" content="never" />
12 <meta name="modified" content="2008-03-25 23:30:00" />
13 <meta name="author" content="Christophe Lincoln"/>
14 <meta name="publisher" content="www.slitaz.org" />
15 <link rel="shortcut icon" href="../../favicon.ico" />
16 <link rel="stylesheet" type="text/css" href="../../slitaz.css" />
17 </head>
18 <body bgcolor="#ffffff">
19 <!-- Header -->
20 <div id="header">
21 <a name="top"></a>
22 <!-- Access -->
23 <div id="access">
24 <a href="#content" title="Page content">Content</a> |
25 <a href="../../devel/" title="A propos de SliTaz en français">Français</a>
26 </div>
27 <a href="http://www.slitaz.org/en/"><img id="logo"
28 src="../../pics/website/logo.png" title="www.slitaz.org/en" alt="www.slitaz.org"
29 style="border: 0px solid ; width: 200px; height: 74px;" /></a>
30 <p id="titre">#!/GNU/Linux</p>
31 </div>
32 <div id="nav">
33 <div id="nav_top"></div>
34 <ul>
35 <li><a href="../about/" title="Informations about the SliTaz project">About the project</a></li>
36 <li><a href="../get/" title="Download - LiveCD ISO">Get SliTaz</a></li>
37 <li><a href="../doc/" title="LiveCD usage and howto">Documentation</a></li>
38 <li><a href="../packages/" title="Packaged software">Packages</a></li>
39 <li><a href="../mailing-list.html" title="Support, contact and collaboration">Mailing List</a></li>
40 <li><a href="../devel/" title="Developer corner">Developement</a></li>
41 <li><a href="../artwork/" title="Artwork, colors and images">Artwork</a></li>
42 <li><a href="../search.html" title="Search engine">Search</a></li>
43 <li><a href="../sitemap.html" title="Web site overview">Sitemap</a></li>
44 <li><a href="http://forum.slitaz.org/#idx2" title="English support forum">Forum</a></li>
45 </ul>
46 <div id="nav_bottom">
47 <div id="nav_bottom_img"></div>
48 </div>
49 </div>
51 <!-- Content top. -->
52 <div id="content_top">
53 <div class="top_left"></div>
54 <div class="top_right"></div>
55 </div>
57 <!-- Content -->
58 <div id="content">
59 <a name="content"></a>
61 <h1><font color="#3e1220">Developement</font></h1>
62 <h2><font color="#df8f06">SliTaz Developers corner</font></h2>
64 <p>
65 SliTaz is an open source and community driven distribution. Everyone is welcome
66 to join and contribute, from users, to hackers and developers there is always
67 something to do, ie. Proofreading or writing documentation, sending bugs or
68 patches to the Mailing list, gaining access to the wok and pushing some new
69 packages or simply to help others on the Mailing list or forum. SliTaz has got Mercurial
70 repositories hosted on a SliTaz system, developers can ask for a new repo if
71 needed and contributors have write access to correct typos, scripts, etc.
72 </p>
74 <a name="repos"></a>
75 <h3>Mercurial repositories</h3>
76 <p>
77 SliTaz Mercurial or Hg repos can be browsed or cloned by anyone using the URL:
78 <a href="http://hg.slitaz.org/">http://hg.slitaz.org/</a>. People with write
79 access can directly use <code>repos.slitaz.org</code> which needs authentication.
80 Mercurial uses Python and is installable with:
81 <code>tazpkg get-install mercurial</code>
82 </p>
83 <h4>~/.hgrc</h4>
84 <p>
85 Before you push your first commit onto the server, be sure you have a correct
86 Hg configuration file with your name and email address and remember to check
87 that you are not root. Personal ~/.hgrc file example:
88 </p>
89 <pre class="script">
90 [ui]
91 username = Name FirstName &lt;you@example.org&gt;
92 </pre>
93 <h4>Clone, modify, commit and push</h4>
94 <p>
95 Clone a repo, example for slitaz-doc:
96 </p>
97 <pre>
98 $ hg clone http://repos.slitaz.org/slitaz-doc
99 </pre>
100 <p>
101 Change directory to slitaz-doc, note you must be in the repository to be able
102 to use 'hg' commands. To check all logs or just the last log:
103 </p>
104 <pre>
105 $ hg log
106 $ hg head
107 </pre>
108 <p>
109 Modify one or more files and commit:
110 </p>
111 <pre>
112 $ hg status
113 $ hg commit -m "Log message..."
114 $ hg log
115 </pre>
116 <p>
117 Note that you can use the command <code>rollback</code> to roll back to the last
118 transaction. Before pushing changes to the server it is safe to pull once:
119 </p>
120 <pre>
121 $ hg pull
122 $ hg push
123 </pre>
124 <p>
125 Done, your changes, code or corrections are now on the server.
126 </p>
129 <!-- End of content with round corner -->
130 </div>
131 <div id="content_bottom">
132 <div class="bottom_left"></div>
133 <div class="bottom_right"></div>
134 </div>
136 <!-- Start of footer and copy notice -->
137 <div id="copy">
138 <p>
139 Last modification : 2008-03-25 23:30:00 -
140 <a href="#top">Top of the page</a>
141 </p>
142 <p>
143 Copyright &copy; 2008 <a href="http://www.slitaz.org/">SliTaz</a> -
144 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>
145 </p>
146 <!-- End of copy -->
147 </div>
149 <!-- Bottom and logo's -->
150 <div id="bottom">
151 <p>
152 <a href="http://validator.w3.org/check?uri=referer"><img
153 src="../../pics/website/xhtml10.png" alt="Valid XHTML 1.0"
154 title="Code validé XHTML 1.0"
155 style="width: 80px; height: 15px;" /></a>
156 </p>
157 </div>
159 </body>
160 </html>