-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Package number inconsistencies #250
Comments
The web version also indexes the BeSly and FatElk repositories. I think you can see the details here: https://depot.haiku-os.org/#!/repositories?bcguid=bc198-QBID Does that explain the difference? |
Those repos are disabled by default. If I enable them then HDS shows 8136 packages. |
You can get a list of the packages exported from HDS with the following command;
You can get a list from Haiku with;
In HDS we see 7998 packages and for Haiku 7996. This gives two extra packages from HDS;
It looks like the cause of this is that two package versions in the database are set as
...there are quite a few cases of this and many date to 2022-04-29 so maybe there was an issue then. This may be the case of the anomaly -- can't be totally sure. I will try to look into it further soon. |
Looking into this a bit further this evening, I see that the data in HDS is most likely correct. It seems as if the problem might be coming from the fact that some packages have been issued under both a regular computer architecture such as Here is a raw database query to check on this;
My older obfuscated snapshot shows;
(@nielx ; it would be great if you would be able to run this same query and paste the results here to confirm the current state in the production database.) It is somewhat unclear what is "right" and "wrong" here because this is showing a historical trace of the packages' versions. What I think needs to happen here with
|
Output from the production database:
|
There is an anomaly with the Maybe for now we could fix the broken packages with;
That will make those anomalous versions appear to be deleted. |
I have applied the SQL to make them inactive. Let me know if I can be of further assistance. |
Thanks @nielx ; it looks like there is still a discrepancy. I will have to look into at again another time. |
Currently HaikuPorts x86_64 repo in HDS shows 8069 packages (including _devel, _source and _debug packages).
However, HD shows 7996 packages. pkgman also shows the same number.
The text was updated successfully, but these errors were encountered: