Page MenuHomeSoftware Heritage

Properties

Buildable
B41: Diff 20
Build Plan
Plan 2 Software Heritage Python tests
Status
Passed

Lint

When
Completed at Apr 29 2016, 4:11 PM · Built for 4 s
Status
Passed
1 empty logs are hidden. Show all logs.

Build Log 212 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1python3 -m flake8 swh bin/swh-web-ui-dev
2

Python tests

When
Completed at Apr 29 2016, 4:11 PM · Built for 4 s
Status
Passed

Build Log 211 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

185jsonp_enricher_basic_with_filter_and_jsonp (ui.tests.test_renderers.RendererTestCase) ... ok
186jsonp_enricher_do_nothing (ui.tests.test_renderers.RendererTestCase) ... ok
187safe_docstring_display (ui.tests.test_renderers.RendererTestCase) ... ok
188swh_filter_renderer_do_filter (ui.tests.test_renderers.RendererTestCase) ... ok
189swh_filter_renderer_do_nothing (ui.tests.test_renderers.RendererTestCase) ... ok
190urlize_api_links (ui.tests.test_renderers.RendererTestCase) ... ok
191yaml_renderer (ui.tests.test_renderers.RendererTestCase) ... ok
192yaml_renderer_without_filter (ui.tests.test_renderers.RendererTestCase) ... ok
193hash_and_search (ui.tests.test_service.ServiceTestCase) ... ok
194hash_and_search_not_found (ui.tests.test_service.ServiceTestCase) ... ok
195lookup_content_not_found (ui.tests.test_service.ServiceTestCase) ... ok
196lookup_content_raw (ui.tests.test_service.ServiceTestCase) ... ok
197lookup_content_raw_not_found (ui.tests.test_service.ServiceTestCase) ... ok
198lookup_content_with_sha1 (ui.tests.test_service.ServiceTestCase) ... ok
199lookup_content_with_sha256 (ui.tests.test_service.ServiceTestCase) ... ok
200lookup_directory (ui.tests.test_service.ServiceTestCase) ... ok
201lookup_directory_bad_checksum (ui.tests.test_service.ServiceTestCase) ... ok
202lookup_directory_not_found (ui.tests.test_service.ServiceTestCase) ... ok
203lookup_directory_through_revision_ko_not_found (ui.tests.test_service.ServiceTestCase) ... ok
204lookup_directory_through_revision_ok_with_content (ui.tests.test_service.ServiceTestCase) ... ok
205lookup_directory_through_revision_ok_with_data (ui.tests.test_service.ServiceTestCase) ... ok
206lookup_directory_with_path_found (ui.tests.test_service.ServiceTestCase) ... ok
207lookup_directory_with_path_not_found (ui.tests.test_service.ServiceTestCase) ... ok
208lookup_directory_with_revision_ko_revision_not_found (ui.tests.test_service.ServiceTestCase) ... ok
209lookup_directory_with_revision_ko_revision_with_path_to_nowhere (ui.tests.test_service.ServiceTestCase) ... ok
210lookup_directory_with_revision_ko_type_not_implemented (ui.tests.test_service.ServiceTestCase) ... ok
211lookup_directory_with_revision_revision_with_path_to_dir (ui.tests.test_service.ServiceTestCase) ... ok
212lookup_directory_with_revision_revision_with_path_to_file_with_data (ui.tests.test_service.ServiceTestCase) ... ok
213lookup_directory_with_revision_revision_with_path_to_file_without_data (ui.tests.test_service.ServiceTestCase) ... ok
214lookup_directory_with_revision_revision_without_path (ui.tests.test_service.ServiceTestCase) ... ok
215lookup_entity_by_uuid (ui.tests.test_service.ServiceTestCase) ... ok
216lookup_hash_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok
217lookup_hash_exist (ui.tests.test_service.ServiceTestCase) ... ok
218lookup_hash_origin (ui.tests.test_service.ServiceTestCase) ... ok
219lookup_multiple_hashes_ball_missing (ui.tests.test_service.ServiceTestCase) ... ok
220lookup_multiple_hashes_some_missing (ui.tests.test_service.ServiceTestCase) ... ok
221lookup_origin (ui.tests.test_service.ServiceTestCase) ... ok
222lookup_person (ui.tests.test_service.ServiceTestCase) ... ok
223lookup_release (ui.tests.test_service.ServiceTestCase) ... ok
224lookup_release_ko_id_checksum_not_ok_because_not_a_sha1 (ui.tests.test_service.ServiceTestCase) ... ok
225lookup_release_ko_id_checksum_ok_but_not_a_sha1 (ui.tests.test_service.ServiceTestCase) ... ok
226lookup_revision (ui.tests.test_service.ServiceTestCase) ... ok
227lookup_revision_by (ui.tests.test_service.ServiceTestCase) ... ok
228lookup_revision_by_nothing_found (ui.tests.test_service.ServiceTestCase) ... ok
229lookup_revision_log (ui.tests.test_service.ServiceTestCase) ... ok
230lookup_revision_through_ko_not_implemented (ui.tests.test_service.ServiceTestCase) ... ok
231lookup_revision_through_with_context (ui.tests.test_service.ServiceTestCase) ... ok
232lookup_revision_through_with_context_by (ui.tests.test_service.ServiceTestCase) ... ok
233lookup_revision_through_with_revision (ui.tests.test_service.ServiceTestCase) ... ok
234lookup_revision_through_with_revision_by (ui.tests.test_service.ServiceTestCase) ... ok
235lookup_revision_with_context (ui.tests.test_service.ServiceTestCase) ... ok
236lookup_revision_with_context_by (ui.tests.test_service.ServiceTestCase) ... ok
237lookup_revision_with_context_by_ko (ui.tests.test_service.ServiceTestCase) ... ok
238lookup_revision_with_context_ko_not_a_sha1_1 (ui.tests.test_service.ServiceTestCase) ... ok
239lookup_revision_with_context_ko_not_a_sha1_2 (ui.tests.test_service.ServiceTestCase) ... ok
240lookup_revision_with_context_ko_root_sha1_git_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok
241lookup_revision_with_context_ko_sha1_git_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok
242lookup_revision_with_context_sha1_git_root_already_retrieved_as_dict (ui.tests.test_service.ServiceTestCase) ... ok
243stat_counters (ui.tests.test_service.ServiceTestCase) ... ok
244test_upload_and_search (ui.tests.test_service.ServiceTestCase) ... ok
245allowed_file_denied (ui.tests.test_upload.UploadTestCase) ... ok
246allowed_file_ok (ui.tests.test_upload.UploadTestCase) ... ok
247cleanup_ok (ui.tests.test_upload.UploadTestCase) ... ok
248cleanup_should_fail (ui.tests.test_upload.UploadTestCase) ... ok
249save_in_upload_folder_file_not_allowed (ui.tests.test_upload.UploadTestCase) ... ok
250save_in_upload_folder_no_file (ui.tests.test_upload.UploadTestCase) ... ok
251save_in_upload_folder_ok (ui.tests.test_upload.UploadTestCase) ... ok
252enrich_content_with_sha1 (ui.tests.test_utils.UtilsTestCase) ... ok
253enrich_content_without_sha1 (ui.tests.test_utils.UtilsTestCase) ... ok
254enrich_directory_no_type (ui.tests.test_utils.UtilsTestCase) ... ok
255enrich_directory_with_context_and_type_dir (ui.tests.test_utils.UtilsTestCase) ... ok
256enrich_directory_with_context_and_type_file (ui.tests.test_utils.UtilsTestCase) ... ok
257enrich_entity_identity (ui.tests.test_utils.UtilsTestCase) ... ok
258enrich_entity_with_sha1 (ui.tests.test_utils.UtilsTestCase) ... ok
259enrich_release_0 (ui.tests.test_utils.UtilsTestCase) ... ok
260enrich_release_1 (ui.tests.test_utils.UtilsTestCase) ... ok
261enrich_release_2 (ui.tests.test_utils.UtilsTestCase) ... ok
262enrich_release_3 (ui.tests.test_utils.UtilsTestCase) ... ok
263enrich_release_4 (ui.tests.test_utils.UtilsTestCase) ... ok
264enrich_revision_with_children_and_parent_no_dir (ui.tests.test_utils.UtilsTestCase) ... ok
265enrich_revision_without_children_or_parent (ui.tests.test_utils.UtilsTestCase) ... ok
266filter_endpoints_1 (ui.tests.test_utils.UtilsTestCase) ... ok
267filter_endpoints_2 (ui.tests.test_utils.UtilsTestCase) ... ok
268filter_field_keys_dict (ui.tests.test_utils.UtilsTestCase) ... ok
269filter_field_keys_dict_unknown_keys (ui.tests.test_utils.UtilsTestCase) ... ok
270filter_field_keys_list (ui.tests.test_utils.UtilsTestCase) ... ok
271filter_field_keys_list_unknown_keys (ui.tests.test_utils.UtilsTestCase) ... ok
272filter_field_keys_other (ui.tests.test_utils.UtilsTestCase) ... ok
273fmap (ui.tests.test_utils.UtilsTestCase) ... ok
274parse_timestamp (ui.tests.test_utils.UtilsTestCase) ... ok
275person_to_string (ui.tests.test_utils.UtilsTestCase) ... ok
276prepare_data_for_view (ui.tests.test_utils.UtilsTestCase) ... ok
277prepare_data_for_view_default_encoding (ui.tests.test_utils.UtilsTestCase) ... ok
278prepare_data_for_view_ko_cannot_decode (ui.tests.test_utils.UtilsTestCase) ... ok
279
280----------------------------------------------------------------------
281Ran 276 tests in 1.442s
282
283OK
284

Build Log 210 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1api_revision {'sha1_git': 'rev-id'}
2api_revision_log {'sha1_git': 'rev-id'}
3api_revision_history {'sha1_git': '123', 'sha1_git_root': 'sha1_git_root'}
4api_revision_history {'sha1_git': '456', 'sha1_git_root': 'sha1_git_root'}
5api_revision {'sha1_git': 'rev-id'}
6api_revision_log {'sha1_git': 'rev-id'}
7api_person {'person_id': '1'}
8api_person {'person_id': '2'}
9api_directory {'sha1_git': '123'}
10

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.

Build Log 208 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

3
4mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-core
5mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-core
6Already up-to-date.
7
8mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/snippets
9mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/snippets
10Already up-to-date.
11
12mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-lister-github
13mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-lister-github
14Already up-to-date.
15
16mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-cloner-git
17mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-cloner-git
18Already up-to-date.
19
20mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-antelink
21mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-antelink
22Already up-to-date.
23
24mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-debian
25mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-debian
26Already up-to-date.
27
28mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-git
29mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-git
30Already up-to-date.
31
32mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-dir
33mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-dir
34Already up-to-date.
35
36mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-svn
37mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-svn
38Already up-to-date.
39
40mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-tar
41mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-tar
42Already up-to-date.
43
44mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-vcs
45mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-loader-vcs
46Already up-to-date.
47
48mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-py-template
49mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-py-template
50Already up-to-date.
51
52mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-model
53mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-model
54Already up-to-date.
55
56mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-scheduler
57mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-scheduler
58Already up-to-date.
59
60mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-storage
61mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-storage
62Already up-to-date.
63
64mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-storage-testdata
65mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-storage-testdata
66Already up-to-date.
67
68mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-web-ui
69mr update: /home/temp-drydock/drydock/workingcopy-156/repo/swh-environment/swh-web-ui
70From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui
71 a0acbba..573bab1 master -> origin/master
72Updating a0acbba..573bab1
73Fast-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
101mr update: finished (18 ok)
102

Clone on Software Heritage Worker

When
Completed at Apr 29 2016, 4:10 PM · Built instantly
Status
Passed

Event Timeline