Commit Graph

13 Commits

Author SHA1 Message Date
Andreas Jaeger 098dbcbae4 Remove six
The repo does not support python2 anymore, remove usage of python2/3
compatability library.

Change-Id: Ifa95482b219bcf143762e9328c4200f1ffc772be
2020-01-11 17:29:56 +01:00
Andreas Jaeger 21b755c2dc Update docs building
Switch to newer sphinx, update build instructions for it.

Remove oslosphinx, we use the default sphinx theme since oslosphinx does
not work with python3 and openstackdocstheme is only for OpenStack
projects.

Mark python 3.6 as latest python version.

Change-Id: I6aae0277d9e4943cc242e4ec868c949a14618ec7
2019-05-30 17:51:53 +02:00
Sean Dague 4b7440eee8 remove launchpadlib requirement
This is only required by the optional bugs script, which isn't really
supported by upstream. It makes installing this a lot simpler.

Change-Id: Ia79bb52cfa401a89ac83d4c3890553baf12959f2
2016-09-07 10:26:43 -04:00
Jenkins 67e10ca40b Merge "Remove argparse from requirements" 2016-03-21 10:34:40 +00:00
Ian Wienand c83a639ad3 Move oslosphinx to requirements
The original listing in the readme seems to have gone missing.

I am trying to import the documentation into readthedocs so we can
have a nice list of the available dashboards, but it needs oslosphinx
to build.

Change-Id: Iee4a8b4e8565e566be0e6790a82c0d8f0dc7cfde
2016-02-26 15:56:37 +11:00
Andreas Jaeger 232113a2ef Remove argparse from requirements
argparse was external in python 2.6 but not anymore, remove it from
requirements.

This should help with pip 8.0 that gets confused in this situation.
Installation of the external argparse is not needed.

Change-Id: Ib7e74912b36c1b5ccb514e31fac35efeff57378d
2016-01-20 19:16:33 +01:00
Christian Berendt 8b2274a1ff Add missing requirement simplejson for gerrit-bug-dash
Change-Id: I88efc17a844c2d40fef0d4bdc9b29164940f3e35
2015-10-22 16:15:45 +02:00
Christian Berendt c71e79ccfb Sync requirements with global requirements
Change-Id: Id1e441f74d714fbfca5f940e1174461bbd9deaef
2015-10-01 22:55:49 +02:00
Angus Salkeld 3bd7dcc189 Automatically generate a dash based on "In Progress" bugs
This adds a script to get the "In Progress" bugs for a
particular project and builds prints a URL for the user.

 $ ./gerrit-bug-dash --milestone kilo-rc1 --tag kilo-rc-potential heat

Some notes:
 - it uses launchpadlib to talk to launchpad
 - The presentation of the dashboard could be improved but
   this is just a starting point.
 - The caching could be better.

What I wanted was to know was "what do I need to review for rc1"
(i.e. what are the bugs that are targeted for kilo-rc1 that are in
progress and have reviews up).

This scratches my itch, but will happily do some work on it if others
want it.

Change-Id: I4a97d59631ac9cd344206c6cc48164d6a0d7e57c
2015-05-13 16:03:26 +10:00
Christian Berendt 57d86d4d3e Warn against sorting requirements
Change-Id: I70701d93800ec250562584b0549a0132eed78b3d
2014-09-12 15:28:41 +02:00
Christian Berendt b7cc43aaf4 Add support for templates
To create the URLs for all dashboard files inside dashboards use:

python gerrit_dash_creator/cmd/creator.py dashboards/*

Change-Id: I922c4e0606ae168c5c9b353d550629b4f52a8aff
2014-09-01 09:15:16 +00:00
Christian Berendt 63cee294ab Improve gerrit_dash_creator.cmd.creator
* use configparser instead of self written parsing
  (add new method read_dashboard_file)

* remove methods get_title and get_sections

* add requirement six (ConfigParser in Python2,
  configparser in Python3)

* remove import re and fileinput

* check if dashboard file exist and is readable before
  trying to parse it (new imports os and os.path)

* slighly change the output to be more informative

* add new parameter in section dashboard to make the
  base URL configurable

* check if necessary options in the used dashboard
  file are available

* improve exception handling and error output

* rename generate_url to generate_dashboard_url

* use correct exit codes (correct return values in the
  main method)

* rename internal argument name dash to dashboard_file

* add missing doc strings

Change-Id: Ifcaf20f7495b5619db30ac0046909b334672f756
2014-08-08 06:01:20 +00:00
Christian Berendt b2b77d6cd1 Add support for Tox
Change-Id: I6974c78e15e34cbe1ce28b2f43525dd267b814e4
2014-08-08 06:01:13 +00:00