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