Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to Track Source Code Repos For F-Droid Packages #1138

Closed
jollySleeper opened this issue Dec 8, 2023 · 7 comments
Closed

Ability to Track Source Code Repos For F-Droid Packages #1138

jollySleeper opened this issue Dec 8, 2023 · 7 comments

Comments

@jollySleeper
Copy link

Prequisites
Can't add two different repos(fdroid & github) with same package signature. Obtanium says that the current app has been already.
For Example: If I'm tracking Aurora Store from F-Droid. Obtanium won't allow me add Aurora Store Gitlab Repo which would be Track Only Repo for seeing if F-Droid builds are lagging behind.

Describe the feature
Can We Get an option to add the Source Repos(Github/Gilab) for F-Droid Packages so that we don't have to add Two repos for the same Package. Like in detail page can we get the info and changelog of latest Github/Gitlab/Codeberg release of the same package.

That would be great. Also, thanks for this app. Much appreciated <3

@foxjaw
Copy link

foxjaw commented Dec 8, 2023

I don't see a point of tracking two different update paths of a same app. If you believe F-Droid updates lack behind, I honestly recommend tracking source repos, as you're updating the app directly from the developer's page.

Obtainium itself is primarily designed to track source code repos like GitHub, GitLab, Codeberg. And f-droid tracking was actually secondary, like a bonus.
If the dev doesn't provide releases in his/her source repos, instead decides to only provide through F-Droid means, then that would make sense to track F-Droid repos. Other than that I don't think there's any use of tracking both at a time.

@foxjaw
Copy link

foxjaw commented Dec 8, 2023

As for your comment in one of my issue, I would actually agree with you. Tracking from f-droid repo, should also check whether the dev had releases in his source repo. If he had, then track that instead. But I would still not recommend tracking both separately. Either one or or the other.

@jollySleeper
Copy link
Author

Fair Enough, got your point.

If Obtanium can figure out source code repos of Fdroid Apps at least a link to it Might Help

@foxjaw
Copy link

foxjaw commented Dec 8, 2023

You can manually go check the source repos on your browser btw. This is not much of a concern & need not to code anything.
Also, Obtainium tracks apps based on their app_id which is unique. Hence two app trackers of same app_id can't exist.

@jollySleeper
Copy link
Author

You can manually go check the source repos on your browser btw. This is not much of a concern & need not to code anything.

This is the exact thing that would be automated. The same way we can go to the Repo and check for releases and download the latest release for each app.
A little bit of Automation makes our life easy.

@ImranR98
Copy link
Owner

Yes, App IDs must be unique in Obtainium.

For Example: If I'm tracking Aurora Store from F-Droid. Obtanium won't allow me add Aurora Store Gitlab Repo which would be Track Only Repo for seeing if F-Droid builds are lagging behind.

You can still do this, just make sure the track-only app was set to track-only from the beginning instead of adding it normally and then switching on the track-only mode. This way, the app would be added with a randomly generated ID instead of the real package ID. Then you can add the F-Droid version which would use the real ID.

Note: The use of randomly-generated IDs when adding an app as track-only is not consistent for all sources. This will be fixed in the next release.

In general, I think it should be up to the user to add the F-Droid and original source repos separately - it would only need to be done once so I don't think the added complexity to automate it would make sense.

@ImranR98 ImranR98 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 17, 2023
ImranR98 added a commit that referenced this issue Dec 17, 2023
- Get real author name for F-Droid (#1076)
- Always add Track-only apps with random ID (#1138)
- Minor UI fix (#1162)
- Fix 'verify latest' option for GitHub (#1163)
@jollySleeper
Copy link
Author

Thank You Soo Much for This <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants