Whamcloud - gitweb
Land b_release_1_4_6 onto HEAD (20060223_1455)
[fs/lustre-release.git] / build / buildcvs
1 # This file is sourced by lustre/lustrecvs
2
3 portalstag="HEAD"
4 lnettag="HEAD"
5 libsysiotag="HEAD"
6 snmptag=""
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         ;;
26
27     b1_4_atime_update)
28         snmptag="HEAD"
29         portalstag="b_hd_newconfig"
30         lnettag="b_hd_newconfig"
31         ;;
32
33     b1_4_join)
34         snmptag="HEAD"
35         portalstag="b_hd_newconfig"
36         lnettag="b_hd_newconfig"
37         ;;
38
39     b1_4_lfs_df)
40         snmptag="HEAD"
41         portalstag="b_hd_newconfig"
42         lnettag="b_hd_newconfig"
43         ;;
44
45     b1_4_lov_lvb_cleanup)
46         snmptag="HEAD"
47         portalstag="b_hd_newconfig"
48         lnettag="b_hd_newconfig"
49         ;;
50
51     b1_4_next_recovery_transno)
52         snmptag="HEAD"
53         portalstag="b_hd_newconfig"
54         lnettag="b_hd_newconfig"
55         ;;
56         
57     b1_4 | b1_4_*)
58         snmptag="HEAD"
59         portalstag="b_hd_newconfig"
60         lnettag="b_hd_newconfig"
61         ;;
62
63     b1_5 | b1_5_*)
64         snmptag="HEAD"
65         portalstag="b_hd_newconfig"
66         lnettag="b_hd_newconfig"
67         # XXX temorary tag until b1_5* is updated from b1_4 liblustre
68         libsysiotag="HEAD_RELEASE_1_4_6_LAND_PARENT_20060223_1455"
69         ;;
70
71     b_cmd*)
72         portalstag="$lustretag"
73         ;;
74
75     b_iam*)
76         snmptag="HEAD"
77         portalstag="b_hd_newconfig"
78         lnettag="b_hd_newconfig"
79         # XXX temorary tag until b_iam* is updated from b1_4 liblustre
80         libsysiotag="HEAD_RELEASE_1_4_6_LAND_PARENT_20060223_1455"
81         ;;
82
83     b_ioprovement)
84         portalstag="b_ioprovement"
85         ;;
86
87     b_newconfig_rdmarouting)
88         portalstag="b_hd_newconfig"
89         lnettag="b_newconfig_rdmarouting"
90         lustretag="b1_4"
91         ;;
92
93     b_port_ahead)
94         portalstag="b_port_ahead"
95         ;;
96
97     b_port_netid)
98         portalstag="b_port_netid"
99         ;;
100
101     # b_port_step is only for portals
102     b_port_step)
103         portalstag="b_port_step"
104         lustretag="HEAD"
105         ;;
106
107     b_port_test)
108         portalstag="b_port_test"
109         ;;
110
111     b_ptl_smallfix)
112         portalstag="b_ptl_smallfix"
113         lustretag="b1_4"
114         ;;
115
116     b_ptlrpc_cleanup)
117         portalstag="b_ptlrpc_cleanup"
118         ;;
119
120     # starting with 1_4_6, we have a tagged lnet too
121     b_release_1_4_[6-9]*)
122         portalstag="$lustretag"
123         libsysiotag="$lustretag"
124         lnettag="$lustretag"
125         ;;
126
127     b_release_*)
128         portalstag="$lustretag"
129         libsysiotag="$lustretag"
130         ;;
131
132     # v1.0-v1.3, v1.4.0-v1.4.2
133     v1_[0-3]_*|v1_4_[0-2]*)
134         portalstag="$lustretag"
135         libsysiotag="$lustretag"
136         ;;
137
138     # v1.4.3-v1.4.5, v1.4.5.1 - v1.4.5.9
139     v1_4_[3-5]|v1_4_[3-4]_*|v1_4_5_[1-9]|cray_2005*)
140         portalstag="$lustretag"
141         libsysiotag="$lustretag"
142         ;;
143
144     # all later v* tags
145     v[1-9]*)
146         portalstag="$lustretag"
147         lnettag="$lustretag"
148         libsysiotag="$lustretag"
149         ;;
150 esac
151
152 cvs_cmd libsysio libsysio "$libsysiotag"
153 cvs_cmd portals portals "$portalstag"
154 cvs_cmd lnet lnet "$lnettag"
155 cvs_cmd snmp lustre-snmp "$snmptag"
156 cvs_cmd lustre lustre-core "$lustretag"