Merge lp:~nataliabidart/ubuntuone-storage-protocol/stable-3-0-update-2.99.92 into lp:ubuntuone-storage-protocol/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
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).

To post a comment you must log in.
Revision history for this message
Alejandro J. Cura (alecu) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'LICENSE'
--- LICENSE 1970-01-01 00:00:00 +0000
+++ LICENSE 2012-04-03 12:15:42 +0000
@@ -0,0 +1,28 @@
1# This is the Ubuntu One storage protocol for file synchronization
2#
3# Copyright (C) 2009-2012 Canonical Ltd.
4#
5# This program is free software: you can redistribute it and/or modify it
6# under the terms of the GNU Affero General Public License version 3,
7# as published by the Free Software Foundation.
8#
9# This program is distributed in the hope that it will be useful, but
10# WITHOUT ANY WARRANTY; without even the implied warranties of
11# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
12# PURPOSE. See the GNU Affero General Public License for more details.
13#
14# You should have received a copy of the GNU Affero General Public License
15# along with this program. If not, see <http://www.gnu.org/licenses/>.
16#
17# In addition, as a special exception, the copyright holders give
18# permission to link the code of portions of this program with the
19# OpenSSL library under certain conditions as described in each
20# individual source file, and distribute linked combinations
21# including the two.
22# You must obey the GNU General Public License in all respects
23# for all of the code used other than OpenSSL. If you modify
24# file(s) with this exception, you may extend this exception to your
25# version of the file(s), but you are not obligated to do so. If you
26# do not wish to do so, delete this exception statement from your
27# version. If you delete this exception statement from all source
28# files in the program, then also delete it here.
029
=== added file 'LICENSE.OpenSSL'
--- LICENSE.OpenSSL 1970-01-01 00:00:00 +0000
+++ LICENSE.OpenSSL 2012-04-03 12:15:42 +0000
@@ -0,0 +1,137 @@
1Certain source files in this program permit linking with the OpenSSL
2library (http://www.openssl.org), which otherwise wouldn't be allowed
3under the (A)GPL. For purposes of identifying OpenSSL, most source files
4giving this permission limit it to versions of OpenSSL having a license
5identical to that listed in this file (LICENSE.OpenSSL). It is not
6necessary for the copyright years to match between this file and the
7OpenSSL version in question. However, note that because this file is
8an extension of the license statements of these source files, this file
9may not be changed except with permission from all copyright holders
10of source files in this program which reference this file.
11
12 LICENSE ISSUES
13 ==============
14
15 The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
16 the OpenSSL License and the original SSLeay license apply to the toolkit.
17 See below for the actual license texts. Actually both licenses are BSD-style
18 Open Source licenses. In case of any license issues related to OpenSSL
19 please contact openssl-core@openssl.org.
20
21 OpenSSL License
22 ---------------
23
24/* ====================================================================
25 * Copyright (c) 1998-2004 The OpenSSL Project. All rights reserved.
26 *
27 * Redistribution and use in source and binary forms, with or without
28 * modification, are permitted provided that the following conditions
29 * are met:
30 *
31 * 1. Redistributions of source code must retain the above copyright
32 * notice, this list of conditions and the following disclaimer.
33 *
34 * 2. Redistributions in binary form must reproduce the above copyright
35 * notice, this list of conditions and the following disclaimer in
36 * the documentation and/or other materials provided with the
37 * distribution.
38 *
39 * 3. All advertising materials mentioning features or use of this
40 * software must display the following acknowledgment:
41 * "This product includes software developed by the OpenSSL Project
42 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
43 *
44 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
45 * endorse or promote products derived from this software without
46 * prior written permission. For written permission, please contact
47 * openssl-core@openssl.org.
48 *
49 * 5. Products derived from this software may not be called "OpenSSL"
50 * nor may "OpenSSL" appear in their names without prior written
51 * permission of the OpenSSL Project.
52 *
53 * 6. Redistributions of any form whatsoever must retain the following
54 * acknowledgment:
55 * "This product includes software developed by the OpenSSL Project
56 * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
57 *
58 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
59 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
60 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
61 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
62 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
63 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
64 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
65 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
66 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
67 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
68 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
69 * OF THE POSSIBILITY OF SUCH DAMAGE.
70 * ====================================================================
71 *
72 * This product includes cryptographic software written by Eric Young
73 * (eay@cryptsoft.com). This product includes software written by Tim
74 * Hudson (tjh@cryptsoft.com).
75 *
76 */
77
78 Original SSLeay License
79 -----------------------
80
81/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
82 * All rights reserved.
83 *
84 * This package is an SSL implementation written
85 * by Eric Young (eay@cryptsoft.com).
86 * The implementation was written so as to conform with Netscapes SSL.
87 *
88 * This library is free for commercial and non-commercial use as long as
89 * the following conditions are aheared to. The following conditions
90 * apply to all code found in this distribution, be it the RC4, RSA,
91 * lhash, DES, etc., code; not just the SSL code. The SSL documentation
92 * included with this distribution is covered by the same copyright terms
93 * except that the holder is Tim Hudson (tjh@cryptsoft.com).
94 *
95 * Copyright remains Eric Young's, and as such any Copyright notices in
96 * the code are not to be removed.
97 * If this package is used in a product, Eric Young should be given attribution
98 * as the author of the parts of the library used.
99 * This can be in the form of a textual message at program startup or
100 * in documentation (online or textual) provided with the package.
101 *
102 * Redistribution and use in source and binary forms, with or without
103 * modification, are permitted provided that the following conditions
104 * are met:
105 * 1. Redistributions of source code must retain the copyright
106 * notice, this list of conditions and the following disclaimer.
107 * 2. Redistributions in binary form must reproduce the above copyright
108 * notice, this list of conditions and the following disclaimer in the
109 * documentation and/or other materials provided with the distribution.
110 * 3. All advertising materials mentioning features or use of this software
111 * must display the following acknowledgement:
112 * "This product includes cryptographic software written by
113 * Eric Young (eay@cryptsoft.com)"
114 * The word 'cryptographic' can be left out if the rouines from the library
115 * being used are not cryptographic related :-).
116 * 4. If you include any Windows specific code (or a derivative thereof) from
117 * the apps directory (application code) you must include an acknowledgement:
118 * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
119 *
120 * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
121 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
122 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
123 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
124 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
125 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
126 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
127 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
128 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
129 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
130 * SUCH DAMAGE.
131 *
132 * The licence and distribution terms for any publically available version or
133 * derivative of this code cannot be changed. i.e. this code cannot simply be
134 * copied and put under another distribution licence
135 * [including the GNU Public Licence.]
136 */
137
0138
=== modified file 'MANIFEST.in'
--- MANIFEST.in 2011-02-07 22:57:54 +0000
+++ MANIFEST.in 2012-04-03 12:15:42 +0000
@@ -1,5 +1,6 @@
1include MANIFEST.in1include MANIFEST.in
2include COPYING HACKING README README.windows2include COPYING HACKING README README.windows
3include LICENSE LICENSE.OpenSSL
3include run-tests4include run-tests
4include *.pth5include *.pth
5recursive-include ubuntuone *.proto6recursive-include ubuntuone *.proto
67
=== modified file 'samples/easy_client.py'
--- samples/easy_client.py 2010-11-05 18:05:46 +0000
+++ samples/easy_client.py 2012-04-03 12:15:42 +0000
@@ -2,7 +2,7 @@
2#2#
3# Author: Lucio Torre <lucio.torre@canonical.com>3# Author: Lucio Torre <lucio.torre@canonical.com>
4#4#
5# Copyright 2009 Canonical Ltd.5# Copyright 2009-2012 Canonical Ltd.
6#6#
7# This program is free software: you can redistribute it and/or modify it7# This program is free software: you can redistribute it and/or modify it
8# under the terms of the GNU Affero General Public License version 3,8# under the terms of the GNU Affero General Public License version 3,
@@ -15,6 +15,19 @@
15#15#
16# You should have received a copy of the GNU Affero General Public License16# You should have received a copy of the GNU Affero General Public License
17# along with this program. If not, see <http://www.gnu.org/licenses/>.17# along with this program. If not, see <http://www.gnu.org/licenses/>.
18#
19# In addition, as a special exception, the copyright holders give
20# permission to link the code of portions of this program with the
21# OpenSSL library under certain conditions as described in each
22# individual source file, and distribute linked combinations
23# including the two.
24# You must obey the GNU General Public License in all respects
25# for all of the code used other than OpenSSL. If you modify
26# file(s) with this exception, you may extend this exception to your
27# version of the file(s), but you are not obligated to do so. If you
28# do not wish to do so, delete this exception statement from your
29# version. If you delete this exception statement from all source
30# files in the program, then also delete it here.
18"""A simple client with some tests31"""A simple client with some tests
19"""32"""
20import os33import os
2134
=== modified file 'samples/ping_client.py'
--- samples/ping_client.py 2010-11-04 14:18:06 +0000
+++ samples/ping_client.py 2012-04-03 12:15:42 +0000
@@ -2,7 +2,7 @@
2#2#
3# Author: Lucio Torre <lucio.torre@canonical.com>3# Author: Lucio Torre <lucio.torre@canonical.com>
4#4#
5# Copyright 2009 Canonical Ltd.5# Copyright 2009-2012 Canonical Ltd.
6#6#
7# This program is free software: you can redistribute it and/or modify it7# This program is free software: you can redistribute it and/or modify it
8# under the terms of the GNU Affero General Public License version 3,8# under the terms of the GNU Affero General Public License version 3,
@@ -15,6 +15,19 @@
15#15#
16# You should have received a copy of the GNU Affero General Public License16# You should have received a copy of the GNU Affero General Public License
17# along with this program. If not, see <http://www.gnu.org/licenses/>.17# along with this program. If not, see <http://www.gnu.org/licenses/>.
18#
19# In addition, as a special exception, the copyright holders give
20# permission to link the code of portions of this program with the
21# OpenSSL library under certain conditions as described in each
22# individual source file, and distribute linked combinations
23# including the two.
24# You must obey the GNU General Public License in all respects
25# for all of the code used other than OpenSSL. If you modify
26# file(s) with this exception, you may extend this exception to your
27# version of the file(s), but you are not obligated to do so. If you
28# do not wish to do so, delete this exception statement from your
29# version. If you delete this exception statement from all source
30# files in the program, then also delete it here.
18"""A simple ping client31"""A simple ping client
19"""32"""
2033
2134
=== modified file 'tests/__init__.py'
--- tests/__init__.py 2010-11-04 14:18:06 +0000
+++ tests/__init__.py 2012-04-03 12:15:42 +0000
@@ -1,6 +1,6 @@
1# __init__.py1# __init__.py
2#2#
3# Copyright 2009 Canonical Ltd.3# Copyright 2009-2012 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify it5# This program is free software: you can redistribute it and/or modify it
6# under the terms of the GNU Affero General Public License version 3,6# under the terms of the GNU Affero General Public License version 3,
@@ -13,4 +13,17 @@
13#13#
14# You should have received a copy of the GNU Affero General Public License14# You should have received a copy of the GNU Affero General Public License
15# along with this program. If not, see <http://www.gnu.org/licenses/>.15# along with this program. If not, see <http://www.gnu.org/licenses/>.
16#
17# In addition, as a special exception, the copyright holders give
18# permission to link the code of portions of this program with the
19# OpenSSL library under certain conditions as described in each
20# individual source file, and distribute linked combinations
21# including the two.
22# You must obey the GNU General Public License in all respects
23# for all of the code used other than OpenSSL. If you modify
24# file(s) with this exception, you may extend this exception to your
25# version of the file(s), but you are not obligated to do so. If you
26# do not wish to do so, delete this exception statement from your
27# version. If you delete this exception statement from all source
28# files in the program, then also delete it here.
16"""Tests for ubuntuone.storageprotocol"""29"""Tests for ubuntuone.storageprotocol"""
1730
=== modified file 'tests/test_bytesproducer.py'
--- tests/test_bytesproducer.py 2011-12-20 16:06:36 +0000
+++ tests/test_bytesproducer.py 2012-04-03 12:15:42 +0000
@@ -3,7 +3,7 @@
3#3#
4# Author: Facundo Batista <facundo@canonical.com>4# Author: Facundo Batista <facundo@canonical.com>
5#5#
6# Copyright (C) 2009 Canonical6# Copyright (C) 2009-2012 Canonical Ltd.
7#7#
8# This program is free software: you can redistribute it and/or modify it8# This program is free software: you can redistribute it and/or modify it
9# under the terms of the GNU Affero General Public License version 3,9# under the terms of the GNU Affero General Public License version 3,
@@ -16,6 +16,19 @@
16#16#
17# You should have received a copy of the GNU Affero General Public License17# You should have received a copy of the GNU Affero General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19#
20# In addition, as a special exception, the copyright holders give
21# permission to link the code of portions of this program with the
22# OpenSSL library under certain conditions as described in each
23# individual source file, and distribute linked combinations
24# including the two.
25# You must obey the GNU General Public License in all respects
26# for all of the code used other than OpenSSL. If you modify
27# file(s) with this exception, you may extend this exception to your
28# version of the file(s), but you are not obligated to do so. If you
29# do not wish to do so, delete this exception statement from your
30# version. If you delete this exception statement from all source
31# files in the program, then also delete it here.
19"""Tests for directory content serialization/unserialization."""32"""Tests for directory content serialization/unserialization."""
2033
21from __future__ import with_statement34from __future__ import with_statement
2235
=== modified file 'tests/test_client.py'
--- tests/test_client.py 2011-12-20 16:06:36 +0000
+++ tests/test_client.py 2012-04-03 12:15:42 +0000
@@ -3,7 +3,7 @@
3# Author: Natalia B. Bidart <natalia.bidart@canonical.com>3# Author: Natalia B. Bidart <natalia.bidart@canonical.com>
4# Author: Alejandro J. Cura <alecu@canonical.com>4# Author: Alejandro J. Cura <alecu@canonical.com>
5#5#
6# Copyright (C) 2009, 2011 Canonical Ltd.6# Copyright (C) 2009-2012 Canonical Ltd.
7#7#
8# This program is free software: you can redistribute it and/or modify it8# This program is free software: you can redistribute it and/or modify it
9# under the terms of the GNU Affero General Public License version 3,9# under the terms of the GNU Affero General Public License version 3,
@@ -16,6 +16,19 @@
16#16#
17# You should have received a copy of the GNU Affero General Public License17# You should have received a copy of the GNU Affero General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19#
20# In addition, as a special exception, the copyright holders give
21# permission to link the code of portions of this program with the
22# OpenSSL library under certain conditions as described in each
23# individual source file, and distribute linked combinations
24# including the two.
25# You must obey the GNU General Public License in all respects
26# for all of the code used other than OpenSSL. If you modify
27# file(s) with this exception, you may extend this exception to your
28# version of the file(s), but you are not obligated to do so. If you
29# do not wish to do so, delete this exception statement from your
30# version. If you delete this exception statement from all source
31# files in the program, then also delete it here.
19"""Tests for the protocol client."""32"""Tests for the protocol client."""
2033
21import StringIO34import StringIO
2235
=== modified file 'tests/test_delta_info.py'
--- tests/test_delta_info.py 2010-11-04 14:18:06 +0000
+++ tests/test_delta_info.py 2012-04-03 12:15:42 +0000
@@ -2,7 +2,7 @@
2#2#
3# Author: Lucio Torre <lucio.torre@canonical.com>3# Author: Lucio Torre <lucio.torre@canonical.com>
4#4#
5# Copyright (C) 2009 Canonical Ltd.5# Copyright (C) 2009-2012 Canonical Ltd.
6#6#
7# This program is free software: you can redistribute it and/or modify it7# This program is free software: you can redistribute it and/or modify it
8# under the terms of the GNU Affero General Public License version 3,8# under the terms of the GNU Affero General Public License version 3,
@@ -15,6 +15,19 @@
15#15#
16# You should have received a copy of the GNU Affero General Public License16# You should have received a copy of the GNU Affero General Public License
17# along with this program. If not, see <http://www.gnu.org/licenses/>.17# along with this program. If not, see <http://www.gnu.org/licenses/>.
18#
19# In addition, as a special exception, the copyright holders give
20# permission to link the code of portions of this program with the
21# OpenSSL library under certain conditions as described in each
22# individual source file, and distribute linked combinations
23# including the two.
24# You must obey the GNU General Public License in all respects
25# for all of the code used other than OpenSSL. If you modify
26# file(s) with this exception, you may extend this exception to your
27# version of the file(s), but you are not obligated to do so. If you
28# do not wish to do so, delete this exception statement from your
29# version. If you delete this exception statement from all source
30# files in the program, then also delete it here.
18"""Tests for generation node data type."""31"""Tests for generation node data type."""
1932
20import unittest33import unittest
2134
=== modified file 'tests/test_dircontent.py'
--- tests/test_dircontent.py 2010-11-05 18:05:46 +0000
+++ tests/test_dircontent.py 2012-04-03 12:15:42 +0000
@@ -3,7 +3,7 @@
3#3#
4# Author: Tim Cole <tim.cole@canonical.com>4# Author: Tim Cole <tim.cole@canonical.com>
5#5#
6# Copyright (C) 2009 Canonical6# Copyright (C) 2009-2012 Canonical Ltd.
7#7#
8# This program is free software: you can redistribute it and/or modify it8# This program is free software: you can redistribute it and/or modify it
9# under the terms of the GNU Affero General Public License version 3,9# under the terms of the GNU Affero General Public License version 3,
@@ -16,6 +16,19 @@
16#16#
17# You should have received a copy of the GNU Affero General Public License17# You should have received a copy of the GNU Affero General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19#
20# In addition, as a special exception, the copyright holders give
21# permission to link the code of portions of this program with the
22# OpenSSL library under certain conditions as described in each
23# individual source file, and distribute linked combinations
24# including the two.
25# You must obey the GNU General Public License in all respects
26# for all of the code used other than OpenSSL. If you modify
27# file(s) with this exception, you may extend this exception to your
28# version of the file(s), but you are not obligated to do so. If you
29# do not wish to do so, delete this exception statement from your
30# version. If you delete this exception statement from all source
31# files in the program, then also delete it here.
19"""Tests for directory content serialization/unserialization."""32"""Tests for directory content serialization/unserialization."""
2033
21from __future__ import with_statement34from __future__ import with_statement
2235
=== modified file 'tests/test_errors.py'
--- tests/test_errors.py 2010-11-04 14:18:06 +0000
+++ tests/test_errors.py 2012-04-03 12:15:42 +0000
@@ -2,7 +2,7 @@
2#2#
3# Author: Natalia B. Bidart <natalia.bidart@canonical.com>3# Author: Natalia B. Bidart <natalia.bidart@canonical.com>
4#4#
5# Copyright (C) 2010 Canonical Ltd.5# Copyright (C) 2010-2012 Canonical Ltd.
6#6#
7# This program is free software: you can redistribute it and/or modify it7# This program is free software: you can redistribute it and/or modify it
8# under the terms of the GNU Affero General Public License version 3,8# under the terms of the GNU Affero General Public License version 3,
@@ -15,6 +15,19 @@
15#15#
16# You should have received a copy of the GNU Affero General Public License16# You should have received a copy of the GNU Affero General Public License
17# along with this program. If not, see <http://www.gnu.org/licenses/>.17# along with this program. If not, see <http://www.gnu.org/licenses/>.
18#
19# In addition, as a special exception, the copyright holders give
20# permission to link the code of portions of this program with the
21# OpenSSL library under certain conditions as described in each
22# individual source file, and distribute linked combinations
23# including the two.
24# You must obey the GNU General Public License in all respects
25# for all of the code used other than OpenSSL. If you modify
26# file(s) with this exception, you may extend this exception to your
27# version of the file(s), but you are not obligated to do so. If you
28# do not wish to do so, delete this exception statement from your
29# version. If you delete this exception statement from all source
30# files in the program, then also delete it here.
18"""Tests for errors module."""31"""Tests for errors module."""
1932
20import unittest33import unittest
2134
=== modified file 'tests/test_hashes.py'
--- tests/test_hashes.py 2011-02-15 15:09:14 +0000
+++ tests/test_hashes.py 2012-04-03 12:15:42 +0000
@@ -2,7 +2,7 @@
2#2#
3# Author: Facundo Batista <facundo@canonical.com>3# Author: Facundo Batista <facundo@canonical.com>
4#4#
5# Copyright (C) 2011 Canonical Ltd.5# Copyright (C) 2011-2012 Canonical Ltd.
6#6#
7# This program is free software: you can redistribute it and/or modify it7# This program is free software: you can redistribute it and/or modify it
8# under the terms of the GNU Affero General Public License version 3,8# under the terms of the GNU Affero General Public License version 3,
@@ -15,7 +15,19 @@
15#15#
16# You should have received a copy of the GNU Affero General Public License16# You should have received a copy of the GNU Affero General Public License
17# along with this program. If not, see <http://www.gnu.org/licenses/>.17# along with this program. If not, see <http://www.gnu.org/licenses/>.
1818#
19# In addition, as a special exception, the copyright holders give
20# permission to link the code of portions of this program with the
21# OpenSSL library under certain conditions as described in each
22# individual source file, and distribute linked combinations
23# including the two.
24# You must obey the GNU General Public License in all respects
25# for all of the code used other than OpenSSL. If you modify
26# file(s) with this exception, you may extend this exception to your
27# version of the file(s), but you are not obligated to do so. If you
28# do not wish to do so, delete this exception statement from your
29# version. If you delete this exception statement from all source
30# files in the program, then also delete it here.
19"""Tests for the protocol hashing methods."""31"""Tests for the protocol hashing methods."""
2032
21import hashlib33import hashlib
2234
=== modified file 'tests/test_proxy_tunnel.py'
--- tests/test_proxy_tunnel.py 2010-11-04 14:18:06 +0000
+++ tests/test_proxy_tunnel.py 2012-04-03 12:15:42 +0000
@@ -1,6 +1,6 @@
1# Test for proxy tunnel1# Test for proxy tunnel
2#2#
3# Copyright 2009 Canonical Ltd.3# Copyright 2009-2012 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify it5# This program is free software: you can redistribute it and/or modify it
6# under the terms of the GNU Affero General Public License version 3,6# under the terms of the GNU Affero General Public License version 3,
@@ -13,6 +13,19 @@
13#13#
14# You should have received a copy of the GNU Affero General Public License14# You should have received a copy of the GNU Affero General Public License
15# along with this program. If not, see <http://www.gnu.org/licenses/>.15# along with this program. If not, see <http://www.gnu.org/licenses/>.
16#
17# In addition, as a special exception, the copyright holders give
18# permission to link the code of portions of this program with the
19# OpenSSL library under certain conditions as described in each
20# individual source file, and distribute linked combinations
21# including the two.
22# You must obey the GNU General Public License in all respects
23# for all of the code used other than OpenSSL. If you modify
24# file(s) with this exception, you may extend this exception to your
25# version of the file(s), but you are not obligated to do so. If you
26# do not wish to do so, delete this exception statement from your
27# version. If you delete this exception statement from all source
28# files in the program, then also delete it here.
16"""Test for proxy tunnel"""29"""Test for proxy tunnel"""
1730
18import unittest31import unittest
1932
=== modified file 'tests/test_putcontent.py'
--- tests/test_putcontent.py 2011-04-20 18:49:55 +0000
+++ tests/test_putcontent.py 2012-04-03 12:15:42 +0000
@@ -4,7 +4,7 @@
4# Author: John R. Lenton <john.lenton@canonical.com>4# Author: John R. Lenton <john.lenton@canonical.com>
5# Guillermo Gonzalez <guillermo.gonzalez@canonical.com>5# Guillermo Gonzalez <guillermo.gonzalez@canonical.com>
6#6#
7# Copyright (C) 2009-2011 Canonical7# Copyright (C) 2009-2012 Canonical Ltd.
8#8#
9# This program is free software: you can redistribute it and/or modify it9# 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,10# under the terms of the GNU Affero General Public License version 3,
@@ -17,6 +17,19 @@
17#17#
18# You should have received a copy of the GNU Affero General Public License18# 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/>.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.
20"""Tests for PutContent request"""33"""Tests for PutContent request"""
2134
22import unittest35import unittest
2336
=== modified file 'tests/test_query.py'
--- tests/test_query.py 2010-11-04 14:18:06 +0000
+++ tests/test_query.py 2012-04-03 12:15:42 +0000
@@ -3,7 +3,7 @@
3#3#
4# Author: John R. Lenton <john.lenton@canonical.com>4# Author: John R. Lenton <john.lenton@canonical.com>
5#5#
6# Copyright (C) 2009 Canonical6# Copyright (C) 2009-2012 Canonical Ltd.
7#7#
8# This program is free software: you can redistribute it and/or modify it8# This program is free software: you can redistribute it and/or modify it
9# under the terms of the GNU Affero General Public License version 3,9# under the terms of the GNU Affero General Public License version 3,
@@ -16,6 +16,19 @@
16#16#
17# You should have received a copy of the GNU Affero General Public License17# You should have received a copy of the GNU Affero General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19#
20# In addition, as a special exception, the copyright holders give
21# permission to link the code of portions of this program with the
22# OpenSSL library under certain conditions as described in each
23# individual source file, and distribute linked combinations
24# including the two.
25# You must obey the GNU General Public License in all respects
26# for all of the code used other than OpenSSL. If you modify
27# file(s) with this exception, you may extend this exception to your
28# version of the file(s), but you are not obligated to do so. If you
29# do not wish to do so, delete this exception statement from your
30# version. If you delete this exception statement from all source
31# files in the program, then also delete it here.
19"""Tests for querying lots of items"""32"""Tests for querying lots of items"""
2033
21import unittest34import unittest
2235
=== modified file 'tests/test_request.py'
--- tests/test_request.py 2011-12-20 16:06:36 +0000
+++ tests/test_request.py 2012-04-03 12:15:42 +0000
@@ -4,7 +4,7 @@
4# Author: Tim Cole <tim.cole@canonical.com>4# Author: Tim Cole <tim.cole@canonical.com>
5# Author: Natalia Bidart <natalia.bidart@canonical.com>5# Author: Natalia Bidart <natalia.bidart@canonical.com>
6#6#
7# Copyright (C) 2009 Canonical7# Copyright (C) 2009-2012 Canonical Ltd.
8#8#
9# This program is free software: you can redistribute it and/or modify it9# 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,10# under the terms of the GNU Affero General Public License version 3,
@@ -17,6 +17,19 @@
17#17#
18# You should have received a copy of the GNU Affero General Public License18# 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/>.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.
20"""Tests for directory content serialization/unserialization."""33"""Tests for directory content serialization/unserialization."""
2134
22from __future__ import with_statement35from __future__ import with_statement
2336
=== modified file 'tests/test_sharersp.py'
--- tests/test_sharersp.py 2011-12-20 16:06:36 +0000
+++ tests/test_sharersp.py 2012-04-03 12:15:42 +0000
@@ -2,7 +2,7 @@
2#2#
3# Author: Guillermo Gonzalez <guillermo.gonzalez@canonical.com>3# Author: Guillermo Gonzalez <guillermo.gonzalez@canonical.com>
4#4#
5# Copyright (C) 2010 Canonical5# Copyright (C) 2010-2012 Canonical Ltd.
6#6#
7# This program is free software: you can redistribute it and/or modify it7# This program is free software: you can redistribute it and/or modify it
8# under the terms of the GNU Affero General Public License version 3,8# under the terms of the GNU Affero General Public License version 3,
@@ -15,6 +15,19 @@
15#15#
16# You should have received a copy of the GNU Affero General Public License16# You should have received a copy of the GNU Affero General Public License
17# along with this program. If not, see <http://www.gnu.org/licenses/>.17# along with this program. If not, see <http://www.gnu.org/licenses/>.
18#
19# In addition, as a special exception, the copyright holders give
20# permission to link the code of portions of this program with the
21# OpenSSL library under certain conditions as described in each
22# individual source file, and distribute linked combinations
23# including the two.
24# You must obey the GNU General Public License in all respects
25# for all of the code used other than OpenSSL. If you modify
26# file(s) with this exception, you may extend this exception to your
27# version of the file(s), but you are not obligated to do so. If you
28# do not wish to do so, delete this exception statement from your
29# version. If you delete this exception statement from all source
30# files in the program, then also delete it here.
18"""Tests for shares response."""31"""Tests for shares response."""
1932
20import uuid33import uuid
2134
=== modified file 'tests/test_throttling.py'
--- tests/test_throttling.py 2011-12-20 16:06:36 +0000
+++ tests/test_throttling.py 2012-04-03 12:15:42 +0000
@@ -3,7 +3,7 @@
3#3#
4# Author: Facundo Batista <facundo@canonical.com>4# Author: Facundo Batista <facundo@canonical.com>
5#5#
6# Copyright (C) 2009 Canonical6# Copyright (C) 2009-2012 Canonical
7#7#
8# This program is free software: you can redistribute it and/or modify it8# This program is free software: you can redistribute it and/or modify it
9# under the terms of the GNU Affero General Public License version 3,9# under the terms of the GNU Affero General Public License version 3,
@@ -16,6 +16,19 @@
16#16#
17# You should have received a copy of the GNU Affero General Public License17# You should have received a copy of the GNU Affero General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19#
20# In addition, as a special exception, the copyright holders give
21# permission to link the code of portions of this program with the
22# OpenSSL library under certain conditions as described in each
23# individual source file, and distribute linked combinations
24# including the two.
25# You must obey the GNU General Public License in all respects
26# for all of the code used other than OpenSSL. If you modify
27# file(s) with this exception, you may extend this exception to your
28# version of the file(s), but you are not obligated to do so. If you
29# do not wish to do so, delete this exception statement from your
30# version. If you delete this exception statement from all source
31# files in the program, then also delete it here.
19"""Tests for directory content serialization/unserialization."""32"""Tests for directory content serialization/unserialization."""
2033
21from __future__ import with_statement34from __future__ import with_statement
2235
=== modified file 'tests/test_volumes.py'
--- tests/test_volumes.py 2010-11-04 14:18:06 +0000
+++ tests/test_volumes.py 2012-04-03 12:15:42 +0000
@@ -2,7 +2,7 @@
2#2#
3# Author: Natalia B. Bidart <natalia.bidart@canonical.com>3# Author: Natalia B. Bidart <natalia.bidart@canonical.com>
4#4#
5# Copyright (C) 2009 Canonical Ltd.5# Copyright (C) 2009-2012 Canonical Ltd.
6#6#
7# This program is free software: you can redistribute it and/or modify it7# This program is free software: you can redistribute it and/or modify it
8# under the terms of the GNU Affero General Public License version 3,8# under the terms of the GNU Affero General Public License version 3,
@@ -15,6 +15,19 @@
15#15#
16# You should have received a copy of the GNU Affero General Public License16# You should have received a copy of the GNU Affero General Public License
17# along with this program. If not, see <http://www.gnu.org/licenses/>.17# along with this program. If not, see <http://www.gnu.org/licenses/>.
18#
19# In addition, as a special exception, the copyright holders give
20# permission to link the code of portions of this program with the
21# OpenSSL library under certain conditions as described in each
22# individual source file, and distribute linked combinations
23# including the two.
24# You must obey the GNU General Public License in all respects
25# for all of the code used other than OpenSSL. If you modify
26# file(s) with this exception, you may extend this exception to your
27# version of the file(s), but you are not obligated to do so. If you
28# do not wish to do so, delete this exception statement from your
29# version. If you delete this exception statement from all source
30# files in the program, then also delete it here.
18"""Tests for volume data type."""31"""Tests for volume data type."""
1932
20import unittest33import unittest
2134
=== modified file 'ubuntuone/__init__.py'
--- ubuntuone/__init__.py 2010-03-15 18:48:27 +0000
+++ ubuntuone/__init__.py 2012-04-03 12:15:42 +0000
@@ -1,6 +1,6 @@
1# __init__.py1# __init__.py
2#2#
3# Copyright 2009 Canonical Ltd.3# Copyright 2009-2012 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify it5# This program is free software: you can redistribute it and/or modify it
6# under the terms of the GNU Affero General Public License version 3,6# under the terms of the GNU Affero General Public License version 3,
@@ -13,5 +13,18 @@
13#13#
14# You should have received a copy of the GNU Affero General Public License14# You should have received a copy of the GNU Affero General Public License
15# along with this program. If not, see <http://www.gnu.org/licenses/>.15# along with this program. If not, see <http://www.gnu.org/licenses/>.
16#
17# In addition, as a special exception, the copyright holders give
18# permission to link the code of portions of this program with the
19# OpenSSL library under certain conditions as described in each
20# individual source file, and distribute linked combinations
21# including the two.
22# You must obey the GNU General Public License in all respects
23# for all of the code used other than OpenSSL. If you modify
24# file(s) with this exception, you may extend this exception to your
25# version of the file(s), but you are not obligated to do so. If you
26# do not wish to do so, delete this exception statement from your
27# version. If you delete this exception statement from all source
28# files in the program, then also delete it here.
16"""ubuntuone package"""29"""ubuntuone package"""
17__import__('pkg_resources').declare_namespace(__name__)30__import__('pkg_resources').declare_namespace(__name__)
1831
=== modified file 'ubuntuone/storageprotocol/__init__.py'
--- ubuntuone/storageprotocol/__init__.py 2010-11-04 14:18:06 +0000
+++ ubuntuone/storageprotocol/__init__.py 2012-04-03 12:15:42 +0000
@@ -1,6 +1,6 @@
1# __init__.py1# __init__.py
2#2#
3# Copyright 2009 Canonical Ltd.3# Copyright 2009-2012 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify it5# This program is free software: you can redistribute it and/or modify it
6# under the terms of the GNU Affero General Public License version 3,6# under the terms of the GNU Affero General Public License version 3,
@@ -13,4 +13,17 @@
13#13#
14# You should have received a copy of the GNU Affero General Public License14# You should have received a copy of the GNU Affero General Public License
15# along with this program. If not, see <http://www.gnu.org/licenses/>.15# along with this program. If not, see <http://www.gnu.org/licenses/>.
16#
17# In addition, as a special exception, the copyright holders give
18# permission to link the code of portions of this program with the
19# OpenSSL library under certain conditions as described in each
20# individual source file, and distribute linked combinations
21# including the two.
22# You must obey the GNU General Public License in all respects
23# for all of the code used other than OpenSSL. If you modify
24# file(s) with this exception, you may extend this exception to your
25# version of the file(s), but you are not obligated to do so. If you
26# do not wish to do so, delete this exception statement from your
27# version. If you delete this exception statement from all source
28# files in the program, then also delete it here.
16"""ubuntuone.storageprotocol package."""29"""ubuntuone.storageprotocol package."""
1730
=== modified file 'ubuntuone/storageprotocol/client.py'
--- ubuntuone/storageprotocol/client.py 2011-10-06 19:28:08 +0000
+++ ubuntuone/storageprotocol/client.py 2012-04-03 12:15:42 +0000
@@ -6,7 +6,7 @@
6# Author: Facundo Batista <facundo@canonical.com>6# Author: Facundo Batista <facundo@canonical.com>
7# Author: Alejandro J. Cura <alecu@canonical.com>7# Author: Alejandro J. Cura <alecu@canonical.com>
8#8#
9# Copyright 2009-2011 Canonical Ltd.9# Copyright 2009-2012 Canonical Ltd.
10#10#
11# This program is free software: you can redistribute it and/or modify it11# This program is free software: you can redistribute it and/or modify it
12# under the terms of the GNU Affero General Public License version 3,12# under the terms of the GNU Affero General Public License version 3,
@@ -19,6 +19,19 @@
19#19#
20# You should have received a copy of the GNU Affero General Public License20# You should have received a copy of the GNU Affero General Public License
21# along with this program. If not, see <http://www.gnu.org/licenses/>.21# along with this program. If not, see <http://www.gnu.org/licenses/>.
22#
23# In addition, as a special exception, the copyright holders give
24# permission to link the code of portions of this program with the
25# OpenSSL library under certain conditions as described in each
26# individual source file, and distribute linked combinations
27# including the two.
28# You must obey the GNU General Public License in all respects
29# for all of the code used other than OpenSSL. If you modify
30# file(s) with this exception, you may extend this exception to your
31# version of the file(s), but you are not obligated to do so. If you
32# do not wish to do so, delete this exception statement from your
33# version. If you delete this exception statement from all source
34# files in the program, then also delete it here.
22"""The storage protocol client."""35"""The storage protocol client."""
2336
24import logging37import logging
2538
=== modified file 'ubuntuone/storageprotocol/content_hash.py'
--- ubuntuone/storageprotocol/content_hash.py 2011-02-15 15:09:14 +0000
+++ ubuntuone/storageprotocol/content_hash.py 2012-04-03 12:15:42 +0000
@@ -3,7 +3,7 @@
3# Author: Lucio Torre <lucio.torre@canonical.com>3# Author: Lucio Torre <lucio.torre@canonical.com>
4# Natalia B. Bidart <natalia.bidart@canonical.com>4# Natalia B. Bidart <natalia.bidart@canonical.com>
5#5#
6# Copyright 2009-2010 Canonical Ltd.6# Copyright 2009-2012 Canonical Ltd.
7#7#
8# This program is free software: you can redistribute it and/or modify it8# This program is free software: you can redistribute it and/or modify it
9# under the terms of the GNU Affero General Public License version 3,9# under the terms of the GNU Affero General Public License version 3,
@@ -16,7 +16,19 @@
16#16#
17# You should have received a copy of the GNU Affero General Public License17# You should have received a copy of the GNU Affero General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.18# along with this program. If not, see <http://www.gnu.org/licenses/>.
1919#
20# In addition, as a special exception, the copyright holders give
21# permission to link the code of portions of this program with the
22# OpenSSL library under certain conditions as described in each
23# individual source file, and distribute linked combinations
24# including the two.
25# You must obey the GNU General Public License in all respects
26# for all of the code used other than OpenSSL. If you modify
27# file(s) with this exception, you may extend this exception to your
28# version of the file(s), but you are not obligated to do so. If you
29# do not wish to do so, delete this exception statement from your
30# version. If you delete this exception statement from all source
31# files in the program, then also delete it here.
20"""Hash Handling Stuffs."""32"""Hash Handling Stuffs."""
2133
22import copy34import copy
2335
=== modified file 'ubuntuone/storageprotocol/context.py'
--- ubuntuone/storageprotocol/context.py 2010-11-04 14:18:06 +0000
+++ ubuntuone/storageprotocol/context.py 2012-04-03 12:15:42 +0000
@@ -1,6 +1,6 @@
1# ubuntuone.storageprotocol.context - ssl context creation1# ubuntuone.storageprotocol.context - ssl context creation
2#2#
3# Copyright 2009 Canonical Ltd.3# Copyright 2009-2012 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify it5# This program is free software: you can redistribute it and/or modify it
6# under the terms of the GNU Affero General Public License version 3,6# under the terms of the GNU Affero General Public License version 3,
@@ -13,6 +13,19 @@
13#13#
14# You should have received a copy of the GNU Affero General Public License14# You should have received a copy of the GNU Affero General Public License
15# along with this program. If not, see <http://www.gnu.org/licenses/>.15# along with this program. If not, see <http://www.gnu.org/licenses/>.
16#
17# In addition, as a special exception, the copyright holders give
18# permission to link the code of portions of this program with the
19# OpenSSL library under certain conditions as described in each
20# individual source file, and distribute linked combinations
21# including the two.
22# You must obey the GNU General Public License in all respects
23# for all of the code used other than OpenSSL. If you modify
24# file(s) with this exception, you may extend this exception to your
25# version of the file(s), but you are not obligated to do so. If you
26# do not wish to do so, delete this exception statement from your
27# version. If you delete this exception statement from all source
28# files in the program, then also delete it here.
16"""29"""
17Standard Routines for working with ssl context creation30Standard Routines for working with ssl context creation
18"""31"""
1932
=== modified file 'ubuntuone/storageprotocol/delta.py'
--- ubuntuone/storageprotocol/delta.py 2010-11-04 14:18:06 +0000
+++ ubuntuone/storageprotocol/delta.py 2012-04-03 12:15:42 +0000
@@ -2,7 +2,7 @@
2#2#
3# Author: Lucio Torre <lucio.torre@canonical.com>3# Author: Lucio Torre <lucio.torre@canonical.com>
4#4#
5# Copyright 2009 Canonical Ltd.5# Copyright 2009-2012 Canonical Ltd.
6#6#
7# This program is free software: you can redistribute it and/or modify it7# This program is free software: you can redistribute it and/or modify it
8# under the terms of the GNU Affero General Public License version 3,8# under the terms of the GNU Affero General Public License version 3,
@@ -15,6 +15,19 @@
15#15#
16# You should have received a copy of the GNU Affero General Public License16# You should have received a copy of the GNU Affero General Public License
17# along with this program. If not, see <http://www.gnu.org/licenses/>.17# along with this program. If not, see <http://www.gnu.org/licenses/>.
18#
19# In addition, as a special exception, the copyright holders give
20# permission to link the code of portions of this program with the
21# OpenSSL library under certain conditions as described in each
22# individual source file, and distribute linked combinations
23# including the two.
24# You must obey the GNU General Public License in all respects
25# for all of the code used other than OpenSSL. If you modify
26# file(s) with this exception, you may extend this exception to your
27# version of the file(s), but you are not obligated to do so. If you
28# do not wish to do so, delete this exception statement from your
29# version. If you delete this exception statement from all source
30# files in the program, then also delete it here.
18"""31"""
19Provides wrapper classes for delta nodes messages32Provides wrapper classes for delta nodes messages
20"""33"""
2134
=== modified file 'ubuntuone/storageprotocol/dircontent.proto'
--- ubuntuone/storageprotocol/dircontent.proto 2010-01-25 15:18:44 +0000
+++ ubuntuone/storageprotocol/dircontent.proto 2012-04-03 12:15:42 +0000
@@ -1,7 +1,7 @@
1/*1/*
2 ubuntuone.storageprotocol.dircontent_pb2 - dircontent protocol2 ubuntuone.storageprotocol.dircontent_pb2 - dircontent protocol
33
4 Copyright 2009 Canonical Ltd.4 Copyright 2009-2012 Canonical Ltd.
55
6 This program is free software: you can redistribute it and/or modify it 6 This program is free software: you can redistribute it and/or modify it
7 under the terms of the GNU Affero General Public License version 3,7 under the terms of the GNU Affero General Public License version 3,
@@ -14,6 +14,19 @@
1414
15 You should have received a copy of the GNU Affero General Public License15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18 In addition, as a special exception, the copyright holders give
19 permission to link the code of portions of this program with the
20 OpenSSL library under certain conditions as described in each
21 individual source file, and distribute linked combinations
22 including the two.
23 You must obey the GNU General Public License in all respects
24 for all of the code used other than OpenSSL. If you modify
25 file(s) with this exception, you may extend this exception to your
26 version of the file(s), but you are not obligated to do so. If you
27 do not wish to do so, delete this exception statement from your
28 version. If you delete this exception statement from all source
29 files in the program, then also delete it here.
17*/30*/
18package ubuntuone.storageprotocol;31package ubuntuone.storageprotocol;
1932
2033
=== modified file 'ubuntuone/storageprotocol/dircontent.py'
--- ubuntuone/storageprotocol/dircontent.py 2010-11-05 18:05:46 +0000
+++ ubuntuone/storageprotocol/dircontent.py 2012-04-03 12:15:42 +0000
@@ -2,7 +2,7 @@
2#2#
3# Author: Tim Cole <tim.cole@canonical.com>3# Author: Tim Cole <tim.cole@canonical.com>
4#4#
5# Copyright 2009 Canonical Ltd.5# Copyright 2009-2012 Canonical Ltd.
6#6#
7# This program is free software: you can redistribute it and/or modify it7# This program is free software: you can redistribute it and/or modify it
8# under the terms of the GNU Affero General Public License version 3,8# under the terms of the GNU Affero General Public License version 3,
@@ -15,6 +15,19 @@
15#15#
16# You should have received a copy of the GNU Affero General Public License16# You should have received a copy of the GNU Affero General Public License
17# along with this program. If not, see <http://www.gnu.org/licenses/>.17# along with this program. If not, see <http://www.gnu.org/licenses/>.
18#
19# In addition, as a special exception, the copyright holders give
20# permission to link the code of portions of this program with the
21# OpenSSL library under certain conditions as described in each
22# individual source file, and distribute linked combinations
23# including the two.
24# You must obey the GNU General Public License in all respects
25# for all of the code used other than OpenSSL. If you modify
26# file(s) with this exception, you may extend this exception to your
27# version of the file(s), but you are not obligated to do so. If you
28# do not wish to do so, delete this exception statement from your
29# version. If you delete this exception statement from all source
30# files in the program, then also delete it here.
18"""31"""
19Standard routines for working with directory content.32Standard routines for working with directory content.
2033
2134
=== modified file 'ubuntuone/storageprotocol/errors.py'
--- ubuntuone/storageprotocol/errors.py 2010-11-04 14:18:06 +0000
+++ ubuntuone/storageprotocol/errors.py 2012-04-03 12:15:42 +0000
@@ -2,7 +2,7 @@
2#2#
3# Author: Natalia B. Bidart <natalia.bidart@canonical.com>3# Author: Natalia B. Bidart <natalia.bidart@canonical.com>
4#4#
5# Copyright 2010 Canonical Ltd.5# Copyright 2010-2012 Canonical Ltd.
6#6#
7# This program is free software: you can redistribute it and/or modify it7# This program is free software: you can redistribute it and/or modify it
8# under the terms of the GNU Affero General Public License version 3,8# under the terms of the GNU Affero General Public License version 3,
@@ -15,6 +15,19 @@
15#15#
16# You should have received a copy of the GNU Affero General Public License16# You should have received a copy of the GNU Affero General Public License
17# along with this program. If not, see <http://www.gnu.org/licenses/>.17# along with this program. If not, see <http://www.gnu.org/licenses/>.
18#
19# In addition, as a special exception, the copyright holders give
20# permission to link the code of portions of this program with the
21# OpenSSL library under certain conditions as described in each
22# individual source file, and distribute linked combinations
23# including the two.
24# You must obey the GNU General Public License in all respects
25# for all of the code used other than OpenSSL. If you modify
26# file(s) with this exception, you may extend this exception to your
27# version of the file(s), but you are not obligated to do so. If you
28# do not wish to do so, delete this exception statement from your
29# version. If you delete this exception statement from all source
30# files in the program, then also delete it here.
18"""The errors abstraction."""31"""The errors abstraction."""
1932
20import uuid33import uuid
2134
=== modified file 'ubuntuone/storageprotocol/protocol.proto'
--- ubuntuone/storageprotocol/protocol.proto 2011-07-29 21:37:22 +0000
+++ ubuntuone/storageprotocol/protocol.proto 2012-04-03 12:15:42 +0000
@@ -1,7 +1,7 @@
1/*1/*
2 ubuntuone.storageprotocol.protocol_pb2 - storage protocol2 ubuntuone.storageprotocol.protocol_pb2 - storage protocol
33
4 Copyright 2009-2011 Canonical Ltd.4 Copyright 2009-2012 Canonical Ltd.
55
6 This program is free software: you can redistribute it and/or modify it6 This program is free software: you can redistribute it and/or modify it
7 under the terms of the GNU Affero General Public License version 3,7 under the terms of the GNU Affero General Public License version 3,
@@ -14,6 +14,19 @@
1414
15 You should have received a copy of the GNU Affero General Public License15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18 In addition, as a special exception, the copyright holders give
19 permission to link the code of portions of this program with the
20 OpenSSL library under certain conditions as described in each
21 individual source file, and distribute linked combinations
22 including the two.
23 You must obey the GNU General Public License in all respects
24 for all of the code used other than OpenSSL. If you modify
25 file(s) with this exception, you may extend this exception to your
26 version of the file(s), but you are not obligated to do so. If you
27 do not wish to do so, delete this exception statement from your
28 version. If you delete this exception statement from all source
29 files in the program, then also delete it here.
17*/30*/
18package ubuntuone.storageprotocol;31package ubuntuone.storageprotocol;
1932
2033
=== modified file 'ubuntuone/storageprotocol/proxy_tunnel.py'
--- ubuntuone/storageprotocol/proxy_tunnel.py 2010-11-04 14:18:06 +0000
+++ ubuntuone/storageprotocol/proxy_tunnel.py 2012-04-03 12:15:42 +0000
@@ -2,7 +2,7 @@
2#2#
3# Author: Lucio Torre <lucio.torre@canonical.com>3# Author: Lucio Torre <lucio.torre@canonical.com>
4#4#
5# Copyright 2009 Canonical Ltd.5# Copyright 2009-2012 Canonical Ltd.
6#6#
7# This program is free software: you can redistribute it and/or modify it7# This program is free software: you can redistribute it and/or modify it
8# under the terms of the GNU Affero General Public License version 3,8# under the terms of the GNU Affero General Public License version 3,
@@ -15,6 +15,19 @@
15#15#
16# You should have received a copy of the GNU Affero General Public License16# You should have received a copy of the GNU Affero General Public License
17# along with this program. If not, see <http://www.gnu.org/licenses/>.17# along with this program. If not, see <http://www.gnu.org/licenses/>.
18#
19# In addition, as a special exception, the copyright holders give
20# permission to link the code of portions of this program with the
21# OpenSSL library under certain conditions as described in each
22# individual source file, and distribute linked combinations
23# including the two.
24# You must obey the GNU General Public License in all respects
25# for all of the code used other than OpenSSL. If you modify
26# file(s) with this exception, you may extend this exception to your
27# version of the file(s), but you are not obligated to do so. If you
28# do not wish to do so, delete this exception statement from your
29# version. If you delete this exception statement from all source
30# files in the program, then also delete it here.
18"""Proxy tunelling"""31"""Proxy tunelling"""
19import base6432import base64
2033
2134
=== modified file 'ubuntuone/storageprotocol/request.py'
--- ubuntuone/storageprotocol/request.py 2011-06-02 16:40:43 +0000
+++ ubuntuone/storageprotocol/request.py 2012-04-03 12:15:42 +0000
@@ -3,7 +3,7 @@
3#3#
4# Author: Lucio Torre <lucio.torre@canonical.com>4# Author: Lucio Torre <lucio.torre@canonical.com>
5#5#
6# Copyright 2009 Canonical Ltd.6# Copyright 2009-2012 Canonical Ltd.
7#7#
8# This program is free software: you can redistribute it and/or modify it8# This program is free software: you can redistribute it and/or modify it
9# under the terms of the GNU Affero General Public License version 3,9# under the terms of the GNU Affero General Public License version 3,
@@ -16,6 +16,19 @@
16#16#
17# You should have received a copy of the GNU Affero General Public License17# You should have received a copy of the GNU Affero General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19#
20# In addition, as a special exception, the copyright holders give
21# permission to link the code of portions of this program with the
22# OpenSSL library under certain conditions as described in each
23# individual source file, and distribute linked combinations
24# including the two.
25# You must obey the GNU General Public License in all respects
26# for all of the code used other than OpenSSL. If you modify
27# file(s) with this exception, you may extend this exception to your
28# version of the file(s), but you are not obligated to do so. If you
29# do not wish to do so, delete this exception statement from your
30# version. If you delete this exception statement from all source
31# files in the program, then also delete it here.
19"""32"""
20The base classes for the network client and server.33The base classes for the network client and server.
2134
2235
=== modified file 'ubuntuone/storageprotocol/sharersp.py'
--- ubuntuone/storageprotocol/sharersp.py 2010-11-05 14:54:42 +0000
+++ ubuntuone/storageprotocol/sharersp.py 2012-04-03 12:15:42 +0000
@@ -4,7 +4,7 @@
4# Author: Facundo Batista <facundo@canonical.com>4# Author: Facundo Batista <facundo@canonical.com>
5# Guillermo Gonzalez <guillermo.gonzalez@canonical.com>5# Guillermo Gonzalez <guillermo.gonzalez@canonical.com>
6#6#
7# Copyright 2009-2010 Canonical Ltd.7# Copyright 2009-2012 Canonical Ltd.
8#8#
9# This program is free software: you can redistribute it and/or modify it9# 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,10# under the terms of the GNU Affero General Public License version 3,
@@ -16,6 +16,19 @@
16# PURPOSE. See the GNU Affero General Public License for more details.16# PURPOSE. See the GNU Affero General Public License for more details.
17#17#
18# You should have received a copy of the GNU Affero General Public License18# You should have received a copy of the GNU Affero General Public License
19#
20# In addition, as a special exception, the copyright holders give
21# permission to link the code of portions of this program with the
22# OpenSSL library under certain conditions as described in each
23# individual source file, and distribute linked combinations
24# including the two.
25# You must obey the GNU General Public License in all respects
26# for all of the code used other than OpenSSL. If you modify
27# file(s) with this exception, you may extend this exception to your
28# version of the file(s), but you are not obligated to do so. If you
29# do not wish to do so, delete this exception statement from your
30# version. If you delete this exception statement from all source
31# files in the program, then also delete it here.
19# along with this program. If not, see <http://www.gnu.org/licenses/>.32# along with this program. If not, see <http://www.gnu.org/licenses/>.
20"""A handy class to use Shares."""33"""A handy class to use Shares."""
2134
2235
=== modified file 'ubuntuone/storageprotocol/utils.py'
--- ubuntuone/storageprotocol/utils.py 2011-12-20 16:06:36 +0000
+++ ubuntuone/storageprotocol/utils.py 2012-04-03 12:15:42 +0000
@@ -2,7 +2,7 @@
2#2#
3# Author: Alejandro J. Cura <alecu@canonical.com>3# Author: Alejandro J. Cura <alecu@canonical.com>
4#4#
5# Copyright 2011 Canonical Ltd.5# Copyright 2011-2012 Canonical Ltd.
6#6#
7# This program is free software: you can redistribute it and/or modify it7# This program is free software: you can redistribute it and/or modify it
8# under the terms of the GNU Affero General Public License version 3,8# under the terms of the GNU Affero General Public License version 3,
@@ -15,6 +15,19 @@
15#15#
16# You should have received a copy of the GNU Affero General Public License16# You should have received a copy of the GNU Affero General Public License
17# along with this program. If not, see <http://www.gnu.org/licenses/>.17# along with this program. If not, see <http://www.gnu.org/licenses/>.
18#
19# In addition, as a special exception, the copyright holders give
20# permission to link the code of portions of this program with the
21# OpenSSL library under certain conditions as described in each
22# individual source file, and distribute linked combinations
23# including the two.
24# You must obey the GNU General Public License in all respects
25# for all of the code used other than OpenSSL. If you modify
26# file(s) with this exception, you may extend this exception to your
27# version of the file(s), but you are not obligated to do so. If you
28# do not wish to do so, delete this exception statement from your
29# version. If you delete this exception statement from all source
30# files in the program, then also delete it here.
18"""Some storage protocol utils."""31"""Some storage protocol utils."""
1932
20import logging33import logging
2134
=== modified file 'ubuntuone/storageprotocol/validators.py'
--- ubuntuone/storageprotocol/validators.py 2010-11-05 18:05:46 +0000
+++ ubuntuone/storageprotocol/validators.py 2012-04-03 12:15:42 +0000
@@ -1,6 +1,31 @@
1"""1#
2Message validation.2# Copyright (C) 2009-2012 Canonical Ltd.
3"""3#
4# This program is free software: you can redistribute it and/or modify it
5# under the terms of the GNU Affero General Public License version 3,
6# as published by the Free Software Foundation.
7#
8# This program is distributed in the hope that it will be useful, but
9# WITHOUT ANY WARRANTY; without even the implied warranties of
10# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
11# PURPOSE. See the GNU Affero General Public License for more details.
12#
13# You should have received a copy of the GNU Affero General Public License
14# along with this program. If not, see <http://www.gnu.org/licenses/>.
15#
16# In addition, as a special exception, the copyright holders give
17# permission to link the code of portions of this program with the
18# OpenSSL library under certain conditions as described in each
19# individual source file, and distribute linked combinations
20# including the two.
21# You must obey the GNU General Public License in all respects
22# for all of the code used other than OpenSSL. If you modify
23# file(s) with this exception, you may extend this exception to your
24# version of the file(s), but you are not obligated to do so. If you
25# do not wish to do so, delete this exception statement from your
26# version. If you delete this exception statement from all source
27# files in the program, then also delete it here.
28"""Message validation."""
429
5import re30import re
6from uuid import UUID31from uuid import UUID
732
=== modified file 'ubuntuone/storageprotocol/volumes.py'
--- ubuntuone/storageprotocol/volumes.py 2010-11-05 18:05:46 +0000
+++ ubuntuone/storageprotocol/volumes.py 2012-04-03 12:15:42 +0000
@@ -2,7 +2,7 @@
2#2#
3# Author: Natalia B. Bidart <natalia.bidart@canonical.com>3# Author: Natalia B. Bidart <natalia.bidart@canonical.com>
4#4#
5# Copyright 2009 Canonical Ltd.5# Copyright 2009-2012 Canonical Ltd.
6#6#
7# This program is free software: you can redistribute it and/or modify it7# This program is free software: you can redistribute it and/or modify it
8# under the terms of the GNU Affero General Public License version 3,8# under the terms of the GNU Affero General Public License version 3,
@@ -15,6 +15,19 @@
15#15#
16# You should have received a copy of the GNU Affero General Public License16# You should have received a copy of the GNU Affero General Public License
17# along with this program. If not, see <http://www.gnu.org/licenses/>.17# along with this program. If not, see <http://www.gnu.org/licenses/>.
18#
19# In addition, as a special exception, the copyright holders give
20# permission to link the code of portions of this program with the
21# OpenSSL library under certain conditions as described in each
22# individual source file, and distribute linked combinations
23# including the two.
24# You must obey the GNU General Public License in all respects
25# for all of the code used other than OpenSSL. If you modify
26# file(s) with this exception, you may extend this exception to your
27# version of the file(s), but you are not obligated to do so. If you
28# do not wish to do so, delete this exception statement from your
29# version. If you delete this exception statement from all source
30# files in the program, then also delete it here.
18"""The volumes abstraction."""31"""The volumes abstraction."""
1932
20import uuid33import uuid

Subscribers

People subscribed via source and target branches