Feature: Add dinobuildr version tracking #144
Labels
No labels
bug
cancelled
corsica
decision
documentation
duplicate
enhancement
help wanted
invalid
mozilla-build
question
security
testing
vidyo-kiosk
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jlin/dinobuildr#144
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
With #143 we've come to a point where earlier versions of dinobuildr.sh will no longer be able to communicate with the information on Github.
Adding in versioning of some sort whether a 2.0.0 or 2018.12.20.a form is used and inserted into dinobuildr.sh and perhaps also dino_engine.py would make it easier to confirm with the team that everyone is using a compatible version of the script.
Going with a strictly numeric version system would mean that we'll need to assess what level of changes count for Major, Minor, and Incremental versions.
@luciusbono I'm not sure who else we should loop into this discussion. It would be nice to get it set up and synced into the main dinobuildr.sh script, and add in a "requires dinobuildr.sh version xyz or up" in dino_engine.py.
With QuickLook it would be easy to have a version comment added into dinobuildr.sh that would be readily visible when previewed from Finder (so it is a 2 second check).
Strong +1. We considered doing this with a hash initially.
Original proposal was we hash
dino_engine.pyand include this in thedinobuildr.shscript. If the hash doesn't match, we break upstream compatibility. Quick pros and cons off the top of my head:Pros
Cons
dino_engine.pywhich means config filesI'm torn, because I think semantic versioning is probably the way to go here, but having an upstream hash check would be really nice, since we are just blind firing a curl command (albeit a curl command we trust).
I think the ultimate future for this is a signed package that kicks dinobuildr off or a signed GUI app thing that just looks upstream and does a semantic version check.
This is a cool idea. Do you think this is more of a priority than config files?