Browse Source

Get this repo working again

Start to get this program working by cleaning
up the requirements files, setup.cfg, tox.ini
and more!

Change-Id: I59daf80335f0c186f9a0f66d3539e86703007bfc
Joshua Harlow 3 years ago
parent
commit
b1ae45c46c
7 changed files with 20 additions and 24 deletions
  1. 1
    1
      .coveragerc
  2. 1
    1
      .gitreview
  3. 0
    2
      README.rst
  4. 5
    6
      requirements.txt
  5. 4
    5
      setup.cfg
  6. 8
    7
      test-requirements.txt
  7. 1
    2
      tox.ini

+ 1
- 1
.coveragerc View File

@@ -3,4 +3,4 @@ branch = True
3 3
 source = nerd-reviewer
4 4
 
5 5
 [report]
6
-ignore-errors = True
6
+ignore_errors = True

+ 1
- 1
.gitreview View File

@@ -1,4 +1,4 @@
1 1
 [gerrit]
2 2
 host=review.openstack.org
3 3
 port=29418
4
-project=stackforge/nerd-reviewer.git
4
+project=openstack/nerd-reviewer.git

+ 0
- 2
README.rst View File

@@ -1,7 +1,6 @@
1 1
 NerdReviewer - automates dull daily routine code reviews
2 2
 ========================================================
3 3
 
4
-
5 4
 Nerd Code Reviewer analyzes commits and tell authors where and why they
6 5
 code won't pass human code review process.
7 6
 
@@ -9,7 +8,6 @@ Such automation optimizes work on open source projects and simplifies life
9 8
 of new contributors, because they will get interactive step by step guide
10 9
 how to make their patches attractive for project's maintainers.
11 10
 
12
-
13 11
 .. image:: doc/source/images/american_gothic.jpg
14 12
    :alt: American Gothic
15 13
    :width: 650 px

+ 5
- 6
requirements.txt View File

@@ -1,11 +1,10 @@
1 1
 # The order of packages is significant, because pip processes them in the order
2 2
 # of appearance. Changing the order has an impact on the overall integration
3 3
 # process, which may cause wedges in the gate later.
4
-jsonschema>=2.0.0,<3.0.0
5
-netaddr>=0.7.12
6
-pbr>=0.6,!=0.7,<1.0
4
+
5
+pbr>=1.6 # Apache-2.0
6
+jsonschema>=2.0.0,<3.0.0,!=2.5.0 # MIT
7
+netaddr>=0.7.12,!=0.7.16 # BSD
7 8
 PyYAML>=3.1.0
8
-SQLAlchemy>=0.9.7,<=0.9.99
9
-sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
9
+sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3 # BSD
10 10
 six>=1.9.0
11
-gerritlib

+ 4
- 5
setup.cfg View File

@@ -4,17 +4,17 @@ version = 0.0.1
4 4
 summary = Nerd Reviewer - automates dull daily routine code reviews
5 5
 description-file =
6 6
     README.rst
7
-author = Boris Pavlovic
8
-author-email = boris@pavlovic.me
9
-home-page = http://boris-42.me
7
+author = OpenStack
8
+author-email = openstack-dev@lists.openstack.org
9
+home-page = http://www.openstack.org/
10 10
 classifier =
11 11
     Intended Audience :: Developers
12 12
     Intended Audience :: Information Technology
13 13
     License :: OSI Approved :: Apache Software License
14 14
     Operating System :: POSIX :: Linux
15
+    Environment :: OpenStack
15 16
     Programming Language :: Python
16 17
     Programming Language :: Python :: 2
17
-    Programming Language :: Python :: 2.6
18 18
     Programming Language :: Python :: 2.7
19 19
     Programming Language :: Python :: 3.4
20 20
 
@@ -23,7 +23,6 @@ packages =
23 23
     nerdreviewer
24 24
 
25 25
 [entry_points]
26
-
27 26
 console_scripts =
28 27
      nerd-reviewer = nerdreviwer.cmd.main:main
29 28
 

+ 8
- 7
test-requirements.txt View File

@@ -1,13 +1,14 @@
1 1
 # The order of packages is significant, because pip processes them in the order
2 2
 # of appearance. Changing the order has an impact on the overall integration
3 3
 # process, which may cause wedges in the gate later.
4
-hacking>=0.9.2,<0.10
5 4
 
6
-coverage>=3.6
5
+hacking>=0.10.2,<0.11 # Apache-2.0
6
+
7
+coverage>=3.6 # Apache-2.0
7 8
 discover
8
-mock>=1.0
9
-testrepository>=0.0.18
10
-testtools>=0.9.36,!=1.2.0
9
+mock>=1.2
10
+testrepository>=0.0.18 # Apache-2.0/BSD
11
+testtools>=1.4.0 # MIT
11 12
 
12
-oslosphinx>=2.2.0  # Apache-2.0
13
-oslotest>=1.2.0  # Apache-2.0
13
+oslosphinx>=2.5.0,!=3.4.0 # Apache-2.0
14
+oslotest>=1.10.0 # Apache-2.0

+ 1
- 2
tox.ini View File

@@ -1,14 +1,13 @@
1 1
 [tox]
2 2
 minversion = 1.6
3 3
 skipsdist = True
4
-envlist = py26,py27,py33,py34,pep8
4
+envlist = py27,py34,pep8
5 5
 
6 6
 [testenv]
7 7
 setenv = VIRTUAL_ENV={envdir}
8 8
          LANG=en_US.UTF-8
9 9
          LANGUAGE=en_US:en
10 10
          LC_ALL=C
11
-         PYTHONHASHSEED=0
12 11
 deps = -r{toxinidir}/requirements.txt
13 12
        -r{toxinidir}/test-requirements.txt
14 13
 install_command = pip install -U {opts} {packages}

Loading…
Cancel
Save