Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9346075
D5390.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
624 B
Subscribers
None
D5390.diff
View Options
diff --git a/swh/storage/migrate_extrinsic_metadata.py b/swh/storage/migrate_extrinsic_metadata.py
--- a/swh/storage/migrate_extrinsic_metadata.py
+++ b/swh/storage/migrate_extrinsic_metadata.py
@@ -1115,7 +1115,7 @@
while True:
cur.execute(
f"SELECT {', '.join(REVISION_COLS)} FROM revision "
- f"WHERE id > %s AND metadata IS NOT NULL "
+ f"WHERE id > %s AND metadata IS NOT NULL AND type != 'git'"
f"ORDER BY id LIMIT 1000",
(after_id,),
)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 3, 3:42 PM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3229707
Attached To
D5390: migrate_extrinsic_metadata: Filter out git revisions
Event Timeline
Log In to Comment