Skip to content

Comments

Select by default newly added, recommended, mod pkgs during mod install#159

Merged
JohnAFernandez merged 2 commits intoKnossosNET:mainfrom
Shivansps:consider-newpkgs-modinstall
Mar 3, 2024
Merged

Select by default newly added, recommended, mod pkgs during mod install#159
JohnAFernandez merged 2 commits intoKnossosNET:mainfrom
Shivansps:consider-newpkgs-modinstall

Conversation

@Shivansps
Copy link
Member

@Shivansps Shivansps commented Feb 19, 2024

Figureout if a recommended pkg is missing from the previous version we are copying mod pkg selection from because the user unselected the pkg during install or because it is a new mod pkg.
In the case of the later select it by default

@Shivansps Shivansps added the enhancement New feature or request label Feb 19, 2024
Copy link
Contributor

@JohnAFernandez JohnAFernandez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I just was wondering where the cache code is. Was it already in place?

@Shivansps
Copy link
Member Author

The """cache""" is that local mod list so we only do one api call per mod/ver when we are checking pkgs in this way. Instead of doing like 10 calls if we need to check 10 pkgs.

Copy link
Contributor

@JohnAFernandez JohnAFernandez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spunds good

@JohnAFernandez JohnAFernandez merged commit c25acb4 into KnossosNET:main Mar 3, 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Selection status should consider whether a newly added package is recommended

2 participants