Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-copr for openSUSE:Factory checked in at 2022-10-12 18:25:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-copr (Old) and /work/SRC/openSUSE:Factory/.python-copr.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-copr" Wed Oct 12 18:25:55 2022 rev:5 rq:1010152 version:1.123 Changes: -------- --- /work/SRC/openSUSE:Factory/python-copr/python-copr.changes 2022-09-15 23:01:12.245556515 +0200 +++ /work/SRC/openSUSE:Factory/.python-copr.new.2275/python-copr.changes 2022-10-12 18:27:38.818080223 +0200 @@ -1,0 +2,6 @@ +Wed Oct 12 02:50:24 UTC 2022 - Yogalakshmi Arunachalam <[email protected]> + +- Update to version 1.123 + -no upstream changelog + +------------------------------------------------------------------- Old: ---- copr-1.122.tar.gz New: ---- copr-1.123.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-copr.spec ++++++ --- /var/tmp/diff_new_pack.iOKn6n/_old 2022-10-12 18:27:39.198081059 +0200 +++ /var/tmp/diff_new_pack.iOKn6n/_new 2022-10-12 18:27:39.206081077 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-copr -Version: 1.122 +Version: 1.123 Release: 0 Summary: Python client for copr service License: GPL-2.0-or-later ++++++ copr-1.122.tar.gz -> copr-1.123.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/copr-1.122/PKG-INFO new/copr-1.123/PKG-INFO --- old/copr-1.122/PKG-INFO 2022-08-18 15:02:18.373112200 +0200 +++ new/copr-1.123/PKG-INFO 2022-09-21 16:05:21.387154600 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: copr -Version: 1.122 +Version: 1.123 Summary: Python client for copr service. Home-page: https://pagure.io/copr/copr Author: Valentin Gologuzov diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/copr-1.122/copr/v3/proxies/project.py new/copr-1.123/copr/v3/proxies/project.py --- old/copr-1.122/copr/v3/proxies/project.py 2022-08-18 15:01:47.000000000 +0200 +++ new/copr-1.123/copr/v3/proxies/project.py 2022-09-21 16:04:29.000000000 +0200 @@ -186,6 +186,9 @@ :param bool fedora_review: Run fedora-review tool for packages in this project :param bool appstream: Disable or enable generating the appstream metadata + :param string runtime_dependencies: List of external repositories + (== dependencies, specified as baseurls) that will be automatically + enabled together with this project repository. :param list packit_forge_projects_allowed: List of forge projects that will be allowed to build in the project via Packit :return: Munch diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/copr-1.122/copr.egg-info/PKG-INFO new/copr-1.123/copr.egg-info/PKG-INFO --- old/copr-1.122/copr.egg-info/PKG-INFO 2022-08-18 15:02:18.000000000 +0200 +++ new/copr-1.123/copr.egg-info/PKG-INFO 2022-09-21 16:05:21.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: copr -Version: 1.122 +Version: 1.123 Summary: Python client for copr service. Home-page: https://pagure.io/copr/copr Author: Valentin Gologuzov diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/copr-1.122/docs/client_v3/client_initialization.rst new/copr-1.123/docs/client_v3/client_initialization.rst --- old/copr-1.122/docs/client_v3/client_initialization.rst 2022-08-18 15:01:47.000000000 +0200 +++ new/copr-1.123/docs/client_v3/client_initialization.rst 2022-09-21 16:04:29.000000000 +0200 @@ -1,11 +1,41 @@ Client initialization ===================== -Before an API client can be used, it needs to be initialized with a configuration. There are several ways to do it. -The most standard option is reading the ``~/.config/copr`` file and providing it to the ``Client`` class. Please read -https://copr.fedorainfracloud.org/api/ for more information about API token. +Before an API client can be used, it needs to be initialized with a +configuration. There are several ways to do it. The most standard option is +reading the ``~/.config/copr`` file and providing it to the ``Client`` class. -:: +Such a configuration file typically has:: + + [copr-cli] + copr_url = https://copr.fedorainfracloud.org + username = coprusername + login = secretlogin + token = secrettoken + # expiration date: 2023-01-17 + +To get your configuration file for the Fedora Copr instance, go to +https://copr.fedorainfracloud.org/api/ + +The only mandatory field though is ``copr_url``:: + + [copr-cli] + copr_url = https://copr.fedorainfracloud.org + +With such a simplified configuration, you can still do the read-only API +queries that do not require user-authentication (listing projects, builds, +etc.). + +Alternatively, the Copr server you work with might support GSSAPI +authentication (Fedora Copr does). To let the Client use your ``kinit`` +tokens, you need to enable GSSAPI authentication first:: + + [copr-cli] + copr_url = https://copr.fedorainfracloud.org + gssapi = true + +Having the config file prepared, you can finally use it for creating a +``Client`` instance. Just like:: from copr.v3 import Client from pprint import pprint @@ -17,7 +47,7 @@ {'copr_url': u'https://copr.fedorainfracloud.org', 'login': u'secretlogin', 'token': u'secrettoken', - 'username': u'frostyx'} + 'username': u'coprusername'} A different config file can be easily used by passing its path to ``create_from_config_file`` method. @@ -34,7 +64,7 @@ config = {'copr_url': u'https://copr.fedorainfracloud.org', 'login': u'secretlogin', 'token': u'secrettoken', - 'username': u'frostyx'} + 'username': u'coprusername'} client = Client(config) assert client.config == config @@ -53,7 +83,7 @@ config = {'copr_url': u'https://copr.fedorainfracloud.org', 'login': u'secretlogin', 'token': u'secrettoken', - 'username': u'frostyx'} + 'username': u'coprusername'} build_proxy = BuildProxy(config) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/copr-1.122/docs/conf.py new/copr-1.123/docs/conf.py --- old/copr-1.122/docs/conf.py 2019-07-17 10:59:09.000000000 +0200 +++ new/copr-1.123/docs/conf.py 2022-09-21 16:04:29.000000000 +0200 @@ -136,7 +136,7 @@ # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +#html_static_path = ['_static'] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/copr-1.122/python-copr.spec new/copr-1.123/python-copr.spec --- old/copr-1.122/python-copr.spec 2022-08-18 15:01:47.000000000 +0200 +++ new/copr-1.123/python-copr.spec 2022-09-21 16:04:29.000000000 +0200 @@ -9,7 +9,7 @@ %endif Name: python-copr -Version: 1.122 +Version: 1.123 Release: 1%{?dist} Summary: Python interface for Copr @@ -244,6 +244,10 @@ %doc %{_pkgdocdir} %changelog +* Tue Sep 20 2022 Jakub Kadlcik <[email protected]> 1.123-1 +- more generic docs for Client initialization +- add runtime_dependencies param doc for project edit + * Tue Aug 16 2022 Jiri Kyjovsky <[email protected]> 1.122-1 - add packit_forge_projects_allowed for Copr projects diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/copr-1.122/setup.py new/copr-1.123/setup.py --- old/copr-1.122/setup.py 2022-08-18 15:01:47.000000000 +0200 +++ new/copr-1.123/setup.py 2022-09-21 16:04:29.000000000 +0200 @@ -32,7 +32,7 @@ setup( name='copr', - version="1.122", + version="1.123", description=__description__, long_description=long_description, author=__author__,
