Browse Source

Fix buildTimestamp in manifest cache for packages with "lin-x64" architecture string.

pull/785/head
Andrew Belt 2 years ago
parent
commit
017d91a638
2 changed files with 28 additions and 18 deletions
  1. +16
    -15
      manifests-cache.json
  2. +12
    -3
      scripts/update_cache.py

+ 16
- 15
manifests-cache.json View File

@@ -381,7 +381,7 @@
}
},
"voxglitch": {
"buildTimestamp": 1669274614.6902566,
"buildTimestamp": 1670839358.8591354,
"creationTimestamp": 1579792597.0,
"modules": {
"autobreak": {
@@ -456,7 +456,7 @@
}
},
"SurgeRack": {
"buildTimestamp": 1638664172.4573092,
"buildTimestamp": 1670840966.1857905,
"creationTimestamp": 1561132770.0,
"modules": {
"SurgeDelay": {
@@ -2280,7 +2280,7 @@
}
},
"MindMeldModular": {
"buildTimestamp": 1664896620.5016873,
"buildTimestamp": 1670839865.3470612,
"creationTimestamp": 1572165273.0,
"modules": {
"MixMasterJr": {
@@ -2343,7 +2343,7 @@
}
},
"Stoermelder-P1": {
"buildTimestamp": 1669276386.9408293,
"buildTimestamp": 1670840308.521915,
"creationTimestamp": 1559409342.0,
"modules": {
"CVMap": {
@@ -2929,7 +2929,7 @@
}
},
"NANOModules": {
"buildTimestamp": 1638559180.8774617,
"buildTimestamp": 1669977903.175535,
"creationTimestamp": 1581971790.0,
"modules": {
"MAR": {
@@ -3214,7 +3214,7 @@
}
},
"Befaco": {
"buildTimestamp": 1651360250.0181882,
"buildTimestamp": 1670839546.2906342,
"creationTimestamp": 1518016501.0,
"modules": {
"EvenVCO": {
@@ -6236,7 +6236,7 @@
}
},
"VultModulesFree": {
"buildTimestamp": 1664306234.0388823,
"buildTimestamp": 1670842660.5896022,
"creationTimestamp": 1521738241.0,
"modules": {
"Basal": {
@@ -7342,7 +7342,7 @@
}
},
"VultCompacts": {
"buildTimestamp": 1664306231.7988236,
"buildTimestamp": 1670842659.9429166,
"creationTimestamp": 1527117794.0,
"modules": {
"Freak": {
@@ -8060,7 +8060,7 @@
}
},
"VultMysteries": {
"buildTimestamp": 1664306235.448919,
"buildTimestamp": 1670842660.8629434,
"creationTimestamp": 1563301966.0,
"modules": {
"Lapsus": {
@@ -8482,7 +8482,7 @@
"modules": {}
},
"VultModules": {
"buildTimestamp": 1664306232.9455202,
"buildTimestamp": 1670842660.262926,
"creationTimestamp": 1518016501.0,
"modules": {
"Basal": {
@@ -9729,7 +9729,7 @@
}
},
"Geodesics-Vultiverse": {
"buildTimestamp": 1651470856.1558921,
"buildTimestamp": 1670842659.7195768,
"creationTimestamp": 1605226581.6694007,
"modules": {
"Hexaquark": {
@@ -10167,7 +10167,7 @@
}
},
"MindMeld-ShapeMasterPro": {
"buildTimestamp": 1645393824.8111627,
"buildTimestamp": 1670842866.119094,
"creationTimestamp": 1619013403.5611546,
"modules": {
"UMeld": {
@@ -11046,7 +11046,7 @@
}
},
"StochasticTelegraph": {
"buildTimestamp": 1651360444.1828485,
"buildTimestamp": 1670840463.0245554,
"creationTimestamp": 1649868370.1906905,
"modules": {
"Drifter": {
@@ -11490,7 +11490,7 @@
}
},
"SickoCV": {
"buildTimestamp": 1668414473.5571606,
"buildTimestamp": 1670840403.7058213,
"creationTimestamp": 1661903994.336356,
"modules": {
"Btoggler": {
@@ -11783,6 +11783,7 @@
"SurgeXTModMatrix": {
"creationTimestamp": 1669676341.5312526
}
}
},
"buildTimestamp": 1669751017.1149175
}
}

+ 12
- 3
scripts/update_cache.py View File

@@ -14,10 +14,19 @@ PACKAGES_DIR = "../packages"
def get_plugin_build(plugin):
slug = plugin['slug']
version = plugin['version']
arch = 'lin'
package_filename = f"{slug}-{version}-{arch}.vcvplugin"
# Get package mtime
package_filename = f"{slug}-{version}-lin-x64.vcvplugin"
package_path = os.path.join(PACKAGES_DIR, package_filename)
return os.path.getmtime(package_path)
mtime = os.path.getmtime(package_path)
if mtime:
return mtime
# Alternative package filename
package_filename = f"{slug}-{version}-lin.vcvplugin"
package_path = os.path.join(PACKAGES_DIR, package_filename)
mtime = os.path.getmtime(package_path)
if mtime:
return mtime
return None


# Get the timestamp of the earliest commit touching the manifest file


Loading…
Cancel
Save