Skip to content

Conversation

savil
Copy link
Collaborator

@savil savil commented Jun 21, 2023

Summary

  • Remove devbox plan command. This is no longer used anywhere.
    • this means we can remove devbox.ShellPlan from the public interface
  • Move plansdk.Analyzer to initrec/analyzer/analyzer.go. It is exclusively used in initrec/recommenders.
  • Move plansdk/version to analyzer/version. It is also exclusively used in initrec/recommenders.

My next PR will likely refactor plansdk further since it now has two unrelated structs: FlakeInput and NixpkgsInfo.

How was it tested?

  • opened devbox shell in examples/development/go/hello-world/.

    • ran go run .
  • testscripts should pass

savil added 2 commits June 20, 2023 17:40
- Remove `devbox plan` command. This is no longer used anywhere.
  - this means we can remove `devbox.ShellPlan` from the public interface
- Move `plansdk.Analyzer` to `initrec/analyzer/analyzer.go`. It is exclusively used in `initrec/recommenders`.
- Move plansdk/version to analyzer/version. It is also exclusively used in `initrec/recommenders`.
Copy link
Collaborator Author

savil commented Jun 21, 2023

Base automatically changed from savil/remove-search-client-cache to main June 21, 2023 15:41
@savil savil merged commit ceb5ae4 into main Jun 21, 2023
@savil savil deleted the savil/cleanup-plansdk branch June 21, 2023 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants