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