Merge lp:~nataliabidart/ubuntuone-storage-protocol/stable-3-0-update-2.99.92 into lp:ubuntuone-storage-protocol/stable-3-0
- stable-3-0-update-2.99.92
- Merge into stable-3-0
Proposed by
Natalia Bidart
Status: | Merged |
---|---|
Approved by: | Natalia Bidart |
Approved revision: | 155 |
Merged at revision: | 154 |
Proposed branch: | lp:~nataliabidart/ubuntuone-storage-protocol/stable-3-0-update-2.99.92 |
Merge into: | lp:ubuntuone-storage-protocol/stable-3-0 |
Diff against target: |
1239 lines (+628/-36) 35 files modified
LICENSE (+28/-0) LICENSE.OpenSSL (+137/-0) MANIFEST.in (+1/-0) samples/easy_client.py (+14/-1) samples/ping_client.py (+14/-1) tests/__init__.py (+14/-1) tests/test_bytesproducer.py (+14/-1) tests/test_client.py (+14/-1) tests/test_delta_info.py (+14/-1) tests/test_dircontent.py (+14/-1) tests/test_errors.py (+14/-1) tests/test_hashes.py (+14/-2) tests/test_proxy_tunnel.py (+14/-1) tests/test_putcontent.py (+14/-1) tests/test_query.py (+14/-1) tests/test_request.py (+14/-1) tests/test_sharersp.py (+14/-1) tests/test_throttling.py (+14/-1) tests/test_volumes.py (+14/-1) ubuntuone/__init__.py (+14/-1) ubuntuone/storageprotocol/__init__.py (+14/-1) ubuntuone/storageprotocol/client.py (+14/-1) ubuntuone/storageprotocol/content_hash.py (+14/-2) ubuntuone/storageprotocol/context.py (+14/-1) ubuntuone/storageprotocol/delta.py (+14/-1) ubuntuone/storageprotocol/dircontent.proto (+14/-1) ubuntuone/storageprotocol/dircontent.py (+14/-1) ubuntuone/storageprotocol/errors.py (+14/-1) ubuntuone/storageprotocol/protocol.proto (+14/-1) ubuntuone/storageprotocol/proxy_tunnel.py (+14/-1) ubuntuone/storageprotocol/request.py (+14/-1) ubuntuone/storageprotocol/sharersp.py (+14/-1) ubuntuone/storageprotocol/utils.py (+14/-1) ubuntuone/storageprotocol/validators.py (+28/-3) ubuntuone/storageprotocol/volumes.py (+14/-1) |
To merge this branch: | bzr merge lp:~nataliabidart/ubuntuone-storage-protocol/stable-3-0-update-2.99.92 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alejandro J. Cura (community) | Approve | ||
Review via email: mp+100590@code.launchpad.net |
Commit message
- Updating from trunk up to revno 145:
[ Rodney Dawes <email address hidden> ]
- License exception for use of OpenSSL (LP: #968555).
Description of the change
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added file 'LICENSE' |
2 | --- LICENSE 1970-01-01 00:00:00 +0000 |
3 | +++ LICENSE 2012-04-03 12:15:42 +0000 |
4 | @@ -0,0 +1,28 @@ |
5 | +# This is the Ubuntu One storage protocol for file synchronization |
6 | +# |
7 | +# Copyright (C) 2009-2012 Canonical Ltd. |
8 | +# |
9 | +# This program is free software: you can redistribute it and/or modify it |
10 | +# under the terms of the GNU Affero General Public License version 3, |
11 | +# as published by the Free Software Foundation. |
12 | +# |
13 | +# This program is distributed in the hope that it will be useful, but |
14 | +# WITHOUT ANY WARRANTY; without even the implied warranties of |
15 | +# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR |
16 | +# PURPOSE. See the GNU Affero General Public License for more details. |
17 | +# |
18 | +# You should have received a copy of the GNU Affero General Public License |
19 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
20 | +# |
21 | +# In addition, as a special exception, the copyright holders give |
22 | +# permission to link the code of portions of this program with the |
23 | +# OpenSSL library under certain conditions as described in each |
24 | +# individual source file, and distribute linked combinations |
25 | +# including the two. |
26 | +# You must obey the GNU General Public License in all respects |
27 | +# for all of the code used other than OpenSSL. If you modify |
28 | +# file(s) with this exception, you may extend this exception to your |
29 | +# version of the file(s), but you are not obligated to do so. If you |
30 | +# do not wish to do so, delete this exception statement from your |
31 | +# version. If you delete this exception statement from all source |
32 | +# files in the program, then also delete it here. |
33 | |
34 | === added file 'LICENSE.OpenSSL' |
35 | --- LICENSE.OpenSSL 1970-01-01 00:00:00 +0000 |
36 | +++ LICENSE.OpenSSL 2012-04-03 12:15:42 +0000 |
37 | @@ -0,0 +1,137 @@ |
38 | +Certain source files in this program permit linking with the OpenSSL |
39 | +library (http://www.openssl.org), which otherwise wouldn't be allowed |
40 | +under the (A)GPL. For purposes of identifying OpenSSL, most source files |
41 | +giving this permission limit it to versions of OpenSSL having a license |
42 | +identical to that listed in this file (LICENSE.OpenSSL). It is not |
43 | +necessary for the copyright years to match between this file and the |
44 | +OpenSSL version in question. However, note that because this file is |
45 | +an extension of the license statements of these source files, this file |
46 | +may not be changed except with permission from all copyright holders |
47 | +of source files in this program which reference this file. |
48 | + |
49 | + LICENSE ISSUES |
50 | + ============== |
51 | + |
52 | + The OpenSSL toolkit stays under a dual license, i.e. both the conditions of |
53 | + the OpenSSL License and the original SSLeay license apply to the toolkit. |
54 | + See below for the actual license texts. Actually both licenses are BSD-style |
55 | + Open Source licenses. In case of any license issues related to OpenSSL |
56 | + please contact openssl-core@openssl.org. |
57 | + |
58 | + OpenSSL License |
59 | + --------------- |
60 | + |
61 | +/* ==================================================================== |
62 | + * Copyright (c) 1998-2004 The OpenSSL Project. All rights reserved. |
63 | + * |
64 | + * Redistribution and use in source and binary forms, with or without |
65 | + * modification, are permitted provided that the following conditions |
66 | + * are met: |
67 | + * |
68 | + * 1. Redistributions of source code must retain the above copyright |
69 | + * notice, this list of conditions and the following disclaimer. |
70 | + * |
71 | + * 2. Redistributions in binary form must reproduce the above copyright |
72 | + * notice, this list of conditions and the following disclaimer in |
73 | + * the documentation and/or other materials provided with the |
74 | + * distribution. |
75 | + * |
76 | + * 3. All advertising materials mentioning features or use of this |
77 | + * software must display the following acknowledgment: |
78 | + * "This product includes software developed by the OpenSSL Project |
79 | + * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" |
80 | + * |
81 | + * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to |
82 | + * endorse or promote products derived from this software without |
83 | + * prior written permission. For written permission, please contact |
84 | + * openssl-core@openssl.org. |
85 | + * |
86 | + * 5. Products derived from this software may not be called "OpenSSL" |
87 | + * nor may "OpenSSL" appear in their names without prior written |
88 | + * permission of the OpenSSL Project. |
89 | + * |
90 | + * 6. Redistributions of any form whatsoever must retain the following |
91 | + * acknowledgment: |
92 | + * "This product includes software developed by the OpenSSL Project |
93 | + * for use in the OpenSSL Toolkit (http://www.openssl.org/)" |
94 | + * |
95 | + * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY |
96 | + * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
97 | + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
98 | + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR |
99 | + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
100 | + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
101 | + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
102 | + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
103 | + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
104 | + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
105 | + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
106 | + * OF THE POSSIBILITY OF SUCH DAMAGE. |
107 | + * ==================================================================== |
108 | + * |
109 | + * This product includes cryptographic software written by Eric Young |
110 | + * (eay@cryptsoft.com). This product includes software written by Tim |
111 | + * Hudson (tjh@cryptsoft.com). |
112 | + * |
113 | + */ |
114 | + |
115 | + Original SSLeay License |
116 | + ----------------------- |
117 | + |
118 | +/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
119 | + * All rights reserved. |
120 | + * |
121 | + * This package is an SSL implementation written |
122 | + * by Eric Young (eay@cryptsoft.com). |
123 | + * The implementation was written so as to conform with Netscapes SSL. |
124 | + * |
125 | + * This library is free for commercial and non-commercial use as long as |
126 | + * the following conditions are aheared to. The following conditions |
127 | + * apply to all code found in this distribution, be it the RC4, RSA, |
128 | + * lhash, DES, etc., code; not just the SSL code. The SSL documentation |
129 | + * included with this distribution is covered by the same copyright terms |
130 | + * except that the holder is Tim Hudson (tjh@cryptsoft.com). |
131 | + * |
132 | + * Copyright remains Eric Young's, and as such any Copyright notices in |
133 | + * the code are not to be removed. |
134 | + * If this package is used in a product, Eric Young should be given attribution |
135 | + * as the author of the parts of the library used. |
136 | + * This can be in the form of a textual message at program startup or |
137 | + * in documentation (online or textual) provided with the package. |
138 | + * |
139 | + * Redistribution and use in source and binary forms, with or without |
140 | + * modification, are permitted provided that the following conditions |
141 | + * are met: |
142 | + * 1. Redistributions of source code must retain the copyright |
143 | + * notice, this list of conditions and the following disclaimer. |
144 | + * 2. Redistributions in binary form must reproduce the above copyright |
145 | + * notice, this list of conditions and the following disclaimer in the |
146 | + * documentation and/or other materials provided with the distribution. |
147 | + * 3. All advertising materials mentioning features or use of this software |
148 | + * must display the following acknowledgement: |
149 | + * "This product includes cryptographic software written by |
150 | + * Eric Young (eay@cryptsoft.com)" |
151 | + * The word 'cryptographic' can be left out if the rouines from the library |
152 | + * being used are not cryptographic related :-). |
153 | + * 4. If you include any Windows specific code (or a derivative thereof) from |
154 | + * the apps directory (application code) you must include an acknowledgement: |
155 | + * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" |
156 | + * |
157 | + * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND |
158 | + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
159 | + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
160 | + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE |
161 | + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
162 | + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
163 | + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
164 | + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
165 | + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
166 | + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
167 | + * SUCH DAMAGE. |
168 | + * |
169 | + * The licence and distribution terms for any publically available version or |
170 | + * derivative of this code cannot be changed. i.e. this code cannot simply be |
171 | + * copied and put under another distribution licence |
172 | + * [including the GNU Public Licence.] |
173 | + */ |
174 | + |
175 | |
176 | === modified file 'MANIFEST.in' |
177 | --- MANIFEST.in 2011-02-07 22:57:54 +0000 |
178 | +++ MANIFEST.in 2012-04-03 12:15:42 +0000 |
179 | @@ -1,5 +1,6 @@ |
180 | include MANIFEST.in |
181 | include COPYING HACKING README README.windows |
182 | +include LICENSE LICENSE.OpenSSL |
183 | include run-tests |
184 | include *.pth |
185 | recursive-include ubuntuone *.proto |
186 | |
187 | === modified file 'samples/easy_client.py' |
188 | --- samples/easy_client.py 2010-11-05 18:05:46 +0000 |
189 | +++ samples/easy_client.py 2012-04-03 12:15:42 +0000 |
190 | @@ -2,7 +2,7 @@ |
191 | # |
192 | # Author: Lucio Torre <lucio.torre@canonical.com> |
193 | # |
194 | -# Copyright 2009 Canonical Ltd. |
195 | +# Copyright 2009-2012 Canonical Ltd. |
196 | # |
197 | # This program is free software: you can redistribute it and/or modify it |
198 | # under the terms of the GNU Affero General Public License version 3, |
199 | @@ -15,6 +15,19 @@ |
200 | # |
201 | # You should have received a copy of the GNU Affero General Public License |
202 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
203 | +# |
204 | +# In addition, as a special exception, the copyright holders give |
205 | +# permission to link the code of portions of this program with the |
206 | +# OpenSSL library under certain conditions as described in each |
207 | +# individual source file, and distribute linked combinations |
208 | +# including the two. |
209 | +# You must obey the GNU General Public License in all respects |
210 | +# for all of the code used other than OpenSSL. If you modify |
211 | +# file(s) with this exception, you may extend this exception to your |
212 | +# version of the file(s), but you are not obligated to do so. If you |
213 | +# do not wish to do so, delete this exception statement from your |
214 | +# version. If you delete this exception statement from all source |
215 | +# files in the program, then also delete it here. |
216 | """A simple client with some tests |
217 | """ |
218 | import os |
219 | |
220 | === modified file 'samples/ping_client.py' |
221 | --- samples/ping_client.py 2010-11-04 14:18:06 +0000 |
222 | +++ samples/ping_client.py 2012-04-03 12:15:42 +0000 |
223 | @@ -2,7 +2,7 @@ |
224 | # |
225 | # Author: Lucio Torre <lucio.torre@canonical.com> |
226 | # |
227 | -# Copyright 2009 Canonical Ltd. |
228 | +# Copyright 2009-2012 Canonical Ltd. |
229 | # |
230 | # This program is free software: you can redistribute it and/or modify it |
231 | # under the terms of the GNU Affero General Public License version 3, |
232 | @@ -15,6 +15,19 @@ |
233 | # |
234 | # You should have received a copy of the GNU Affero General Public License |
235 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
236 | +# |
237 | +# In addition, as a special exception, the copyright holders give |
238 | +# permission to link the code of portions of this program with the |
239 | +# OpenSSL library under certain conditions as described in each |
240 | +# individual source file, and distribute linked combinations |
241 | +# including the two. |
242 | +# You must obey the GNU General Public License in all respects |
243 | +# for all of the code used other than OpenSSL. If you modify |
244 | +# file(s) with this exception, you may extend this exception to your |
245 | +# version of the file(s), but you are not obligated to do so. If you |
246 | +# do not wish to do so, delete this exception statement from your |
247 | +# version. If you delete this exception statement from all source |
248 | +# files in the program, then also delete it here. |
249 | """A simple ping client |
250 | """ |
251 | |
252 | |
253 | === modified file 'tests/__init__.py' |
254 | --- tests/__init__.py 2010-11-04 14:18:06 +0000 |
255 | +++ tests/__init__.py 2012-04-03 12:15:42 +0000 |
256 | @@ -1,6 +1,6 @@ |
257 | # __init__.py |
258 | # |
259 | -# Copyright 2009 Canonical Ltd. |
260 | +# Copyright 2009-2012 Canonical Ltd. |
261 | # |
262 | # This program is free software: you can redistribute it and/or modify it |
263 | # under the terms of the GNU Affero General Public License version 3, |
264 | @@ -13,4 +13,17 @@ |
265 | # |
266 | # You should have received a copy of the GNU Affero General Public License |
267 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
268 | +# |
269 | +# In addition, as a special exception, the copyright holders give |
270 | +# permission to link the code of portions of this program with the |
271 | +# OpenSSL library under certain conditions as described in each |
272 | +# individual source file, and distribute linked combinations |
273 | +# including the two. |
274 | +# You must obey the GNU General Public License in all respects |
275 | +# for all of the code used other than OpenSSL. If you modify |
276 | +# file(s) with this exception, you may extend this exception to your |
277 | +# version of the file(s), but you are not obligated to do so. If you |
278 | +# do not wish to do so, delete this exception statement from your |
279 | +# version. If you delete this exception statement from all source |
280 | +# files in the program, then also delete it here. |
281 | """Tests for ubuntuone.storageprotocol""" |
282 | |
283 | === modified file 'tests/test_bytesproducer.py' |
284 | --- tests/test_bytesproducer.py 2011-12-20 16:06:36 +0000 |
285 | +++ tests/test_bytesproducer.py 2012-04-03 12:15:42 +0000 |
286 | @@ -3,7 +3,7 @@ |
287 | # |
288 | # Author: Facundo Batista <facundo@canonical.com> |
289 | # |
290 | -# Copyright (C) 2009 Canonical |
291 | +# Copyright (C) 2009-2012 Canonical Ltd. |
292 | # |
293 | # This program is free software: you can redistribute it and/or modify it |
294 | # under the terms of the GNU Affero General Public License version 3, |
295 | @@ -16,6 +16,19 @@ |
296 | # |
297 | # You should have received a copy of the GNU Affero General Public License |
298 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
299 | +# |
300 | +# In addition, as a special exception, the copyright holders give |
301 | +# permission to link the code of portions of this program with the |
302 | +# OpenSSL library under certain conditions as described in each |
303 | +# individual source file, and distribute linked combinations |
304 | +# including the two. |
305 | +# You must obey the GNU General Public License in all respects |
306 | +# for all of the code used other than OpenSSL. If you modify |
307 | +# file(s) with this exception, you may extend this exception to your |
308 | +# version of the file(s), but you are not obligated to do so. If you |
309 | +# do not wish to do so, delete this exception statement from your |
310 | +# version. If you delete this exception statement from all source |
311 | +# files in the program, then also delete it here. |
312 | """Tests for directory content serialization/unserialization.""" |
313 | |
314 | from __future__ import with_statement |
315 | |
316 | === modified file 'tests/test_client.py' |
317 | --- tests/test_client.py 2011-12-20 16:06:36 +0000 |
318 | +++ tests/test_client.py 2012-04-03 12:15:42 +0000 |
319 | @@ -3,7 +3,7 @@ |
320 | # Author: Natalia B. Bidart <natalia.bidart@canonical.com> |
321 | # Author: Alejandro J. Cura <alecu@canonical.com> |
322 | # |
323 | -# Copyright (C) 2009, 2011 Canonical Ltd. |
324 | +# Copyright (C) 2009-2012 Canonical Ltd. |
325 | # |
326 | # This program is free software: you can redistribute it and/or modify it |
327 | # under the terms of the GNU Affero General Public License version 3, |
328 | @@ -16,6 +16,19 @@ |
329 | # |
330 | # You should have received a copy of the GNU Affero General Public License |
331 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
332 | +# |
333 | +# In addition, as a special exception, the copyright holders give |
334 | +# permission to link the code of portions of this program with the |
335 | +# OpenSSL library under certain conditions as described in each |
336 | +# individual source file, and distribute linked combinations |
337 | +# including the two. |
338 | +# You must obey the GNU General Public License in all respects |
339 | +# for all of the code used other than OpenSSL. If you modify |
340 | +# file(s) with this exception, you may extend this exception to your |
341 | +# version of the file(s), but you are not obligated to do so. If you |
342 | +# do not wish to do so, delete this exception statement from your |
343 | +# version. If you delete this exception statement from all source |
344 | +# files in the program, then also delete it here. |
345 | """Tests for the protocol client.""" |
346 | |
347 | import StringIO |
348 | |
349 | === modified file 'tests/test_delta_info.py' |
350 | --- tests/test_delta_info.py 2010-11-04 14:18:06 +0000 |
351 | +++ tests/test_delta_info.py 2012-04-03 12:15:42 +0000 |
352 | @@ -2,7 +2,7 @@ |
353 | # |
354 | # Author: Lucio Torre <lucio.torre@canonical.com> |
355 | # |
356 | -# Copyright (C) 2009 Canonical Ltd. |
357 | +# Copyright (C) 2009-2012 Canonical Ltd. |
358 | # |
359 | # This program is free software: you can redistribute it and/or modify it |
360 | # under the terms of the GNU Affero General Public License version 3, |
361 | @@ -15,6 +15,19 @@ |
362 | # |
363 | # You should have received a copy of the GNU Affero General Public License |
364 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
365 | +# |
366 | +# In addition, as a special exception, the copyright holders give |
367 | +# permission to link the code of portions of this program with the |
368 | +# OpenSSL library under certain conditions as described in each |
369 | +# individual source file, and distribute linked combinations |
370 | +# including the two. |
371 | +# You must obey the GNU General Public License in all respects |
372 | +# for all of the code used other than OpenSSL. If you modify |
373 | +# file(s) with this exception, you may extend this exception to your |
374 | +# version of the file(s), but you are not obligated to do so. If you |
375 | +# do not wish to do so, delete this exception statement from your |
376 | +# version. If you delete this exception statement from all source |
377 | +# files in the program, then also delete it here. |
378 | """Tests for generation node data type.""" |
379 | |
380 | import unittest |
381 | |
382 | === modified file 'tests/test_dircontent.py' |
383 | --- tests/test_dircontent.py 2010-11-05 18:05:46 +0000 |
384 | +++ tests/test_dircontent.py 2012-04-03 12:15:42 +0000 |
385 | @@ -3,7 +3,7 @@ |
386 | # |
387 | # Author: Tim Cole <tim.cole@canonical.com> |
388 | # |
389 | -# Copyright (C) 2009 Canonical |
390 | +# Copyright (C) 2009-2012 Canonical Ltd. |
391 | # |
392 | # This program is free software: you can redistribute it and/or modify it |
393 | # under the terms of the GNU Affero General Public License version 3, |
394 | @@ -16,6 +16,19 @@ |
395 | # |
396 | # You should have received a copy of the GNU Affero General Public License |
397 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
398 | +# |
399 | +# In addition, as a special exception, the copyright holders give |
400 | +# permission to link the code of portions of this program with the |
401 | +# OpenSSL library under certain conditions as described in each |
402 | +# individual source file, and distribute linked combinations |
403 | +# including the two. |
404 | +# You must obey the GNU General Public License in all respects |
405 | +# for all of the code used other than OpenSSL. If you modify |
406 | +# file(s) with this exception, you may extend this exception to your |
407 | +# version of the file(s), but you are not obligated to do so. If you |
408 | +# do not wish to do so, delete this exception statement from your |
409 | +# version. If you delete this exception statement from all source |
410 | +# files in the program, then also delete it here. |
411 | """Tests for directory content serialization/unserialization.""" |
412 | |
413 | from __future__ import with_statement |
414 | |
415 | === modified file 'tests/test_errors.py' |
416 | --- tests/test_errors.py 2010-11-04 14:18:06 +0000 |
417 | +++ tests/test_errors.py 2012-04-03 12:15:42 +0000 |
418 | @@ -2,7 +2,7 @@ |
419 | # |
420 | # Author: Natalia B. Bidart <natalia.bidart@canonical.com> |
421 | # |
422 | -# Copyright (C) 2010 Canonical Ltd. |
423 | +# Copyright (C) 2010-2012 Canonical Ltd. |
424 | # |
425 | # This program is free software: you can redistribute it and/or modify it |
426 | # under the terms of the GNU Affero General Public License version 3, |
427 | @@ -15,6 +15,19 @@ |
428 | # |
429 | # You should have received a copy of the GNU Affero General Public License |
430 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
431 | +# |
432 | +# In addition, as a special exception, the copyright holders give |
433 | +# permission to link the code of portions of this program with the |
434 | +# OpenSSL library under certain conditions as described in each |
435 | +# individual source file, and distribute linked combinations |
436 | +# including the two. |
437 | +# You must obey the GNU General Public License in all respects |
438 | +# for all of the code used other than OpenSSL. If you modify |
439 | +# file(s) with this exception, you may extend this exception to your |
440 | +# version of the file(s), but you are not obligated to do so. If you |
441 | +# do not wish to do so, delete this exception statement from your |
442 | +# version. If you delete this exception statement from all source |
443 | +# files in the program, then also delete it here. |
444 | """Tests for errors module.""" |
445 | |
446 | import unittest |
447 | |
448 | === modified file 'tests/test_hashes.py' |
449 | --- tests/test_hashes.py 2011-02-15 15:09:14 +0000 |
450 | +++ tests/test_hashes.py 2012-04-03 12:15:42 +0000 |
451 | @@ -2,7 +2,7 @@ |
452 | # |
453 | # Author: Facundo Batista <facundo@canonical.com> |
454 | # |
455 | -# Copyright (C) 2011 Canonical Ltd. |
456 | +# Copyright (C) 2011-2012 Canonical Ltd. |
457 | # |
458 | # This program is free software: you can redistribute it and/or modify it |
459 | # under the terms of the GNU Affero General Public License version 3, |
460 | @@ -15,7 +15,19 @@ |
461 | # |
462 | # You should have received a copy of the GNU Affero General Public License |
463 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
464 | - |
465 | +# |
466 | +# In addition, as a special exception, the copyright holders give |
467 | +# permission to link the code of portions of this program with the |
468 | +# OpenSSL library under certain conditions as described in each |
469 | +# individual source file, and distribute linked combinations |
470 | +# including the two. |
471 | +# You must obey the GNU General Public License in all respects |
472 | +# for all of the code used other than OpenSSL. If you modify |
473 | +# file(s) with this exception, you may extend this exception to your |
474 | +# version of the file(s), but you are not obligated to do so. If you |
475 | +# do not wish to do so, delete this exception statement from your |
476 | +# version. If you delete this exception statement from all source |
477 | +# files in the program, then also delete it here. |
478 | """Tests for the protocol hashing methods.""" |
479 | |
480 | import hashlib |
481 | |
482 | === modified file 'tests/test_proxy_tunnel.py' |
483 | --- tests/test_proxy_tunnel.py 2010-11-04 14:18:06 +0000 |
484 | +++ tests/test_proxy_tunnel.py 2012-04-03 12:15:42 +0000 |
485 | @@ -1,6 +1,6 @@ |
486 | # Test for proxy tunnel |
487 | # |
488 | -# Copyright 2009 Canonical Ltd. |
489 | +# Copyright 2009-2012 Canonical Ltd. |
490 | # |
491 | # This program is free software: you can redistribute it and/or modify it |
492 | # under the terms of the GNU Affero General Public License version 3, |
493 | @@ -13,6 +13,19 @@ |
494 | # |
495 | # You should have received a copy of the GNU Affero General Public License |
496 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
497 | +# |
498 | +# In addition, as a special exception, the copyright holders give |
499 | +# permission to link the code of portions of this program with the |
500 | +# OpenSSL library under certain conditions as described in each |
501 | +# individual source file, and distribute linked combinations |
502 | +# including the two. |
503 | +# You must obey the GNU General Public License in all respects |
504 | +# for all of the code used other than OpenSSL. If you modify |
505 | +# file(s) with this exception, you may extend this exception to your |
506 | +# version of the file(s), but you are not obligated to do so. If you |
507 | +# do not wish to do so, delete this exception statement from your |
508 | +# version. If you delete this exception statement from all source |
509 | +# files in the program, then also delete it here. |
510 | """Test for proxy tunnel""" |
511 | |
512 | import unittest |
513 | |
514 | === modified file 'tests/test_putcontent.py' |
515 | --- tests/test_putcontent.py 2011-04-20 18:49:55 +0000 |
516 | +++ tests/test_putcontent.py 2012-04-03 12:15:42 +0000 |
517 | @@ -4,7 +4,7 @@ |
518 | # Author: John R. Lenton <john.lenton@canonical.com> |
519 | # Guillermo Gonzalez <guillermo.gonzalez@canonical.com> |
520 | # |
521 | -# Copyright (C) 2009-2011 Canonical |
522 | +# Copyright (C) 2009-2012 Canonical Ltd. |
523 | # |
524 | # This program is free software: you can redistribute it and/or modify it |
525 | # under the terms of the GNU Affero General Public License version 3, |
526 | @@ -17,6 +17,19 @@ |
527 | # |
528 | # You should have received a copy of the GNU Affero General Public License |
529 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
530 | +# |
531 | +# In addition, as a special exception, the copyright holders give |
532 | +# permission to link the code of portions of this program with the |
533 | +# OpenSSL library under certain conditions as described in each |
534 | +# individual source file, and distribute linked combinations |
535 | +# including the two. |
536 | +# You must obey the GNU General Public License in all respects |
537 | +# for all of the code used other than OpenSSL. If you modify |
538 | +# file(s) with this exception, you may extend this exception to your |
539 | +# version of the file(s), but you are not obligated to do so. If you |
540 | +# do not wish to do so, delete this exception statement from your |
541 | +# version. If you delete this exception statement from all source |
542 | +# files in the program, then also delete it here. |
543 | """Tests for PutContent request""" |
544 | |
545 | import unittest |
546 | |
547 | === modified file 'tests/test_query.py' |
548 | --- tests/test_query.py 2010-11-04 14:18:06 +0000 |
549 | +++ tests/test_query.py 2012-04-03 12:15:42 +0000 |
550 | @@ -3,7 +3,7 @@ |
551 | # |
552 | # Author: John R. Lenton <john.lenton@canonical.com> |
553 | # |
554 | -# Copyright (C) 2009 Canonical |
555 | +# Copyright (C) 2009-2012 Canonical Ltd. |
556 | # |
557 | # This program is free software: you can redistribute it and/or modify it |
558 | # under the terms of the GNU Affero General Public License version 3, |
559 | @@ -16,6 +16,19 @@ |
560 | # |
561 | # You should have received a copy of the GNU Affero General Public License |
562 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
563 | +# |
564 | +# In addition, as a special exception, the copyright holders give |
565 | +# permission to link the code of portions of this program with the |
566 | +# OpenSSL library under certain conditions as described in each |
567 | +# individual source file, and distribute linked combinations |
568 | +# including the two. |
569 | +# You must obey the GNU General Public License in all respects |
570 | +# for all of the code used other than OpenSSL. If you modify |
571 | +# file(s) with this exception, you may extend this exception to your |
572 | +# version of the file(s), but you are not obligated to do so. If you |
573 | +# do not wish to do so, delete this exception statement from your |
574 | +# version. If you delete this exception statement from all source |
575 | +# files in the program, then also delete it here. |
576 | """Tests for querying lots of items""" |
577 | |
578 | import unittest |
579 | |
580 | === modified file 'tests/test_request.py' |
581 | --- tests/test_request.py 2011-12-20 16:06:36 +0000 |
582 | +++ tests/test_request.py 2012-04-03 12:15:42 +0000 |
583 | @@ -4,7 +4,7 @@ |
584 | # Author: Tim Cole <tim.cole@canonical.com> |
585 | # Author: Natalia Bidart <natalia.bidart@canonical.com> |
586 | # |
587 | -# Copyright (C) 2009 Canonical |
588 | +# Copyright (C) 2009-2012 Canonical Ltd. |
589 | # |
590 | # This program is free software: you can redistribute it and/or modify it |
591 | # under the terms of the GNU Affero General Public License version 3, |
592 | @@ -17,6 +17,19 @@ |
593 | # |
594 | # You should have received a copy of the GNU Affero General Public License |
595 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
596 | +# |
597 | +# In addition, as a special exception, the copyright holders give |
598 | +# permission to link the code of portions of this program with the |
599 | +# OpenSSL library under certain conditions as described in each |
600 | +# individual source file, and distribute linked combinations |
601 | +# including the two. |
602 | +# You must obey the GNU General Public License in all respects |
603 | +# for all of the code used other than OpenSSL. If you modify |
604 | +# file(s) with this exception, you may extend this exception to your |
605 | +# version of the file(s), but you are not obligated to do so. If you |
606 | +# do not wish to do so, delete this exception statement from your |
607 | +# version. If you delete this exception statement from all source |
608 | +# files in the program, then also delete it here. |
609 | """Tests for directory content serialization/unserialization.""" |
610 | |
611 | from __future__ import with_statement |
612 | |
613 | === modified file 'tests/test_sharersp.py' |
614 | --- tests/test_sharersp.py 2011-12-20 16:06:36 +0000 |
615 | +++ tests/test_sharersp.py 2012-04-03 12:15:42 +0000 |
616 | @@ -2,7 +2,7 @@ |
617 | # |
618 | # Author: Guillermo Gonzalez <guillermo.gonzalez@canonical.com> |
619 | # |
620 | -# Copyright (C) 2010 Canonical |
621 | +# Copyright (C) 2010-2012 Canonical Ltd. |
622 | # |
623 | # This program is free software: you can redistribute it and/or modify it |
624 | # under the terms of the GNU Affero General Public License version 3, |
625 | @@ -15,6 +15,19 @@ |
626 | # |
627 | # You should have received a copy of the GNU Affero General Public License |
628 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
629 | +# |
630 | +# In addition, as a special exception, the copyright holders give |
631 | +# permission to link the code of portions of this program with the |
632 | +# OpenSSL library under certain conditions as described in each |
633 | +# individual source file, and distribute linked combinations |
634 | +# including the two. |
635 | +# You must obey the GNU General Public License in all respects |
636 | +# for all of the code used other than OpenSSL. If you modify |
637 | +# file(s) with this exception, you may extend this exception to your |
638 | +# version of the file(s), but you are not obligated to do so. If you |
639 | +# do not wish to do so, delete this exception statement from your |
640 | +# version. If you delete this exception statement from all source |
641 | +# files in the program, then also delete it here. |
642 | """Tests for shares response.""" |
643 | |
644 | import uuid |
645 | |
646 | === modified file 'tests/test_throttling.py' |
647 | --- tests/test_throttling.py 2011-12-20 16:06:36 +0000 |
648 | +++ tests/test_throttling.py 2012-04-03 12:15:42 +0000 |
649 | @@ -3,7 +3,7 @@ |
650 | # |
651 | # Author: Facundo Batista <facundo@canonical.com> |
652 | # |
653 | -# Copyright (C) 2009 Canonical |
654 | +# Copyright (C) 2009-2012 Canonical |
655 | # |
656 | # This program is free software: you can redistribute it and/or modify it |
657 | # under the terms of the GNU Affero General Public License version 3, |
658 | @@ -16,6 +16,19 @@ |
659 | # |
660 | # You should have received a copy of the GNU Affero General Public License |
661 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
662 | +# |
663 | +# In addition, as a special exception, the copyright holders give |
664 | +# permission to link the code of portions of this program with the |
665 | +# OpenSSL library under certain conditions as described in each |
666 | +# individual source file, and distribute linked combinations |
667 | +# including the two. |
668 | +# You must obey the GNU General Public License in all respects |
669 | +# for all of the code used other than OpenSSL. If you modify |
670 | +# file(s) with this exception, you may extend this exception to your |
671 | +# version of the file(s), but you are not obligated to do so. If you |
672 | +# do not wish to do so, delete this exception statement from your |
673 | +# version. If you delete this exception statement from all source |
674 | +# files in the program, then also delete it here. |
675 | """Tests for directory content serialization/unserialization.""" |
676 | |
677 | from __future__ import with_statement |
678 | |
679 | === modified file 'tests/test_volumes.py' |
680 | --- tests/test_volumes.py 2010-11-04 14:18:06 +0000 |
681 | +++ tests/test_volumes.py 2012-04-03 12:15:42 +0000 |
682 | @@ -2,7 +2,7 @@ |
683 | # |
684 | # Author: Natalia B. Bidart <natalia.bidart@canonical.com> |
685 | # |
686 | -# Copyright (C) 2009 Canonical Ltd. |
687 | +# Copyright (C) 2009-2012 Canonical Ltd. |
688 | # |
689 | # This program is free software: you can redistribute it and/or modify it |
690 | # under the terms of the GNU Affero General Public License version 3, |
691 | @@ -15,6 +15,19 @@ |
692 | # |
693 | # You should have received a copy of the GNU Affero General Public License |
694 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
695 | +# |
696 | +# In addition, as a special exception, the copyright holders give |
697 | +# permission to link the code of portions of this program with the |
698 | +# OpenSSL library under certain conditions as described in each |
699 | +# individual source file, and distribute linked combinations |
700 | +# including the two. |
701 | +# You must obey the GNU General Public License in all respects |
702 | +# for all of the code used other than OpenSSL. If you modify |
703 | +# file(s) with this exception, you may extend this exception to your |
704 | +# version of the file(s), but you are not obligated to do so. If you |
705 | +# do not wish to do so, delete this exception statement from your |
706 | +# version. If you delete this exception statement from all source |
707 | +# files in the program, then also delete it here. |
708 | """Tests for volume data type.""" |
709 | |
710 | import unittest |
711 | |
712 | === modified file 'ubuntuone/__init__.py' |
713 | --- ubuntuone/__init__.py 2010-03-15 18:48:27 +0000 |
714 | +++ ubuntuone/__init__.py 2012-04-03 12:15:42 +0000 |
715 | @@ -1,6 +1,6 @@ |
716 | # __init__.py |
717 | # |
718 | -# Copyright 2009 Canonical Ltd. |
719 | +# Copyright 2009-2012 Canonical Ltd. |
720 | # |
721 | # This program is free software: you can redistribute it and/or modify it |
722 | # under the terms of the GNU Affero General Public License version 3, |
723 | @@ -13,5 +13,18 @@ |
724 | # |
725 | # You should have received a copy of the GNU Affero General Public License |
726 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
727 | +# |
728 | +# In addition, as a special exception, the copyright holders give |
729 | +# permission to link the code of portions of this program with the |
730 | +# OpenSSL library under certain conditions as described in each |
731 | +# individual source file, and distribute linked combinations |
732 | +# including the two. |
733 | +# You must obey the GNU General Public License in all respects |
734 | +# for all of the code used other than OpenSSL. If you modify |
735 | +# file(s) with this exception, you may extend this exception to your |
736 | +# version of the file(s), but you are not obligated to do so. If you |
737 | +# do not wish to do so, delete this exception statement from your |
738 | +# version. If you delete this exception statement from all source |
739 | +# files in the program, then also delete it here. |
740 | """ubuntuone package""" |
741 | __import__('pkg_resources').declare_namespace(__name__) |
742 | |
743 | === modified file 'ubuntuone/storageprotocol/__init__.py' |
744 | --- ubuntuone/storageprotocol/__init__.py 2010-11-04 14:18:06 +0000 |
745 | +++ ubuntuone/storageprotocol/__init__.py 2012-04-03 12:15:42 +0000 |
746 | @@ -1,6 +1,6 @@ |
747 | # __init__.py |
748 | # |
749 | -# Copyright 2009 Canonical Ltd. |
750 | +# Copyright 2009-2012 Canonical Ltd. |
751 | # |
752 | # This program is free software: you can redistribute it and/or modify it |
753 | # under the terms of the GNU Affero General Public License version 3, |
754 | @@ -13,4 +13,17 @@ |
755 | # |
756 | # You should have received a copy of the GNU Affero General Public License |
757 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
758 | +# |
759 | +# In addition, as a special exception, the copyright holders give |
760 | +# permission to link the code of portions of this program with the |
761 | +# OpenSSL library under certain conditions as described in each |
762 | +# individual source file, and distribute linked combinations |
763 | +# including the two. |
764 | +# You must obey the GNU General Public License in all respects |
765 | +# for all of the code used other than OpenSSL. If you modify |
766 | +# file(s) with this exception, you may extend this exception to your |
767 | +# version of the file(s), but you are not obligated to do so. If you |
768 | +# do not wish to do so, delete this exception statement from your |
769 | +# version. If you delete this exception statement from all source |
770 | +# files in the program, then also delete it here. |
771 | """ubuntuone.storageprotocol package.""" |
772 | |
773 | === modified file 'ubuntuone/storageprotocol/client.py' |
774 | --- ubuntuone/storageprotocol/client.py 2011-10-06 19:28:08 +0000 |
775 | +++ ubuntuone/storageprotocol/client.py 2012-04-03 12:15:42 +0000 |
776 | @@ -6,7 +6,7 @@ |
777 | # Author: Facundo Batista <facundo@canonical.com> |
778 | # Author: Alejandro J. Cura <alecu@canonical.com> |
779 | # |
780 | -# Copyright 2009-2011 Canonical Ltd. |
781 | +# Copyright 2009-2012 Canonical Ltd. |
782 | # |
783 | # This program is free software: you can redistribute it and/or modify it |
784 | # under the terms of the GNU Affero General Public License version 3, |
785 | @@ -19,6 +19,19 @@ |
786 | # |
787 | # You should have received a copy of the GNU Affero General Public License |
788 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
789 | +# |
790 | +# In addition, as a special exception, the copyright holders give |
791 | +# permission to link the code of portions of this program with the |
792 | +# OpenSSL library under certain conditions as described in each |
793 | +# individual source file, and distribute linked combinations |
794 | +# including the two. |
795 | +# You must obey the GNU General Public License in all respects |
796 | +# for all of the code used other than OpenSSL. If you modify |
797 | +# file(s) with this exception, you may extend this exception to your |
798 | +# version of the file(s), but you are not obligated to do so. If you |
799 | +# do not wish to do so, delete this exception statement from your |
800 | +# version. If you delete this exception statement from all source |
801 | +# files in the program, then also delete it here. |
802 | """The storage protocol client.""" |
803 | |
804 | import logging |
805 | |
806 | === modified file 'ubuntuone/storageprotocol/content_hash.py' |
807 | --- ubuntuone/storageprotocol/content_hash.py 2011-02-15 15:09:14 +0000 |
808 | +++ ubuntuone/storageprotocol/content_hash.py 2012-04-03 12:15:42 +0000 |
809 | @@ -3,7 +3,7 @@ |
810 | # Author: Lucio Torre <lucio.torre@canonical.com> |
811 | # Natalia B. Bidart <natalia.bidart@canonical.com> |
812 | # |
813 | -# Copyright 2009-2010 Canonical Ltd. |
814 | +# Copyright 2009-2012 Canonical Ltd. |
815 | # |
816 | # This program is free software: you can redistribute it and/or modify it |
817 | # under the terms of the GNU Affero General Public License version 3, |
818 | @@ -16,7 +16,19 @@ |
819 | # |
820 | # You should have received a copy of the GNU Affero General Public License |
821 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
822 | - |
823 | +# |
824 | +# In addition, as a special exception, the copyright holders give |
825 | +# permission to link the code of portions of this program with the |
826 | +# OpenSSL library under certain conditions as described in each |
827 | +# individual source file, and distribute linked combinations |
828 | +# including the two. |
829 | +# You must obey the GNU General Public License in all respects |
830 | +# for all of the code used other than OpenSSL. If you modify |
831 | +# file(s) with this exception, you may extend this exception to your |
832 | +# version of the file(s), but you are not obligated to do so. If you |
833 | +# do not wish to do so, delete this exception statement from your |
834 | +# version. If you delete this exception statement from all source |
835 | +# files in the program, then also delete it here. |
836 | """Hash Handling Stuffs.""" |
837 | |
838 | import copy |
839 | |
840 | === modified file 'ubuntuone/storageprotocol/context.py' |
841 | --- ubuntuone/storageprotocol/context.py 2010-11-04 14:18:06 +0000 |
842 | +++ ubuntuone/storageprotocol/context.py 2012-04-03 12:15:42 +0000 |
843 | @@ -1,6 +1,6 @@ |
844 | # ubuntuone.storageprotocol.context - ssl context creation |
845 | # |
846 | -# Copyright 2009 Canonical Ltd. |
847 | +# Copyright 2009-2012 Canonical Ltd. |
848 | # |
849 | # This program is free software: you can redistribute it and/or modify it |
850 | # under the terms of the GNU Affero General Public License version 3, |
851 | @@ -13,6 +13,19 @@ |
852 | # |
853 | # You should have received a copy of the GNU Affero General Public License |
854 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
855 | +# |
856 | +# In addition, as a special exception, the copyright holders give |
857 | +# permission to link the code of portions of this program with the |
858 | +# OpenSSL library under certain conditions as described in each |
859 | +# individual source file, and distribute linked combinations |
860 | +# including the two. |
861 | +# You must obey the GNU General Public License in all respects |
862 | +# for all of the code used other than OpenSSL. If you modify |
863 | +# file(s) with this exception, you may extend this exception to your |
864 | +# version of the file(s), but you are not obligated to do so. If you |
865 | +# do not wish to do so, delete this exception statement from your |
866 | +# version. If you delete this exception statement from all source |
867 | +# files in the program, then also delete it here. |
868 | """ |
869 | Standard Routines for working with ssl context creation |
870 | """ |
871 | |
872 | === modified file 'ubuntuone/storageprotocol/delta.py' |
873 | --- ubuntuone/storageprotocol/delta.py 2010-11-04 14:18:06 +0000 |
874 | +++ ubuntuone/storageprotocol/delta.py 2012-04-03 12:15:42 +0000 |
875 | @@ -2,7 +2,7 @@ |
876 | # |
877 | # Author: Lucio Torre <lucio.torre@canonical.com> |
878 | # |
879 | -# Copyright 2009 Canonical Ltd. |
880 | +# Copyright 2009-2012 Canonical Ltd. |
881 | # |
882 | # This program is free software: you can redistribute it and/or modify it |
883 | # under the terms of the GNU Affero General Public License version 3, |
884 | @@ -15,6 +15,19 @@ |
885 | # |
886 | # You should have received a copy of the GNU Affero General Public License |
887 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
888 | +# |
889 | +# In addition, as a special exception, the copyright holders give |
890 | +# permission to link the code of portions of this program with the |
891 | +# OpenSSL library under certain conditions as described in each |
892 | +# individual source file, and distribute linked combinations |
893 | +# including the two. |
894 | +# You must obey the GNU General Public License in all respects |
895 | +# for all of the code used other than OpenSSL. If you modify |
896 | +# file(s) with this exception, you may extend this exception to your |
897 | +# version of the file(s), but you are not obligated to do so. If you |
898 | +# do not wish to do so, delete this exception statement from your |
899 | +# version. If you delete this exception statement from all source |
900 | +# files in the program, then also delete it here. |
901 | """ |
902 | Provides wrapper classes for delta nodes messages |
903 | """ |
904 | |
905 | === modified file 'ubuntuone/storageprotocol/dircontent.proto' |
906 | --- ubuntuone/storageprotocol/dircontent.proto 2010-01-25 15:18:44 +0000 |
907 | +++ ubuntuone/storageprotocol/dircontent.proto 2012-04-03 12:15:42 +0000 |
908 | @@ -1,7 +1,7 @@ |
909 | /* |
910 | ubuntuone.storageprotocol.dircontent_pb2 - dircontent protocol |
911 | |
912 | - Copyright 2009 Canonical Ltd. |
913 | + Copyright 2009-2012 Canonical Ltd. |
914 | |
915 | This program is free software: you can redistribute it and/or modify it |
916 | under the terms of the GNU Affero General Public License version 3, |
917 | @@ -14,6 +14,19 @@ |
918 | |
919 | You should have received a copy of the GNU Affero General Public License |
920 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
921 | + |
922 | + In addition, as a special exception, the copyright holders give |
923 | + permission to link the code of portions of this program with the |
924 | + OpenSSL library under certain conditions as described in each |
925 | + individual source file, and distribute linked combinations |
926 | + including the two. |
927 | + You must obey the GNU General Public License in all respects |
928 | + for all of the code used other than OpenSSL. If you modify |
929 | + file(s) with this exception, you may extend this exception to your |
930 | + version of the file(s), but you are not obligated to do so. If you |
931 | + do not wish to do so, delete this exception statement from your |
932 | + version. If you delete this exception statement from all source |
933 | + files in the program, then also delete it here. |
934 | */ |
935 | package ubuntuone.storageprotocol; |
936 | |
937 | |
938 | === modified file 'ubuntuone/storageprotocol/dircontent.py' |
939 | --- ubuntuone/storageprotocol/dircontent.py 2010-11-05 18:05:46 +0000 |
940 | +++ ubuntuone/storageprotocol/dircontent.py 2012-04-03 12:15:42 +0000 |
941 | @@ -2,7 +2,7 @@ |
942 | # |
943 | # Author: Tim Cole <tim.cole@canonical.com> |
944 | # |
945 | -# Copyright 2009 Canonical Ltd. |
946 | +# Copyright 2009-2012 Canonical Ltd. |
947 | # |
948 | # This program is free software: you can redistribute it and/or modify it |
949 | # under the terms of the GNU Affero General Public License version 3, |
950 | @@ -15,6 +15,19 @@ |
951 | # |
952 | # You should have received a copy of the GNU Affero General Public License |
953 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
954 | +# |
955 | +# In addition, as a special exception, the copyright holders give |
956 | +# permission to link the code of portions of this program with the |
957 | +# OpenSSL library under certain conditions as described in each |
958 | +# individual source file, and distribute linked combinations |
959 | +# including the two. |
960 | +# You must obey the GNU General Public License in all respects |
961 | +# for all of the code used other than OpenSSL. If you modify |
962 | +# file(s) with this exception, you may extend this exception to your |
963 | +# version of the file(s), but you are not obligated to do so. If you |
964 | +# do not wish to do so, delete this exception statement from your |
965 | +# version. If you delete this exception statement from all source |
966 | +# files in the program, then also delete it here. |
967 | """ |
968 | Standard routines for working with directory content. |
969 | |
970 | |
971 | === modified file 'ubuntuone/storageprotocol/errors.py' |
972 | --- ubuntuone/storageprotocol/errors.py 2010-11-04 14:18:06 +0000 |
973 | +++ ubuntuone/storageprotocol/errors.py 2012-04-03 12:15:42 +0000 |
974 | @@ -2,7 +2,7 @@ |
975 | # |
976 | # Author: Natalia B. Bidart <natalia.bidart@canonical.com> |
977 | # |
978 | -# Copyright 2010 Canonical Ltd. |
979 | +# Copyright 2010-2012 Canonical Ltd. |
980 | # |
981 | # This program is free software: you can redistribute it and/or modify it |
982 | # under the terms of the GNU Affero General Public License version 3, |
983 | @@ -15,6 +15,19 @@ |
984 | # |
985 | # You should have received a copy of the GNU Affero General Public License |
986 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
987 | +# |
988 | +# In addition, as a special exception, the copyright holders give |
989 | +# permission to link the code of portions of this program with the |
990 | +# OpenSSL library under certain conditions as described in each |
991 | +# individual source file, and distribute linked combinations |
992 | +# including the two. |
993 | +# You must obey the GNU General Public License in all respects |
994 | +# for all of the code used other than OpenSSL. If you modify |
995 | +# file(s) with this exception, you may extend this exception to your |
996 | +# version of the file(s), but you are not obligated to do so. If you |
997 | +# do not wish to do so, delete this exception statement from your |
998 | +# version. If you delete this exception statement from all source |
999 | +# files in the program, then also delete it here. |
1000 | """The errors abstraction.""" |
1001 | |
1002 | import uuid |
1003 | |
1004 | === modified file 'ubuntuone/storageprotocol/protocol.proto' |
1005 | --- ubuntuone/storageprotocol/protocol.proto 2011-07-29 21:37:22 +0000 |
1006 | +++ ubuntuone/storageprotocol/protocol.proto 2012-04-03 12:15:42 +0000 |
1007 | @@ -1,7 +1,7 @@ |
1008 | /* |
1009 | ubuntuone.storageprotocol.protocol_pb2 - storage protocol |
1010 | |
1011 | - Copyright 2009-2011 Canonical Ltd. |
1012 | + Copyright 2009-2012 Canonical Ltd. |
1013 | |
1014 | This program is free software: you can redistribute it and/or modify it |
1015 | under the terms of the GNU Affero General Public License version 3, |
1016 | @@ -14,6 +14,19 @@ |
1017 | |
1018 | You should have received a copy of the GNU Affero General Public License |
1019 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
1020 | + |
1021 | + In addition, as a special exception, the copyright holders give |
1022 | + permission to link the code of portions of this program with the |
1023 | + OpenSSL library under certain conditions as described in each |
1024 | + individual source file, and distribute linked combinations |
1025 | + including the two. |
1026 | + You must obey the GNU General Public License in all respects |
1027 | + for all of the code used other than OpenSSL. If you modify |
1028 | + file(s) with this exception, you may extend this exception to your |
1029 | + version of the file(s), but you are not obligated to do so. If you |
1030 | + do not wish to do so, delete this exception statement from your |
1031 | + version. If you delete this exception statement from all source |
1032 | + files in the program, then also delete it here. |
1033 | */ |
1034 | package ubuntuone.storageprotocol; |
1035 | |
1036 | |
1037 | === modified file 'ubuntuone/storageprotocol/proxy_tunnel.py' |
1038 | --- ubuntuone/storageprotocol/proxy_tunnel.py 2010-11-04 14:18:06 +0000 |
1039 | +++ ubuntuone/storageprotocol/proxy_tunnel.py 2012-04-03 12:15:42 +0000 |
1040 | @@ -2,7 +2,7 @@ |
1041 | # |
1042 | # Author: Lucio Torre <lucio.torre@canonical.com> |
1043 | # |
1044 | -# Copyright 2009 Canonical Ltd. |
1045 | +# Copyright 2009-2012 Canonical Ltd. |
1046 | # |
1047 | # This program is free software: you can redistribute it and/or modify it |
1048 | # under the terms of the GNU Affero General Public License version 3, |
1049 | @@ -15,6 +15,19 @@ |
1050 | # |
1051 | # You should have received a copy of the GNU Affero General Public License |
1052 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
1053 | +# |
1054 | +# In addition, as a special exception, the copyright holders give |
1055 | +# permission to link the code of portions of this program with the |
1056 | +# OpenSSL library under certain conditions as described in each |
1057 | +# individual source file, and distribute linked combinations |
1058 | +# including the two. |
1059 | +# You must obey the GNU General Public License in all respects |
1060 | +# for all of the code used other than OpenSSL. If you modify |
1061 | +# file(s) with this exception, you may extend this exception to your |
1062 | +# version of the file(s), but you are not obligated to do so. If you |
1063 | +# do not wish to do so, delete this exception statement from your |
1064 | +# version. If you delete this exception statement from all source |
1065 | +# files in the program, then also delete it here. |
1066 | """Proxy tunelling""" |
1067 | import base64 |
1068 | |
1069 | |
1070 | === modified file 'ubuntuone/storageprotocol/request.py' |
1071 | --- ubuntuone/storageprotocol/request.py 2011-06-02 16:40:43 +0000 |
1072 | +++ ubuntuone/storageprotocol/request.py 2012-04-03 12:15:42 +0000 |
1073 | @@ -3,7 +3,7 @@ |
1074 | # |
1075 | # Author: Lucio Torre <lucio.torre@canonical.com> |
1076 | # |
1077 | -# Copyright 2009 Canonical Ltd. |
1078 | +# Copyright 2009-2012 Canonical Ltd. |
1079 | # |
1080 | # This program is free software: you can redistribute it and/or modify it |
1081 | # under the terms of the GNU Affero General Public License version 3, |
1082 | @@ -16,6 +16,19 @@ |
1083 | # |
1084 | # You should have received a copy of the GNU Affero General Public License |
1085 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
1086 | +# |
1087 | +# In addition, as a special exception, the copyright holders give |
1088 | +# permission to link the code of portions of this program with the |
1089 | +# OpenSSL library under certain conditions as described in each |
1090 | +# individual source file, and distribute linked combinations |
1091 | +# including the two. |
1092 | +# You must obey the GNU General Public License in all respects |
1093 | +# for all of the code used other than OpenSSL. If you modify |
1094 | +# file(s) with this exception, you may extend this exception to your |
1095 | +# version of the file(s), but you are not obligated to do so. If you |
1096 | +# do not wish to do so, delete this exception statement from your |
1097 | +# version. If you delete this exception statement from all source |
1098 | +# files in the program, then also delete it here. |
1099 | """ |
1100 | The base classes for the network client and server. |
1101 | |
1102 | |
1103 | === modified file 'ubuntuone/storageprotocol/sharersp.py' |
1104 | --- ubuntuone/storageprotocol/sharersp.py 2010-11-05 14:54:42 +0000 |
1105 | +++ ubuntuone/storageprotocol/sharersp.py 2012-04-03 12:15:42 +0000 |
1106 | @@ -4,7 +4,7 @@ |
1107 | # Author: Facundo Batista <facundo@canonical.com> |
1108 | # Guillermo Gonzalez <guillermo.gonzalez@canonical.com> |
1109 | # |
1110 | -# Copyright 2009-2010 Canonical Ltd. |
1111 | +# Copyright 2009-2012 Canonical Ltd. |
1112 | # |
1113 | # This program is free software: you can redistribute it and/or modify it |
1114 | # under the terms of the GNU Affero General Public License version 3, |
1115 | @@ -16,6 +16,19 @@ |
1116 | # PURPOSE. See the GNU Affero General Public License for more details. |
1117 | # |
1118 | # You should have received a copy of the GNU Affero General Public License |
1119 | +# |
1120 | +# In addition, as a special exception, the copyright holders give |
1121 | +# permission to link the code of portions of this program with the |
1122 | +# OpenSSL library under certain conditions as described in each |
1123 | +# individual source file, and distribute linked combinations |
1124 | +# including the two. |
1125 | +# You must obey the GNU General Public License in all respects |
1126 | +# for all of the code used other than OpenSSL. If you modify |
1127 | +# file(s) with this exception, you may extend this exception to your |
1128 | +# version of the file(s), but you are not obligated to do so. If you |
1129 | +# do not wish to do so, delete this exception statement from your |
1130 | +# version. If you delete this exception statement from all source |
1131 | +# files in the program, then also delete it here. |
1132 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
1133 | """A handy class to use Shares.""" |
1134 | |
1135 | |
1136 | === modified file 'ubuntuone/storageprotocol/utils.py' |
1137 | --- ubuntuone/storageprotocol/utils.py 2011-12-20 16:06:36 +0000 |
1138 | +++ ubuntuone/storageprotocol/utils.py 2012-04-03 12:15:42 +0000 |
1139 | @@ -2,7 +2,7 @@ |
1140 | # |
1141 | # Author: Alejandro J. Cura <alecu@canonical.com> |
1142 | # |
1143 | -# Copyright 2011 Canonical Ltd. |
1144 | +# Copyright 2011-2012 Canonical Ltd. |
1145 | # |
1146 | # This program is free software: you can redistribute it and/or modify it |
1147 | # under the terms of the GNU Affero General Public License version 3, |
1148 | @@ -15,6 +15,19 @@ |
1149 | # |
1150 | # You should have received a copy of the GNU Affero General Public License |
1151 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
1152 | +# |
1153 | +# In addition, as a special exception, the copyright holders give |
1154 | +# permission to link the code of portions of this program with the |
1155 | +# OpenSSL library under certain conditions as described in each |
1156 | +# individual source file, and distribute linked combinations |
1157 | +# including the two. |
1158 | +# You must obey the GNU General Public License in all respects |
1159 | +# for all of the code used other than OpenSSL. If you modify |
1160 | +# file(s) with this exception, you may extend this exception to your |
1161 | +# version of the file(s), but you are not obligated to do so. If you |
1162 | +# do not wish to do so, delete this exception statement from your |
1163 | +# version. If you delete this exception statement from all source |
1164 | +# files in the program, then also delete it here. |
1165 | """Some storage protocol utils.""" |
1166 | |
1167 | import logging |
1168 | |
1169 | === modified file 'ubuntuone/storageprotocol/validators.py' |
1170 | --- ubuntuone/storageprotocol/validators.py 2010-11-05 18:05:46 +0000 |
1171 | +++ ubuntuone/storageprotocol/validators.py 2012-04-03 12:15:42 +0000 |
1172 | @@ -1,6 +1,31 @@ |
1173 | -""" |
1174 | -Message validation. |
1175 | -""" |
1176 | +# |
1177 | +# Copyright (C) 2009-2012 Canonical Ltd. |
1178 | +# |
1179 | +# This program is free software: you can redistribute it and/or modify it |
1180 | +# under the terms of the GNU Affero General Public License version 3, |
1181 | +# as published by the Free Software Foundation. |
1182 | +# |
1183 | +# This program is distributed in the hope that it will be useful, but |
1184 | +# WITHOUT ANY WARRANTY; without even the implied warranties of |
1185 | +# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR |
1186 | +# PURPOSE. See the GNU Affero General Public License for more details. |
1187 | +# |
1188 | +# You should have received a copy of the GNU Affero General Public License |
1189 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
1190 | +# |
1191 | +# In addition, as a special exception, the copyright holders give |
1192 | +# permission to link the code of portions of this program with the |
1193 | +# OpenSSL library under certain conditions as described in each |
1194 | +# individual source file, and distribute linked combinations |
1195 | +# including the two. |
1196 | +# You must obey the GNU General Public License in all respects |
1197 | +# for all of the code used other than OpenSSL. If you modify |
1198 | +# file(s) with this exception, you may extend this exception to your |
1199 | +# version of the file(s), but you are not obligated to do so. If you |
1200 | +# do not wish to do so, delete this exception statement from your |
1201 | +# version. If you delete this exception statement from all source |
1202 | +# files in the program, then also delete it here. |
1203 | +"""Message validation.""" |
1204 | |
1205 | import re |
1206 | from uuid import UUID |
1207 | |
1208 | === modified file 'ubuntuone/storageprotocol/volumes.py' |
1209 | --- ubuntuone/storageprotocol/volumes.py 2010-11-05 18:05:46 +0000 |
1210 | +++ ubuntuone/storageprotocol/volumes.py 2012-04-03 12:15:42 +0000 |
1211 | @@ -2,7 +2,7 @@ |
1212 | # |
1213 | # Author: Natalia B. Bidart <natalia.bidart@canonical.com> |
1214 | # |
1215 | -# Copyright 2009 Canonical Ltd. |
1216 | +# Copyright 2009-2012 Canonical Ltd. |
1217 | # |
1218 | # This program is free software: you can redistribute it and/or modify it |
1219 | # under the terms of the GNU Affero General Public License version 3, |
1220 | @@ -15,6 +15,19 @@ |
1221 | # |
1222 | # You should have received a copy of the GNU Affero General Public License |
1223 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
1224 | +# |
1225 | +# In addition, as a special exception, the copyright holders give |
1226 | +# permission to link the code of portions of this program with the |
1227 | +# OpenSSL library under certain conditions as described in each |
1228 | +# individual source file, and distribute linked combinations |
1229 | +# including the two. |
1230 | +# You must obey the GNU General Public License in all respects |
1231 | +# for all of the code used other than OpenSSL. If you modify |
1232 | +# file(s) with this exception, you may extend this exception to your |
1233 | +# version of the file(s), but you are not obligated to do so. If you |
1234 | +# do not wish to do so, delete this exception statement from your |
1235 | +# version. If you delete this exception statement from all source |
1236 | +# files in the program, then also delete it here. |
1237 | """The volumes abstraction.""" |
1238 | |
1239 | import uuid |
+1