-
Notifications
You must be signed in to change notification settings - Fork 280
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
Add version file #694
Comments
You could get this information from GitHub (https://github.com/apple/pkl/releases/latest or the equivalent REST endpoint). |
Would remind me of another feature. Maybe the cli can print something like
"there is a new version available. Want to update? [y/n]"
…On Wed, Oct 16, 2024, 5:53 AM translatenix ***@***.***> wrote:
You could get this information from GitHub (
https://github.com/apple/pkl/releases/latest or the equivalent REST API).
—
Reply to this email directly, view it on GitHub
<#694 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACOBQ64ET5JZG5OGEYBDRF3Z3XPKTAVCNFSM6AAAAABQAP3T4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJVGY3TGNRZGM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I think something like https://services.gradle.org/versions/ could be very useful for tooling. |
The golang repo has it which makes it very easy to do without any jumping around so was hoping for the same
On 16 Oct 2024, at 04:53, translatenix ***@***.***> wrote:
You could get this information from GitHub (https://github.com/apple/pkl/releases/latest or the equivalent REST API).
—
Reply to this email directly, view it on GitHub<#694 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AA3V2QUXMECCGEOD2NYK2ADZ3XPKPAVCNFSM6AAAAABQAP3T4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJVGY3TGNRZGM>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Yeah that would be good also |
@StefMa Your idea would also work as well |
@L1ghtn1ng what is your workflow for discovering new Pkl versions? Can you use the GitHub releases API, or Maven's search API instead? Maven's search API:
|
Currently I just check the website to see the release version then bump the version in my script |
What would your flow look like if we had a version file? And, instead of that flow, can you ping Maven Central or GitHub releases instead? |
I would be able to do what I do in my golang updater were I query the version file and then compare the output of the current version installed and then update it if required, will see about the other flows but that would be having a version file is the simplest and easiest way of doing at first glance |
I don't think your ask is un-reasonable, but I'd like to see if there is significant interest here before adding a new file for this. But, in the meantime, you can unblock yourself by querying either the GitHub or Maven APIs for newer versions. |
@bioball I ported my script to python and using the maven API gives me the info I need and does the job |
Can a version file be added to the repo that contains always the latest stable released version in it please?
Will allow me to auto update pkl and I suspect others will be able to then as well
The text was updated successfully, but these errors were encountered: