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

715 Коммитов

Автор SHA1 Сообщение Дата
Bastien Abadie 87a5674a9c Setup bugbug with bind mount 2019-04-25 13:08:26 +02:00
Bastien Abadie fe01e45dcd Switch to slim image 2019-04-25 11:15:34 +02:00
Marco Castelluccio 3105acef95 Add script to gather defect/enhancement/task labels 2019-04-24 14:15:40 +02:00
Marco Castelluccio f556c43b3d Add more defect/enhancement/task labels gathered from changed made by users on Bugzilla 2019-04-24 13:59:12 +02:00
Marco Castelluccio 0bfea2b9f6 Sort defect/enhancement/task labels by bug ID for better diffs 2019-04-24 13:56:50 +02:00
Marco Castelluccio 5365e68bd8 Add more labels for regression/bug/nobug 2019-04-24 13:31:26 +02:00
Marco Castelluccio 1a16757bd5 Add more labels gathered from changed made by users on Bugzilla 2019-04-23 15:44:43 +02:00
Marco Castelluccio d8820d9a5b Overwrite classes when 'regressed_by' is not empty (it is 100% a regression) 2019-04-23 15:35:38 +02:00
Marco Castelluccio b864973e6c Add labels gathered from changes made by users on Bugzilla 2019-04-23 15:34:44 +02:00
Marco Castelluccio b7722bb6d6 Rename labels to full word to make them clearer 2019-04-23 15:20:37 +02:00
Marco Castelluccio 4d2daf500c Add more labels for regression/bug/nobug 2019-04-23 14:59:45 +02:00
pyup.io bot fd2e21b9bb Update numpy from 1.16.2 to 1.16.3 (#302) 2019-04-23 10:43:23 +02:00
Marco 6c29fc20dc
Increase maximum runtime and deadline for docker build task (#299) 2019-04-19 23:41:55 +02:00
Marco Castelluccio 762adc5d16 Version 0.0.14 2019-04-19 19:13:46 +02:00
Marco Castelluccio e199972050 Actually use f-string in version check script 2019-04-19 19:13:28 +02:00
Boris Feld 053954d70b Run pre-commit in the lint task (#297) 2019-04-19 18:01:24 +02:00
Marco 9daefed28c
Fix recent experience calculation (#295)
* Fix formatting of code in bugbug/repository.py

* Fix reviewer experience calculation for commits with no reviewers

* Fix reviewer experience calculation for commits with multiple reviewers (experience is the sum of the experiences)
2019-04-19 17:42:26 +02:00
Boris Feld 4b55b7f4f3 Add support to get secrets from taskcluster (#294) 2019-04-19 16:49:07 +02:00
Boris Feld ded92357ee Add a new tasks for updating bugbug hook (#289)
The hook will be responsible for starting the data pipeline, but right now is
doing mostly nothing.

Use taskboot new command `build-hook` to update the hook based on the
versioned definition file.
2019-04-18 21:20:04 +02:00
Bastien Abadie 17ccdf7545 Use taskboot push-artifact (#290) 2019-04-18 19:49:12 +02:00
Marco d27d5f8b2c
Add a mock DB for tests to avoid downloading the full DB (#273)
* Rename test function in test_bug to reflect reality, and add more assertions

* Add a mock bugs DB for tests

* Don't download bugs DB anymore for running tests

* Add a test for run.py basic functionality

* Remove training test task, as the test is now a pytest
2019-04-18 14:01:25 +02:00
Shubham Garg b790ac8278 Make infra/version_check.py only run on branches and tags, not PRs (#277) 2019-04-18 12:49:00 +02:00
Bastien Abadie 7af2459c96 Use mozilla/taskboot (#287) 2019-04-17 13:24:46 +02:00
Ayush Shridhar b480ed563b Add extractors for 90 days experience (#285) 2019-04-16 11:21:00 +02:00
pyup.io bot 74ec78472a Update pytest from 4.4.0 to 4.4.1 (#281) 2019-04-16 00:57:48 +02:00
Ayush Shridhar 141b9d35c1 Add reviewer experience as a feature (#175) 2019-04-16 00:03:50 +02:00
pyup.io bot 6a85b56e78 Update libmozdata from 0.1.52 to 0.1.53 (#280) 2019-04-15 17:36:54 +02:00
Bastien Abadie b5153abc89 Docker full build using compose (#274) 2019-04-15 17:36:30 +02:00
Assiya Khuzyakhmetova 0440989b18 Add option to analyze 'historical' bugs in the Bug model (#261) 2019-04-12 19:44:33 +02:00
Bastien Abadie 0ee0cd60bf Split models download and check scripts (#279) 2019-04-12 15:26:06 +02:00
Boris Feld aa578b00fe Update root dockerignore (#266) 2019-04-12 12:31:52 +02:00
Boris Feld d899ebc068 Add missing Dockerfiles for the training steps (#276) 2019-04-12 12:31:13 +02:00
Shubham Garg 6d61fa6df9 Add number of previous commits touching the same files as a feature (#249) 2019-04-11 16:41:39 +02:00
Bastien Abadie 32ac9eb5d6 Add Docker build task for the base image (#270) 2019-04-11 14:00:18 +02:00
pyup.io bot 7fa33c36ac Update gensim from 3.7.1 to 3.7.2 (#267) 2019-04-11 01:21:15 +02:00
Marco Castelluccio d0f98674b8 Be more verbose when the version check command fails 2019-04-11 00:40:11 +02:00
Marco ce57a4f806
Revert "Add Docker build task for the base image (#265)" (#269)
This reverts commit f6d6a0867d.
2019-04-11 00:32:04 +02:00
Bastien Abadie f6d6a0867d Add Docker build task for the base image (#265) 2019-04-11 00:24:02 +02:00
Boris Feld 706b316a9c Add basic HTTP service (#262)
* Add basic HTTP service

It doesn't support batch requests or authentication yet

* Add very basic authentication

* Update dockerignore in http-service
2019-04-10 17:57:07 +02:00
Marco Castelluccio 31f371814e Deploy bugbug package to PyPI on new tags 2019-04-10 17:32:20 +02:00
Marco b8240588e1
Run linting and tests in parallel on Taskcluster (#260) 2019-04-09 22:51:54 +02:00
Marco 8155c4d350
Use Taskcluster instead of Travis (#250) 2019-04-09 18:11:47 +02:00
Boris Feld 2d5a646784 Add Flake8 to the pre-commit, so we ensure commits are Flake8 happy (#255) 2019-04-09 18:02:36 +02:00
Boris Feld 6af6e8b927 Import Trainer class from release-services repository (#254)
* Import Trainer class from release-services repository

This basically import the `trainer.py` file from the `release-services`
repository at hash 77cdddd. I removed imports and reference to cli-common
helpers that will likely need to be reimplemented, like the raven support.

Also defines 4 docker images, one per model to train.

* Remove unused imports
2019-04-09 17:49:56 +02:00
Boris Feld b651744b18 Import retriever services and add Docker image definition (#251)
* Import Retriever class from release-services repository

This basically import the `retriever.py` file from the `release-services`
repository at hash 77cdddd. I removed imports and reference to cli-common
helpers that will likely needs to be reimplemented, like the raven support.

The next commit will defines some Dockerfiles that will use the imported file.

* Add docker image definition

Build three Docker image, one is for bugbug itself. It is just installing
bugbug and its dependencies.

One is for retrieving information from the mozilla-central Mercurial
repository, it depends on the first one and install the right Mercurial
version.

The last one is for retrieving information from the Bugzilla instance, it
depends in the first one and needs a valid Bugzilla token.

* Separate the two tasks into separate script files

They share almost no code at all so they don't need to be in the same file

* Apply Black on the scripts to makes Flake8 happy
2019-04-09 16:30:09 +02:00
Boris Feld 8afb118728 Bump Travis Python version (#253)
* Bump Travis Python version

* Move travis dist to xenial for Python 3.7 support
2019-04-09 16:18:01 +02:00
Boris Feld bad6a50d8b Pre commit setup (#252)
* Add pre-commit configuration

Add auto-formatting configuration using the https://pre-commit.com/ project.
Having auto-formatting setup and automatically enforced helps speeding up
development and review process.

* Apply the auto-formatting on all files in the repository

* Removes flake8-quotes as it conflicts with Black formatting

* Disable some Flake8 rules

Disable Flake8 rules that are handled by Black. The list comes from
https://github.com/ambv/black/issues/429#issuecomment-472687803.
2019-04-09 15:57:29 +02:00
Assiya Khuzyakhmetova 376fa27254 Add 'has bug ever had enhancement severity' as a feature (#247) 2019-04-08 16:50:20 +02:00
Marco Castelluccio 13c57ed7d7 Version 0.0.13 2019-04-05 17:13:40 +02:00
Marco Castelluccio bae0988fb1 Change label names for defect/enhancement/task model to be more descriptive 2019-04-05 17:11:13 +02:00