Changeset View
Changeset View
Standalone View
Standalone View
l10n/scripts-rules
- This file was added.
1 | create repository scripty | ||||
---|---|---|---|---|---|
2 | end repository | ||||
3 | | ||||
4 | # Do not include Pology | ||||
5 | match /trunk/l10n-kde4/scripts/pology/ | ||||
6 | action ignore | ||||
7 | end match | ||||
8 | match /branches/stable/l10n-kde4/scripts/pology/ | ||||
9 | action ignore | ||||
10 | end match | ||||
11 | | ||||
12 | #----- kde-i18n (pre-2005) ----- | ||||
13 | | ||||
14 | declare IGNORED_I18N_DIRS=(templates|af|ar|ara|az|be|bg|bn|br|bs|ca|cs|cy|da|de|el|en|en_GB|en_UK|eo|es|et|eu|fa|fi|fo|fr|fy|ga|gl|he|hi|hr|hsb|hu|id|ind|is|it|ja|ko|ku|kur|ky|lo|lt|lv|mi|mk|mn|ms|mt|nb|nds|nl|nn|no|no_NY|nso|oc|pa|pl|pt|pt_BR|ro|ru|se|sk|sl|sq|sr|sr@Latn|ss|sv|ta|tg|th|tr|uk|uz|ven|vi|wa|wen|xh|xx|zh_CN|zh_CN\.GB2312|zh_TW|zh_TW\.Big5|zu) | ||||
15 | | ||||
16 | # Ignore directories with translations, the remaining files are mostly scripts | ||||
17 | match /trunk/kde-i18n/${IGNORED_I18N_DIRS}/ | ||||
18 | action ignore | ||||
19 | end match | ||||
20 | match /trunk/KDE/kde-i18n/${IGNORED_I18N_DIRS}/ | ||||
21 | action ignore | ||||
22 | end match | ||||
23 | | ||||
24 | # /trunk/kde-i18n without scripts/ directory | ||||
25 | match /trunk/kde-i18n/ | ||||
26 | max revision 409202 | ||||
27 | repository scripty | ||||
28 | branch master | ||||
29 | end match | ||||
30 | | ||||
31 | # /trunk/KDE/kde-i18n without scripts/ directory | ||||
32 | match /trunk/KDE/kde-i18n/ | ||||
33 | min revision 409203 | ||||
34 | max revision 414919 | ||||
35 | repository scripty | ||||
36 | branch master | ||||
37 | end match | ||||
38 | | ||||
39 | # /trunk/KDE/kde-i18n with a scripts/ directory | ||||
40 | match /trunk/KDE/kde-i18n/scripts/ | ||||
41 | min revision 414920 | ||||
42 | max revision 414971 | ||||
43 | repository scripty | ||||
44 | branch master | ||||
45 | end match | ||||
46 | | ||||
47 | match /branches/KDE/([0-9.]+)/kde-i18n/scripts/ | ||||
48 | repository scripty | ||||
49 | branch KDE/\1 | ||||
50 | end match | ||||
51 | | ||||
52 | # Detect move in revision 414972: /trunk/KDE/kde-i18n -> /trunk/l10n | ||||
53 | match /trunk/KDE/kde-i18n/$ | ||||
54 | action recurse | ||||
55 | end match | ||||
56 | | ||||
57 | #----- trunk/l10n (2005-2007) ----- | ||||
58 | | ||||
59 | match /trunk/l10n/scripts/ | ||||
60 | min revision 414971 | ||||
61 | max revision 674880 | ||||
62 | repository scripty | ||||
63 | branch trunk_l10n-kde3 | ||||
64 | end match | ||||
65 | | ||||
66 | match /branches/stable/l10n/scripts/ | ||||
67 | repository scripty | ||||
68 | branch stable_l10n | ||||
69 | end match | ||||
70 | | ||||
71 | # Detect move in revision 414972: /trunk/KDE/kde-i18n -> /trunk/l10n | ||||
72 | match /trunk/l10n/$ | ||||
73 | action recurse | ||||
74 | end match | ||||
75 | | ||||
76 | #----- l10n-kde3 (2007-2010, inactive after 2010) ----- | ||||
77 | | ||||
78 | match /trunk/l10n-kde3/scripts/ | ||||
79 | min revision 674880 | ||||
80 | repository scripty | ||||
81 | branch trunk_l10n-kde3 | ||||
82 | end match | ||||
83 | | ||||
84 | # Detect move in revision 674880: /trunk/l10n -> /trunk/l10n-kde3 | ||||
85 | match /trunk/l10n-kde3/$ | ||||
86 | action recurse | ||||
87 | end match | ||||
88 | | ||||
89 | #----- /branches/work/kde4-l10n: Preparation for l10n-kde4 ----- | ||||
90 | | ||||
91 | # revisions 473998 through 639306 | ||||
92 | match /branches/work/kde4-l10n/scripts/ | ||||
93 | repository scripty | ||||
94 | branch kde4-l10n_work | ||||
95 | end match | ||||
96 | | ||||
97 | #----- trunk/l10n-kde4 (since 2007) ----- | ||||
98 | | ||||
99 | match /trunk/l10n-kde4/scripts/ | ||||
100 | repository scripty | ||||
101 | branch trunk_l10n-kde4 | ||||
102 | end match | ||||
103 | | ||||
104 | # Detect move in revision 639306: /branches/work/kde4-l10n -> /trunk/l10n-kde4 | ||||
105 | match /trunk/l10n-kde4/$ | ||||
106 | action recurse | ||||
107 | end match | ||||
108 | | ||||
109 | #----- l10n-kf5: Branched off l10n-kde4 in revision 1383660 ----- | ||||
110 | | ||||
111 | match /trunk/l10n-kf5/scripts/ | ||||
112 | repository scripty | ||||
113 | branch master | ||||
114 | end match | ||||
115 | | ||||
116 | #----- Various branches ----- | ||||
117 | | ||||
118 | # Branched off /trunk/l10n-kde4 in revision 758692 | ||||
119 | match /branches/stable/l10n-kde4/scripts/ | ||||
120 | repository scripty | ||||
121 | branch stable_l10n-kde4 | ||||
122 | end match | ||||
123 | | ||||
124 | match /branches/stable/l10n-kf5/scripts/ | ||||
125 | repository scripty | ||||
126 | branch stable_l10n-kf5 | ||||
127 | end match | ||||
128 | | ||||
129 | # Branched off /branches/stable/l10n-kf5 in revision 1478701 | ||||
130 | match /branches/stable/l10n-kf5-plasma-lts/scripts/ | ||||
131 | repository scripty | ||||
132 | branch stable_l10n-kf5-plasma-lts | ||||
133 | end match | ||||
134 | | ||||
135 | match /branches/KDE/([0-9a-z.\-]+)/kde-l10n/scripts/ | ||||
136 | repository scripty | ||||
137 | branch KDE/\1 | ||||
138 | end match | ||||
139 | | ||||
140 | match /branches/stable/(l10n-kde4|l10n-kf5|l10n-kf5-plasma-lts)/$ | ||||
141 | action recurse | ||||
142 | end match | ||||
143 | | ||||
144 | #----- Tags ----- | ||||
145 | | ||||
146 | # Example: /tags/KDE/3.5.0-beta1/kde-l10n/scripts/ | ||||
147 | declare REPO=scripty | ||||
148 | declare PREFIX=/ | ||||
149 | | ||||
150 | declare MODULE=kde-i18n/scripts/ | ||||
151 | include ../common-kde-tags-rules-with-prefix | ||||
152 | declare MODULE=kde-l10n/scripts/ | ||||
153 | include ../common-kde-tags-rules-with-prefix | ||||
154 | # Typo in tag name: /tags/KDE/4.12.3/kde-l19n | ||||
155 | declare MODULE=kde-l19n/scripts/ | ||||
156 | include ../common-kde-tags-rules-with-prefix | ||||
157 | | ||||
158 | # Recurse into tags and branches | ||||
159 | match /(branches|tags)/KDE/([^/]+)/$ | ||||
160 | action recurse | ||||
161 | end match | ||||
162 | match /(branches|tags)/KDE/([^/]+)/(kde-i18n|kde-l10n|kde-l19n|l10n-kde4|l10n|l10n-kde3|l10n-kf5|l10n-kf5-plasma-lts)/$ | ||||
163 | action recurse | ||||
164 | end match | ||||
165 | | ||||
166 | match / | ||||
167 | end match |