Граф коммитов

970 Коммитов

Автор SHA1 Сообщение Дата
Marco Castelluccio 641ac66eb5 Add .coverage file to .gitignore 2019-06-11 20:06:14 +02:00
Marco Castelluccio 04917a0892 Remove useless comment 2019-06-11 17:28:45 +02:00
Marco Castelluccio fa4fa50295 Merge .flake8 and setup.cfg
Fixes #579
2019-06-11 17:25:34 +02:00
Marco Castelluccio 88675b10f3 Update pre-commit repos 2019-06-11 16:10:26 +02:00
Marco Castelluccio 70cdf678ef Use codespell v1.15.0 2019-06-11 16:08:28 +02:00
Marco Castelluccio 37f93de33b Make it possible to use bug features too in models classifying commits
Fixes #514
2019-06-11 11:08:50 +02:00
Marco Castelluccio bc066eb3e6 Stop using subprocess in test_run.py, but import run.py and test its functions 2019-06-10 11:06:01 +02:00
Marco Castelluccio 01426eeea0 Refactor run.py script to make it more easily testable 2019-06-10 11:06:01 +02:00
Sylvestre Ledru a84f64478b Add a short description about bugbug (#574)
Co-Authored-By: Marco <mcastelluccio@mozilla.com>
2019-06-10 11:05:30 +02:00
Marco Castelluccio 85cb54859c Move the auto-formatting section under the Setup section, and expand it a bit 2019-06-09 01:16:06 +02:00
Marco Castelluccio 633da4e7e0 Remove now useless section about updating DBs 2019-06-09 01:11:11 +02:00
Marco Castelluccio 31c05c9b35 Add more classifier to the README and sort them alphabetically 2019-06-09 01:10:46 +02:00
Marco Castelluccio 8cdde6e222 Add Taskcluster badge 2019-06-09 01:03:22 +02:00
Marco Castelluccio 79b8a87239 Version 0.0.49 2019-06-09 01:02:16 +02:00
Marco Castelluccio 6fdf873edb Remove old_bugs list, which was unused 2019-06-09 00:34:26 +02:00
Marco Castelluccio 735fccc4a9 In the retrieval task, download only new or changed bugs
To support it, refactor bugzilla methods:
- adding methods to get IDs given a query and given a time period;
- renaming the internal _download method to get, since it's used externally;
- changing delete to be more flexible and allowing to use a lambda to choose which bugs to delete.

Fixes #440.
2019-06-09 00:32:23 +02:00
Marco Castelluccio cb8aacd71a Don't fail when a support file is not yet available (e.g. when introducing a new DB) 2019-06-09 00:17:44 +02:00
Marco Castelluccio d95df65d72 Add a method to get the last modified time of a DB 2019-06-09 00:13:49 +02:00
Marco Castelluccio 89b37b96ae Upload version file too in the bugs retrieval task 2019-06-09 00:13:20 +02:00
Marco Castelluccio 23d76d3610 Collect coverage during the run.py test 2019-06-08 21:42:20 +02:00
Marco Castelluccio f2e6c23ea9 Add some meta checker hooks 2019-06-08 21:24:22 +02:00
Marco Castelluccio f0993a7ce9 Test installing extra dependencies too 2019-06-08 21:11:41 +02:00
Marco Castelluccio 23f85ea6fe Simplify setup.py now that we are no longer using dependency links 2019-06-08 21:11:16 +02:00
Marco Castelluccio 75dce849c1 Collect coverage for setup.py too 2019-06-08 20:56:09 +02:00
Marco Castelluccio 36f9a7c8d9 Move comment_level_labeler script in the scripts directory 2019-06-08 20:36:13 +02:00
Marco Castelluccio fe16fe02c2 Fail with a better error message when a field transformation fails 2019-06-08 20:35:04 +02:00
Marco Castelluccio 150806663f Add some more expected inconsistent changes 2019-06-08 20:32:02 +02:00
Marco a63c8a12ca
Enable coverage collection during tests (#571)
* Enable coverage collection during tests

* Use codecov.io bash uploader to upload coverage report
2019-06-08 12:23:40 +02:00
Marco Castelluccio 1ab26c67d1 Be more quiet when installing packages with apt 2019-06-08 11:50:13 +02:00
Marco Castelluccio 01f54df143 Add more defect/enhancement/task labels gathered from changed made by users on Bugzilla 2019-06-08 11:44:19 +02:00
Marco Castelluccio ff5eba3832 Remove unused JSON-e variables 2019-06-08 11:25:16 +02:00
Marco Castelluccio b8809c12c0 Disable detachedHead git advice to avoid useless warnings in the logs 2019-06-08 11:25:13 +02:00
Marco Castelluccio 353d21d01b Clone repository quietly 2019-06-08 11:19:01 +02:00
Marco Castelluccio 259175ae61 Install Python dependencies quietly 2019-06-08 11:17:38 +02:00
Marco Castelluccio 4a991ac6ef Fix download of bugs DB in the rollback test 2019-06-08 11:17:15 +02:00
Marco Castelluccio 76b82d0427 Load yaml safely
This is mostly to avoid warnings, as the yaml files we load are fully controlled by us.
2019-06-07 23:34:14 +02:00
Marco Castelluccio e7614ccf2a Version 0.0.48 2019-06-07 22:03:00 +02:00
Marco Castelluccio 9de91456f6 Update to taskboot 0.1.6 2019-06-07 22:03:00 +02:00
pyup.io bot d387d88300 Update rq-dashboard from 0.4.0 to 0.5.1 (#569) 2019-06-07 21:40:29 +02:00
Boris Feld a8faa48d8a Support classifying batches of bugs with a background worker (#321) 2019-06-07 21:22:14 +02:00
Marco Castelluccio ada2d5c832 Version 0.0.46 2019-06-07 17:14:56 +02:00
Marco Castelluccio 0b06016793 Remove GIT_REPOSITORY and GIT_REVISION from the update hook tasks, as we now clone the repo ourselves
Otherwise task-boot fails as it tries to clone it again.
2019-06-07 17:14:26 +02:00
Marco Castelluccio 3ebccf500a Version 0.0.46 2019-06-07 16:49:29 +02:00
Marco Castelluccio 82d9c0ece0 Update to taskboot 0.1.5 2019-06-07 16:47:28 +02:00
Boris Feld 2e05e57be2 Build docker images data pipeline tag (#566)
* Build the HTTP Docker image with the right tag

* Ensure the builded docker image has the right parent image
2019-06-07 16:46:05 +02:00
Boris Feld 8fc9598519 Ensure we download models from INDEX URL containing bugbug version (#565) 2019-06-07 16:16:19 +02:00
Boris Feld 5f9be450cf Ensure we download data from INDEX URL containing bugbug version (#564) 2019-06-07 16:14:58 +02:00
Marco Castelluccio 2096ea21c2 Version 0.0.45 2019-06-07 13:00:52 +02:00
Marco Castelluccio 668a4e4a88 Add more defect/enhancement/task labels gathered from changed made by users on Bugzilla 2019-06-07 12:59:44 +02:00
Boris Feld 2988700028 Use tagged index urls for pushing artifacts (#561)
* Use tagged index urls for pushing artifacts

Also replace previous code that updated Docker image tag to use JSON-e
templating instead.
2019-06-07 12:52:29 +02:00