-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from DrewNaylor/latest-version-displayer
Experimental latest version displayer The latest version of a package can now be displayed in its own column (currently hard-coded to be hidden). Optionally, the latest version can be the only version that's loaded, but some packages such as `AdoptOpenJDK.OpenJDK` have an issue with this right now where the version that's displayed as the "latest" is actually an older version due to that being the last version added to the database. Additionally, this feature requires loading from the database to be on for it to do anything useful. Please be aware that **this is an experimental feature** and isn't ready to be used all the time. Other changes and details: - New **experimental** setting added - `OnlyDisplayLatestPackageVersion`. Boolean; defaults to `False` - If we're loading from the database, this will make it so that only the latest version of a package is shown in the list. As mentioned above, it's not reliable yet and sometimes displays the wrong version as the latest. - `libguinget.GetPackageDetailsTableFromSqliteDB` now returns four items, with the fourth one being what it thinks is the latest version. - Although I'm pretty sure no-one else is using `libguinget` yet, this may impact people using it. Not entirely sure what happens if you don't use all four items, though. - Instead of concatenating a `String`, we're now using a `List(Of String)` to store the manifest paths. - This reduces complexity and makes it so that we don't have to split the string before using it. - As a side effect, there's only one thing that has to be removed when looping through the manifest paths list instead of two (`...To ManifestPaths.Count - 1` instead of `...To ManifestPaths.Count - 2`). - Again, this will impact people using `libguinget` if anyone else is using it, so they'll have to modify their code if they update `libguinget` when this version is out.
- Loading branch information
Showing
7 changed files
with
99 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.