1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
======================
System Image Updater
======================
This repository contains the client side tools for system image based
upgrades. For more details, see: https://wiki.ubuntu.com/ImageBasedUpgrades
Testing
=======
To test locally run::
$ tox
This will run the test suite against all supported Python 3 versions.
You can also run a subset of tests by using a regular expression pattern.
First you need to set up the local virtual environment. Running `tox` as
above does this as a side-effect, but you can also set up (or update [1]_) the
environment without running the test suite::
$ tox --notest -r
Once the environment is set up, you can run individual tests like so::
$ .tox/py34/bin/python -m nose2 -P <pattern>
Multiple `-P` options can be given. The pattern matches the full test "name",
so you can use a file name (without the `.py` extension), a test class, a test
method, or various other combinations here. E.g.::
$ .tox/py34/bin/python -m nose2 -P test_add_existing_key
Other options are available to help with debugging and verbosity. Try this to
get full help::
$ .tox/py34/bin/python -m nose2 --help
Project Information
===================
Launchpad project page: https://launchpad.net/ubuntu-system-image
Filing Bugs
===========
File bugs at https://bugs.launchpad.net/ubuntu-system-image
This is preferred rather than using the Ubuntu source package, but if you do
file it against the source package, please also add the project as a bugtask.
Also, please tag the bug with the `client` tag (since the project page above
also refers to the server and other components of image based system
upgrades).
Author
======
You can contact the primary author/maintainer at
Barry Warsaw
barry@ubuntu.com
barry@canonical.com
IRC: barry on freenode (#ubuntu-phone)
.. _[1]: Sometimes you need to update the environment, if for example you make
a change to the entry points in main.py or service.py.
|