Release notes¶
develop¶
Config change¶
The default value for greenwave_api_url
was changed from
https://greenwave.fedoraproject.org/api/v1.0
to
https://greenwave-web-greenwave.app.os.fedoraproject.org/api/v1.0
as the old value was a
non-extant domain.
Dependency changes¶
- Bodhi now requires
cornice>=3
. - Bodhi now formally documents that it requires PostgreSQL >= 9.2.0 in Administration.
v3.1.0¶
Special instructions¶
- The Alembic configuration file has changed to use the Python path of the migrations.
In order to run the new migrations, you should ensure your alembic.ini has
script_location = bodhi:server/migrations
.
Dependency changes¶
- The client formally depends on
iniparse
now. It needed this before but the dependency was undocumented (ddf47eb2). - Bodhi no longer uses or requires
webhelpers
. RSS feeds are now generated byfeedgen
, a new required dependency. - Bodhi no longer uses or requires
bunch
.
Features¶
- The CLI now prints a helpful hint about how to use
koji wait-repo
when creating or editing a buildroot override, or when a query for overrides returns exactly one result (#1376). - Bodhi now uses connection pooling when making API requests to other services (#1753).
- The bindings now conditionally import
dnf
(#1812). - It is now possible to query for Releases by a list of primary keys, by using the querystring
ids
with thereleases/
API. - Builds now serialize their
release_id
field. - It is now possible to configure a maximum number of mash threads that Bodhi will run at once,
which is handy if the new Pungi masher has been mean to your NAS. There is a new
max_concurrent_mashes
setting in production.ini, which defaults to2
. - There is now a man page for bodhi-clean-old-mashes.
- The documentation was reorganized by type of reader (14e81a81).
- The documentation now uses the Alabaster theme (f15351e2).
- The CLI now has a
--arch
flag that can be used when downloading updates to specify which architecture is desired (6538c9e9). - Bodhi’s documentation now includes an Administration section which includes documentation on its various settings (310f56d4).
Bugs¶
- Bodhi now uses the correct comment on critical path updates regarding how many days are required in testing (#1361).
- All home page update types now have mouseover titles (#1620).
- e-mail subjects again include the version of the updates (#1635).
- The bindings will re-attempt authentication upon captcha failures (#1787).
- The formatting is fixed on mobile for the edit/create update form (#1791).
- The “Push to Stable” button is now rendered in the web UI on batched updates (#1907).
- Do not fail the mash if a changelog is malformed (#1989).
- bodhi-dequeue-stable no longer dies if it encounters updates that can’t be pushed stable (#2004).
- Unreachable RSS Accept-header based redirects were fixed (6f3db0c0).
- Fixed an unsafe default in
bodhi.server.util.call_api()
(9461b3a4). - Bodhi now distinguishes between testing and stable when asking Greenwave for gating decisions (6d907a7a).
- The CLI now renders the correct URL for updates without aliases (caaa0e6e).
Development improvements¶
- The database migrations are now shipped as part of the Python distribution (#1777).
- The developer docs pertaining to using virtualenvs have been corrected and improved (#1797).
- The
test_utils.py
tests now use theBaseTestCase
, which allows them to pass when run by themselves (#1817). - An obsolete mash check for symlinks was removed (#1819).
- A mock was moved inside of a test to avoid inter-test dependencies (#1848).
- Bodhi is now compliant with
flake8
‘sE722
check (#1927). - The JJB YAML file is now tested to ensure it is valid YAML (#1934).
- Some code has been prepared for Python 3 compatibility (d7763560).
- Developers are now required to sign the DCO (34d0ceb0).
- There is now formal documentation on how to submit patches to Bodhi (bb20a0ee).
- Bodhi is now tested by Fedora containers in the CentOS CI environment (36d603f0).
- Bodhi is now tested against dependencies from PyPI (1e8fb65d).
- The
development.ini.example
file has been reduced to a minimal form, which means we no longer need to document the settings in two places (2b7dc4e5). - Bodhi now runs CI tests for different PRs in parallel (6427309f).
Vagrantfile.example
has been moved todevel/
for tidiness (21ff2e58).- It is now easier to replicate the CI environment locally by using the
devel/run_tests.sh
script. - Many more docblocks have been written across the codebase.
- Line test coverage is now at 93%.
Release contributors¶
The following developers contributed to Bodhi 3.1.0:
- Alena Volkova
- Aman Sharma
- Caleigh Runge-Hottman
- Dusty Mabe
- František Zatloukal
- Jeremy Cline
- Ken Dreyer
- Lumir Balhar
- Martin Curlej
- Patrick Uiterwijk
- Pierre-Yves Chibon
- Ralph Bean
- Ryan Lerch
- Randy Barlow
3.0.0¶
Backwards incompatible changes¶
Support for the
USERNAME
environment variable in all of Bodhi’s CLI tools has been dropped, as it conflicts with GDM’s variable by the same name. Many users do not have the same FAS username as they use on their desktop, and this variable causes confusion in the CLI (#1789).The layout of the repositories after mash is now different.
The following settings have been removed from Bodhi, as Pungi now manages comps files instead of Bodhi:
* ``compose_atomic_trees`` * ``comps_dir`` * ``comps_url`` * ``mash_conf``
bodhi-push
no longer has a--staging
flag as it was not needed. It was used to determine the mashing directory to look for lock files, but the directories it looked in were hardcoded instead of using themash_dir
setting. With 3.0.0,mash_dir
is used and the--staging
flag is no longer needed.
Dependency changes¶
- Bodhi no longer uses or requires mash.
- Bodhi no longer uses or requires fedmsg-atomic-composer.
- Pungi is now a required dependency for Bodhi, replacing mash.
- jinja2 is now a required dependency for Bodhi, used by its masher.
New settings¶
The production.ini
file supports some new settings:
pungi.basepath
specifies which path Bodhi should find Pungi config files inside. Defaults to/etc/bodhi
.pungi.cmd
specifies the command to runpungi
with. Defaults to/usr/bin/pungi-koji
.pungi.conf.module
should be the name of a jinja2 template file found inpungi.basepath
that will be rendered to generate a Pungi config file that will be used to mash RPM repositories (yum, dnf, and atomic repositories). Defaults topungi.module.conf
, meaning that an/etc/bodhi/pungi.module.conf
is the default config file for Modules.pungi.conf.rpm
should be the name of a jinja2 template file found inpungi.basepath
that will be rendered to generate a Pungi config file that will be used to mash RPM repositories (yum, dnf, and atomic repositories). Defaults topungi.rpm.conf
, meaning that an/etc/bodhi/pungi.rpm.conf
is the default config file for RPMs.The
pungi.conf.*
setting files above have the following jinja2 template variables available to them:* 'id': The id of the Release being mashed. * 'release': The Release being mashed. * 'request': The request being mashed. * 'updates': The Updates being mashed.
You will need to create variants.xml
templates inside pungi.basepath
as well. These
templates will have access to the same template variables described above, and should be named
variants.rpm.xml.j2
and variants.module.xml.j2
, for RPM composes and module composes,
respectively.
Features¶
The 3.0.0 release is focused on delivering one big change that enables a variety of features: the use of Pungi to do mashing rather than mash. The most notable feature this enables is the ability to deliver update repositories for modules, but in general all of Pungi’s feature set is now available for Bodhi to use.
- Bodhi now supports non-RPM artifacts, namely, modules (#653, #1330).
- Via Pungi, Bodhi is now able to use Koji signed repos (#909).
- Via Pungi, Bodhi is now able to generate OSTrees that are more consistent with Fedora’s release day OSTrees (#1182).
- Bodhi now uses Pungi instead of the retiring mash project (#1219).
Bugs¶
- Bodhi, via Pungi, will now reliably produce repomd files (#887).
- Bodhi’s CLI no longer uses USERNAME, which conflicted with GDM for users who use a different local
system username than their FAS username. For such users, there was no workaround other than to
constantly use the
--user
flag, and the environment varaible wasn’t particularly useful anymore now that the Bodhi CLI remembers usernames after one successful authentication (#1789).
Release contributors¶
The following developers contributed to Bodhi 3.0.0:
- Patrick Uiterwijk
- Adam Miller
- Dusty Mabe
- Kushal Das
- Randy Barlow
2.12.1¶
Release contributors¶
The following developers contributed to Bodhi 2.12.1:
- Patrick Uiterwijk
- Randy Barlow
2.12.0¶
Features¶
Release contributors¶
The following developers contributed to Bodhi 2.12.0:
- Pierre-Yves Chibon
- Randy Barlow
2.11.0¶
Features¶
- Bodhi now batches non-urgent updates together for less frequent churn. There is a new
bodhi-dequeue-stable
CLI that is intended be added to cron that looks for batched updates and moves them to stable (#1157).
Bugs¶
- Improved bugtracker linking in markdown input (#1406).
- Don’t disable autopush when the update is already requested for stable (#1570).
- There is now a timeout on fetching results from ResultsDB in the backend (#1597).
- Critical path updates now have positive days_to_stable and will only comment about pushing to stable when appropriate (#1708).
Development improvements¶
- More docblocks have been written.
Release contributors¶
The following developers contributed to Bodhi 2.11.0:
- Caleigh Runge-Hottman
- Ryan Lerch
- Rimsha Khan
- Randy Barlow
2.10.1¶
2.10.0¶
Compatibility changes¶
This release of Bodhi has a few changes that are technically backward incompatible in some senses, but it was determined that each of these changes are justified without raising Bodhi’s major version, often due to features not working at all or being unused. Justifications for each are given inline.
- dnf and iniparse are now required dependencies for the Python bindings. Justification: Technically, these were needed before for some of the functionality, and the bindings would traceback if that functionality was used without these dependencies being present. With this change, the module will fail to import without them, and they are now formal dependencies.
- Support for EL 5 has been removed in this release. Justification: EL 5 has become end of life.
- The pkgtags feature has been removed. Justification: It did not work correctly and enabling it was devastating (#1634).
- Some bindings code that could log into Koji with TLS certificates was removed. Justification: It was unused (b4474676).
- Bodhi’s short-lived
ci_gating
feature has been removed, in favor of the new Greenwave integration feature. Thus, theci.required
andci.url
settings no longer function in Bodhi. Thebodhi-babysit-ci
utility has also been removed. Justification: The feature was never completed and thus no functionality is lost (#1733).
Features¶
- There are new search endpoints in the REST API that perform ilike queries to support case insensitive searching. Bodhi’s web interface now uses these endpoints (#997).
- It is now possible to search by update alias in the web interface (#1258).
- Exact matches are now sorted first in search results (#692).
- The CLI now has a
--mine
flag when searching for updates or overrides (#811, #1382). - The CLI now has more search parameters when querying overrides (#1679).
- The new case insensitive search is also used when hitting enter in the search box in the web UI (#870).
- Bodhi is now able to query Pagure for FAS groups for ACL info (f9414601).
- The Python bindings’
candidates()
method now automatically intiializes the username (6e8679b6). - CLI errors are now printed in red text (431b9078).
- The graphs on the metrics page now have mouse hovers to indicate numerical values (#209).
- Bodhi now has support for using Greenwave to gate updates based
on test results. See the new
test_gating.required
,test_gating.url
, andgreenwave_api_url
settings inproduction.ini
for details on how to enable it. Note also that this feature introduces a new server CLI tool,bodhi-check-policies
, which is intended to be run via cron on a regular interval. This CLI tool communicates with Greenwave to determine if updates are passing required tests or not (#1733).
Bug fixes¶
- The autokarma check box’s value now persists when editing updates (#1692, #1482, and #1308).
- The CLI now catches a variety of Exceptions and prints user readable errors instead of tracebacks (#1126, #1626).
- The Python bindings’
get_releases()
method now uses a GET request (#784). - The HTML sanitization code has been refactored, which fixed a couple of issues where Bodhi didn’t correctly escape things like e-mail addresses (#1656, #1721).
- The bindings’ docstring for the
comment()
method was corrected to state that theemail
parameter is used to make anonymous comments, rather than to enable or disable sending of e-mails (#289). - The web interface now links directly to libravatar’s login page instead of POSTing to it (#1674).
- The new/edit update form in the web interface now works with the new typeahead library (#1731).
Development improvements¶
- Several more modules have been documented with PEP-257 compliant docblocks.
- Several new tests have been added to cover various portions of the code base, and Bodhi now has 89% line test coverage. The goal is to reach 100% line coverage within the next 12 months, and then begin to work towards 100% branch coverage.
Release contributors¶
The following developers contributed to Bodhi 2.10.0:
- Ryan Lerch
- Matt Jia
- Matt Prahl
- Jeremy Cline
- Ralph Bean
- Caleigh Runge-Hottman
- Randy Barlow
2.9.1¶
2.9.1 is a security release for CVE-2017-1002152.
Release contributors¶
Thanks to Marcel for reporting the issue. Randy Barlow wrote the fix.
2.9.0¶
Features¶
- It is now possible to set required Taskotron tests with the
--requirements
CLI flag (#1319). - The CLI now has tab completion in bash (#1188).
- Updates that are pending testing now go straight to stable if they reach required karma (#632).
- The automated tests tab now shows a count on info results (1de12f6a).
- The UI now displays a spinner while a search is in progress (#436).
- It is now possible to middle click on search results in the web UI (#461).
- Pending releases are now displayed on the home page (#1619).
- Links without an explicit scheme can now be detected as links (#1721).
Bugs¶
- Wiki test cases are no longer duplicated (#780).
- The server bodhi-manage-releases script now uses the new Bodhi bindings (#1338).
- The server bodhi-manage-releases script now supports the
--url
flag (0181a344). - The
--help
output from the Bodhi CLI is cleaner and more informative (#1457). - The CLI now provides more informative error messages when creating duplicate overrides (#1377).
- E-mail subjects now include build versions again (#1635).
- Taskotron results with the same scenario key are now all displayed (d5b0bfa3).
- The front page UI elements now line up (#1659).
- The UI now properly urlencodes search URLs to properly escape characters such as “+” (#1015).
- e-mail addresses are now properly processed by the markdown system (#1656).
Development improvements¶
- The bundled typeahead JavaScript library is rebased to version 1.1.1 from the maintained fork at https://github.com/corejavascript/typeahead.js . The main typeahead repo appears to be unmaintained and contained a bug that we were hitting: https://github.com/twitter/typeahead.js/issues/1381
- Docblocks were written for several more modules.
- Bodhi now hard depends on rpm instead of conditionally importing it (#1166).
- Bodhi now has CI provided by CentOS that is able to test pull requests. Thanks to Brian Stinson and CentOS for providing this service to the Bodhi project!
- Some ground work has been done in order to enable batched updates, so that medium and low priority updates can be pushed on a less frequent interval than high priority (security or urgent) updates.
- Bodhi now uses py.test as the test runner instead of nose.
- Tox is now used to run the style tests.
- There is now a unified test base class that creates a single TestApp for the tests to use. The TestApp was the source of a significant memory leak in Bodhi’s tests. As a result of this refactor, Bodhi’s tests now consume about 450 MB instead of about 4.5 GB. As a result, the example Vagrantfile now uses 2 GB of RAM instead of 5 GB. It is likely possible to squeeze it down to 1 GB or so, if desired.
- Bodhi now supports both the bleach 1 and bleach 2 APIs (#1718).
Release contributors¶
The following developers contributed to Bodhi 2.9.0:
- Ryan Lerch
- Jeremy Cline
- Clement Verna
- Caleigh Runge-Hottman
- Kamil Páral
- Brian Stinson
- Martin Curlej
- Trishna Guha
- Brandon Gray
- Randy Barlow
2.8.1¶
Bugs¶
Release contributors¶
The following contributors submitted patches for Bodhi 2.8.1:
- Patrick Uiterwijk (the true 2.8.1 hero)
- Randy Barlow
2.8.0¶
Special instructions¶
- There is a new setting,
ci.required
that defaults to False. If you wish to use CI, you must add a cron task to call the newbodhi-babysit-ci
CLI periodically.
Deprecation¶
The /search/packages
API call has been deprecated.
New Dependencies¶
- Bodhi now uses Bleach to sanitize markdown input from the user. python-bleach 1.x is a new dependency in this release of Bodhi.
Features¶
- The API, fedmsg messages, bindings, and CLI now support non-RPM content ( #1325, #1326, #1327, and #1328). Bodhi now knows about Fedora’s new module format, and is able to handle everything they need except publishing (which will appear in a later release). This release is also the first Bodhi release that is able to handle multiple content types.
- Improved OpenQA support in the web UI (#1471).
- The type icons are now aligned in the web UI (4b6b7597 and d0940323).
- There is now a man page for
bodhi-approve-testing
(cf8d897f). - Bodhi can now automatically detect whether to use DDL table locks if BDR is present during migrations (059b5ab7).
- Locked updates now grey out the edit buttons with a tooltip to make the lock more obvious to the user (#1492).
- Users can now do multi-line literal code blocks in comments (#1509).
- The web UI now has more descriptive placeholder text (1a7122cd).
- All icons now have consistent width in the web UI (6dfe6ff3).
- The front page has a new layout (6afb6b07).
- Bodhi is now able to use Pagure and PDC as sources for ACL and package information (59551861).
- Bodhi’s configuration loader now validates all values and centralizes defaults. Thus, it is now
possible to comment most of Bodhi’s settings file and achieve sane defaults. Some settings are
still required, see the default
production.ini
file for documentation of all settings and their defaults. A few unused settings were removed (#1488, #1489, and 263b7b7f). - The web UI now displays the content type of the update (#1329).
- Bodhi now has a new
ci.required
setting that defaults to False. If enabled. updates will gate based on Continuous Integration test results and will not proceed to updates-testing unless the tests pass (0fcb73f8). - Update builds are now sorted by NVR (#1441).
- The backend code is reworked to allow gating on resultsdb data and requirement validation performance is improved (#1550).
- Bodhi is now able to map distgit commits to Builds, which helps map CI results to Builds. There is
a new
bodhi-babysit-ci
CLI that must be run periodically in cron ifci.required
isTrue
(ae01e5d1).
Bugs¶
- A half-hidden button is now fully visible on mobile devices (#1467).
- The signing status is again visible on the update page (#1469).
- The edit update form will not be presented to users who are not auth’d (#1521).
- The CLI
--autokarma
flag now works correctly (#1378). - E-mail subjects are now shortened like the web UI titles (#882).
- The override editing form is no longer displayed unless the user is logged in (#1541).
Development improvements¶
- Several more modules now pass pydocstyle PEP-257 tests.
- The development environment has a new
bshell
alias that sets up a usable Python shell, initialized for Bodhi. - Lots of warnings from the unit tests have been fixed.
- The dev environment cds to the source folder upon
vagrant ssh
. - There is now a
bfedmsg
development alias to see fedmsgs. - A new
bresetdb
development alias will reset the database to the same state as whenvagrant up
completed. - Some unused code was removed (afe5bd8c).
- Test coverage was raised significantly, from 85% to 88%.
- The development environment now has httpie by default.
- The default Vagrant memory was raised (#1588).
- Bodhi now has a Jenkins Job Builder template for use with CentOS CI.
- A new
bdiff-cover
development alias helps compare test coverage in current branch to thedevelop
branch, and will alert the developer if there are any lines missing coverage.
Release contributors¶
The following developers contributed to Bodhi 2.8.0:
- Ryan Lerch
- Ralph Bean
- Pierre-Yves Chibon
- Matt Prahl
- Martin Curlej
- Adam Williamson
- Kamil Páral
- Clement Verna
- Jeremy Cline
- Matthew Miller
- Randy Barlow
2.7.0¶
Features¶
- The bodhi CLI now supports editing an override. (#1049).
- The Update model is now capable of being associated with different Build types (#1394).
- The bodhi CLI now supports editing an update using the update alias. (#1409).
- The web UI now uses Fedora 26 in its example text instead of Fedora 20 (ec0c619a).
- The Build model is now polymorphic to support non-RPM content (#1393).
Bugs¶
Development improvements¶
- SQL queries are no longer logged by default.
- fedmsgs are now viewable in the development environment.
- There is a new test to ensure there is only one Alembic head.
- There is a new bash alias, bteststyle, that runs the code style tests.
- The BuildrootOverride model is now documented.
Release contributors¶
The following contributors submitted patches for Bodhi 2.7.0:
- Clement Verna
- Jeremy Cline
- Bianca Nenciu
- Caleigh Runge-Hottman
- Adam Williamson
- Robert Scheck
- Ryan Lerch
- Randy Barlow
2.6.2¶
This release focused on CLI authentication issues. One of the issues requires users to also update their python-fedora installation to at least 0.9.0.
Bugs¶
2.6.1¶
This release fixes 4 issues with three commits.
Bugs¶
Release contributors¶
The following contributors submitted patches for Bodhi 2.6.1:
- Jeremy Cline
- Randy Barlow
2.6.0¶
Special instructions¶
- The database migrations have been trimmed in this release. To upgrade to this version of Bodhi from a version prior to 2.3, first upgrade to Bodhi 2.3, 2.4, or 2.5, run the database migrations, and then upgrade to this release.
- Bodhi cookies now expire, but cookies created before 2.6.0 will not automatically expire. To
expire all existing cookies so that only expiring tickets exist, you will need to change
authtkt.secret
to a new value in your settings file.
Dependency adjustments¶
- zope.sqlalchemy is no longer a required dependency (#1414).
- WebOb is no longer a directly required dependency, though it is still indirectly required through pyramid.
Features¶
- The web UI footer has been restyled to fit better with the new theme (#1366).
- A link to documentation has been added to the web UI footer (#1321).
- The bodhi CLI now supports editing updates (#937).
- The CLI’s
USERNAME
environment variable is now documented, and its--user
flag is clarified (28dd380a). - The icons that we introduced in the new theme previously didn’t have titles. Consequently, a user might not have know what these icons meant. Now if a user hovers over these icons, they get a description of what they mean, for example: “This is a bugfix update” or “This update is in the critial path” (#1362).
- Update pages with lots of updates look cleaner (#1351).
- Update page titles are shorter now for large updates (#957).
- Add support for alternate architectures to the MasherThread.wait_for_sync() (#1343).
- Update lists now also include type icons next to the updates (5983d99c).
- Testing updates use a consistent label color now (62330644).
- openQA results are now displayed in the web ui (450dbafe).
- Bodhi cookies now expire. There is a new
authtkt.timeout
setting that sets Bodhi’s session lifetime, defaulting to 1 day.
Bugs¶
- Comments that don’t carry karma don’t count as a user’s karma vote (#829).
- The web UI now uses the update alias instead of the title so editors of large updates can click the edit button (#1161).
- Initialize the bugtracker in
main()
instead of on import so that docs can be built without installing Bodhi (#1359). - Make the release graph easier to read when there are many datapoints (#1172).
- Optimize the JavaScript that loads automated test results from ResultsDB (#983).
- Bodhi’s testing approval comment now respects the karma reset event (#1310).
pop
andcopy
now lazily load the configuration (#1423).
Development improvements¶
- A new automated PEP-257 test has been introduced to enforce docblocks across the codebase. Converting the code will take some time, but the code will be expanded to fully support PEP-257 eventually. A few modules have now been documented.
- Test coverage is now 84%.
- The Vagrant environment now has vim with a simple vim config to make sure spaces are used instead of tabs (#1372).
- The Package database model has been converted into a single-table inheritance model, which will aid in adding multi-type support to Bodhi. A new RpmPackage model has been added. (#1392).
- The database initialization code is unified (e9a26042).
- The base model class now has a helpful query property (8167f262).
- .pyc files are now removed when running the tests in the dev environment (9e9adb61).
- An unused inherited column has been dropped from the builds table (e8a95b12).
Release contributors¶
The following contributors submitted patches for Bodhi 2.6.0:
- Jeremy Cline
- Ryan Lerch
- Clement Verna
- Caleigh Runge-Hottman
- Bianca Nenciu
- Adam Williamson
- Ankit Raj Ojha
- Jason Taylor
- Randy Barlow
2.5.0¶
Bodhi 2.5.0 is a feature and bugfix release.
Features¶
- The web interface now uses the Fedora Bootstrap theme. The layout of the update page has also been revamped to display the information about an update in a clearer manner. (#1313).
- The
bodhi
CLI now has a--url
flag that can be used to switch which Bodhi server it communicates with. TheBODHI_URL
environment can also be used to configure this flag. - The documentation has been reorganized.
- The Python bindings are now documented.
- Bodhi will now announce that karma has been reset to 0 when builds are added or removed from updates (6d6de4bc).
- Bodhi will now announce that autokarma has been disabled when an update received negative karma (d3ccc579).
- The docs theme is now Alabaster (57a80f42).
- The Bodhi documentation now has a description of Bodhi on the landing page (#1322).
- The REST API is now documented (#1323).
- The client Python bindings can now accept a
base_url
that doesn’t end in a slash (1087939b).
Bugs¶
- The position of the Add Comment button is now the bottom right. (#902).
- An unusuable
--request
flag has been removed from a CLI command (#1187). - The cursor is now a pointer when hovering over Releases button (#1296).
- The number of days to stable is now correctly calculated on updates (#1305).
- Fix a query regular expression so that Fedora update ids work (d5bec3fa).
- Karma thresholds can now be set when autopush is disabled (#1033).
Development improvements¶
- The Vagrant development environment automatically configures the BODHI_URL environment variable so that the client talks to the local server instead of production or staging.
- Test coverage is up another percentage to 82%.
- Bodhi is now PEP-8 compliant.
- The development environment now displays all Python warnings once.
Release contributors¶
The following developers contributed to Bodhi 2.5.0:
- Ryan Lerch
- Trishna Guha
- Jeremy Cline
- Ankit Raj Ojha
- Ariel O. Barria
- Randy Barlow
2.4.0¶
Bodhi 2.4.0 is a feature and bugfix release.
Features¶
- The web interface now displays whether an update has autopush enabled (#999).
- Autopush is now disabled on any update that receives authenticated negative karma (#1191).
- Bodhi now links to Koji builds via TLS instead of plaintext (#1246).
- Some usage examples have been added to the
bodhi
man page. - Bodhi’s server package has a new script called
bodhi-clean-old-mashes
that can recursively delete any folders with names that end in a dash followed by a string that can be interpreted as a float, sparing the newest 10 by lexigraphical sorting. This should help release engineers keep the Koji mashing folder clean. - There is now a
bodhi.client.bindings
module provided by the Bodhi client package. It contains Python bindings to Bodhi’s REST API. - The
bodhi
CLI now prints autokarma and thresholds when displaying updates. bodhi-push
now has a--version
flag.- There are now man pages for
bodhi-push
andinitialize_bodhi_db
.
Bugs¶
- Users’ e-mail addresses will now be updated when they log in to Bodhi (#902).
- The masher now tests for
repomd.xml
instead of the directory that contains it (#908). - Users can now only upvote an update once (#1018).
- Only comment on non-autokarma updates when they meet testing requirements (#1009).
- Autokarma can no longer be set to NULL (#1048).
- Users can now be more fickle than ever about karma (#1064).
- Critical path updates can now be free of past negative karma ghosts (#1065).
- Bodhi now comments on non-autokarma updates after enough time has passed (#1094).
bodhi-push
now does not crash when users abort a push (#1107).bodhi-push
now does not print updates when resuming a push (#1113).- Bodhi now says “Log in” and “Log out” instead of “Login” and “Logout” (#1146).
- Bodhi now configures the Koji client to retry, which should help make the masher more reliable (#1201).
- Bodhi is now compatible with Pillow-4.0.0 (#1262).
- The bodhi cli no longer prints update JSON when setting the request (#1408195).
- Bodhi’s signed handler now skips builds that were not assigned to a release.
- The comps file is now cloned into an explicit path during mashing.
- The buildsystem is now locked during login.
Development improvements¶
- A great deal of tests were written for Bodhi. Test coverage is now up to 81% and is enforced by the test suite.
- Bodhi’s server code is now PEP-8 compliant.
- The docs now contain contribution guidelines.
- The build system will now fail with a useful Exception if used without being set up.
- The Vagrantfile is a good bit fancier, with hostname, dnf caching, unsafe but performant disk I/O, and more.
- The docs now include a database schema image.
- Bodhi is now run by systemd in the Vagrant guest.
- The Vagrant environment now has several helpful shell aliases and a helpful MOTD to advertise them to developers.
- The development environment now uses Fedora 25 by default.
- The test suite is less chatty, as several unicode warnings have been fixed.
Dependency change¶
- Bodhi server now depends on click for
bodhi-push
.
Release contributors¶
The following contributors submitted patches for Bodhi 2.4.0:
- Trishna Guha
- Patrick Uiterwijk
- Jeremy Cline
- Till Mass
- Josef Sukdol
- Clement Verna
- andreas
- Ankit Raj Ojha
- Randy Barlow
2.3.3¶
Bodhi 2.3.3 converts koji auth to be done with krb5 and fixes one bug:
Thanks to Patrick Uiterwijk for contributing both of these commits!
2.3.2¶
Bodhi 2.3.2 is a bugfix release that addresses the following issues:
push.py
now defaults to the current releases (#1071).- Fixed a typo in the masher in sending an ostree compose message (#1072).
- Fixed a typo in looking up an e-mail template (#1073).
- The fedmsg name is now passed explicitly (#1079).
- The man page was corrected to state that builds should be comma separated (#1095).
- Fixed a race condition between robosignatory and the signed handler (#1111).
- Fix querying the updates for resumption in
push.py
(e7cb3f13). push.py
now prompts for the username if not given (abeca57e).
Release contributors¶
The following contributors authored patches for 2.3.2:
- Patrick Uiterwijk
- Randy Barlow