/[gentoo]/xml/htdocs/proj/en/overlays/devguide.xml
Gentoo

Diff of /xml/htdocs/proj/en/overlays/devguide.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 Revision 1.8
312<p>The PHP team have solved this problem by automatically copying their packages 312<p>The PHP team have solved this problem by automatically copying their packages
313from Portage back into a 'portage' branch of their overlay every night. They 313from Portage back into a 'portage' branch of their overlay every night. They
314can then use Subversion (or Trac's timeline) to see what has changed every 314can then use Subversion (or Trac's timeline) to see what has changed every
315day. If you'd like to have this feature added to your overlay, contact CHTEKK.</p> 315day. If you'd like to have this feature added to your overlay, contact CHTEKK.</p>
316 316
317</body>
318</section>
319</chapter>
320
321<chapter>
322<title>Using git on overlays</title>
323
324<section>
325<title>Setting up git for committing with webdav</title>
326<body>
327<pre caption="add to your ~/.netrc">
328machine overlays.gentoo.org
329login (your-username)
330password (your-password)
331</pre>
332<p>Source: http://www.kernel.org/pub/software/scm/git/docs/howto/setup-git-server-over-http.txt</p>
333</body>
334</section>
335<section>
336<title>Initializing your overlay</title>
337<body>
338<p>Before uploading you need to locally create a git repository and add all items:</p>
339<pre caption="go to your overlay">cd ~/my-overlay</pre>
340<pre caption="create a new git repo">git init
341git add .
342git commit -m "populate overlay"</pre>
343<p>Note that this commit was only locally, now we get the server into the game. Be sure to add the trailing /</p>
344<pre caption="tell git the url">git-config remote.upload.url http://(your-username)@overlays.gentoo.org/git/(proj or dev)/(name)/</pre>
345<pre caption="finally get it up there">git push upload master</pre>
346<p>Source: http://www.kernel.org/pub/software/scm/git/docs/tutorial.html</p>
347</body></section>
348
349<section>
350<title>Checking out the overlay with git</title>
351<body>
352<pre caption="clone it!">git clone http://overlays.gentoo.org/git/(proj or dev)/(name)/</pre>
317</body> 353</body>
318</section> 354</section>
319</chapter> 355</chapter>
320 356
321<chapter> 357<chapter>

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20