-
Notifications
You must be signed in to change notification settings - Fork 48
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
Discussion: usage of umu-database #137
Comments
Yeah, this is probably not the right place to discuss this. Existing clients seem to already query the endpoint or have some file to determine whether a fix exists for the game or not, so there's no need for protonfixes to make a request again. |
Instead, what we can discuss here is potentially changing the role of the database in protonfixes. I believe there are plans to distribute fixes remotely, so I see the database being helpful toward that end. This would prevent the need of users having to wait for the next GE-Proton or UMU-Proton release just to get a fix for their game. |
Is this even desirable? My understanding is that Proton is supposed to be "version based". And a fix might be compatible with the latest Proton GE, but not older ones... we saw that with the WMP patches (#111). If that's true, I don't see the point of the endpoint, and this doesn't fix the out-of-sync issues, or if it does, it's not an argument against unifying the database and umu-protonfixes. The DB is only meant to hold entries that have fixes available here. So keeping the information in multiple places just doesn't make sense. By the way, is there any information about these plans?
We could start by implementing the file structure as suggested earlier, or bundle the CSV as a subproject. |
the database -IS- needed. It serves as a focal point for all different launchers to pull required data. the main example is not knowing an UMU_ID. A launcher would query the database with the game title, store, and codename in order to retrieve the ID. Without the UMU_ID they have no way to know to set the ID and that fixes for that ID should be applied. I agree it likely isn't required here to fetch the title from the website and may be more efficient to include the csv, but the databaase is indeed a huge part of the project. whether they decide to query the website or package their own copy of the database is all up to them, the point being to have a record of the information provided from the db in order to properly pull UMU_IDs. |
closing -- I've added umu-database.csv as part of protonfixes and changed the title lookup to use it instead of requiring an internet conneciton: |
CC Open-Wine-Components/umu-database#39
We use the URL
umu.openwinecomponents.org
to look up the title of the game in case theumu-id
is set and we don't know it yet.We use this for logging purposes only, I think.
umu-protonfixes/fix.py
Lines 59 to 72 in 2348f5d
I'm not sure if this is the right place for that discussion, but it looks like the database is implemented for
umu-protonfixes
.My ideas for alternative implementations would also be implemented here. So I will just post it here.
We should consider if this is really necessary or just an overhead and sometimes even a hindrance.
Rationale:
umu-protonfixes
must to be in syncumu-protonfixes
will not be updatedOther implementations:
umu-id
via thecodename
.Alternatives:
For
umu-protonfixes
, we could bundle the CSV. This would keep it private and in sync.As I have previously mentioned, I believe we don't need the endpoint or the database:
The text was updated successfully, but these errors were encountered: