Whamcloud - gitweb
Branch HEAD
[fs/lustre-release.git] / build / buildcvs
1 # This file is sourced by lustre/lustrecvs
2
3 portalstag=""
4 lnettag="HEAD"
5 libsysiotag="HEAD"
6 snmptag="HEAD"
7
8 export LC_COLLATE=C
9
10 case "$lustretag" in
11     '')
12         warn "a lustretag is required."
13         usage >&2
14         exit 1
15         ;;
16     --help | -h)
17         usage
18         exit 0
19         ;;
20
21     # this is the branch table
22     # keep this list sorted alphabetically!
23     b1_2)
24         portalstag="b1_2"
25         lnettag=""
26         libsysiotag=""
27         snmptag=""
28         ;;
29
30     b1_4_atime_update)
31         portalstag="b_hd_newconfig"
32         ;;
33
34     b1_4_join)
35         portalstag="b_hd_newconfig"
36         ;;
37
38     b1_4_lfs_df)
39         portalstag="b_hd_newconfig"
40         ;;
41
42     b1_4_lov_lvb_cleanup)
43         portalstag="b_hd_newconfig"
44         ;;
45
46     b1_4_next_recovery_transno)
47         portalstag="b_hd_newconfig"
48         ;;
49
50     b1_5)
51         # Alias for HEAD
52         lustretag="HEAD"
53         ;;
54
55     b1_6)
56         # Alias for HEAD
57         lustretag="HEAD"
58         ;;
59
60     b_new_cmd)
61         portalstag="b_new_portals"
62         lnettag="b_lnet_tmp"
63         ;;
64
65     b_cmd*)
66         portalstag="$lustretag"
67         ;;
68
69     b_iam*)
70         portalstag="b_hd_newconfig"
71         # XXX temorary tag until b_iam* is updated from b1_4 liblustre
72         libsysiotag="HEAD_RELEASE_1_4_6_LAND_PARENT_20060223_1455"
73         ;;
74
75     b_ioprovement)
76         portalstag="b_ioprovement"
77         ;;
78
79     b_newconfig_rdmarouting)
80         portalstag="b_hd_newconfig"
81         lnettag="b_newconfig_rdmarouting"
82         lustretag="b1_4"
83         ;;
84
85     b_port_ahead)
86         portalstag="b_port_ahead"
87         ;;
88
89     b_port_netid)
90         portalstag="b_port_netid"
91         ;;
92
93     # b_port_step is only for portals
94     b_port_step)
95         portalstag="b_port_step"
96         lustretag="HEAD"
97         ;;
98
99     b_port_test)
100         portalstag="b_port_test"
101         ;;
102
103     b_ptl_smallfix)
104         portalstag="b_ptl_smallfix"
105         lustretag="b1_4"
106         ;;
107
108     b_ptlrpc_cleanup)
109         portalstag="b_ptlrpc_cleanup"
110         ;;
111
112     b_self_test)
113         # lnet self test development branch
114         lnettag="b_self_test"
115         lustretag="HEAD"
116         ;;
117
118     # before 1_4_6, we didn't have lnet or snmp
119     b_release_1_2_*|b_release_1_4_[0-5])
120         portalstag="$lustretag"
121         lnettag=""
122         libsysiotag="$lustretag"
123         snmptag=""
124         ;;
125
126     b_release_1_4_6-patchless)
127         portalstag=b_release_1_4_6
128         lnettag=b_release_1_4_6-patchless
129         libsysiotag=b_release_1_4_6
130         snmptag=b_release_1_4_6
131         ;;
132
133     b_release_1_4_6)
134         portalstag="$lustretag"
135         lnettag="$lustretag"
136         libsysiotag="$lustretag"
137         snmptag="$lustretag"
138         ;;
139
140     # all later b_release_* tags
141     b_release_*)
142         lnettag="$lustretag"
143         libsysiotag="$lustretag"
144         snmptag="$lustretag"
145         ;;
146
147     # v1.0-v1.3, v1.4.0-v1.4.2
148     v1_[0-3]_*|v1_4_[0-2]|v1_4_[0-2]_*)
149         portalstag="$lustretag"
150         lnettag=""
151         libsysiotag="$lustretag"
152         snmptag=""
153         ;;
154
155     # v1.4.3-v1.4.5, v1.4.5.1 - v1.4.5.9
156     v1_4_[3-5]|v1_4_[3-4]_*|v1_4_5_[1-9]|cray_2005*)
157         portalstag="$lustretag"
158         lnettag=""
159         libsysiotag="$lustretag"
160         snmptag="$lustretag"
161         ;;
162
163     # v1.4.6, v1.4.6.[1-91]
164     v1_4_6_[1-9]|v1_4_6_9[01])
165         portalstag="$lustretag"
166         lnettag=""
167         libsysiotag="$lustretag"
168         snmptag="$lustretag"
169         ;;
170
171     # all later v* tags
172     v[1-9]*)
173         lnettag="$lustretag"
174         libsysiotag="$lustretag"
175         snmptag="$lustretag"
176         ;;
177 esac
178
179 cvs_cmd libsysio libsysio "$libsysiotag"
180 cvs_cmd portals portals "$portalstag"
181 cvs_cmd lnet lnet "$lnettag"
182 cvs_cmd snmp lustre-snmp "$snmptag"
183 cvs_cmd lustre lustre-core "$lustretag"