Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Lorenzo Martinico
slapos
Commits
8ac9e095
Commit
8ac9e095
authored
Aug 14, 2015
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add README.branch.
parent
85633757
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
0 deletions
+49
-0
README.branch
README.branch
+49
-0
No files found.
README.branch
0 → 100644
View file @
8ac9e095
*
pysvn 1.7.10 works with borh subversion 1.6 and 1.8
* in subversion-1.8.14 and pysvn-1.7.10,
callback_ssl_server_trust_prompt works fine ONLY WHEN save=True in
the return tuple : (retcode, accepted_failures, save).
(maybe a bug in subversion, not in pysvn).
* in subversion 1.8, trust_dict is different from subversion 1.6 thus
the following patch is required :
diff --git a/product/ERP5/tests/testTemplateTool.py b/product/ERP5/tests/testTemplateTool.py
index 27878ec..982191d 100644
--- a/product/ERP5/tests/testTemplateTool.py
+++ b/product/ERP5/tests/testTemplateTool.py
@@ -134,15 +134,25 @@
class TestTemplateTool(ERP5TypeTestCase):
"""
Function used to trust in svn.erp5.org.
"""
- trust_dict = dict(realm="https://svn.erp5.org:443",
- hostname="roundcube.nexedi.com",
- issuer_dname="Nexedi SA, Marcq en Baroeul, Nord Pas de Calais, FR",
- valid_from="Thu, 22 May 2008 13:43:01 GMT",
- valid_until="Sun, 20 May 2018 13:43:01 GMT",
- finger_print=\
- "a1:f7:c6:bb:51:69:84:28:ac:58:af:9d:05:73:de:24:45:4d:a1:bb",
- failures=8)
- getVcsTool("svn").__of__(self.portal).acceptSSLServer(trust_dict)
+ for trust_dict in [
+ # for subversion 1.6
+ {'failures': 8,
+ 'finger_print': 'a1:f7:c6:bb:51:69:84:28:ac:58:af:9d:05:73:de:24:45:4d:a1:bb',
+ 'hostname': 'roundcube.nexedi.com',
+ 'issuer_dname': 'Nexedi SA, Marcq en Baroeul, Nord Pas de Calais, FR',
+ 'realm': 'https://svn.erp5.org:443',
+ 'valid_from': 'Thu, 22 May 2008 13:43:01 GMT',
+ 'valid_until': 'Sun, 20 May 2018 13:43:01 GMT'},
+ # for subversion 1.8
+ {'failures': 8,
+ 'finger_print': 'A1:F7:C6:BB:51:69:84:28:AC:58:AF:9D:05:73:DE:24:45:4D:A1:BB',
+ 'hostname': 'mail.nexedi.com',
+ 'issuer_dname': 'Nexedi SA, Marcq en Baroeul, Nord Pas de Calais, FR(webmaster@nexedi.com)',
+ 'realm': 'https://svn.erp5.org:443',
+ 'valid_from': 'May 22 13:43:01 2008 GMT',
+ 'valid_until': 'May 20 13:43:01 2018 GMT'}
+ ]:
+ getVcsTool("svn").__of__(self.portal).acceptSSLServer(trust_dict)
def test_download_svn(self):
# if the page looks like a svn repository, template tool will use pysvn to
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment