-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
626d711
commit d5e38d0
Showing
27 changed files
with
502 additions
and
324 deletions.
There are no files selected for viewing
Submodule odoo
deleted from
a72ccd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ def git_clone(context): | |
"""Clone the git repository from github | ||
""" | ||
branch_name = env.context.get("odoo_version", "18.0") | ||
cwd = os.path.dirname(context.path) | ||
cwd = env.get_workspace_path(context.parent) | ||
depth = env.context.get("depth", "1") | ||
|
||
result = utils.call_process_safe([ | ||
|
@@ -21,4 +21,19 @@ def git_clone(context): | |
], cwd=cwd) | ||
|
||
if result != 0: | ||
raise Exception("Fail to update the repository") | ||
raise AssertionError("Fail to update the repository") | ||
|
||
|
||
|
||
def git_pull(context): | ||
"""Pull the git repository from github | ||
""" | ||
cwd = os.path.dirname(context.path) | ||
result = utils.call_process_safe([ | ||
'git', | ||
'pull', | ||
f"[email protected]:{context.path}.git" | ||
], cwd=cwd) | ||
|
||
if result != 0: | ||
raise AssertionError("Fail to update the repository") |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.