Replies: 5 comments
-
If i understood correctly. You want to skip patching an app if it the same version of the app was patched in the past. If yes, i see issues with this.
|
Beta Was this translation helpful? Give feedback.
-
Yup that's correct and I see your points. I could see a workaround for 1 by checking the output directory for an existing APK with that version but I see what you mean about 2. I'm not super familiar with the CLI tool so I'll need to do some digging but if the patches have dates/version you could store those along with the last app version patched to some kind of state file. Eg.:
Then if the flag is on compare the app version and patch versions (or dates). Though this kind of approach would now add a kind of state to the build and I could understand not wanting that. |
Beta Was this translation helpful? Give feedback.
-
Hey @amura11, I assume that your main objective is to build patches on new patch releases. If so, maybe I could provide a valuable information on this. I have implemented the update mechanism for the github builder using a python script for logics and github workflow for scheduling the run. So, let me explain how the update routine works: Example run -> https://github.com/IMXEren/rvx-builds/actions/runs/8680371157/job/23800767266
If you want you can checkout the source code here: |
Beta Was this translation helpful? Give feedback.
-
Yes, Every time builder run it maintains a file(as of now file info is not getting used). But i think it will serve your purpose. See the file format here.
Yes, It's better to keep the builder stateless and maybe write a external service which commands the builder to just build the apps when required. |
Beta Was this translation helpful? Give feedback.
-
Auto release has now been implemented. Cheery on top. |
Beta Was this translation helpful? Give feedback.
-
Support guidelines
Description
Add an option, either globally or per application, that will skip patching an application if the version has already been patched. Since the output filename has the version in it a simple check before patching if the flag is on and the version is already patched skip that application.
Motivation
I want to build a docker container to run in unRAID that runs the application on a schedule so when a new version is ready for patching it gets downloaded, patched, and I get notified so I can update right away.
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions