Closed jdeanwallace closed 10 months ago
⏳ @jotaen4tinypilot please review this Pull Request
@jotaen4tinypilot - Thanks for the review! I think I jumped the gun with this PR and didn't think it through properly. I've decided to scrap this PR in favor of https://github.com/tiny-pilot/tinypilot-pro/pull/1118 where we maintain the current timestamp formats, but ensure that each filename is based on the same timestamp.
Related https://github.com/tiny-pilot/tinypilotkvm.com/issues/1040
This PR changes the TinyPilot bundle filename schema to match that of the TinyPilot Pro image filename schema:
This change is needed to be able to infer the image filename from the bundle filename.
We're basically switching the position of the
${TIMESTAMP}
with the position of the${TINYPILOT_VERSION}
, in the bundle filename.Before
After
Notes
${TIMESTAMP}
portion of the filename because the${TINYPILOT_VERSION}
portion can also contain hyphens, especially in the community variant (e.g.,1.8.0-23+649a6b2
). So this would mean we couldn't easily split the filename into its different portions, using something likefilename.split("-")
.However, we never needed to split the bundle filename back into its separate portions. So I think it's A-OK.