Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=ef6e68738248a64ec88ce73d5d749ea308fa275a

commit ef6e68738248a64ec88ce73d5d749ea308fa275a
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Sun Oct 4 17:44:21 2009 +0200

docs/repos: document syncd support for wip repos

diff --git a/docs/repos.txt b/docs/repos.txt
index dac0d44..944789e 100644
--- a/docs/repos.txt
+++ b/docs/repos.txt
@@ -68,3 +68,42 @@ One thing that a hook won't do for you is to allow pushing 
to the master branch,
----
git config receive.denyCurrentBranch ignore
----
+
+== Enabling syncpkgd support for a WIP repo
+
+If you create a new WIP repo, syncpkgd won't sync packages in it by default.
+
+This means that if you just push your commits, no attempt will be made
+to build the relevant binary package automatically for you, which is the
+case for the -current / -stable repos.
+
+If you want syncpkgd support, then you need to edit 3 configuration files.
+
+Edit syncpkgd's repoman config by extending the repos array and adding
+the foo_servers and foo_sudo variables:
+
+----
+vi ~syncpkgd/.repoman.conf
+----
+
+Add a pacman-g2 configuration file:
+
+----
+vi ~syncpkgd/.pacman-g2/repos/foo
+----
+
+The contents will be something like this:
+
+----
+[foo]
+Server = http://ftp.frugalware.org/pub/other/people/nick/foo/frugalwa...@carch@
+----
+
+Finally edit the git hook and add foo to the end of the repos array:
++
+----
+vi /pub/other/git-hooks/synchook/config.py
+----
+
+If you no longer need these entries, you can remove them, but leave at
+least one there as an example.
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to