runbot/runbot_merge/models/crons
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
..
__init__.py [ADD] runbot_merge: closing linked issues on merge 2024-12-09 16:02:28 +01:00
cleanup_scratch_branches.py [IMP] rubnbot_merge: avoid triggering every cron on every test 2024-08-05 08:03:56 +02:00
cleanup_scratch_branches.xml [ADD] runbot_merge: delete scratch branches when a branch is disabled 2023-08-31 09:07:01 +02:00
git_maintenance.py [IMP] runbot_merge: prune repo during maintenance 2024-08-05 09:03:39 +02:00
git_maintenance.xml [CHG] *: move repo cache from forwardbot to mergebot 2023-08-25 15:04:48 +02:00
issues_closer.py [ADD] runbot_merge: closing linked issues on merge 2024-12-09 16:02:28 +01:00
issues_closer.xml [ADD] runbot_merge: closing linked issues on merge 2024-12-09 16:02:28 +01:00