-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Fix: Update beta logic and query to handle empty report_url #141
Conversation
@hgy59, I’ve tested the updates in my test environment and believe I’ve resolved the issue while also covering some edge cases. Here are the details: Uploaded VersionsI uploaded two versions of Monit to the test environment. They are listed as follows: ![]() Admin Interface UpdateThe admin interface now correctly reflects the beta status. Previously, both versions were incorrectly marked as beta. This has been resolved: ![]() Synology Device LookupsThe lookups performed by Synology devices have also been updated.
Let me know if further adjustments are needed. |
af150aa
to
1fb4ec5
Compare
hey @publicarray, after this is merged, I believe we would need to publish a new |
@mreid-tt i'm happy to do work on this on the weekend. |
thanks @publicarray, let me know if I can be of assistance. |
@mreid-tt the latest update to v0.2.7 was reverted because it broke the package download. I don't know whether it is related to this PR. Beta Packages are lacking the changelog and the Update Button in DSM Package center.
But in Package Center it is empty and the Update Button is missing: If the broken downloads are not related to the changes here, we need to create a new issue... Can you double check this with the updated version? And Monit package is only shown if already installed. It is lacking under the Community Packages in DSM. (Ok this is a hint that it might be fixed with this PR). |
@hgy59 Thanks for the heads-up! I wasn’t aware we attempted to deploy this version or that there were issues — I never received an email or alert about #144. Regarding your comment on breaking package downloads, I’ll need more details on what happened. Ideally, you can simulate what DSM receives from the package repository using similar link constructions. The general structure is:
It would help to check whether the package appears in the results and what download URL is provided. My testing for this PR was limited to verifying the versions in the index. For example, the live server should return a link like this:
The key question is whether this link was incorrect due to v0.2.7 or if the link was correct but resulted in a server error. I haven’t tested using DSM as a client locally — just checked the server output via a browser. @publicarray, if you have any additional insights on how downloads were broken, feel free to add them to #144. That would help with diagnosing the issue. Regarding the changelog, it should also be present in the JSON response. The current online version returns:
My test setup included a value, but I can’t simulate your exact configuration without your DSM details. I suggest building a test URL, downloading it via a browser, and checking for the |
Fixes: #140