ImranR98 / Obtainium

Get Android app updates straight from the source.
https://obtainium.imranr.dev
GNU General Public License v3.0
7.38k stars 162 forks source link

mono repo support #1666

Closed farfromrefug closed 3 months ago

farfromrefug commented 3 months ago

Prerequisites

Describe the bug I am the app developer of https://github.com/Akylas/OSS-DocumentScanner. Just yesterday i started releasing a second app from that same repo, in the monorepo way. Now i get users pissed becaused Obtainium see that new release as a release of the first app https://github.com/Akylas/OSS-DocumentScanner/issues/232 Is there a way to make a change to either obtainium or my repo so that obtainium can differentiate both app within github releases? For izzydroid the difference is made based on release tags ( it also parses the apks which you cant do). I am ok changing something else if it makes it easier for you

EDIT: users saw they could make it work with the regexp filtering feature. Which is good already! Do you think there would be a way to automate this? Crazy idea even config file at repo root, which obtainium could read, and which would define different apps with their needed regexp filter?

To Reproduce

Screenshots and Logs

Please complete the following information:

Additional context

ImranR98 commented 3 months ago

Yes, Obtainium has a "Release Title" filter in the per-app settings. You can set it to "Document Scanner" or "Card Wallet" as needed - then any release which doesn't have that string in the title will be ignored.

Do you think there would be a way to automate this?

There is a way for users to export and share their app configurations through links. You could do so and add those links to your README so users can just click on those instead of fiddling with the config themselves. You could even add contribute the configs to the crowdsourced config webpage. See here for details: https://github.com/ImranR98/apps.obtainium.imranr.dev

ImranR98 commented 3 months ago

I also noticed your GitHub tags are weird, you can use the "Version Extraction" to trim the string so Obtainium only takes the relevant parts.

ImranR98 commented 3 months ago

Went ahead and created the links:

Add to Obtainium (Card Wallet)

Add to Obtainium (Document Scanner)

farfromrefug commented 3 months ago

@ImranR98 awesome thanks a lot ! Will add those links to my github repo Edit: @ImranR98 what do you find weird with my tags?(maybe I can fix it) I need a lot of data in my tags because I need to differentiate iOS/android, github/playstore and then the version/build number. All that to generate change log based on commits