pixincreate / PixeneOS

GrapheneOS with additionals
https://pixincreate.github.io/PixeneOS/
MIT License
7 stars 2 forks source link

feat: allow user to trigger build for same version(force build) #66

Open pixincreate opened 1 month ago

pixincreate commented 1 month ago
pixincreate commented 1 month ago

support for forcing ota updates to the same version (with flavor) will be added in future. it will be a significant change and will need extensive testing. again, i feel there exist a genuine use case where updating modules to the latest version for new features and fixes are needed. however, that should not spam users with builds. so there has to be multiple checks added before pushing an ota and should include human interaction is needed is what i feel.

https://github.com/pixincreate/PixeneOS/pull/52#issuecomment-2424993900

we can do something like below:

  • put a new flag in declarations.sh that goes by name something like FORCE_UPDATE and should be turned off by default
  • The user should have an option to change it by putting the same in env.toml
  • If this flag is true, it should then check if the modules have been updated since the last release, if yes, GrapheneOS version number should not matter, a build has to be built

https://github.com/pixincreate/PixeneOS/pull/52#issuecomment-2425004981