~registry/ubuntu-system-image/client

« back to all changes in this revision

Viewing changes to systemimage/tests/data/state.index_01.json

  • Committer: Barry Warsaw
  • Date: 2015-01-16 22:56:50 UTC
  • mfrom: (293.1.18 lp1373467)
  • Revision ID: barry@python.org-20150116225650-fug42a0rd33g3gb2
 * Support multiple configuration files, as in a ``config.d`` directory.  Now,
   configuration files are named `NN_whatever.ini` where "NN" must be a
   numeric prefix.  Files are loaded in sorted numeric order, with later files
   overriding newer files.  Support for both the ``client.ini`` and
   ``channel.ini`` files has been removed. (LP: #1373467)
 * The ``[system]build_file`` variable has been removed.  Build number
   information now must come from the ``.ini`` files, and last update date
   comes from the newest ``.ini`` file loaded.

Also:

 * Manpages updated.
 * Removed support for the [system]build_file variable.
 * Massive renaming of test data files for better matchup with their
   associated tests.
 * Provide a little more information when a logging level command line
   parameter is a bogus value.
 * -C now takes path to configuration directory.
 * Add a little more debug-level logging.
 * More sophistication for the @configuration decorator.
 * touch_build() helper now takes a use_config optional keyword argument.
 * When running the test suite, -M now takes a full logging specifier,
   e.g. either a single word like `debug` or a split like `info:debug`.
 * Skip some tests when running under UDM, due to LP: #1411866

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{
 
2
    "global": {
 
3
        "generated_at": "Mon Apr 29 18:45:27 UTC 2013"
 
4
    },
 
5
    "images": [
 
6
        {
 
7
            "bootme": true,
 
8
            "description": "Full A",
 
9
            "files": [
 
10
                {
 
11
                    "checksum": "abc",
 
12
                    "order": 1,
 
13
                    "path": "/a/b/c.txt",
 
14
                    "signature": "/a/b/c.txt.asc",
 
15
                    "size": 104857600
 
16
 
 
17
                },
 
18
                {
 
19
                    "checksum": "bcd",
 
20
                    "order": 1,
 
21
                    "path": "/b/c/d.txt",
 
22
                    "signature": "/b/c/d.txt.asc",
 
23
                    "size": 104857600
 
24
                },
 
25
                {
 
26
                    "checksum": "cde",
 
27
                    "order": 1,
 
28
                    "path": "/c/d/e.txt",
 
29
                    "signature": "/c/d/e.txt.asc",
 
30
                    "size": 104857600
 
31
                }
 
32
            ],
 
33
            "type": "full",
 
34
            "version": 300
 
35
        },
 
36
        {
 
37
            "base": 300,
 
38
            "bootme": true,
 
39
            "description": "Delta A.1",
 
40
            "files": [
 
41
                {
 
42
                    "checksum": "def",
 
43
                    "order": 1,
 
44
                    "path": "/d/e/f.txt",
 
45
                    "signature": "/d/e/f.txt.asc",
 
46
                    "size": 104857600
 
47
                },
 
48
                {
 
49
                    "checksum": "ef0",
 
50
                    "order": 1,
 
51
                    "path": "/e/f/0.txt",
 
52
                    "signature": "/e/f/0.txt.asc",
 
53
                    "size": 104857600
 
54
                },
 
55
                {
 
56
                    "checksum": "f01",
 
57
                    "order": 1,
 
58
                    "path": "/f/e/1.txt",
 
59
                    "signature": "/f/e/1.txt.asc",
 
60
                    "size": 104857600
 
61
                }
 
62
            ],
 
63
            "type": "delta",
 
64
            "version": 301
 
65
        },
 
66
        {
 
67
            "base": 301,
 
68
            "bootme": true,
 
69
            "description": "Delta A.2",
 
70
            "files": [
 
71
                {
 
72
                    "checksum": "012",
 
73
                    "order": 1,
 
74
                    "path": "/0/1/2.txt",
 
75
                    "signature": "/0/1/2.txt.asc",
 
76
                    "size": 104857600
 
77
                },
 
78
                {
 
79
                    "checksum": "123",
 
80
                    "order": 1,
 
81
                    "path": "/1/2/3.txt",
 
82
                    "signature": "/1/2/3.txt.asc",
 
83
                    "size": 104857600
 
84
                },
 
85
                {
 
86
                    "checksum": "234",
 
87
                    "order": 1,
 
88
                    "path": "/2/3/4.txt",
 
89
                    "signature": "/2/3/4.txt.asc",
 
90
                    "size": 104857600
 
91
                }
 
92
            ],
 
93
            "type": "delta",
 
94
            "version": 304
 
95
        },
 
96
 
 
97
        {
 
98
            "description": "Full B",
 
99
            "files": [
 
100
                {
 
101
                    "checksum": "345",
 
102
                    "order": 1,
 
103
                    "path": "/3/4/5.txt",
 
104
                    "signature": "/3/4/5.txt.asc",
 
105
                    "size": 104857600
 
106
                },
 
107
                {
 
108
                    "checksum": "456",
 
109
                    "order": 1,
 
110
                    "path": "/4/5/6.txt",
 
111
                    "signature": "/4/5/6.txt.asc",
 
112
                    "size": 104857600
 
113
                },
 
114
                {
 
115
                    "checksum": "567",
 
116
                    "order": 1,
 
117
                    "path": "/5/6/7.txt",
 
118
                    "signature": "/5/6/7.txt.asc",
 
119
                    "size": 104857600
 
120
                }
 
121
            ],
 
122
            "type": "full",
 
123
            "version": 200
 
124
        },
 
125
        {
 
126
            "base": 200,
 
127
            "description": "Delta B.1",
 
128
            "files": [
 
129
                {
 
130
                    "checksum": "678",
 
131
                    "order": 1,
 
132
                    "path": "/6/7/8.txt",
 
133
                    "signature": "/6/7/8.txt.asc",
 
134
                    "size": 104857600
 
135
                },
 
136
                {
 
137
                    "checksum": "789",
 
138
                    "order": 1,
 
139
                    "path": "/7/8/9.txt",
 
140
                    "signature": "/7/8/9.txt.asc",
 
141
                    "size": 104857600
 
142
                },
 
143
                {
 
144
                    "checksum": "89a",
 
145
                    "order": 1,
 
146
                    "path": "/8/9/a.txt",
 
147
                    "signature": "/8/9/a.txt.asc",
 
148
                    "size": 104857600
 
149
                }
 
150
            ],
 
151
            "type": "delta",
 
152
            "version": 201
 
153
        },
 
154
        {
 
155
            "base": 201,
 
156
            "description": "Delta B.2",
 
157
            "files": [
 
158
                {
 
159
                    "checksum": "9ab",
 
160
                    "order": 1,
 
161
                    "path": "/9/a/b.txt",
 
162
                    "signature": "/9/a/b.txt.asc",
 
163
                    "size": 104857600
 
164
                },
 
165
                {
 
166
                    "checksum": "fed",
 
167
                    "order": 1,
 
168
                    "path": "/f/e/d.txt",
 
169
                    "signature": "/f/e/d.txt.asc",
 
170
                    "size": 104857600
 
171
                },
 
172
                {
 
173
                    "checksum": "edc",
 
174
                    "order": 1,
 
175
                    "path": "/e/d/c.txt",
 
176
                    "signature": "/e/d/c.txt.asc",
 
177
                    "size": 209715200
 
178
 
 
179
                }
 
180
            ],
 
181
            "type": "delta",
 
182
            "version": 304
 
183
        },
 
184
 
 
185
        {
 
186
            "description": "Full C",
 
187
            "files": [
 
188
                {
 
189
                    "checksum": "dcb",
 
190
                    "order": 1,
 
191
                    "path": "/d/c/b.txt",
 
192
                    "signature": "/d/c/b.txt.asc",
 
193
                    "size": 104857600
 
194
                },
 
195
                {
 
196
                    "checksum": "cba",
 
197
                    "order": 1,
 
198
                    "path": "/c/b/a.txt",
 
199
                    "signature": "/c/b/a.txt.asc",
 
200
                    "size": 104857600
 
201
                },
 
202
                {
 
203
                    "checksum": "ba9",
 
204
                    "order": 1,
 
205
                    "path": "/b/a/9.txt",
 
206
                    "signature": "/b/a/9.txt.asc",
 
207
                    "size": 104857600
 
208
                }
 
209
            ],
 
210
            "type": "full",
 
211
            "version": 100
 
212
        },
 
213
        {
 
214
            "base": 100,
 
215
            "description": "Delta C.1",
 
216
            "files": [
 
217
                {
 
218
                    "checksum": "a98",
 
219
                    "order": 1,
 
220
                    "path": "/a/9/8.txt",
 
221
                    "signature": "/a/9/8.txt.asc",
 
222
                    "size": 104857600
 
223
                },
 
224
                {
 
225
                    "checksum": "987",
 
226
                    "order": 1,
 
227
                    "path": "/9/8/7.txt",
 
228
                    "signature": "/9/8/7.txt.asc",
 
229
                    "size": 104857600
 
230
                },
 
231
                {
 
232
                    "checksum": "876",
 
233
                    "order": 1,
 
234
                    "path": "/8/7/6.txt",
 
235
                    "signature": "/8/7/6.txt.asc",
 
236
                    "size": 838860800
 
237
 
 
238
                }
 
239
            ],
 
240
            "type": "delta",
 
241
            "version": 303
 
242
        }
 
243
    ]
 
244
}