Skip to content

Commit f719d29

Browse files
committed
Preserve non-ODK-managed imports by default.
When updating a repository and updating the import declarations in the -edit file, by default do _not_ call the `odk:import` command in "exclusive" mode, so that import declarations that do not correspond to an ODK-declared import or component are preserved.
1 parent 8712a31 commit f719d29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

odk/odk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ class OntologyProject(JsonSchemaMixin):
697697
use_custom_import_module : bool = False
698698
"""if true add a custom import module which is managed through a robot template. This can also be used to manage your module seed."""
699699

700-
preserve_non_odk_managed_imports : bool = False
700+
preserve_non_odk_managed_imports : bool = True
701701
"""if true, import declarations that were added independently of the ODK will be preserved when updating the repository."""
702702

703703
custom_makefile_header : str = """

0 commit comments

Comments
 (0)