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

Automatic Updates #42

Open
Gocnak opened this issue Jun 26, 2024 · 3 comments
Open

Automatic Updates #42

Gocnak opened this issue Jun 26, 2024 · 3 comments
Labels
Good first issue An issue that should be accessible to new contributors. Priority: Medium Something that should be tried to be done in this release, but not as important as High priority. Size: Small Something that may take a day at most to do. Type: Feature Completely new feature to implement.

Comments

@Gocnak
Copy link
Member

Gocnak commented Jun 26, 2024

Lumper should be able to detect a new version on GitHub and link to downloading the new release for users. The version could be parsed via the source files on GitHub, or we can use the github API to check the releases page for latest and see if the tag version matches the currently deployed one.

Long term it would be great for Lumper to auto download the new version and restart using it.

@Gocnak Gocnak added Priority: Low Something not very essential to the release, can be done in free time and bumped back if needed. Size: Large Something that may take a week up to a month to implement. labels Jun 26, 2024
@tsa96
Copy link
Member

tsa96 commented Jun 26, 2024

Yeah, just pinging github API should work fine.

Probably most appropriate in a dedicated service, like BspService and PageService. You can access the Main Window via Program.Desktop and display a MsBox.Avalonia message box if out of date.

I started using HttpClient in my commit yesterday, be sure to use that, not the old WebClient thing.

@tsa96
Copy link
Member

tsa96 commented Jun 26, 2024

Assuming we're not actually any kind of installer and just linking the page, this is a relatively small issue, only real work is figuring out the github API endpoint, probably like 100 LOC tops.

@tsa96 tsa96 added Priority: Medium Something that should be tried to be done in this release, but not as important as High priority. Size: Small Something that may take a day at most to do. Type: Feature Completely new feature to implement. and removed Priority: Low Something not very essential to the release, can be done in free time and bumped back if needed. Size: Large Something that may take a week up to a month to implement. labels Jun 26, 2024
@tsa96
Copy link
Member

tsa96 commented Jun 26, 2024

On mobile which doesn't seem to support adding new labels, but this is a Good First Issue!

@tsa96 tsa96 added the Good first issue An issue that should be accessible to new contributors. label Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good first issue An issue that should be accessible to new contributors. Priority: Medium Something that should be tried to be done in this release, but not as important as High priority. Size: Small Something that may take a day at most to do. Type: Feature Completely new feature to implement.
Projects
None yet
Development

No branches or pull requests

2 participants