Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9696852
D8805.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
524 B
Subscribers
None
D8805.diff
View Options
diff --git a/swh/dataset/cli.py b/swh/dataset/cli.py
--- a/swh/dataset/cli.py
+++ b/swh/dataset/cli.py
@@ -124,6 +124,11 @@
option_name="formats", message=f"{f} is not an available format."
)
+ # Enforce order (from origin to contents) to reduce number of holes in the graph.
+ object_types = [
+ obj_type for obj_type in MAIN_TABLES.keys() if obj_type in object_types
+ ]
+
def importcls(clspath):
mod, cls = clspath.split(":")
m = import_module(mod)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Aug 17, 9:50 PM (4 h, 19 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3217689
Attached To
D8805: cli: Sort object types to be processed in the right order
Event Timeline
Log In to Comment