6a44a84 | Antoine Lambert | 26 April 2021, 14:11:28 UTC | tox: Add sphinx environments to check sane doc build Enable to check package documentation can be built without producing sphinx warnings. The sphinx environment is designed to be used in continuous integration in order to prevent breaking documentation build when committing changes. The sphinx-dev environment is designed to be used inside a full swh development environment. Related to T3258 | 26 April 2021, 14:11:28 UTC |
85cac36 | Valentin Lorentz | 22 April 2021, 14:28:48 UTC | Remove 'journal_type' argument from the CLI Motivation: * This simplifies the CLI, and stops leaking implementation details (what field the implementation reads, what keys contains, that keys exist at all, etc.) through this interface. * It also removes the need to have two clients, both reading revisions and releases. This preserves the optimization of not deserializing unneeded values, by passing raw message values to the worker functions; which can deserialize it themselves if needed. Additionally, this commit fixes some mistakes in type annotations. | 22 April 2021, 18:21:37 UTC |
5cae9b7 | Vincent SELLIER | 22 April 2021, 08:29:08 UTC | Implement the jounal client counting an internal property of an object and use it to count the persons inside the releases and revisions. Via an new argument 'keys'/'messages' supported by the cli, different journal client implemtations and worker functions are used. 'keys' is the old behavior counting only the different message keys of a given topic. Related to T3251 | 22 April 2021, 12:37:36 UTC |
0e5d551 | Vincent SELLIER | 14 April 2021, 08:06:22 UTC | Make the project usable in the webapp tests Add an in memory implementatiom that will be used in the webapp's tests Related to T3231 | 14 April 2021, 09:17:47 UTC |
15f72b7 | Valentin Lorentz | 13 April 2021, 20:00:44 UTC | Fix duplicate reference target | 13 April 2021, 20:00:51 UTC |
38eab38 | Vincent SELLIER | 13 April 2021, 15:40:04 UTC | Add a method get several counter values at once It allow the webapp to retrieve all the values it needs for the homepage in only one rpc call Related to T3231 | 13 April 2021, 15:59:55 UTC |
46d1d61 | Vincent SELLIER | 08 April 2021, 21:49:07 UTC | Fix history endpoint path It has no effect on pip version but it's not working with on debian stable Related to T3165 | 08 April 2021, 21:49:07 UTC |
9958f40 | Vincent SELLIER | 08 April 2021, 17:15:49 UTC | Let flask manage json response by itself Flask versions between stable (1.0.2) and pip(1.1.2) have different behaviors. The oldest version does not automatically handle a dict as return value. Related to T3165 | 08 April 2021, 17:24:14 UTC |
dd8ad46 | Vincent SELLIER | 07 April 2021, 21:36:44 UTC | attempt to fix the stable debian build Related to T3165 | 08 April 2021, 07:05:24 UTC |
f2fba43 | Vincent SELLIER | 07 April 2021, 13:26:01 UTC | Use an intermediate temporary file to generate the historical data It will avoid the erase the file in case of problem and ensure the webapp can't download it while it's not completely writtent on disk Related to T3165 | 07 April 2021, 14:51:00 UTC |
42157fd | Vincent SELLIER | 07 April 2021, 13:08:31 UTC | Allow the webapp to retrieve the history file via a GET endpoint Related to T3165 | 07 April 2021, 14:47:13 UTC |
1b262c3 | Vincent SELLIER | 30 March 2021, 14:02:31 UTC | Manage and expose the historical data - Convert the former script managed by puppet to a tested implementation of this module - Add the api endpoint needed by the webapp to retrieve the file with static historical data and the live data from prometheus aggregated - Add the api endpoint to build these files, it will be called regularly by a crontab Related to T3165 | 07 April 2021, 10:05:50 UTC |
2fef22b | Valentin Lorentz | 26 March 2021, 11:39:51 UTC | Fix documentation headers | 26 March 2021, 11:46:17 UTC |
32796c3 | Antoine R. Dumont (@ardumont) | 25 March 2021, 16:18:55 UTC | docs: Unify doc and git READMEs | 25 March 2021, 16:27:38 UTC |
c62e4dc | Antoine R. Dumont (@ardumont) | 25 March 2021, 12:52:08 UTC | README: Update description This gets more synchronized with the docs description Related to T3172 | 25 March 2021, 12:52:08 UTC |
7dbe186 | Vincent SELLIER | 24 March 2021, 16:13:13 UTC | Allow prometheus to retrieve the counter values - Add a method to get the list of counters on the backend - Add an endpoint on the rpc to expose the counters values in the prometheus format - The way redis was instantiated by the fixture needed to be changed to always start a new test with an empty redis Related to T3164 | 24 March 2021, 16:23:47 UTC |
d882786 | Vincent SELLIER | 15 March 2021, 16:50:41 UTC | Implement remote service Related to T2912 | 16 March 2021, 15:04:58 UTC |
d90ee19 | Vincent SELLIER | 11 March 2021, 13:35:50 UTC | Implement counters pipeline Related to T2912 | 15 March 2021, 17:48:10 UTC |
826c30e | Vincent SELLIER | 10 March 2021, 15:25:49 UTC | Implement the cli skeleton The counters logic is not yet implemented Related to T2912 | 12 March 2021, 08:46:32 UTC |
142fff8 | Vincent SELLIER | 05 March 2021, 10:43:44 UTC | Update template defauts | 05 March 2021, 10:43:44 UTC |
ae8cfbf | Vincent SELLIER | 05 March 2021, 10:31:43 UTC | import template from swh-py-template (init-py-repo) | 05 March 2021, 10:31:43 UTC |