Allow setting owner, description, clone/push url metadata in the project array
[gitphp.git] / config / projects.conf.php.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
/**
 * GitPHP Project config file
 *
 * Copy this example file to config/projects.conf.php
 *
 * @author Christopher Han <xiphux@gmail.com>
 * @copyright Copyright (c) 2010 Christopher Han
 * @package GitPHP
 * @subpackage Config
 */


/*
 * git_projects
 * List of projects
 *
 * There are three ways to list projects:
 *
 * 1. Two dimensional array of projects with categories
 *
 * The top level is the full array of projects.
 * Each project itself is an array with the following keys:
 * 'project': the path to the project, minus the projectroot
 * 'category': the category for the project. This is optional.
 * 'owner': the owner of the project.  This is optional,
 *          and overrides the actual owner
 * 'description': the description of the project.  This is optional,
 *                and overrides the description in the project's
 *                description file
 * 'cloneurl': the full clone url of the project.  This is optional,
 *             and overrides the clone URL setting in the config for
 *             this project.  This can also be an empty string to
 *             override the config clone url to say that only this
 *             project has no clone url.
 * 'pushurl': the full push url of the project.  This is optional,
 *            and overrides the push URL setting in the config for
 *            this project.  This can also be an empty string to
 *            override the config push url to say that only this
 *            project has no push url.
 */
//$git_projects = array(
//	array(
//		'project' => 'gentoo.git'
//	),
//	array(
//		'project' => 'core/fbx.git',
//		'category' => 'Core'
//	),
//	array(
//		'project' => 'php/gitphp.git',
//		'category' => 'PHP',
//		'description' => 'GitPHP, a web-based git repository browser in PHP',
//		'owner' => 'Christopher Han',
//		'cloneurl' => 'http://git.xiphux.com/php/gitphp.git',
//		'pushurl' => ''
//	),
//	array(
//		'project' => 'php/mdb.git',
//		'category' => 'PHP'
//	),
//	array(
//		'project' => 'php/xxcache.git',
//		'category' => 'PHP'
//	),
//	array(
//		'project' => 'websites/bth.git',
//		'category' => 'Websites'
//	)
//);


/*
 * 2. Path to file with list of projects
 * Points to a flat file with a list of projects,
 * one on each line. Can also read Gitosis project lists.
 */
//$git_projects = '/git/projectlist.txt';

/*
 * 3. Leave commented to read all projects in the project root
 */


comments