[packagedb-cli: 5/5] Merge pull request #46 from fedora-infra/readme
by Pierre-YvesChibon
commit 1d383262a87218c90841f6b4f4f5fa9e1c2678d9
Merge: c643f50 e998328
Author: Ricky Elrod <ricky(a)elrod.me>
Date: Sat Oct 10 14:32:14 2015 -0400
Merge pull request #46 from fedora-infra/readme
Improve the README
MANIFEST.in | 2 +-
README => README.rst | 10 +++++++++-
2 files changed, 10 insertions(+), 2 deletions(-)
---
8 years, 6 months
[packagedb-cli: 4/5] Fix formatting
by Pierre-YvesChibon
commit e99832896b44ebbc3140a6f414ea2560c1d7e2a6
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Sat Oct 10 19:58:31 2015 +0200
Fix formatting
README.rst | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/README.rst b/README.rst
index befad83..8d8cd60 100644
--- a/README.rst
+++ b/README.rst
@@ -40,13 +40,17 @@ Installation
Install Prerequisites
~~~~~~~~~~~~~~~~~~~~~
+
::
+
yum install python-fedora
Get and Run the Source
~~~~~~~~~~~~~~~~~~~~~~~~
+
::
+
git clone http://git.fedorahosted.org/git/packagedb-cli.git
cd packagedb-cli
python pkgdb2client/cli.py
8 years, 6 months
[packagedb-cli: 3/5] Indicate where the tarballs can be found
by Pierre-YvesChibon
commit 00ac97909f2b3a7728699a2c13e5c6bc66ba7010
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Sat Oct 10 19:50:39 2015 +0200
Indicate where the tarballs can be found
README.rst | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/README.rst b/README.rst
index fda9919..befad83 100644
--- a/README.rst
+++ b/README.rst
@@ -28,6 +28,11 @@ as the pkgdb2client.cli module containing the command line interface and the
pkgdb2client.admin module containing a command line interface for admins to
interact with `pkgdb2`_.
+
+The tarball of the releases can be found at:
+`https://fedorahosted.org/released/packagedb-cli/
+<https://fedorahosted.org/released/packagedb-cli/>`_
+
------------
Installation
------------
8 years, 6 months
[packagedb-cli: 2/5] Adjust the MANIFEST.in for the new name of the README
by Pierre-YvesChibon
commit f21e50bec063eb8897d5bfababa9f99659f82a7b
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Sat Oct 10 19:48:59 2015 +0200
Adjust the MANIFEST.in for the new name of the README
MANIFEST.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/MANIFEST.in b/MANIFEST.in
index 925c086..7ca7beb 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1 +1 @@
-include LICENSE README test.py
+include LICENSE README.rst test.py
8 years, 6 months
[packagedb-cli: 1/5] Mark the README as being rst
by Pierre-YvesChibon
commit 8c40bc41489e06cef9ac7ef71183d2140bc19a1e
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Sat Oct 10 19:48:32 2015 +0200
Mark the README as being rst
README => README.rst | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/README b/README.rst
similarity index 99%
rename from README
rename to README.rst
index 893b6fe..fda9919 100644
--- a/README
+++ b/README.rst
@@ -45,4 +45,3 @@ Get and Run the Source
git clone http://git.fedorahosted.org/git/packagedb-cli.git
cd packagedb-cli
python pkgdb2client/cli.py
-
8 years, 6 months
[packagedb-cli: 5/5] Release 2.9.2
by Pierre-YvesChibon
commit c643f504de2e21e9bc76c21d0f65114dd5e820be
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Sat Oct 10 19:44:39 2015 +0200
Release 2.9.2
README | 4 ++--
setup.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/README b/README
index 68ef68a..893b6fe 100644
--- a/README
+++ b/README
@@ -4,8 +4,8 @@ Fedora PackageDB-cli
:Author: Pierre-Yves Chibon
:Contact: pingou(a)fedoraproject.org
-:Date: Thu Sep 03, 2015
-:Version: 2.9
+:Date: Sat Oct 10 2015
+:Version: 2.9.2
The `PackageDB-cli` is a commande line interface to the PackageDB of Fedora.
diff --git a/setup.py b/setup.py
index 823a904..c38e0e7 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ from setuptools import setup
setup(
name='packagedb-cli',
description='A command line tool to access the Fedora Package Database.',
- version='2.9',
+ version='2.9.2',
license='GPLv2+',
download_url='https://fedorahosted.org/releases/p/a/packagedb-cli/',
url='https://fedorahosted.org/packagedb-cli/',
8 years, 7 months
[packagedb-cli: 4/5] Merge pull request #45 from fedora-infra/notify_ticket
by Pierre-YvesChibon
commit 54504f9e125c44c0e9ac5662565a943a6a89ab9c
Merge: 6161429 359d1e0
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Fri Oct 9 09:36:07 2015 +0200
Merge pull request #45 from fedora-infra/notify_ticket
Report on bugzilla when a request made on pkgdb is granted/denied
pkgdb2client/admin.py | 13 +++++++++++++
pkgdb2client/utils.py | 29 +++++++++++++++++++++++++++++
2 files changed, 42 insertions(+), 0 deletions(-)
---
8 years, 7 months
[packagedb-cli: 3/5] Comment on bugzilla when a request.package is approved or denied
by Pierre-YvesChibon
commit 359d1e04b119bdfae468e0813943a203258785a9
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Thu Oct 8 09:50:04 2015 +0200
Comment on bugzilla when a request.package is approved or denied
Fixes https://github.com/fedora-infra/pkgdb2/issues/237
pkgdb2client/admin.py | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/pkgdb2client/admin.py b/pkgdb2client/admin.py
index e9d3672..45a385e 100644
--- a/pkgdb2client/admin.py
+++ b/pkgdb2client/admin.py
@@ -262,6 +262,8 @@ def __handle_request_package(actionid, action):
msgs = utils.check_package_creation(
action['info'], bugid, PKGDBCLIENT)
+ bugid = utils.get_bug_id_from_url(action['info']['pkg_review_url'])
+
decision = _ask_what_to_do(msgs)
if decision in ('a', 'approve'):
data = PKGDBCLIENT.create_package(
@@ -285,6 +287,12 @@ def __handle_request_package(actionid, action):
}
)
+ url = PKGDBCLIENT.url + '/package/' + action['info']['pkg_name']
+ utils.comment_on_bug(
+ bugid,
+ 'Package request has been approved: %s' % url
+ )
+
elif decision in ('deny', 'd'):
message = raw_input(
'Could you explain why you declined this request? (this message '
@@ -298,6 +306,11 @@ def __handle_request_package(actionid, action):
}
)
+ utils.comment_on_bug(
+ bugid,
+ 'Package request has been denied with the reason: %s' % message
+ )
+
else:
data = {
'messages': ['Action {0} un-touched'.format(actionid)]
8 years, 7 months
[packagedb-cli] Created tag 2.9.2
by Pierre-YvesChibon
The signed tag '2.9.2' was created.
Tagger: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Sat Oct 10 19:55:42 2015 +0200
Release 2.9.2
Changes since the last tag '2.9':
Pierre-Yves Chibon (9):
Adjust the way we interact with bugzilla to handle the recent changes
Merge pull request #43 from fedora-infra/bz_login
Print the review url when showing information about a request.package
Merge pull request #44 from fedora-infra/review_url
Add an utility method to comment on a bugzilla ticket
Add an utility method to find the ticket number of a given url
Comment on bugzilla when a request.package is approved or denied
Merge pull request #45 from fedora-infra/notify_ticket
Release 2.9.2
8 years, 7 months