Commit Graph

25 Commits (ef3e036cdff6029f0a2709d876ea1ee6c199642a)

Author SHA1 Message Date
Andrii Ostapenko 24be9ef589 Limit jinja2<3.1.0
Change-Id: I875a4a34c25a968a14b12e2b1596628c8e58d86c
5 months ago
Sergey Nikitin 4378355164 Update hacking
Change-Id: Id7a40b422eaa2874b1e1402c12f28a2fa4f45daa
3 years ago
Sergey Nikitin ffb80d98c8 Fix py35
Change-Id: I5cdbb397dfa249faf67557f686934a995eb3e6fd
3 years ago
Ilya Shakhat 412ea2ebe6 Pin mock library to avoid test failures
* mock<4.0 is the last one that supports py27
* with mock==4.0 there is one test failure under py36

Change-Id: Ie58a3e2432ae15bbf43e378d33f98aebf2b3b857
3 years ago
Sergey Nikitin f75be3cdd5 Fixed sphinx in test-requirements.txt
Change-Id: I4e7f664a10e8689356cd47d3681cd7ef5a599b3a
4 years ago
Vu Cong Tuan 86a89fc21a Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I2ee7c8a4f5cd91e77ddeccc84354dedf6e7e9196
5 years ago
Ken'ichi Ohmichi cad73b5646 Add config validation for default_data
It is a little difficult to set up default_data.json for users, and
we already have the corresponding schema in the code. JSON-Schema
outputs useful error message when users misconfigures some items.
So this patch makes the schema validation enabled for default_data.

Change-Id: Id0efae913c202a30476d73a3821711c5250fcfee
6 years ago
Ilya Shakhat 33d8ec8e4f Sync requirements with OpenStack global requirements
Change-Id: Ic9046ea38059b6aa55bb683b07b28e3ff25dae6d
6 years ago
ricolin 9212d182c5 [Fix gate]Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848

Change-Id: If7d4ef9cee6db0b22656f5f17fa64c649fed4232
6 years ago
Swapnil Kulkarni (coolsvap) 091a9e4a43 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: I9007b8c0d72cbf0ea0e7a2def150efd674290ade
7 years ago
Ilya Shakhat 11db9c1de6 Update from global-requirements
1. python-memcached is now Py3 compatible, the separate reqs file
   is not needed
2. update tox.ini from latest cookiecutter
3. re-generated docs for cli

Change-Id: Id0d394f12618bc5ec7860a57043641efcdc6715f
8 years ago
Ilya Shakhat 0d9f72e52f Update from global requirements
Fix lots of pep8 issues caused by new version of hacking.

Change-Id: I70c1bef9e826a7c74ef87c052fc248e858ea0c73
9 years ago
Andreas Jaeger 30cd61c386 Remove docutils pin
This was added to work around bug 1091333.  A new sphinx has been
released and so this is no longer necessary.

Also update sphinx requirements from global requirements.

Change-Id: I9107884d964757a9154bdd1feb4ea6df4e9df43e
9 years ago
Andreas Jaeger 7155d072b0 warn against sorting requirements
And do not check for sorted requirements.

Change-Id: I64ae9191863564e278a35d42ec9cd743a233028e
Closes-Bug: 1365061
9 years ago
Christian Berendt 59086405c2 sort requirement files in alphabetical order
This makes code more readable, and can check whether specific library
in the requirement files easily. We also enforce the check in pep8.

Change-Id: I98be4ab6c46301fabe8badc00dd3a60333473414
Closes-Bug: #1285478
9 years ago
Ilya Shakhat e2a86d0e8a Sync requirements with globals
Change-Id: I1af1fb3002b56b0d6f7b8d60e123f8f85c4eed96
9 years ago
Ilya Shakhat c5f173a744 Synched requirements with the global list
Fixed assertEquals calls that are marked as errors by new hacking tool.

Note that the sync process is semi-automated since the project depends on
non-standard libs missing in the global list.

Change-Id: Ia6d74919458e6a8ebd22254e368aba357dd8a842
10 years ago
Ilya Shakhat c5d8f09fe6 Pin Sphinx to <1.2
1.2 was just released and has a bug that causes builds to fail with
the error:

  error: 'source_dir' must be a directory name (got `...doc/source`)

See: http://bugs.python.org/issue19570
and: https://bitbucket.org/birkenfeld/sphinx/pull-request/193/builddoc-shouldnt-fail-on-unicode-paths/diff

Change-Id: I56988f93a1d200185fb1564619ee57a2500ee237
Ref: https://review.openstack.org/#/c/61164
10 years ago
Sergey Lukjanov 71d631ae5b Use develop install and fix docutils version
tox 1.6 was released, so, we can use new develop mode that'll speed up
project installation.

docutils version should be fixed to prevent doc build failures.

Change-Id: Icb713f54fc7646d7325d66dc26a5f91250451a4e
10 years ago
Ilya Shakhat f60297474e Fixed requirements to satisfy readthedocs
Change-Id: Ibfad7d55b143838a8953dc8d4519607da51db0d5
10 years ago
Ilya Shakhat cc63998aa1 Updated with global requirements
* Move to the latest pbr, remove d2to1
* Move to the latest hacking, remove flake and pep8

Closes bug 1212325

Change-Id: I4384a0470a5ab2297d62d249d08bd78d515c25c2
10 years ago
Ilya Shakhat f92dc49334 Added schema-based validation for default data and corrections
Part of bug 1210519

Change-Id: I7b5104b25fecc6a7da7c025bf48f72885c1fbebc
10 years ago
Ilya Shakhat 5c554a35f9 Implemented review processing and stats calculation
* Added review control system module that retrieves reviews from Gerrit
* Refactored runtime storage not to depend on storage contents
* Refactored commit processor and new review processor is added
* Review record processor spawns reviews and marks
* Memory storage is made able to store reviews along with commits
* Migrated to hacking-0.6
* Marks are processed in contribution details and shown on engineer details screen

Implements blueprint review-stats

Change-Id: I80b70de372752cd3d1790da1904c0d423d61e81a
10 years ago
Ilya Shakhat b7f19335f6 Implementation of blueprint stackalytics-core
* Data updater is implemented
* Completed implementation of commit processor
* Logging is added into commit processor and runtime storage
* Commit processor is fixed
* Domain-company map is inverted
* Extracted get update count into separate function
* Fixed regex that matches diff statistics (lines inserted, lines deleted and files changed)
* Implemented caching of unknown users
* Replaced dictionaries by sets for pids and branches
* Vcs is responsible for module and branches fields of commit record
* Added release tags support
* Implemented statistics by company
* Added config for releases
* Implemented front-end for companies details
* Implemented front-end for modules details
* Fixed metric switch
* Implemented timeline rendering
* Release selector is fixed
* Chdir is needed after cloning a new repo
* Company details screen is implemented
* Fixed invalid emails processing by Launchpad
* Fixed parsing of 0 files changed case
* Module details screen implemented
* Commit message is cleared and links are inserted
* Engineer details screen is implemented
* Fixed mapping from company to email for subdomains of 3rd level
* Fixed wrong user structure for users not found by LP
* Also coverage for commit processor
* Fixed company matching algorithm
* The company was not matched when user email had more domains than company's one
* Add option to enforce sync with default data
* Default data is added. Old confs removed
* Add *.local into gitignore

Scripts cleanup

Moved from pylibmc to python-memcached

Library pylibmc depends on libmemcached and doesn't work on CentOS (version conflict bw lib requirement and memcached).

Change-Id: I0cc61c6d344ba24442ec954635010b518c0efa95
10 years ago
Ilya Shakhat a5f1411218 Initial code commit 10 years ago