Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 75 lines (52 sloc) 1.988 kB
80ccbfe @Kami Merge storage_api branch.
Kami authored
1 General Information
2 ===================
c097320 @Kami Update HACKING file and add a new RELEASING file which contains info …
Kami authored
3 * URL: http://libcloud.apache.org/libcloud/devinfo.html
80ccbfe @Kami Merge storage_api branch.
Kami authored
4
5 Git Repositories
6 ===================
7 * Official Git Mirror: git://git.apache.org/libcloud.git
8 * Github Mirror: git://github.com/apache/libcloud.git
9
10 Using The Git-SVN Bridge (For Committers)
11 =========================================
12
13 $ git clone git://git.apache.org/libcloud libcloud
14 $ cd libcloud
15
16 $ curl http://git.apache.org/authors.txt > .git/authors.txt
17 $ git config svn.authorsfile ".git/authors.txt"
18
19 # Optionally, set your Apache commiter info, if different from global
20 $ git config user.name "Your Name"
21 $ git config user.email "you@example.org"
22
23 $ git svn init \
24 --prefix=origin/ \
25 --tags=tags \
26 --trunk=trunk \
27 --branches=branches \
28 https://svn.apache.org/repos/asf/incubator/libcloud
29
30 $ git svn rebase
31
32 To push commits back to SVN:
33 $ git svn dcommit
34
35 Testing
36 =======
37
eb15ccf @novel Extend HACKING document with dependencies list and information about
novel authored
38 To run the libcloud test suite you need to have the following extra
39 dependencies installed:
40
41 * mock (pip install mock)
42 * coverage (pip install coverage) - you only need this library if you
43 want to generate a test coverage report
44
80ccbfe @Kami Merge storage_api branch.
Kami authored
45 Libcloud includes an example secrets.py file at:
46 test/secrets.py-dist
47
48 To run the test cases, you most likely want to run:
49 $ cp test/secrets.py-dist test/secrets.py
50
51 This is done to prevent accidental commits of a developers provider credentials.
52
53 To run all suites:
54
55 libcloud$ python setup.py test
56 running test
57 ................................................................................................
58 ----------------------------------------------------------------------
59 Ran 96 tests in 0.182s
60
61 OK
62
63 To run specific tests:
64
95597d2 @novel Fix running specific test example.
novel authored
65 libcloud$ PYTHONPATH=. python test/compute/test_base.py
80ccbfe @Kami Merge storage_api branch.
Kami authored
66 .......
67 ----------------------------------------------------------------------
68 Ran 7 tests in 0.001s
69
70 OK
71
eb15ccf @novel Extend HACKING document with dependencies list and information about
novel authored
72 To generate test coverage report run:
73
74 libcloud$ PYTHONPATH=. python setup.py coverage
Something went wrong with that request. Please try again.