Skip to content

Commit

Permalink
checkin
Browse files Browse the repository at this point in the history
  • Loading branch information
jctanner committed Oct 5, 2023
1 parent 366a3dc commit 6bdf95c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dev/scripts.community/cleanup_namespaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
'sigma',
'rmasters',
'network',
'roopamg',
]


Expand Down Expand Up @@ -129,6 +130,9 @@ def do_cleanup():
for lns in LegacyNamespace.objects.filter(namespace=dupe_ns):
print(f'\t\t\tlegacy:{lns.name} v3:{lns.namespace}')
print(f'\t\t\t\tFIXME - set v1:{lns} provider to {ns}')
if ns_key in allowed_to_fix:
lns.namespace = ns
lns.save()

#for role in LegacyRole.objects.filter(namespace=lns):
# print(f'\t\t\t\t{role.namespace}.{role.name}')
Expand Down

0 comments on commit 6bdf95c

Please sign in to comment.