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

496 Коммитов

Автор SHA1 Сообщение Дата
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
Shubham Garg 8ffe134db3 Add number of previous commits touching the same modules as a feature (#229) 2019-04-05 17:04:23 +02:00
Marco Castelluccio 981ee61140 Version 0.0.12 2019-04-05 16:09:33 +02:00
Marco Castelluccio d1cbaf6575 Change nomenclature (feature -> enhancement) everywhere to avoid confusion 2019-04-05 16:09:15 +02:00
Marco Castelluccio 8be33464ce Version 0.0.11 2019-04-05 16:03:56 +02:00
Marco Castelluccio c7694475f4 Use bug type as a label, when possible
Fixes #240
2019-04-05 15:33:02 +02:00
Marco Castelluccio f700095de4 Version 0.0.10 2019-04-04 23:45:16 +02:00
Marco Castelluccio 0a3f23a64e Add a 'token' argument for when we need to download bugs from Bugzilla 2019-04-04 22:14:53 +02:00
Marco Castelluccio b12432de0d Re-enable check of inconsistencies with tracking flags
Since https://bugzilla.mozilla.org/show_bug.cgi?id=1508695 has been fixed.
2019-04-04 22:11:04 +02:00
Marco Castelluccio 538e211ab3 Remove 'summary' and 'whiteboard' workarounds in the history rollbacking
Since https://bugzilla.mozilla.org/show_bug.cgi?id=1513956 has been fixed.
2019-04-04 17:33:16 +02:00
Marco Castelluccio 855c706f23 Support regressions history changes 2019-04-04 17:28:39 +02:00
Marco Castelluccio fe464a5e27 Version 0.0.9 2019-04-03 17:37:13 +02:00
Marco Castelluccio 042b2aaacb Ignore inconsistencies due to 'enhancement' severity change removal
https://bugzilla.mozilla.org/show_bug.cgi?id=1541362
2019-04-03 17:36:45 +02:00
Marco Castelluccio 55db7146b6 Add more labels for regression/bug/nobug 2019-04-03 17:36:23 +02:00
Marco Castelluccio 882c843733 Version 0.0.8 2019-04-03 13:00:33 +02:00
pyup.io bot bfcd068270 Update libmozdata from 0.1.50 to 0.1.52 (#243) 2019-04-03 13:00:03 +02:00
Marco Castelluccio d9e7aac2a5 Version 0.0.7 2019-04-03 13:00:03 +02:00
Marco Castelluccio c16845eac3 Temporarily revert to libmozdata 0.1.50, as attachment downloading is broken with 0.1.51 2019-04-03 12:14:45 +02:00
Marco Castelluccio 080b50990d Add more labels for regression/bug/nobug 2019-04-03 12:14:45 +02:00
Marco Castelluccio 2375f420cd Support regressed_by history changes 2019-04-03 12:14:45 +02:00