1
0

Accepting request 671250 from devel:languages:python

- update to 0.3.8:
  * Fixed typos noticed when reading the file. (#680)
  * Support keyworded variables for requester, fixes #679 (#682)
  * re-encrypt password
  * change password again
  * Plugin delete (#674)
  * disable pyling check of unnecessary-pass
  * Updated pypi password
  * set travis to release on tag
  * Add future improvement line
  * add dependency plugin: trilead-api
  * Removed unused files
  * add try except for func create (#675)
  * Removed unused file
  * Skip test on release stage
  * Add method to update offline reason for a node. (#613)
  * Support SSH credential update (#619)
  * add ability to keep build forever (#672)
  * Handle changesets returned by Jenkins job that use Pipeline (#654)
  * Change pylint command line (#671)
  * update README dev guide (#667)
  * Fix a lot of warnings (#662)
  * Remove ssh credentials no longer supported by ssh credentials plugin (#657)
  * Update link to travis
  * Expanded test coverage for view.py (#646)
  * Python 3.6 and 3.7 support (#641)
  * changed requirements to support 3.6 and immediate testing
  * Changing to  \*args and \*\*kwargs in requester init. Fixing TypeError bug (#640)
  * Retrieve git repo url for a given build (#634)
  * Get Build url for a given build object (#635)

OBS-URL: https://build.opensuse.org/request/show/671250
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jenkinsapi?expand=0&rev=6
This commit is contained in:
Stephan Kulow 2019-02-05 10:19:02 +00:00 committed by Git OBS Bridge
commit cd46610ffa
4 changed files with 197 additions and 21 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ea0e6ab257b6fe1e853741f5171003f26e377b2efb566025a1496920a565572
size 101894

3
jenkinsapi-0.3.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:120adfc9cea83fb890744b5049c5bb7edc77699059f0da62db66354ec27c54e2
size 135867

View File

@ -1,3 +1,170 @@
-------------------------------------------------------------------
Tue Feb 5 05:04:21 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
- update to 0.3.8:
* Fixed typos noticed when reading the file. (#680)
* Support keyworded variables for requester, fixes #679 (#682)
* re-encrypt password
* change password again
* Plugin delete (#674)
* disable pyling check of unnecessary-pass
* Updated pypi password
* set travis to release on tag
* Add future improvement line
* add dependency plugin: trilead-api
* Removed unused files
* add try except for func create (#675)
* Removed unused file
* Skip test on release stage
* Add method to update offline reason for a node. (#613)
* Support SSH credential update (#619)
* add ability to keep build forever (#672)
* Handle changesets returned by Jenkins job that use Pipeline (#654)
* Change pylint command line (#671)
* update README dev guide (#667)
* Fix a lot of warnings (#662)
* Remove ssh credentials no longer supported by ssh credentials plugin (#657)
* Update link to travis
* Expanded test coverage for view.py (#646)
* Python 3.6 and 3.7 support (#641)
* changed requirements to support 3.6 and immediate testing
* Changing to \*args and \*\*kwargs in requester init. Fixing TypeError bug (#640)
* Retrieve git repo url for a given build (#634)
* Get Build url for a given build object (#635)
* Add support for client side certificates, closes #632
* add View.remove\_job
* Add new method Jenkins.run\_groovy\_script(self, script) for running
arbitrary groovy scripts on the Jenkins server. This fixes #601
* Add additional methods Nodes.items(), Nodes.itervalues() and
Nodes.values() to match the methods provided by the built in dict class
* Add docstrings for Nodes.keys(), Nodes.iterkeys() and Nodes.iteritems()
* Added a tests for Nodes.iterkeys(), Nodes.keys() and Nodes.iteritems()
* Move common Node creation functionality out of Nodes.iteritems
and Nodes.\_\_getitem\_\_ and in to its own private \_make\_node function
* Added methods to Node for querying information stored in the monitors
section of the api tree. These allow the querying of: - The node's
available and total physical memory. - The node's available and total
swap space. - The local path of the node's workspace area. - The size
of the node's workspace area. - The local path of the node's temporary
area. - The size of the node's temporary area. - The node's architecture
(eg. "Linux"). - The node's average response time. - The clock
difference between the node and the Jenkins master
* update xml version
* ignore not relevant pylint checks
* add QueueItem.is\_queued() and test for it
* Small Nodes refactoring
* Fix arguments passed in how\_to/use\_crumbs.py
* typo
* Add link to full docs in README
* backwards compatible get\_credentials
* Fix pylint errors
* Fetch, update or create credentials by id instead of description
* init QueueItem properly
* fix inconsistent return values
* update examples information and add example for CrumbRequestor
* add release to pypi from Travis
* don't check for redefined built-ins
* fix lint
* converted tests to pytest
* add missing imports and fix code formatting
* Add jsonp\_to\_json module docstring
* Move Manifest parsing code to utils/manifest.py
* Add unittests for installed plugin version
* Fix Plugin Manifest parsing, plugin install status
* Add 500 to allowed status codes while restarting
* Move update\_center\_dict handling to Plugins class, hopefully
fix wrong version issues by restarting after install
* Optimize \_wait\_for\_reboot
* Lint fixes and decode bytestring
* Add plugin uninstall; install exact versions
* Fix credentials update test
* Credentials update support
* disable master executors temporary to let test pass
* add codecov dependency and env variables for it
* add timeout parameter to Jenkins object
* Fixes pycontribs/jenkinsapi#530. It's possible for queued tasks to
be unnamed. This is the case when using Pipeline jobs. Check that
tasks have names before referring to it
* Close #583: Handle parameters with secret values
* disable logging from requests
* reset executors to test queue
* remove encode to utf when posting config.xml
* add new plugin dependencies, fix all tests
* change disabled job detection (#543)
* Add support for AWS Credentials (#572)
* Fix bug when using private key file(on master) to create ssh
credential. (#573)
* Added missing plugin and changed wait for restart test (#579)
* Enabled 5 retries at request lib level
* Add missing packages from package
* Add Jenkins pipeline linter
* Adopt pbr
* Dropped support for Jenkins 1.x
* EnvInject v2.0 now has security settings - add this
* Select jdk8 for build
* set java version to use in Travis
* fix security settings json
* fix: linting (#561)
* Add estimated duration accessor to build class (#555)
* Increment version
* fix security json for 2.x Jenkins (#541)
* Add support for jobs in folders
* Remove .tags
* Update test case for node management
* Enable config Tool Locations for jenkins node
* fix spelling of artefact to artifact
* Correct typo (#531)
* Add get\_env\_vars to Build
* Close #522 Only use parameter actions to access parameters. (#524)
* Add ability in Node to upload a config xml (#515)
* Allow fn changes on save (#518)
* Fix source code url. (#521)
* fix up tox (#523)
* Update index.rst
* Migrate to six (#507)
* Set to use latest pylint
* Removed test
* Converted test\_job\_folders
* Converted most of the tests to pytest (#508)
* Changes based on code review
* Added codecov library
* Changed call to codecov
* Removed "isinstance() is True"
* Moved unit test to systest
* Partially converted to pytest
* Added asserts for file creation
* Removed unittest that is covered by systest
* Converted test\_job
* Converter test\_requester.py
* Converted test\_nodes
* Converted test\_node
* Converted test\_misc
* Deleted unused and duplicated tests, converted test\_label
* Converted to pytest
* Renamed all one letter variables
* Minor change to make pylint happier
* Fixed identation
* Converted new tests after merge from master
* Fixed failing test
* Converted test\_job.py to pytest
* Converted test\_jenkins.py to pytest
* Fixed import
* Converted test\_executors to pytest
* Converter test\_build\_scm\_git to pytest
* Converter test\_job and moved job/build configs to separate file
* Fixed problematic merge
* Made pylint happier
* Fixed tests for py 3.x
* Ignore temp folder removal errors
* Fixed launcher
* Added thread.stop
* Added Jenkins plugin
* Removed python 3.3, added 3.5
* Renamed exception
* Converted systests to pytest
- Convert to singlespec
- Add license.txt file
-------------------------------------------------------------------
Fri Nov 18 16:42:26 UTC 2016 - tbechtold@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-jenkinsapi
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,30 +12,29 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jenkinsapi
Version: 0.3.3
Version: 0.3.8
Release: 0
Summary: A Python API for accessing resources on a Jenkins continuous-integration server
License: MIT
Group: Development/Languages/Python
Url: https://github.com/salimfadhley/jenkinsapi
Source: https://pypi.io/packages/source/j/jenkinsapi/jenkinsapi-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-pytz >= 2014.4
BuildRequires: python-requests >= 2.3.0
BuildRequires: python-setuptools
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytz >= 2014.4
Requires: python-requests >= 2.3.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%python_subpackages
%description
Jenkins is the market leading continuous integration system, originally created
@ -64,16 +63,26 @@ This library can help you:
%setup -q -n jenkinsapi-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%python_clone -a %{buildroot}%{_bindir}/jenkins_invoke
%python_clone -a %{buildroot}%{_bindir}/jenkinsapi_version
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files
%post
%{python_install_alternative jenkins_invoke jenkinsapi_version}
%postun
%python_uninstall_alternative jenkins_invoke
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst
%{_bindir}/jenkins_invoke
%{_bindir}/jenkinsapi_version
%license license.txt
%python_alternative %{_bindir}/jenkins_invoke
%python_alternative %{_bindir}/jenkinsapi_version
%{python_sitelib}/*
%changelog