sforgcompare
sforgcompare copied to clipboard
Compare not working anymore ?
I'm trying to compare a production and a pre-production org, and except for labels, all items are declared to be existing on one side and not on the other, whereas they clearly physically exist on both sides
Is there some workaround ?
Thanks !
Running locally I think it has to do with concurrent read/write to metadata.zip. I did something like this for [email protected]
os.makedirs("meta/{}/{}".format(slugify(org.username), component_type), exist_ok=True)
zipname = "meta/{}/{}/{}.zip".format(slugify(org.username), component_type, component_type)
if os.path.isfile(zipname):
os.remove(zipname)
# Save the zip file result to server
zip_file = open(zipname, 'wb')
...
metadata = ZipFile(zipname, 'r')