runbot/runbot_merge/__manifest__.py
Xavier Morel 461db6a3e7 [ADD] runbot_merge: closing linked issues on merge
Requires parsing the commit messages as github plain doesn't collate
the info from there, but also the descriptions: apparently github only
adds those to the references if the PR targets the default
branch. That's not a limitation we want.

Meaning at the end of the day, the only thing we're calling graphql
for is explicit manual linking, which can't be tested without
extending the github API (and then would only be testable on DC), and
which I'm not sure anyone bothers with...

Limitations
-----------

- Links are retrieved on staging (so if one is added later it won't be
  taken in account).
- Only repository-local links are handled, not cross-repository.

Fixes #777
2024-12-09 16:02:28 +01:00

40 lines
1.2 KiB
Python

{
'name': 'merge bot',
'version': '1.15',
'depends': ['contacts', 'mail', 'website'],
'data': [
'security/security.xml',
'security/ir.model.access.csv',
'data/merge_cron.xml',
'models/crons/git_maintenance.xml',
'models/crons/cleanup_scratch_branches.xml',
'models/crons/issues_closer.xml',
'data/runbot_merge.pull_requests.feedback.template.csv',
'views/res_partner.xml',
'views/runbot_merge_project.xml',
'views/batch.xml',
'views/mergebot.xml',
'views/queues.xml',
'views/configuration.xml',
'views/templates.xml',
'models/project_freeze/views.xml',
'models/staging_cancel/views.xml',
'models/backport/views.xml',
],
'assets': {
'web._assets_primary_variables': [
('prepend', 'runbot_merge/static/scss/primary_variables.scss'),
],
'web.assets_frontend': [
'runbot_merge/static/scss/runbot_merge.scss',
],
'web.assets_backend': [
'runbot_merge/static/scss/runbot_merge_backend.scss',
],
},
'post_load': 'enable_sentry',
'pre_init_hook': '_check_citext',
'license': 'LGPL-3',
}