Properties
Properties
- Buildable
- B41: Diff 20
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Passed
Lint
Lint
- When
- Completed at Apr 29 2016, 4:11 PM · Built for 4 s
- Status
Passed
1 empty logs are hidden. Show all logs.
1 | python3 -m flake8 swh bin/swh-web-ui-dev |
---|---|
2 |
Python tests
Python tests
- When
- Completed at Apr 29 2016, 4:11 PM · Built for 4 s
- Status
Passed
185 | jsonp_enricher_basic_with_filter_and_jsonp (ui.tests.test_renderers.RendererTestCase) ... ok |
---|---|
186 | jsonp_enricher_do_nothing (ui.tests.test_renderers.RendererTestCase) ... ok |
187 | safe_docstring_display (ui.tests.test_renderers.RendererTestCase) ... ok |
188 | swh_filter_renderer_do_filter (ui.tests.test_renderers.RendererTestCase) ... ok |
189 | swh_filter_renderer_do_nothing (ui.tests.test_renderers.RendererTestCase) ... ok |
190 | urlize_api_links (ui.tests.test_renderers.RendererTestCase) ... ok |
191 | yaml_renderer (ui.tests.test_renderers.RendererTestCase) ... ok |
192 | yaml_renderer_without_filter (ui.tests.test_renderers.RendererTestCase) ... ok |
193 | hash_and_search (ui.tests.test_service.ServiceTestCase) ... ok |
194 | hash_and_search_not_found (ui.tests.test_service.ServiceTestCase) ... ok |
195 | lookup_content_not_found (ui.tests.test_service.ServiceTestCase) ... ok |
196 | lookup_content_raw (ui.tests.test_service.ServiceTestCase) ... ok |
197 | lookup_content_raw_not_found (ui.tests.test_service.ServiceTestCase) ... ok |
198 | lookup_content_with_sha1 (ui.tests.test_service.ServiceTestCase) ... ok |
199 | lookup_content_with_sha256 (ui.tests.test_service.ServiceTestCase) ... ok |
200 | lookup_directory (ui.tests.test_service.ServiceTestCase) ... ok |
201 | lookup_directory_bad_checksum (ui.tests.test_service.ServiceTestCase) ... ok |
202 | lookup_directory_not_found (ui.tests.test_service.ServiceTestCase) ... ok |
203 | lookup_directory_through_revision_ko_not_found (ui.tests.test_service.ServiceTestCase) ... ok |
204 | lookup_directory_through_revision_ok_with_content (ui.tests.test_service.ServiceTestCase) ... ok |
205 | lookup_directory_through_revision_ok_with_data (ui.tests.test_service.ServiceTestCase) ... ok |
206 | lookup_directory_with_path_found (ui.tests.test_service.ServiceTestCase) ... ok |
207 | lookup_directory_with_path_not_found (ui.tests.test_service.ServiceTestCase) ... ok |
208 | lookup_directory_with_revision_ko_revision_not_found (ui.tests.test_service.ServiceTestCase) ... ok |
209 | lookup_directory_with_revision_ko_revision_with_path_to_nowhere (ui.tests.test_service.ServiceTestCase) ... ok |
210 | lookup_directory_with_revision_ko_type_not_implemented (ui.tests.test_service.ServiceTestCase) ... ok |
211 | lookup_directory_with_revision_revision_with_path_to_dir (ui.tests.test_service.ServiceTestCase) ... ok |
212 | lookup_directory_with_revision_revision_with_path_to_file_with_data (ui.tests.test_service.ServiceTestCase) ... ok |
213 | lookup_directory_with_revision_revision_with_path_to_file_without_data (ui.tests.test_service.ServiceTestCase) ... ok |
214 | lookup_directory_with_revision_revision_without_path (ui.tests.test_service.ServiceTestCase) ... ok |
215 | lookup_entity_by_uuid (ui.tests.test_service.ServiceTestCase) ... ok |
216 | lookup_hash_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok |
217 | lookup_hash_exist (ui.tests.test_service.ServiceTestCase) ... ok |
218 | lookup_hash_origin (ui.tests.test_service.ServiceTestCase) ... ok |
219 | lookup_multiple_hashes_ball_missing (ui.tests.test_service.ServiceTestCase) ... ok |
220 | lookup_multiple_hashes_some_missing (ui.tests.test_service.ServiceTestCase) ... ok |
221 | lookup_origin (ui.tests.test_service.ServiceTestCase) ... ok |
222 | lookup_person (ui.tests.test_service.ServiceTestCase) ... ok |
223 | lookup_release (ui.tests.test_service.ServiceTestCase) ... ok |
224 | lookup_release_ko_id_checksum_not_ok_because_not_a_sha1 (ui.tests.test_service.ServiceTestCase) ... ok |
225 | lookup_release_ko_id_checksum_ok_but_not_a_sha1 (ui.tests.test_service.ServiceTestCase) ... ok |
226 | lookup_revision (ui.tests.test_service.ServiceTestCase) ... ok |
227 | lookup_revision_by (ui.tests.test_service.ServiceTestCase) ... ok |
228 | lookup_revision_by_nothing_found (ui.tests.test_service.ServiceTestCase) ... ok |
229 | lookup_revision_log (ui.tests.test_service.ServiceTestCase) ... ok |
230 | lookup_revision_through_ko_not_implemented (ui.tests.test_service.ServiceTestCase) ... ok |
231 | lookup_revision_through_with_context (ui.tests.test_service.ServiceTestCase) ... ok |
232 | lookup_revision_through_with_context_by (ui.tests.test_service.ServiceTestCase) ... ok |
233 | lookup_revision_through_with_revision (ui.tests.test_service.ServiceTestCase) ... ok |
234 | lookup_revision_through_with_revision_by (ui.tests.test_service.ServiceTestCase) ... ok |
235 | lookup_revision_with_context (ui.tests.test_service.ServiceTestCase) ... ok |
236 | lookup_revision_with_context_by (ui.tests.test_service.ServiceTestCase) ... ok |
237 | lookup_revision_with_context_by_ko (ui.tests.test_service.ServiceTestCase) ... ok |
238 | lookup_revision_with_context_ko_not_a_sha1_1 (ui.tests.test_service.ServiceTestCase) ... ok |
239 | lookup_revision_with_context_ko_not_a_sha1_2 (ui.tests.test_service.ServiceTestCase) ... ok |
240 | lookup_revision_with_context_ko_root_sha1_git_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok |
241 | lookup_revision_with_context_ko_sha1_git_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok |
242 | lookup_revision_with_context_sha1_git_root_already_retrieved_as_dict (ui.tests.test_service.ServiceTestCase) ... ok |
243 | stat_counters (ui.tests.test_service.ServiceTestCase) ... ok |
244 | test_upload_and_search (ui.tests.test_service.ServiceTestCase) ... ok |
245 | allowed_file_denied (ui.tests.test_upload.UploadTestCase) ... ok |
246 | allowed_file_ok (ui.tests.test_upload.UploadTestCase) ... ok |
247 | cleanup_ok (ui.tests.test_upload.UploadTestCase) ... ok |
248 | cleanup_should_fail (ui.tests.test_upload.UploadTestCase) ... ok |
249 | save_in_upload_folder_file_not_allowed (ui.tests.test_upload.UploadTestCase) ... ok |
250 | save_in_upload_folder_no_file (ui.tests.test_upload.UploadTestCase) ... ok |
251 | save_in_upload_folder_ok (ui.tests.test_upload.UploadTestCase) ... ok |
252 | enrich_content_with_sha1 (ui.tests.test_utils.UtilsTestCase) ... ok |
253 | enrich_content_without_sha1 (ui.tests.test_utils.UtilsTestCase) ... ok |
254 | enrich_directory_no_type (ui.tests.test_utils.UtilsTestCase) ... ok |
255 | enrich_directory_with_context_and_type_dir (ui.tests.test_utils.UtilsTestCase) ... ok |
256 | enrich_directory_with_context_and_type_file (ui.tests.test_utils.UtilsTestCase) ... ok |
257 | enrich_entity_identity (ui.tests.test_utils.UtilsTestCase) ... ok |
258 | enrich_entity_with_sha1 (ui.tests.test_utils.UtilsTestCase) ... ok |
259 | enrich_release_0 (ui.tests.test_utils.UtilsTestCase) ... ok |
260 | enrich_release_1 (ui.tests.test_utils.UtilsTestCase) ... ok |
261 | enrich_release_2 (ui.tests.test_utils.UtilsTestCase) ... ok |
262 | enrich_release_3 (ui.tests.test_utils.UtilsTestCase) ... ok |
263 | enrich_release_4 (ui.tests.test_utils.UtilsTestCase) ... ok |
264 | enrich_revision_with_children_and_parent_no_dir (ui.tests.test_utils.UtilsTestCase) ... ok |
265 | enrich_revision_without_children_or_parent (ui.tests.test_utils.UtilsTestCase) ... ok |
266 | filter_endpoints_1 (ui.tests.test_utils.UtilsTestCase) ... ok |
267 | filter_endpoints_2 (ui.tests.test_utils.UtilsTestCase) ... ok |
268 | filter_field_keys_dict (ui.tests.test_utils.UtilsTestCase) ... ok |
269 | filter_field_keys_dict_unknown_keys (ui.tests.test_utils.UtilsTestCase) ... ok |
270 | filter_field_keys_list (ui.tests.test_utils.UtilsTestCase) ... ok |
271 | filter_field_keys_list_unknown_keys (ui.tests.test_utils.UtilsTestCase) ... ok |
272 | filter_field_keys_other (ui.tests.test_utils.UtilsTestCase) ... ok |
273 | fmap (ui.tests.test_utils.UtilsTestCase) ... ok |
274 | parse_timestamp (ui.tests.test_utils.UtilsTestCase) ... ok |
275 | person_to_string (ui.tests.test_utils.UtilsTestCase) ... ok |
276 | prepare_data_for_view (ui.tests.test_utils.UtilsTestCase) ... ok |
277 | prepare_data_for_view_default_encoding (ui.tests.test_utils.UtilsTestCase) ... ok |
278 | prepare_data_for_view_ko_cannot_decode (ui.tests.test_utils.UtilsTestCase) ... ok |
279 | |
280 | ---------------------------------------------------------------------- |
281 | Ran 276 tests in 1.442s |
282 | |
283 | OK |
284 |
1 | api_revision {'sha1_git': 'rev-id'} |
---|---|
2 | api_revision_log {'sha1_git': 'rev-id'} |
3 | api_revision_history {'sha1_git': '123', 'sha1_git_root': 'sha1_git_root'} |
4 | api_revision_history {'sha1_git': '456', 'sha1_git_root': 'sha1_git_root'} |
5 | api_revision {'sha1_git': 'rev-id'} |
6 | api_revision_log {'sha1_git': 'rev-id'} |
7 | api_person {'person_id': '1'} |
8 | api_person {'person_id': '2'} |
9 | api_directory {'sha1_git': '123'} |
10 |
Update environment from working copy
Update environment from working copy
- When
- Completed at Apr 29 2016, 4:11 PM · Built for 9 s
- Status
Passed
1 empty logs are hidden. Show all logs.
3 | |
---|---|
4 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-core |
5 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-core |
6 | Already up-to-date. |
7 | |
8 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/snippets |
9 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/snippets |
10 | Already up-to-date. |
11 | |
12 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-lister-github |
13 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-lister-github |
14 | Already up-to-date. |
15 | |
16 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-cloner-git |
17 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-cloner-git |
18 | Already up-to-date. |
19 | |
20 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-antelink |
21 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-antelink |
22 | Already up-to-date. |
23 | |
24 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-debian |
25 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-debian |
26 | Already up-to-date. |
27 | |
28 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-git |
29 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-git |
30 | Already up-to-date. |
31 | |
32 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-dir |
33 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-dir |
34 | Already up-to-date. |
35 | |
36 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-svn |
37 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-svn |
38 | Already up-to-date. |
39 | |
40 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-tar |
41 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-tar |
42 | Already up-to-date. |
43 | |
44 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-vcs |
45 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-vcs |
46 | Already up-to-date. |
47 | |
48 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-py-template |
49 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-py-template |
50 | Already up-to-date. |
51 | |
52 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-model |
53 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-model |
54 | Already up-to-date. |
55 | |
56 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-scheduler |
57 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-scheduler |
58 | Already up-to-date. |
59 | |
60 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-storage |
61 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-storage |
62 | Already up-to-date. |
63 | |
64 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-storage-testdata |
65 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-storage-testdata |
66 | Already up-to-date. |
67 | |
68 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-web-ui |
69 | mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-web-ui |
70 | From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui |
71 | a0acbba..573bab1 master -> origin/master |
72 | Updating a0acbba..573bab1 |
73 | Fast-forward |
74 | .gitignore | 1 + |
75 | debian/control | 3 +- |
76 | requirements.txt | 3 + |
77 | swh/web/ui/backend.py | 11 + |
78 | swh/web/ui/service.py | 20 ++ |
79 | swh/web/ui/static/css/bootstrap-responsive.min.css | 9 + |
80 | swh/web/ui/static/{ => css}/style.css | 3 + |
81 | swh/web/ui/static/js/filedrop.js | 146 +++++++++++ |
82 | swh/web/ui/static/lib/core.js | 1 + |
83 | swh/web/ui/static/lib/lib-typedarrays.js | 1 + |
84 | swh/web/ui/static/lib/sha1.js | 1 + |
85 | swh/web/ui/static/lib/sha256.js | 1 + |
86 | swh/web/ui/templates/layout.html | 5 +- |
87 | swh/web/ui/templates/upload_and_search.html | 106 ++++++-- |
88 | swh/web/ui/tests/test_backend.py | 39 +++ |
89 | swh/web/ui/tests/test_service.py | 48 ++++ |
90 | swh/web/ui/tests/views/test_browse.py | 288 +++++++++------------ |
91 | swh/web/ui/views/browse.py | 103 ++++---- |
92 | 18 files changed, 552 insertions(+), 237 deletions(-) |
93 | create mode 100644 swh/web/ui/static/css/bootstrap-responsive.min.css |
94 | rename swh/web/ui/static/{ => css}/style.css (93%) |
95 | create mode 100644 swh/web/ui/static/js/filedrop.js |
96 | create mode 120000 swh/web/ui/static/lib/core.js |
97 | create mode 120000 swh/web/ui/static/lib/lib-typedarrays.js |
98 | create mode 120000 swh/web/ui/static/lib/sha1.js |
99 | create mode 120000 swh/web/ui/static/lib/sha256.js |
100 | |
101 | mr update: finished (18 ok) |
102 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Apr 29 2016, 4:10 PM · Built instantly
- Status
Passed