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

Show update and issue informations #63

Open
leukipp opened this issue Aug 13, 2024 · 1 comment
Open

Show update and issue informations #63

leukipp opened this issue Aug 13, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request info General purpose information

Comments

@leukipp
Copy link
Owner

leukipp commented Aug 13, 2024

With the release of cortile v2.3.0 , an online version checker and update indicator were introduced (see #23).

In v2.5.1, this feature has been further enhanced to request the following information from GitHub:

  • Fetch the latest release and display an update available hint if the current running version is outdated.
  • Fetch all pinned issues on startup and show them in the system tray menu.

As a result, two requests to the Github API will be made when the application starts.

The hint symbol will disappear once you have reviewed all the open information entries. This functionality will only work if caching has not been globally disabled.

@leukipp leukipp added enhancement New feature or request info General purpose information labels Aug 13, 2024
@leukipp leukipp self-assigned this Aug 13, 2024
@leukipp leukipp pinned this issue Aug 13, 2024
@leukipp
Copy link
Owner Author

leukipp commented Aug 15, 2024

In addition to the information that a new release is available, there is now also an Updates section in the systray menu, which immediately replaces the running cortile instance with the latest version available on github when clicked.
However, this only works if the path of the currently executed binary file is writable under the user who is running cortile.

Cortile releases adhere to the semver specification. Consequently, the update feature is only available for releases that include backward-compatible bug fixes (patches).

For minor or major releases, you may need to perform some backward-compatible steps (e.g. add/update entries in the config file) before applying the update. In those cases, the cortile update must still be carried out manually by downloading and replacing the existing binary file.

leukipp added a commit that referenced this issue Aug 15, 2024
leukipp added a commit that referenced this issue Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request info General purpose information
Projects
None yet
Development

No branches or pull requests

1 participant