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

Proper "Fetch" Mode #78

Merged
merged 2 commits into from
Dec 3, 2023
Merged

Proper "Fetch" Mode #78

merged 2 commits into from
Dec 3, 2023

Conversation

donn
Copy link
Member

@donn donn commented Dec 3, 2023

  • Created GitHubSession based on work from IPM - no longer global, created by click in the CLI and passed around to function
  • Created new function fetch() based on was what previously get() (now deprecated), accessible over the CLI using volare fetch, which download versions and/or SCLs without affecting the top-level PDK root
  • Changed get_current_version, get_installed_list, get_version_dir and root_for to print deprecation warnings
  • Consolidated SCL list processing in Family-- Family.resolve_libraries() takes an iterable list of inputs and returns the set of target SCLs, expanding default into the default set and all into all SCLs as appropriate
  • API Break: Most arguments that aren't pdk_root, pdk, version are now keyword-only arguments

* Created `GitHubSession` based on work from IPM - no longer global, created by `click` in the CLI and passed around to function
* Created new function `fetch()` based on was what previously `get()` (now deprecated), accessible over the CLI using `volare fetch`, which download versions and/or SCLs  without affecting the top-level PDK root
* Changed `get_current_version`, `get_installed_list`, `get_version_dir` and `root_for` to print deprecation warnings
* Consolidated SCL list processing in `Family`-- `Family.resolve_libraries()` takes an iterable list of inputs and returns the set of target SCLs, expanding `default` into the default set and `all` into all SCLs as appropriate
* **API Break**: Most arguments that aren't `pdk_root`, `pdk`, `version` are now keyword-only arguments
@donn donn merged commit afba629 into main Dec 3, 2023
4 checks passed
@donn donn deleted the volare_fetch branch December 3, 2023 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant