Bugfixes
- Fix regression in nightly main branch bot. (#279)
- Upgrade to Python 3.12 (#293)
- Upgrade sentry client
- Upgrade to latest OCA/maintainer-tools
Features
- Skip fork repos earlier in main branch bot, for better performance in organisations with a large number of forks. (#277)
- Support generating
pyproject.tomlinstead ofsetup.py(#266) - Upgraded maintainer-tools (#275)
- Look for migration issues in all states in
/ocabot migrationcommand (#216)
Bugfixes
- Start wheel build from an empty directory, to avoid accidentally importing python files from the addon root directory during the build process. (#270)
- Fixed rendering of OdooSeriesNotFound exceptions (#274)
Features
- Add
MAIN_BRANCH_BOT_MIN_VERSIONconfig option to declare the minimum Odoo series for which the main branch bot actions runs. (#252) - Upgrade to latest
maintainer-tools, and useoca-gen-addon-readme --if-source-changedto avoid full regenaration of all readme when we upgrade the README generator. (#256)
Bugfixes
- Add binutils to Dockerfile to fix pandoc installer. (#259)
Bugfixes
- Fix merge command regression introduced in previous release. (#246)
- Sanity check the virtual environment used to build wheels.
Bugfixes
- Fix issue where some command errors where not reported as comments on the PR. (#244)
Bugfixes
/ocabot migration: Automaticaly check line in Migration issue when merging the according Pull Request. (#192)/ocabot migration: A new migration PR can overwrite the PR in the migration issue only if the latter is closed. (#218)
Features
- When calling
/ocabot migrationif a previous Pull Request was referenced in the migration issue, post an alert on the new Pull Request to mention the previous work. (#191) - Refactored wheel builder, adding support for
pyproject.tomlin addon directories, towards removingsetupdirectories. (#212) - Update pinned dependencies. (#213)
Bugfixes
- Search for addons maintainers in all the branches of the current repository. (#183)
- Make the command
/ocabot migrationworking when migration issue doesn't contain migration module lines. (#190) - Tweak /ocabot usage presentation. (#199)
Features
- Added support for Odoo 15 (via a setuptools-odoo and maintainer-tools update). (#156)
Bugfixes
- Fixed the mention to maintainers on new pull requests. Also mention maintainers when a PR is reopened. (#166)
- Try to avoid git fetch lock issues and sentry alerts pollution by retrying automatically. (#177)
- Reduce error noise by suppressing BranchNotFoundError in then merge branch status handler. (#178)
- Consider comment made when reviewing Pull request. It so allow users to review and launch commands in a single action. (#182)
Misc
- Update dependencies, drop support for python 3.6 and 3.7. Test with python 3.10. #175
Bugfixes
The GitHub token used by the bot could be leaked into GitHub comments on pull requests in some circumstances. Please upgrade and rotate tokens.
Features
- Add "/ocabot migration" command, to link a PR to the migration issue and set the milestone. (#97)
- Added support for Odoo 15 (via a setuptools-odoo and maintainer-tools update). (#156)
Other
- Improved layer caching in the Dockerfile
Feature
- Dockerfile: new version of oca-gen-addons-table
- Improved dry-run mode for the wheel publisher
- Better handling of non-fresh index pages in wheel publisher
- Do not call for maintainers when the PR does not modifies any addon
- Add /ocabot rebase command
Other
- Use Celery 5
Feature
- Upload wheels to a package index with twine.
- Pre-install setuptools-odoo in the docker image, so wheel builds run faster.
Features
- Add a call to maintainers when a PR is made to addons that have no declared maintainers. (#130)
- Refresh all pinned dependencies in requirements.txt. (#140)
- Ignore check suites that have no check runs. This should cope repos that have
no
.travis.ymlbut where Travis is enabled at organization level. (#141)
Features
- Add the possibility to set multiple github organizations in GITHUB_ORG setting (for organization wide scheduled tasks) (#127)
- Build and publish metapackage wheel from
setup/_metapackagein main branch bot task. (#133)
Bugfixes
- ocabot merge: only mention maintainers existing before the PR. (#131)
Miscellaneous
- Upgrade
setuptools-odooto 2.6.3 in Docker image
Features
- Add more logging of status and check suites results. (#121)
- Publish wheels also in nobump mode. This exception was probably done with the
goal of saving space, but for migration PRs where people use
ocabot merge nobump, we want to publish too. (#123)
Features
- Ignore Dependabot by default in check-suite ignores, along with Codecov. (#115)
Bugfixes
- Update maintainer-tools to get the latest
oca-gen-addon-tables. It fixes a regression where the main branch operations were failing whenREADME.mdis absent. (#118)
Features
- Make
bumpversion_modeoption required onmergecommand, addingnobumpoption that was before implicit. Bot adds comment on github, if the command is wrong. Message are customizable in theenvironmentfile. (#90) - Make
GITHUB_STATUS_IGNOREDandGITHUB_CHECK_SUITES_IGNOREDconfigurable. (#111) - Add
BOT_TASKS_DISABLED. (#112)
Features
- ocabot merge: add a "bot is merging ⏳" PR label during the test and merge operation. (#73)
- Add three new settings available in the
environmentfile that allow to add extra argument, when calling the librariesoca-gen-addons-table,oca-gen-addon-readmeandoca-gen-addon-icon. (#103) - Make the "ocabot merge" command update
HISTORY.rstfrom news fragments inreadme/newsfragmentsusing towncrier. (#106) - Add
APPROVALS_REQUIREDandMIN_PR_AGEconfiguration options to control the conditions to set theApprovedlabel. (#107)
Bug fixes
- do not fail on
twine checkwhen an addon has nosetup.py#96
Bug fixes
- do not mention maintainers when they open PR to module they maintain #92
- do not mention maintainers more than once #91
Features
- mention maintainers in pull requests to their addons #77
Bug fixes
- main branch bot: do not run on forks on pushes too, not only in cron jobs
Misc
- prune removed remote branches in git cache
- make
git_get_modified_addons(use rebase instead of merge)
Bug fixes
- Ignore /ocabot merge commands in quoted replies (lines starting with >).
Misc
- Better logging of subprocess output, for Sentry support.
- Do not change current directory so a multithreaded task worker should be safe.
Misc
- Bump setuptools-odoo version for Odoo 13 support.
Bug fixes
- Do not bump version nor attempt to generate wheels for addons that are not installable.
Features
- Improved command parser (#53)
- Call external tools with universal_newlines=True for better output capture (unicode instead of binary) and, in particular, better display of errors in merge bot.
- Better detection of modified addons (using diff after rebase instead of diff to merge base).
- merge bot: allow addon maintainers to merge (#51)
- main branch bot: ignore repos that are forks of other repos when running the main branch bot actions in the nightly cron
- main branch bot: do not run the organization-wide nightly crons if GITHUB_ORG is not set
- merge bot: do not rebase anymore, create a merge commit
Bug fixes
- Do not attempt to build wheels for uninstallable addons.
- Fix issue in detecting modified setup directory.
- When rsyncing wheels to the simple index, use default directory permissions on the target
Bug fixes
- Update OCA/maintainer-tools to correctly pin docutils 0.15.1.
- Fix traceback in on_pr_green_label_needs_review.
Features
- Build and publish wheels to a PEP 503 simple index. Publishing occurs on /ocabot merge with version bump, and after the nightly main branch actions.
- Simplify the docker image, removing gosu. Run under user 1000 in /var/run by default. Can be influenced using docker --user or similar. The default docker-compose.yml needs UID and GID environment variables.
Bug fixes
- Merge bot: fix detection of modified addons in case main branch was modified since the PR was created.
- Update OCA/maintainer-tools to pin docutils 0.15.1 (see OCA/maintainer-tools#423).