<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python-jenkins-job-builder.git/tests/hipchat, branch 3.2.0</title>
<subtitle>patches to python-jenkins-job-builder package in Fedora</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ktdreyer/public_git/python-jenkins-job-builder.git/'/>
<entry>
<title>Auto-generated output from python-black</title>
<updated>2019-09-09T18:23:24+00:00</updated>
<author>
<name>Thanh Ha</name>
<email>zxiiro@gmail.com</email>
</author>
<published>2019-08-23T13:14:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ktdreyer/public_git/python-jenkins-job-builder.git/commit/?id=4d90c187a945c04b9949d5ee7738a049dd634897'/>
<id>4d90c187a945c04b9949d5ee7738a049dd634897</id>
<content type='text'>
Please review the following patch containing the code changes in
the repo. This patch is a transition patch and is the auto-generated
output of the python-black tool.

Change-Id: I2d2de71da8a105fb62b561899ae78441ddab4032
Signed-off-by: Thanh Ha &lt;zxiiro@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Please review the following patch containing the code changes in
the repo. This patch is a transition patch and is the auto-generated
output of the python-black tool.

Change-Id: I2d2de71da8a105fb62b561899ae78441ddab4032
Signed-off-by: Thanh Ha &lt;zxiiro@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update hipchat example for new syntax</title>
<updated>2018-05-31T19:40:19+00:00</updated>
<author>
<name>Daniel Watkins</name>
<email>daniel.watkins@canonical.com</email>
</author>
<published>2018-05-31T15:59:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ktdreyer/public_git/python-jenkins-job-builder.git/commit/?id=cb27698f74bc2da432e5c1c1c672c7526af9273c'/>
<id>cb27698f74bc2da432e5c1c1c672c7526af9273c</id>
<content type='text'>
The hipchat001 and hipchat_rooms-list001 test/example were swapped (with
hipchat001 being renamed to hipchat_room001).

Change-Id: Ia00964726814d9b1c3a7cb6af20996da087c4ba1
Story: 2000315
Task: 2510
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The hipchat001 and hipchat_rooms-list001 test/example were swapped (with
hipchat001 being renamed to hipchat_room001).

Change-Id: Ia00964726814d9b1c3a7cb6af20996da087c4ba1
Story: 2000315
Task: 2510
</pre>
</div>
</content>
</entry>
<entry>
<title>Migrate hipchat conf to new plugin style conf</title>
<updated>2017-08-23T17:31:44+00:00</updated>
<author>
<name>Darragh Bailey</name>
<email>dbailey@hpe.com</email>
</author>
<published>2017-08-23T13:24:15+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ktdreyer/public_git/python-jenkins-job-builder.git/commit/?id=906781a75272ae0bf986f50f6e6fcf168399f198'/>
<id>906781a75272ae0bf986f50f6e6fcf168399f198</id>
<content type='text'>
Remove the old default hipchat configuration style in favour of
using the new plugin style and provide a mechanism to copy the url
value from the jenkins section automatically as part of a simple
migration.

This will allow removal of querying the jenkins section from existing
module code and allow for better isolation.

Change-Id: I6889777904ebabc01c044abcd31c9d8a20c255c4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the old default hipchat configuration style in favour of
using the new plugin style and provide a mechanism to copy the url
value from the jenkins section automatically as part of a simple
migration.

This will allow removal of querying the jenkins section from existing
module code and allow for better isolation.

Change-Id: I6889777904ebabc01c044abcd31c9d8a20c255c4
</pre>
</div>
</content>
</entry>
<entry>
<title>Add convenience function for plugin namespace</title>
<updated>2016-11-11T18:34:16+00:00</updated>
<author>
<name>Thanh Ha</name>
<email>thanh.ha@linuxfoundation.org</email>
</author>
<published>2016-08-19T15:14:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ktdreyer/public_git/python-jenkins-job-builder.git/commit/?id=b093fee5017ca4b71b0856ce88f4e9f3d28f7e3d'/>
<id>b093fee5017ca4b71b0856ce88f4e9f3d28f7e3d</id>
<content type='text'>
Plugins can use get_plugin_config() which will search in a plugin
namespace. For example:

[plugin "hipchat"]
authtoken = 123token

- Updated hipchat plugin to use get_plugin_config()
- Updated stash plugin to use get_plugin_config()
- Backwards compatibility is kept by falling back to the old
  configuration setting if the new one is not found.
- Warning is displayed if the old configuration method is used.

Change-Id: I7cff063e2d179a5d9a3f221c85de6864382bc477
Signed-off-by: Thanh Ha &lt;thanh.ha@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Plugins can use get_plugin_config() which will search in a plugin
namespace. For example:

[plugin "hipchat"]
authtoken = 123token

- Updated hipchat plugin to use get_plugin_config()
- Updated stash plugin to use get_plugin_config()
- Backwards compatibility is kept by falling back to the old
  configuration setting if the new one is not found.
- Warning is displayed if the old configuration method is used.

Change-Id: I7cff063e2d179a5d9a3f221c85de6864382bc477
Signed-off-by: Thanh Ha &lt;thanh.ha@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor base test classes inheritance for reuse</title>
<updated>2016-09-14T13:58:57+00:00</updated>
<author>
<name>Darragh Bailey</name>
<email>dbailey@hpe.com</email>
</author>
<published>2016-06-29T11:20:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ktdreyer/public_git/python-jenkins-job-builder.git/commit/?id=4573b3a25d6df12e4e8515f414d161adbd7d37de'/>
<id>4573b3a25d6df12e4e8515f414d161adbd7d37de</id>
<content type='text'>
Refactor base test class inheritance to allow for BaseTest class to be
reused without needing to also import the TestCase class everywhere in
order to avoid having the common test function executed on base classes.

This makes it easier to build base testing classes and then simplifies
the subclassing of these for actual tests.

Change-Id: I89809e8082469f814f245db4a9ab7658aac8a405
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refactor base test class inheritance to allow for BaseTest class to be
reused without needing to also import the TestCase class everywhere in
order to avoid having the common test function executed on base classes.

This makes it easier to build base testing classes and then simplifies
the subclassing of these for actual tests.

Change-Id: I89809e8082469f814f245db4a9ab7658aac8a405
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Hipchat support to work w/all versions</title>
<updated>2016-04-23T17:48:05+00:00</updated>
<author>
<name>Clayton O'Neill</name>
<email>clayton@oneill.net</email>
</author>
<published>2015-08-03T16:11:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ktdreyer/public_git/python-jenkins-job-builder.git/commit/?id=f1bae173ff134950394bf57e2a1ab166809a52e2'/>
<id>f1bae173ff134950394bf57e2a1ab166809a52e2</id>
<content type='text'>
The HipChat plugin has changed a good bit in version 0.1.9 such that it
is now purely using the publisher hook and it's acquired a few new
configuration items.

This patch ensures used of the existing format will be automatically
redirected to the newer publisher module which adds support for 0.1.9.

Change-Id: I39452e877b20bfc5654d46c90e91dd877a8ebeb0
Story: 2000301
Story: 2000324
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The HipChat plugin has changed a good bit in version 0.1.9 such that it
is now purely using the publisher hook and it's acquired a few new
configuration items.

This patch ensures used of the existing format will be automatically
redirected to the newer publisher module which adds support for 0.1.9.

Change-Id: I39452e877b20bfc5654d46c90e91dd877a8ebeb0
Story: 2000301
Story: 2000324
</pre>
</div>
</content>
</entry>
<entry>
<title>Reorder imports to match hacking guidelines</title>
<updated>2015-12-23T23:23:42+00:00</updated>
<author>
<name>Darragh Bailey</name>
<email>dbailey@hp.com</email>
</author>
<published>2014-11-10T13:07:55+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ktdreyer/public_git/python-jenkins-job-builder.git/commit/?id=8805a34c0ff71cda61498ec1d7df03ab2835943d'/>
<id>8805a34c0ff71cda61498ec1d7df03ab2835943d</id>
<content type='text'>
Ensure that the imports follow the standard OpenStack hacking
guidelines.

Change-Id: Iaa4326aef118ddfd807dd006934f1d9ca80a1cfa
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure that the imports follow the standard OpenStack hacking
guidelines.

Change-Id: Iaa4326aef118ddfd807dd006934f1d9ca80a1cfa
</pre>
</div>
</content>
</entry>
<entry>
<title>Capture logs with FakeLogging Fixture</title>
<updated>2015-09-30T15:25:22+00:00</updated>
<author>
<name>Darragh Bailey</name>
<email>daragh.bailey@gmail.com</email>
</author>
<published>2015-09-22T00:20:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ktdreyer/public_git/python-jenkins-job-builder.git/commit/?id=9bfbffa5592199c567296fe0f11012cea768bdd5'/>
<id>9bfbffa5592199c567296fe0f11012cea768bdd5</id>
<content type='text'>
Capture logs to attach them on exceptions to simplify the debugging of
errors in tests when they occur.

Change-Id: I5c1b5c306aba37789a8d41eabf65e0ac628af838
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Capture logs to attach them on exceptions to simplify the debugging of
errors in tests when they occur.

Change-Id: I5c1b5c306aba37789a8d41eabf65e0ac628af838
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure tests run with ConfigParser object</title>
<updated>2015-08-11T15:36:08+00:00</updated>
<author>
<name>Darragh Bailey</name>
<email>daragh.bailey@gmail.com</email>
</author>
<published>2015-05-04T15:50:21+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ktdreyer/public_git/python-jenkins-job-builder.git/commit/?id=dc464d943f996b4d6331c661cf9014bb51ff1c11'/>
<id>dc464d943f996b4d6331c661cf9014bb51ff1c11</id>
<content type='text'>
Should always use a ConfigParser object when testing to allow unit tests
to check that calls behave as expected.

Read in the default configuration to align with expected usage, and fix
some issues caused by usage of dicts resulting in the option name
requested being taken as the default value.

Since '.get()' is a valid method for a dictionary object, take care to
ensure that we do not use a dummy dict object as this will not throw the
expected errors if a config file is not provided and will also treat the
option name as a default value resulting in the wrong data appearing in
the outputted XML.

Change-Id: I6abb85f0363a48f220914c52b74e5a5fb65b0faa
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Should always use a ConfigParser object when testing to allow unit tests
to check that calls behave as expected.

Read in the default configuration to align with expected usage, and fix
some issues caused by usage of dicts resulting in the option name
requested being taken as the default value.

Since '.get()' is a valid method for a dictionary object, take care to
ensure that we do not use a dummy dict object as this will not throw the
expected errors if a config file is not provided and will also treat the
option name as a default value resulting in the wrong data appearing in
the outputted XML.

Change-Id: I6abb85f0363a48f220914c52b74e5a5fb65b0faa
</pre>
</div>
</content>
</entry>
<entry>
<title>hipchat bug fix</title>
<updated>2015-04-23T10:55:14+00:00</updated>
<author>
<name>Kyle Rockman</name>
<email>kyle.rockman@mac.com</email>
</author>
<published>2014-11-21T14:58:00+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ktdreyer/public_git/python-jenkins-job-builder.git/commit/?id=295ed05bd0ac31b7d136300eac85ec8c69b4ca0e'/>
<id>295ed05bd0ac31b7d136300eac85ec8c69b4ca0e</id>
<content type='text'>
the current implementation of the hipchat notification types
is buggy on updates because it never sets previously enabled
types back to false if they are not specified in the yaml anymore
but were once true. also room can be blank so it will use the default
room as configured in the master jenkins configuration
also standardize the notify-* arguments even if jenkins plugin
is bad about it

Change-Id: I02547fb6474b66a4f3d21ec3bf766334c66cf14c
Signed-off-by: Kyle Rockman &lt;kyle.rockman@mac.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the current implementation of the hipchat notification types
is buggy on updates because it never sets previously enabled
types back to false if they are not specified in the yaml anymore
but were once true. also room can be blank so it will use the default
room as configured in the master jenkins configuration
also standardize the notify-* arguments even if jenkins plugin
is bad about it

Change-Id: I02547fb6474b66a4f3d21ec3bf766334c66cf14c
Signed-off-by: Kyle Rockman &lt;kyle.rockman@mac.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
