2024-08-09 15:10:01 +07:00
|
|
|
from . import mail_thread
|
2023-02-20 16:13:05 +07:00
|
|
|
from . import ir_actions
|
2024-09-27 17:53:51 +07:00
|
|
|
from . import ir_ui_view
|
2018-03-14 16:37:46 +07:00
|
|
|
from . import res_partner
|
2021-11-10 19:13:34 +07:00
|
|
|
from . import project
|
2018-03-14 16:37:46 +07:00
|
|
|
from . import pull_requests
|
[CHG] *: persistent batches
This probably has latent bugs, and is only the start of the road to v2
(#789): PR batches are now created up-front (alongside the PR), with
PRs attached and detached as needed, hopefully such that things are
not broken (tests pass but...), this required a fair number of
ajustments to code not taking batches into account, or creating
batches on the fly.
`PullRequests.blocked` has also been updated to rely on the batch to
get its batch-mates, such that it can now be a stored field with the
right dependencies.
The next step is to better leverage this change:
- move cross-PR state up to the batch (e.g. skipchecks, priority, ...)
- add fw info to the batch, perform forward-ports batchwise in order
to avoid redundant batch-selection work, and allow altering batches
during fw (e.g. adding or removing PRs)
- use batches to select stagings
- maybe expose staging history of a batch?
2023-12-19 17:10:11 +07:00
|
|
|
from . import batch
|
2024-10-02 17:14:09 +07:00
|
|
|
from . import patcher
|
2021-11-12 22:04:34 +07:00
|
|
|
from . import project_freeze
|
2023-08-16 20:31:42 +07:00
|
|
|
from . import stagings_create
|
2022-12-07 20:45:48 +07:00
|
|
|
from . import staging_cancel
|
2024-10-22 15:53:45 +07:00
|
|
|
from . import backport
|
[ADD] *: per-repository webhook secret
Currently webhook secrets are configured per *project* which is an
issue both because different repositories may have different
administrators and thus creates safety concerns, and because multiple
repositories can feed into different projects (e.g. on mergebot,
odoo-dev/odoo is both an ancillary repository to the main RD project,
and the main repository to the minor / legacy master-wowl
project). This means it can be necessary to have multiple projects
share the same secret as well, this then mandates the secret for more
repositories per (1).
This is a pain in the ass, so just detach secrets from projects and
link them *only* to repositories, it's cleaner and easier to manage
and set up progressively.
This requires a lot of changes to the tests, as they all need to
correctly configure the signaling.
For `runbot_merge` there was *some* setup sharing already via the
module-level `repo` fixtures`, those were merged into a conftest-level
fixture which could handle the signaling setup. A few tests which
unnecessarily set up repositories ad-hoc were also moved to the
fixture. But for most of the ad-hoc setup in `runbot_merge`, as well
as `forwardport` where it's all ad-hoc, events sources setup was just
appended as is. This should probably be cleaned up at one point, with
the various requirements collected and organised into a small set of
fixtures doing the job more uniformly.
Fixes #887
2024-06-06 16:07:57 +07:00
|
|
|
from . import events_sources
|
2023-08-16 19:37:19 +07:00
|
|
|
from . import crons
|