Closed Sami32 closed 2 weeks ago
When the releases page is empty Obtainium doesn't provide any date change information.
My suggestion is that in such cases where we track-only some applications, the Tags page date information should be used as a fallback:
https://codeberg.org/iNPUTmice/Conversations/tags https://github.com/cmeng-git/atalk-android/tags https://git.silence.dev/Silence/Silence-Android/-/tags
For GitHub I'm not sure where the dates on the tags page come from, but they're not available in the API request. For example: https://api.github.com/repos/ImranR98/Obtainium/tags
Codeberg on the other hand does provide a date, for example: https://codeberg.org/api/v1/repos/iNPUTmice/Conversations/tags Same goes for GitLab: https://gitlab.com/api/v4/projects/AuroraOSS%2FAuroraStore/repository/tags So I'll add those in the next release.
Nice, thanks.
But your code still fail to pick the date at GitHub release with the above mentioned repo: https://api.github.com/repos/kiwibrowser/src.next/releases
About GitHub Tags it can be got from their commit: https://api.github.com/repos/ImranR98/Obtainium/commits/06cbe74c6c6518c556b2c7e04ffd9c44f29236fe
Or with TAG_COMMIT_DATE
from the GitHub GraphQL API v4:
https://docs.github.com/en/graphql
Edit: Their API v1 used to provide tags date.
It's not practical to make a separate API request for each tag to get its release date from the commit API. We would need one API endpoint that returns all the tags plus their release dates, like in the codeberg example.
I agree, GitHub should have cared more for their API tags...but we've to deal with it, sadly:
https://pub.dev/packages/graphql#query https://github.com/juancastillo0/leto
Do not show the application change date with some of the non installed in track-only mode and one installed manually.
To Reproduce
Screenshots and Logs![IMG_20240610_122439](https://github.com/ImranR98/Obtainium/assets/18471069/b4494df0-1a71-411d-950b-9ea5e39cf404)
Please complete the following information:
Additional context Kiwi browser (not installed, Track-only mode) & SMSsecure (Installed manually, updated) https://github.com/kiwibrowser/src.next/releases https://f-droid.org/packages/org.smssecure.smssecure/