aboutsummaryrefslogtreecommitdiffstats
path: root/dlpcvp.py
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2019-01-07 18:40:54 +0100
committerMatěj Cepl <mcepl@cepl.eu>2019-01-07 18:41:04 +0100
commitc6f4179e8cd24d96a040195a283e815e1dc1cf6d (patch)
treebf3d783dfd0e448170fd6a0e8045460f2af14789 /dlpcvp.py
parent9a90d29b671325e6b05acfdb1e2976848f6411a8 (diff)
downloaddlp_check_version_PyPI-c6f4179e8cd24d96a040195a283e815e1dc1cf6d.tar.gz
Add URLs of documentation for OBS API
Diffstat (limited to 'dlpcvp.py')
-rwxr-xr-xdlpcvp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/dlpcvp.py b/dlpcvp.py
index a8e26ea..b8665cb 100755
--- a/dlpcvp.py
+++ b/dlpcvp.py
@@ -20,6 +20,8 @@ import rpm
# PyPI API documentation https://warehouse.readthedocs.io/api-reference/
PyPI_base = "https://pypi.org/pypi/{}/json"
+# https://github.com/openSUSE/open-build-service/blob/master/docs/api/api/api.txt
+# https://build.opensuse.org/apidocs/index
OBS_base = "https://api.opensuse.org"
ConfigRC = os.path.expanduser('~/.config/osc/oscrc')
CUTCHARS = len('python-')