Whamcloud - gitweb
all aboard! next stop, testing your build before submitting requests to buffalo!
[fs/lustre-release.git] / build / buildcvs
1 # This file is sourced by lustre/lustrecvs
2
3 portalstag="HEAD"
4 libsysiotag="LIBSYSIO_HEAD_20040809"
5
6 export LC_COLLATE=C
7
8 case "$lustretag" in
9     '')
10         warn "a lustretag is required."
11         usage >&2
12         exit 1
13         ;;
14     --help | -h)
15         usage
16         exit 0
17         ;;
18
19     # this is the branch table
20     # keep this list sorted alphabetically!
21     b1_2)
22         portalstag="b1_2"
23         ;;
24
25     b1_4 | b1_4_bgl | b1_4_quota | b1_4_quotaoff | b1_4_3026)
26         portalstag="b1_4_bgl"
27         ;;
28
29     b_cmd*)
30         portalstag="$lustretag"
31         ;;
32
33     b_cray*)
34         libsysiotag="LIBSYSIO_HEAD_20041101"
35         ;;
36
37     b_hd_acl)
38         portalstag="b_hd_sec"
39         ;;
40
41     b_hd_remote_acl)
42         portalstag="b_hd_sec"
43         ;;
44
45     b_hd_remote_uid)
46         portalstag="b_hd_sec"
47         ;;
48
49     b_hd_remote_rvk)
50         portalstag="b_hd_sec"
51         ;;
52
53     b_hd_sec)
54         portalstag="b_hd_sec"
55         ;;
56
57     b_hd_sec_oss)
58         portalstag="b_hd_sec"
59         ;;
60
61     b_port_ahead)
62         portalstag="b_port_ahead"
63         ;;
64
65     b_port_netid)
66         portalstag="b_port_netid"
67         ;;
68
69     # b_port_step is only for portals
70     b_port_step)
71         portalstag="b_port_step"
72         lustretag="HEAD"
73         ;;
74
75     b_port_test)
76         portalstag="b_port_test"
77         ;;
78
79     b_ptl_smallfix)
80         portalstag="b_ptl_smallfix"
81         lustretag="b1_4"
82         ;;
83
84     b_release_*)
85         portalstag=$lustretag
86         ;;
87
88     v1_[0-3]*|v1_4_*|[A-Z]*)
89         portalstag="$lustretag"
90         ;;
91
92     v[1-9]*)
93         portalstag="$lustretag"
94         libsysiotag="$lustretag"
95         ;;
96 esac
97
98 cvs_cmd libsysio libsysio "$libsysiotag"
99 cvs_cmd portals portals "$portalstag"
100 cvs_cmd lustre lustre-core "$lustretag"