swh:1:snp:eb70f1f85391e4b077c211bec36af0061c4bf937

sort by:
Revision Author Date Message Commit Date
ee4a1bd Open listing visits per origin api Related T286 05 July 2016, 09:18:44 UTC
92e6cd8 Update debian packaging configuration files Closes T460 27 June 2016, 12:06:03 UTC
3ab3d3d Remove objstorage scripts 27 June 2016, 11:27:22 UTC
2cf3a5a Extract http servers common code to swh.objstorage for dependencies 27 June 2016, 11:27:22 UTC
7a0369f Extract the object storage to its own package and do the required modifications on the imports Summary: Also, remove the objstorage-related module swh.storage.checker to put in into swh.objstorage.checker. Reviewers: olasd, zack, #reviewers! Differential Revision: https://forge.softwareheritage.org/D64 23 June 2016, 12:29:42 UTC
a623ce8 objstorage.multiplexer: add some use case example to the MultiplexerObjStorage main docstring Closes T459 21 June 2016, 14:01:00 UTC
d5289ab debian packaging: update package list 21 June 2016, 13:03:19 UTC
bed4d47 objstorage.multiplexer.filter: add tests for the filters implementations 21 June 2016, 12:11:42 UTC
fc4791a objstorage.multiplexer.filter: add a way to easily create filter chaining 21 June 2016, 12:11:42 UTC
17bd1a3 objstorage.multiplexer.filter: Implement the multiplexer filter mecanism Also, add a few basic filters as read-only, filter by hash prefix/hash regex matching 21 June 2016, 12:11:42 UTC
ac06326 objstorage.multiplexer: add tests for the multiplexer object storage 21 June 2016, 12:11:42 UTC
1ee994b objstorage.multiplexer: Implement the object storage multiplexer 21 June 2016, 12:11:42 UTC
cbaed54 Open (and fix) swh.storage.storage.revision_log_by Closes T432 Closes T457 Related D54 21 June 2016, 09:22:15 UTC
68abde3 archiver: change objstorage initialization into the archiver Closes T433 16 June 2016, 13:10:31 UTC
d048051 checker: change the objstorage initialization of the checker Also keep the test up-to-date with the changes 16 June 2016, 12:47:50 UTC
029a951 storage: change objstorage initialization arguments Change those arguments in order to keep up with objstorage new version. 16 June 2016, 12:47:50 UTC
c7e1ed3 objstorage.api: Change instantiation of the object storage Keep up with the changes of pathslicing objstorage. 16 June 2016, 12:47:50 UTC
746e049 objstorage: PathslicingObjStorage now allow arbitrary slicing Example, for "abcdef1234567890" with slicing "0:2/0:5", path will be "root/ab/abcde/". Also, update pathslicing objstorage tests to follow those changes 16 June 2016, 12:47:50 UTC
252e49b objstorage: move the constant ID_HASH_ALGO to ObjStorage 16 June 2016, 10:51:47 UTC
8c6e8d7 d/control; requirements: Bump swh.core dependency to 0.0.20 14 June 2016, 15:23:09 UTC
faa35f7 d/rules: move to build_dir before testing 14 June 2016, 15:22:16 UTC
cd965e1 test_archiver: remove debug prints 14 June 2016, 15:22:16 UTC
d5f02d4 Correct an error in the ArchiveWorker initialization Summary: This bug is in the asynchronous code and is **not** related to T436 Ref T401 Reviewers: #reviewers Maniphest Tasks: T401 Differential Revision: https://forge.softwareheritage.org/D46 13 June 2016, 14:00:03 UTC
45eab09 Update an administration script to make it follow the changes of objstorage api 13 June 2016, 09:35:06 UTC
785592a Change the objstorage http server in order to follow the changes of the local version 13 June 2016, 09:35:06 UTC
96ff4ef Update the content integrity checker in order to follow objstorage changes 13 June 2016, 09:35:06 UTC
7c72d90 Update the storage module in order to follow objstorage refactoring Ref T433 13 June 2016, 09:35:06 UTC
c664995 Add an implementation of the object storage api and a test class 13 June 2016, 09:35:06 UTC
90c716d Create a base API that define the objstorage behavior Also add a mixin test class for the contract verification. 13 June 2016, 09:35:06 UTC
363f3e6 converters: update to reflect decoding logic moved to swh.core.utils 10 June 2016, 12:59:38 UTC
bca87a1 Make the checker able to run as daemon or one-shot When ran as daemon, the checker run forever in background. When not as daemon, it only check for a single random batch of content. That could allow the checker to run as multiple one-shot with a cron. 01 June 2016, 14:38:21 UTC
4a18a04 Add the checker to the debian packaging paths Update the setup.py file in order to add the new created directory 'swh/storage/checker' 01 June 2016, 11:18:52 UTC
ba83478 Improve content integrity checker's test coverage Add a test that verify if the content integrity checker can repair the files if the content is exclusively distributed among multiple servers. 01 June 2016, 11:18:52 UTC
413115c The checker now have the possibility to have multiple backup servers The config file now allows the syntax backup_url=url1, url2, url3, ... This allows to have more than one server to contact in case of corrupted content. 01 June 2016, 11:18:52 UTC
59ca1a3 Fix an object id encoding into a test of objstorage api This bug wasn't caught by the phabricator's test runs. 31 May 2016, 15:08:26 UTC
d0ce099 Forgot to change the encoding into the tests. Reviewers: #reviewers Differential Revision: https://forge.softwareheritage.org/D34 27 May 2016, 14:36:26 UTC
eb8ada4 Add some tests for the content integrity checker Closes T423 27 May 2016, 12:24:29 UTC
e4881f0 Create a content integrity checker that runs in local to verify objects 27 May 2016, 12:24:29 UTC
b216139 Also, add a get_random_contents access to the remote API 27 May 2016, 12:24:29 UTC
26e933b Add some methods to the object storage in order to allow a content integrity checker to run - restore_bytes method is needed to repair a content as the add_bytes methods does nothing to the content if the id is already in the file system - get_random_contents is used for the content integrity checker in order to have a stateless probabilistic method for the cerification scheduling 27 May 2016, 11:32:03 UTC
60a0be9 Add run_from_webserver function for objstorage api server This is the main function used when deployed 20 May 2016, 13:26:43 UTC
b78a9fa Add unique identifier message on default api server route endpoints 20 May 2016, 13:24:44 UTC
e522d1e Command line launch improvements Object storage and storage http servers now have the same --help description. Also, add a security check for argument type of the port that must be an int. Ref T402 20 May 2016, 11:40:15 UTC
6941140 Add a way to launch archiver director from cl With click module, the archiver can now be launched in cl, e.g. by cron. Ref T240 20 May 2016, 11:40:14 UTC
5c0979e Change test attribute in order to skip some tests 19 May 2016, 22:06:34 UTC
53fbe53 Update debian package dependencies Closes T404 19 May 2016, 22:06:19 UTC
5dd32b1 Fix tests according to 37c8b88 (align extra_git_headers to extra_headers) Reviewers: #reviewers, ardumont Differential Revision: https://forge.softwareheritage.org/D28 17 May 2016, 14:42:54 UTC
4e97e4c Improve test coverage of the archiver Closes T403 17 May 2016, 10:38:37 UTC
f92426d Fixes and improvements for T401 Summary: Ref T401 - Fix : The 'ongoing' status wasn't set to the content that were supposed to be in que archival queue. - Refactor : - Extract sql query from archive worker and place it into db module - Refactor in order to improve code quality & separation and to simplify unit testing. - Change the way the director's configuration is stored to make it easy to send the whole config to ArchiverWorker Reviewers: #reviewers Maniphest Tasks: T401 Differential Revision: https://forge.softwareheritage.org/D27 17 May 2016, 10:38:37 UTC
fc5ed93 Extract sql query from archive worker and place it into db module 13 May 2016, 12:08:08 UTC
f74f923 Fix the status update of content during archival process The content status wasn't correclty set to 'ongoing'. The 'ongoing' status wasn't set to the content that were supposed to be in que archival queue. 13 May 2016, 12:07:28 UTC
b1d99e1 Improve starting routines of storage & objstorage servers Summary: Use click in order to improve the routine. Closes T402 Reviewers: #reviewers, ardumont Maniphest Tasks: T402 Differential Revision: https://forge.softwareheritage.org/D26 12 May 2016, 13:10:03 UTC
7afda21 Make the worker asynchronous optional Closes T406 12 May 2016, 11:26:57 UTC
0e84344 Add asynchronous mode Closes T401 12 May 2016, 11:26:57 UTC
f0388f1 Add synchronous first implementation of the archiver Closes T400 12 May 2016, 11:26:57 UTC
e32124d Change database model and update swh.storage.db api in order to follow those changes 12 May 2016, 11:08:49 UTC
09c0f2f Change storage & objstorage server mains in order to change default port Related T402 Reviewers: #reviewers Differential Revision: https://forge.softwareheritage.org/D25 12 May 2016, 11:07:58 UTC
37c8b88 converters: rename extra_git_headers in revision to extra_headers 11 May 2016, 12:34:38 UTC
2c719ee Change the server's imports to absolute ones Summary: As the servers are supposed to be launched, their imports cannot be relatives. Reviewers: #reviewers Differential Revision: https://forge.softwareheritage.org/D24 10 May 2016, 15:16:36 UTC
f0bda08 Add tests for the remote objstorage API and share some code with storage.api tests Add some nosetest unit-tests for the remote object storage client/server API, and perform some refactoring in the test of swh.storage.api in order to share code, due to very similar architecture. 04 May 2016, 09:10:12 UTC
a3a7bd4 Add an http API for objstorage and refactor the shared code with storage.api Create an http API for swh.storage.objstorage and perform some refactoring in order to avoid code duplication with swh.storage.api 04 May 2016, 09:10:12 UTC
82b0e8a Change the objstorage file to a module 04 May 2016, 09:10:12 UTC
ede4392 d/control: Fix homepage 15 April 2016, 10:11:37 UTC
4f2792d Move docs to the docs directory 12 April 2016, 13:50:31 UTC
24979b7 sql/upgrades/068: Add 067→068 migration script 07 April 2016, 16:44:56 UTC
740bef4 sql/swh-schema: add a fullname field to person The fullname field is the new canonical field for persons. name and email are only populated in an advisory capacity if they are parsed. We use this opportunity to cleanup the mess we did of SQL queries for releases and revisions, and stop using SELECT *. Closes T366 07 April 2016, 16:28:29 UTC
c5b259b sql: use tmp_bytea to retrieve information about revisions 07 April 2016, 14:24:47 UTC
e06dfcf utils: latest fix_revisions_from_dump run 07 April 2016, 12:59:11 UTC
848fdd5 utils: add some tools to dump revisions and/or try to fix them 05 April 2016, 13:13:06 UTC
1cade4f db: return properly decoded lines even when using dict cursors 05 April 2016, 13:13:06 UTC
e3a4bb7 Permit to filter other kinds of revision than git 02 April 2016, 16:28:58 UTC
1201a2b sql/upgrades/066: add 065-066 upgrade script - Add 'svn' revision type 18 March 2016, 18:14:49 UTC
de2a586 sql/swh-schema: rename entity{_history}.doap to metadata 09 March 2016, 15:58:24 UTC
92e1f19 sql/swh-schema: convert all json fields to jsonb 09 March 2016, 10:34:56 UTC
f962f70 sql/upgrades/063: add 062-063 upgrade script 08 March 2016, 16:27:48 UTC
438263f sql/json: update entity{,_history}.lister_metadata schemata 08 March 2016, 16:14:45 UTC
6711726 swh-schema: fold the entity.lister column in entity.lister_metadata 08 March 2016, 16:03:39 UTC
bfc8984 revision.metadata JSON Schema: set allowed values to: tar, zip, dsc 04 March 2016, 17:07:46 UTC
0d0df37 revision.metadata JSON schema: origin_artifact is a list... ... of objects with the previously declared properties 04 March 2016, 16:48:18 UTC
6f3cb2e json schemas: fix whitespace issues (and a few typos) 04 March 2016, 16:41:12 UTC
e2195ca sql/json/: first stab at documenting JSON(B) values using JSON Schema This is still very preliminar. I've merely extracted all examples from the current real DB, looking at all columns with type JSON or JSONB. Based on the examples I've documented all properties, applying the most reasonable types. The largest example is the revision.metadata column. A lot of documentation work is still missing; - required properties are not declared (but should, most notably in revision.metadata, given that a large part of that schema is valid only for Debian packages). Note that by default in JSON Schema all properties are *optional* so this aspect shoult not affect validity - title/description generic properties are seldomly used and should be used more - default generic property is never used, but probably should On the validation front we should: - validate all JSON(B) values in the DB against these schemas. Some upcoming validation errors are already evident. In particular: tarball artifacts do not have a "length" property, and symmetrically debian source package artifacts lack an "archive_type" property - validate the JSON Schema itself, as I might have gotten the spec wrong 04 March 2016, 16:28:57 UTC
9ec836e storage: add entity_get_one to retrieve a single entity 04 March 2016, 15:30:05 UTC
911086f sql/swh-func: make the entity update trigger lighter 04 March 2016, 13:47:38 UTC
6daf5fc sql/swh-func: drop temporary entity-related tables on commit 04 March 2016, 13:44:25 UTC
c5374c3 db: allow passing UUIDs back and forth with the database 04 March 2016, 11:05:24 UTC
e6c0959 storage: add new method object_find_by_sha1_git The new method looks for objects with the given sha1_gits and returns some information about them. 25 February 2016, 14:21:11 UTC
48ffd2a sql: factor out tmp_release_get and tmp_content_get into a single table 25 February 2016, 13:57:12 UTC
99e83ca Fix pep8 compliance 11 February 2016, 11:34:33 UTC
3172337 sql/upgrades/058: add 057 → 058 upgrade script 11 February 2016, 11:33:36 UTC
456f44d Open content_missing_per_sha1 11 February 2016, 11:33:36 UTC
a401d86 swh.storage: Allow storage of extra git headers in revisions We store the extra git headers (bytes) in the metadata->'extra_git_headers' field of the revision. The values are decoded as if they were utf-8 strings. When an invalid sequence is encountered, the bytes are encoded as a \x escape. We also encode NUL bytes as such, as U+0000 is invalid in a JSON string and can't be stored in PostgreSQL. 10 February 2016, 11:22:10 UTC
26ce6d8 sql/swh-schema: add some constraints to occurrence{_history,} 08 February 2016, 14:37:56 UTC
2e29497 sql/swh-func: Properly deduplicate occurrence_history 08 February 2016, 14:26:06 UTC
c64b05e sql/upgrades/055: add 054 → 055 upgrade script 08 February 2016, 14:15:24 UTC
f6041b6 sql/swh-func: Properly increment the visit numbers for origin_visit 08 February 2016, 14:13:46 UTC
2a90566 sql/upgrades/054: Add 053 → 054 update script 08 February 2016, 14:13:01 UTC
12556ab swh-func: add prefixes to the occurrence update function names 08 February 2016, 12:15:25 UTC
da91787 sql/upgrades/053: add 52 → 53 upgrade script 05 February 2016, 14:58:25 UTC
9afcea5 sql/swh-func: uniformize the tmp_release_get and tmp_release tables 05 February 2016, 14:54:31 UTC
137f82c sql/upgrades/052: add 051 → 052 upgrade script 05 February 2016, 10:12:55 UTC
back to top