From 312149bef788b4f1cc681455d0953544d8b15d7b6ffe88912fa3a2912c33a7dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 15 Dec 2023 12:12:31 +0000 Subject: [PATCH 1/2] Accepting request 1133134 from home:pgajdos:python pmmu version update OBS-URL: https://build.opensuse.org/request/show/1133134 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-atlassian-python-api?expand=0&rev=19 --- atlassian-python-api-2.0.1.tar.gz | 3 - atlassian-python-api-3.41.4.tar.gz | 3 + python-atlassian-python-api.changes | 218 ++++++++++++++++++++++++++ python-atlassian-python-api.rpmlintrc | 1 + python-atlassian-python-api.spec | 13 +- 5 files changed, 229 insertions(+), 9 deletions(-) delete mode 100644 atlassian-python-api-2.0.1.tar.gz create mode 100644 atlassian-python-api-3.41.4.tar.gz create mode 100644 python-atlassian-python-api.rpmlintrc diff --git a/atlassian-python-api-2.0.1.tar.gz b/atlassian-python-api-2.0.1.tar.gz deleted file mode 100644 index b8df50c..0000000 --- a/atlassian-python-api-2.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:11d655c8ab31d54652436d583322f0e0d4076567e88ec556edc18fa98e9f4d58 -size 85368 diff --git a/atlassian-python-api-3.41.4.tar.gz b/atlassian-python-api-3.41.4.tar.gz new file mode 100644 index 0000000..bbad71e --- /dev/null +++ b/atlassian-python-api-3.41.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10e51fc2bd2d13423d6e34b1534600366758a711fd4fd8b9cdc2de658bf327fa +size 370048 diff --git a/python-atlassian-python-api.changes b/python-atlassian-python-api.changes index 6b1186b..1945872 100644 --- a/python-atlassian-python-api.changes +++ b/python-atlassian-python-api.changes @@ -1,3 +1,221 @@ +------------------------------------------------------------------- +Thu Dec 14 09:14:49 UTC 2023 - Petr Gajdos + +- update to 3.41.3: + * [ISSUE-1241] #1241, added propagation of `advanced_mode` flag + * feat(insight): implement get objectschema objecttypes flat + * [ISSUE-1242] prevented weird exceptions related to integer + handling + * update-jira-docs-include-add-comments + * Add Content-Type to calls to Assets in cloud + * Add account list to request participant methods + * Add Python 3.12 CI build + * Fix Python 3.12 build + update to 3.41.1: + * Bitbucket Server: Re-order source_branch param of + open_pull_request + * fix spelling error in jira examples + * fix: Wrong post + * Jira: Add sprint methods + * add unauthorized error handling + * fix: paths for page_create_template and page_get_templates + * Update testenv + * lists and dicts can be handled in raise_for_status + update to 3.41.0: + * Add python 3.11 support to test environment + * Fix packaging of the tests directory + * Bitbucket Server: Add boostMatches query parameter to + get_branches + * Bitbucket Server: Add support to include required reviewers + for PR + * Jira Agile: Add more method about board, properties + * Add docs about properties + * Jira properties + update to 3.40.1: + * Pipeline triggering examples with a request with pipeline + variables + * Bitbucket Server: Add API to get dashboard pull requests + * [Jira] Adapt issue remote links creation/update + update to 3.40.0: + * Make check_inbox_pull_requests to return paged generator + * Python: Set requests minimum to 2.31.0. + * Bitbucket Cloud: Fixes for repository deployment + environments. + * Bitbucket Cloud: Fix for getting Repository Deployment + Environment Variables via each() + * confluence: correctly report a failed pdf-export + * Adding change password to confluence.py + * Maintain support for versions of Python <3.6 + * Use more performant version of Python logging calls + * [Jira] Commits parameter addition for until and since + update to 3.39.0: + * Bitbucket: Adding repository variables. + * Bitbucket: Adding getting deployment environment variables. + * Confluence: Update confluence.py - Add create_group and + remove_group + * Bitbucket: Feature/add workspace permissions for repositories + * Bitbucket Cloud: Adding Repository Group Permissions + * Jira: jira_add_label_tag example + * Bitbucket Cloud: Add Create, Update and Deleting of + repository variables + * Bitbucket Cloud: Add Create, Update and deleting of + deployment environment variables + update to 3.38.0: + * fix: Wrong post instead of put + * Fix #1154: add safety checks to parse 400 error responses + * Bamboo: Added 2 methods to bamboo for deployments + * Adds features to specify the target pipeline type. + * Feature/add repository deployment environments + update to 3.37.0: + * ## What's Changed + * Alias get_organizations + * feat: Add update pull-request call + * feat: Add flag_issue method + * Add the possiblity to change the signature method + * [Confluence]: PDF export function no longer working #1158 + * [Bamboo] Get Bamboo deployment queue + update to 3.36.0: + * [Bugfix] This will give you a fixed-width page. + * [Enhancement] label and unlabel issues + * [Enhancement] Add support for fetching id of blogpost + * 'description-file' will not be supported in future versions. + update to 3.35.0: + * ## What's Changed + * Add support for statuspage.io + * Bitbucket: Add get changed files in commit + update to 3.34.0: + * ## What's Changed + * Update jira.py add_attachment method + * new methods Confluence collaborative editing + update to 3.33.0: + * ## What's Changed + * return info myself from jira + * [Bamboo] Enable/disable elastic bamboo configuration + * Fix API url for getting objecttype attributes + * [Jira] Added issue changelog and worklog method calls to docs + * Jira ServiceDesk: Fix create attachment + update to 3.32.2: + * ## What's Changed + * Let it buid for RHEL-9 again + * Support for Xray v2.0 GET testruns + * [Bitbucket Cloud] Add support for query parameters in + pullrequest.comments endpoint + * [Jira] Issues for Backlog updated URL + * Returned _link details for next loop + * fixed up the documentation for forking to a new project + * Add custom field editing + * Added get_dashboard method + update to 3.32.0: + * [confluence] Fix def get_page_as_pdf (pdf Export was + rollback) + * Added request_current_index_from_node method and docs + * [Bitbucket] Add API signature to reply to a Pull request + comment + * Python 2.7 compatibility + * Fix errors of black + * [Bitbucket] Fixed broken update_file and upload_file API + calls (fixes issue #1080) + * [Xray] use resource_url method for api version + * Add the type parameters whether a page exists + * Ooops. Fixed Python 2.7 import + update to 3.31.0: + * Bug/fix assign issue + * Switch from SHA1 to SHA2 + * Confluence update or create method + * [Bamboo] New Bamboo REST API documentation URL + * Confluence: update_page method + * Insight for jira module + * Move API from experimental to normal url (#960) + * Pin to importlib-metadata==4.13.0, because it's not supported + in Python3.7 - Tests are failing + * Fix print typo in code block example in README + * Jira: Add functionality to get comments on an issue + * Revert change: `pprint` to `print` ... `pprint` + * [confluence] Fix def get_page_as_pdf When using Confluence + Cloud(#1057) + * Fix bitbucket cloud commits #1071 + * Add missing advanced mode to request method + * Resolve Failing Tests: Correction to adanced_usage=True + * Update checkout and codecov action + * Replace deprecatd tempfile.mktemp() calls + update to 3.28.1: + * ## What's Changed + * Bitbucket Cloud: allow to access repositories directly + * Fix AttributeError: 'Response' object has no attribute 'get' + + * [Jira] Fix the parameter of remove_user_from_group from + username to account id + * Jira : add account_id to the parameters of add_user_to_group + for Jira Cloud + * [Confluence] Amending Confluence documentation + * [Confluence] Logging page content as info + * [Bamboo] Support for elastic bamboo + * Add new module Cloud Admin + * Bitbucket Cloud: Add support for commit/commits endpoint + * [BlackTest] Reformatting file + * Add new createmeta functions to comply with Jira 9 API + * Run Atlassian SDK in docker + * [Jira] Add function get_user_groups + * Jira: Add ability to add icons to issue remote links + * [Bitbucket Cloud] Add avatar property to user object + update to 3.26.0: + * Jira more examples + * BB 2 new methods + * Confluence adjusted remove history method + update to 3.25.0: + * Fix error response without 'errors' field + * Method for getting info about license object + update to 3.24.0: + * Add dedicated method for the fetching all values + * DOC : correct URL for black tool in CONTRIBUTING.rst + * [Confluence] page_exists method without error log + * [Jira] added simple wrapper + * [Bitbucket] Update parameter name to repository_slug + * [Jira] updated get_file_list method for folder support + * [Jira] Fix user properties endpoints (use account id) + * [Jira] Insight for jira module + * [SD] request_comments start,limit,public,internal + * [Jira] Fix update_version PUT url + * [Jira] Add multiple methods + * [SD] Change logging level + update to 3.20.0: + * 1. JQL query paginations + * 2. Bitbucket cloud method improvements + update to 3.19.0: + * 1. Plugin management methods + * 2. License overview for Confluence + * 3. Remove **tests** from release folder + update to 3.18.1: + * Error log handler for BB Cloud + * escaping for JQL for Jira method + update to 3.18.0: + * Crowd adjustments. + * Oauth2 example. + * Jira update filter methods + * Confluence changes for method: get_page_child_by_type + * Thank you for your PR. + update to 3.17.0: + * 1. Jira: a new method related to the notification scheme, + issue restore method + * 2. Docs polishes + * 3. Remove duplicated methods for the handling errors + update to 3.15.0: + * Crowd: a new functions + * Jira: adjustments in watcher related methods, issue archive + methods + * X-Ray: new methods + * Bitbucket Cloud: Tasks for PR + update to 3.14.0: + * That release include personal token parameter for rest client + class + update to 3.13.1: + update to 3.13.0: + * In that release: + * Bugfixes for BB, + * X-Ray, and Jira + update to 3.12.1: + * subj + ------------------------------------------------------------------- Tue Nov 10 04:22:12 UTC 2020 - Steve Kowalik diff --git a/python-atlassian-python-api.rpmlintrc b/python-atlassian-python-api.rpmlintrc new file mode 100644 index 0000000..19761a3 --- /dev/null +++ b/python-atlassian-python-api.rpmlintrc @@ -0,0 +1 @@ +addFilter("explicit-lib-dependency") diff --git a/python-atlassian-python-api.spec b/python-atlassian-python-api.spec index 7f93e5e..b0f7968 100644 --- a/python-atlassian-python-api.spec +++ b/python-atlassian-python-api.spec @@ -1,7 +1,7 @@ # # spec file for package python-atlassian-python-api # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,14 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-atlassian-python-api -Version: 2.0.1 +Version: 3.41.4 Release: 0 Summary: Python Atlassian REST API Wrapper License: Apache-2.0 URL: https://github.com/atlassian-api/atlassian-python-api Source: https://files.pythonhosted.org/packages/source/a/atlassian-python-api/atlassian-python-api-%{version}.tar.gz +BuildRequires: %{python_module deprecated} BuildRequires: %{python_module kerberos} BuildRequires: %{python_module oauthlib} BuildRequires: %{python_module pytest} @@ -33,6 +33,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-deprecated Requires: python-kerberos Requires: python-oauthlib Requires: python-requests @@ -46,14 +47,13 @@ BuildArch: noarch Python Atlassian REST API Wrapper %prep -%setup -q -n atlassian-python-api-%{version} +%autosetup -p1 -n atlassian-python-api-%{version} %build %python_build %install %python_install -%python_expand rm -r %{buildroot}%{$python_sitelib}/tests %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -62,6 +62,7 @@ Python Atlassian REST API Wrapper %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/atlassian +%{python_sitelib}/atlassian_python_api*-info %changelog From 79a1efda98da230c95e32eb4d7e8280f187fe92e70a313b75074c88b6fd514cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 15 Dec 2023 13:51:09 +0000 Subject: [PATCH 2/2] Accepting request 1133438 from home:pgajdos:python - add python-atlassian-python-api.rpmlintrc into sources OBS-URL: https://build.opensuse.org/request/show/1133438 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-atlassian-python-api?expand=0&rev=20 --- python-atlassian-python-api.changes | 5 +++++ python-atlassian-python-api.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/python-atlassian-python-api.changes b/python-atlassian-python-api.changes index 1945872..6cbadec 100644 --- a/python-atlassian-python-api.changes +++ b/python-atlassian-python-api.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 15 12:54:54 UTC 2023 - pgajdos@suse.com + +- add python-atlassian-python-api.rpmlintrc into sources + ------------------------------------------------------------------- Thu Dec 14 09:14:49 UTC 2023 - Petr Gajdos diff --git a/python-atlassian-python-api.spec b/python-atlassian-python-api.spec index b0f7968..26d7211 100644 --- a/python-atlassian-python-api.spec +++ b/python-atlassian-python-api.spec @@ -23,6 +23,7 @@ Summary: Python Atlassian REST API Wrapper License: Apache-2.0 URL: https://github.com/atlassian-api/atlassian-python-api Source: https://files.pythonhosted.org/packages/source/a/atlassian-python-api/atlassian-python-api-%{version}.tar.gz +Source1: python-atlassian-python-api.rpmlintrc BuildRequires: %{python_module deprecated} BuildRequires: %{python_module kerberos} BuildRequires: %{python_module oauthlib}