Commit Graph

34 Commits (237636b129b9d32aad8dea3fb1c5893032a62e90)

Author SHA1 Message Date
Sergey Nikitin 4378355164 Update hacking
Change-Id: Id7a40b422eaa2874b1e1402c12f28a2fa4f45daa
2020-09-18 12:22:53 +04:00
Nguyen Hai Truong 710a8e399b Add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:

Change-Id: I5f0fcb8bf50216ee8ffa9701972d1a5001be1060
2018-11-06 01:31:46 -08:00
wangyayan 115b884bc3 Update min tox version to 2.0
The commands used by constraints need at least tox 2.0.  Update to
reflect reality, which should help with local running of constraints

Change-Id: Ie35de9bd5616910aa32a5ebfa034ac5891bb3ad6
2018-10-31 10:53:58 +08:00
confi-surya e708492c7d Don't quote {posargs} in tox.ini
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')

Change-Id: I7f47ce264dffd4de203d59def1d4c9e2949a9fb8
2018-10-09 14:29:09 +05:30
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.


Change-Id: I2ee7c8a4f5cd91e77ddeccc84354dedf6e7e9196
2018-07-06 17:22:46 +07:00
loooosy b93de4c178 fix setup.cfg and tox.ini
Change-Id: I928d7a259b2f4cecc7d645a8262bea64df2e57ec
2017-03-10 16:14:39 +08:00
xianming mao 7f2b68ec34 Update flake8
E123, E125 skipped as they are invalid PEP-8.

Change-Id: I8ffe3749ba0c318d49cd805e8a05372ed7b37669
2016-08-24 12:26:17 +08:00
Ilya Shakhat 99b7db92c1 Add py35 build target
Change-Id: I88a21024af0f330e967cee63d85aca3bd498869f
2016-07-14 16:02:35 +03:00
Jenkins 57dc014141 Merge "Remove H904 from hacking ignore list" 2016-04-12 09:41:39 +00:00
ChangBo Guo(gcb) 420e1bb292 Remove oslo-incubator related stuff
openstack-common.conf was used for syncing oslo-incubator code
to consuming projects. We don't use it, so remove it.

Change-Id: Ie49ad79527ed76b92fd3ba4b89533bd4796f5bb7
2016-04-12 12:44:24 +08:00
ChangBo Guo(gcb) 4581fab6f8 Remove H904 from hacking ignore list
Hacking H904 was removed in b1fe19ebebe47a36b905d709467f5e82521bbd96,
so don't need it anymore.

Change-Id: I148635b56c6d2327449f272277354abb8261a0d7
2016-04-12 12:39:27 +08:00
Ondřej Nový 806a261937 Deprecated tox -downloadcache option removed
Caching is enabled by default from pip version 6.0

More info:

Change-Id: I67d5583845386ceb439aaebb2a1081ff6d871aba
2015-12-11 23:36:08 +01:00
Ilya Shakhat af11c4285d Allow module name aliases for mapping to Launchpad projects
Some project may have different names for repo and for Launchpad 
project. E.g. Fuel has a number of repos, LP project is called 'fuel' 
and there's no repo called 'fuel'. To enable bugs and blueprint 
processing the project is configured to have alias name 'fuel'.

This patch also improved blueprint details report.

Change-Id: Ic5e5869bba675aa7f7ccb5a73527390cd67739cd
2015-09-07 14:56:05 +00:00
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
2015-08-04 16:17:12 +03:00
Ilya Shakhat 5761a9e584 Enable config auto-generation
Change-Id: I561f4264bfad614cffa8e768cdfd1eb87f0e21c1
2015-04-01 18:54:29 +03:00
Ilya Shakhat e6ca41c970 Remove py33 tox target
py33 gating is disabled now in favor of py34.

Change-Id: Ic6574cf73f7a2f9c1d9688fd00e0fee8f95705bd
2015-02-03 12:37:12 +03:00
Ilya Shakhat 0d9f72e52f Update from global requirements
Fix lots of pep8 issues caused by new version of hacking.

Change-Id: I70c1bef9e826a7c74ef87c052fc248e858ea0c73
2014-12-22 18:49:58 +03:00
Ilya Shakhat 65e51bb4c8 Remove py26 tox target
Change-Id: I8997d279ccc99afdb8bf33aae43ca2ce4202de3b
2014-12-16 16:05:50 +03:00
Ilya Shakhat dcdcf627e3 Add py34 into tox list of envs
Change-Id: I7431cecda6f7d30e7ea1997e784051ed86ad8b18
2014-09-29 16:16:36 +04:00
Andreas Jaeger 7155d072b0 warn against sorting requirements
And do not check for sorted requirements.

Change-Id: I64ae9191863564e278a35d42ec9cd743a233028e
Closes-Bug: 1365061
2014-09-03 22:27:53 +02:00
Ilya Shakhat 1847bbc10c Enable all Py3 tests
Change-Id: I7eb515bfabbeca8f0e6a6db24e236e4ecd3e0004
2014-07-24 16:48:03 +04:00
Christian Berendt 5c971ae6cb Enabled hacking check H404
* [H404] Multi line docstrings should start without a leading new line.

Change-Id: I4754c98640c71e73fe99b864bd37a23f92377430
2014-07-11 15:45:54 +02:00
Ilya Shakhat a7eb7d024b Optimize performance of compact records
* Make compact records pure namedtuples (remove all dict behaviour)
* Add profiler decorator for dashboard requests performance analysis
* Introduced new parameter 'collect_profiler_stats' for file name
  where profile stats could be stored
* Fix py33 test failures

Change-Id: Ic5c900047a493541510974e9bc9c161f5606739e
2014-06-30 22:43:19 +04:00
Ilya Shakhat 8ab2a069b4 Fix py33 compatibility errors
Part of blueprint py33

Change-Id: Ib24bb7e5147a6d241d0392889832ed34e1c856eb
2014-06-30 13:42:07 +04:00
Ilya Shakhat 38d31a0c2d Add py33 target into tox.ini
Enable tests that could be imported into py33 environment.

Part of blueprint bp/py33

Change-Id: I097e406cda3b86ad75e6f2f780b9a700b4fe42ef
2014-06-27 14:00:53 +04:00
Ilya Shakhat 96e9a8b08d Sync Oslo code
Change-Id: I9782f235d09ed2d66add23e4db7a892066cdf0cb
2014-06-27 13:07:09 +04:00
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
2014-05-21 23:59:41 +02:00
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
2013-09-18 13:46:47 +04:00
Ilya Shakhat a721810ab0 Added version info into UI
* Version and build is shown as tooltip of 'About' link
* Explicit version is removed from setup.cfg
* Build directory is added into pep8 ignore list

Resolves bug 1218934

Change-Id: Ideac6fa18580c1298d24212a8b1dbad0ef39b7b1
2013-09-05 15:42:08 +04:00
Ilya Shakhat f60297474e Fixed requirements to satisfy readthedocs
Change-Id: Ibfad7d55b143838a8953dc8d4519607da51db0d5
2013-09-03 19:37:11 +04:00
Ilya Shakhat 4f2ed5141b Added dummy docs, build process updated
Part of blueprint api-docs

Change-Id: I372b03341b5576db68175888df6044cfe6730e41
2013-08-30 19:47:44 +04:00
Ilya Shakhat cef22af5d6 Implementation of blueprint stackalytics-core
This change incorporates the following:
 * Config for most of OS projects
 * Configure filtering of robots commits
 * Clean-up dashboard module
 * Layout is clean-up
 * Remove unused styles and scripts
 * Factories replaced by factory methods

Change-Id: I1a719b356a5e3275d14bbceae198a1d0cb6dbbbd
2013-07-12 17:12:06 +04:00
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
2013-07-10 23:05:47 +04:00
Ilya Shakhat a5f1411218 Initial code commit 2013-06-22 15:42:32 +04:00