bl-odoo 0.2.4__tar.gz → 0.2.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bl_odoo-0.2.4/bl_odoo.egg-info → bl_odoo-0.2.6}/PKG-INFO +1 -1
- {bl_odoo-0.2.4 → bl_odoo-0.2.6}/bl/spec_processor.py +8 -6
- {bl_odoo-0.2.4 → bl_odoo-0.2.6/bl_odoo.egg-info}/PKG-INFO +1 -1
- {bl_odoo-0.2.4 → bl_odoo-0.2.6}/pyproject.toml +1 -1
- {bl_odoo-0.2.4 → bl_odoo-0.2.6}/LICENSE +0 -0
- {bl_odoo-0.2.4 → bl_odoo-0.2.6}/README.md +0 -0
- {bl_odoo-0.2.4 → bl_odoo-0.2.6}/bl/__init__.py +0 -0
- {bl_odoo-0.2.4 → bl_odoo-0.2.6}/bl/__main__.py +0 -0
- {bl_odoo-0.2.4 → bl_odoo-0.2.6}/bl/freezer.py +0 -0
- {bl_odoo-0.2.4 → bl_odoo-0.2.6}/bl/spec_parser.py +0 -0
- {bl_odoo-0.2.4 → bl_odoo-0.2.6}/bl/utils.py +0 -0
- {bl_odoo-0.2.4 → bl_odoo-0.2.6}/bl_odoo.egg-info/SOURCES.txt +0 -0
- {bl_odoo-0.2.4 → bl_odoo-0.2.6}/bl_odoo.egg-info/dependency_links.txt +0 -0
- {bl_odoo-0.2.4 → bl_odoo-0.2.6}/bl_odoo.egg-info/entry_points.txt +0 -0
- {bl_odoo-0.2.4 → bl_odoo-0.2.6}/bl_odoo.egg-info/requires.txt +0 -0
- {bl_odoo-0.2.4 → bl_odoo-0.2.6}/bl_odoo.egg-info/top_level.txt +0 -0
- {bl_odoo-0.2.4 → bl_odoo-0.2.6}/setup.cfg +0 -0
- {bl_odoo-0.2.4 → bl_odoo-0.2.6}/tests/test_frozen_parser.py +0 -0
- {bl_odoo-0.2.4 → bl_odoo-0.2.6}/tests/test_frozen_processor.py +0 -0
|
@@ -37,7 +37,6 @@ def create_clone_args(name: str, ref_spec_info: RefspecInfo, remote_url: str, sh
|
|
|
37
37
|
args = [
|
|
38
38
|
"clone",
|
|
39
39
|
"--filter=tree:0",
|
|
40
|
-
"--sparse",
|
|
41
40
|
]
|
|
42
41
|
|
|
43
42
|
if name == "odoo" or shallow:
|
|
@@ -45,6 +44,8 @@ def create_clone_args(name: str, ref_spec_info: RefspecInfo, remote_url: str, sh
|
|
|
45
44
|
"--depth",
|
|
46
45
|
"1",
|
|
47
46
|
]
|
|
47
|
+
else:
|
|
48
|
+
args += ["--sparse"]
|
|
48
49
|
|
|
49
50
|
if ref_spec_info.type == OriginType.REF:
|
|
50
51
|
args += [
|
|
@@ -238,7 +239,7 @@ class SpecProcessor:
|
|
|
238
239
|
if path_dest_symlink.is_symlink():
|
|
239
240
|
path_dest_symlink.unlink()
|
|
240
241
|
|
|
241
|
-
os.symlink(path_src_symlink, path_dest_symlink, True)
|
|
242
|
+
os.symlink(path_src_symlink.relative_to(path_dest_symlink, walk_up=True), path_dest_symlink, True)
|
|
242
243
|
except OSError as e:
|
|
243
244
|
return -1, str(e)
|
|
244
245
|
|
|
@@ -389,10 +390,11 @@ class SpecProcessor:
|
|
|
389
390
|
return ret
|
|
390
391
|
|
|
391
392
|
progress.update(task_id, status="Linking directory")
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
393
|
+
if name != "odoo":
|
|
394
|
+
ret, err = self.link_all_modules(symlink_modules, module_path)
|
|
395
|
+
if ret != 0:
|
|
396
|
+
progress.update(task_id, status=f"[red]Could not link modules: {err}")
|
|
397
|
+
return ret
|
|
396
398
|
|
|
397
399
|
progress.update(task_id, status="[green]Complete")
|
|
398
400
|
progress.remove_task(task_id)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|