Runbot Custom Build and Run Instructions
runbot_build_instructions · OCA/runbot-addons
Health
48/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 122 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.01 MB
Module directory on disk
Code analysis
5 migration notes
2 models
2 views
0 HTTP endpoints
Migration considerations
runbot_build— Class 'runbot_build' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourcerunbot_build— Class 'runbot_build' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceview_repo_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (3 occurrences in this file) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
- Odoo dependencies
- None
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
build_button |
build_button | ir.ui.view | qweb | Inherits runbot.build_button |
view_repo_form |
runbot.repo | form | Inherits runbot.view_repo_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (0)
No new fields.
Public methods (7)-
checkout(self, cr, uid, ids, context=None)@custom_buildCheckout in custom build directories if they are specified Do same as superclass except for git_export path. -
cmd(self, cr, uid, ids, context=None)@custom_buildGet server start script from build config Overwrite superclass completely Specify database user in the case of custom config, to allow viewing after db has been created by Odoo (using current user). Disable multiworker -
job_00_init(self, cr, uid, build, lock_path, log_path) -
job_10_test_base(self, cr, uid, build, lock_path, log_path) -
job_20_test_all(self, cr, uid, build, lock_path, log_path) -
pre_build(self, cr, uid, ids, lock_path, log_path, context=None)Run pre-build command if there is one Substitute path variables after splitting command to avoid problems with spaces in internal variables. Run command in build path to avoid relative path issues. -
sub_cmd(self, build, cmd)
New fields (7)
-
custom_build_dirCharhelp='Relative directory where repo will be checked out' args: 'Custom Build Directory' -
custom_pre_build_cmdCharhelp=ARGUMENTS_HELP args: 'Custom Pre-build Command' -
custom_server_paramsCharhelp=ARGUMENTS_HELP args: 'Custom Server Flags' -
custom_server_pathCharhelp='Relative path of starter script' args: 'Custom Server Path' -
is_custom_buildBooleanargs: 'Custom Build' -
other_repo_idMany2one → runbot.repohelp='Specify a secondary repository whose path can be passed to the build commands.' args: 'runbot.repo', 'Other repository' -
skip_test_jobsBooleanargs: 'Skip standard test jobs'
No public methods.
Loading…
Loading…