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

refactor: move code from Project to Environment #630

Merged

Conversation

baszalmstra
Copy link
Contributor

This PR refactors the code to extract project information from Environments instead of directly from the project.

This initial PR tries to retain the same surface level API as before where the accessors on the Project struct remains intact.

A next PR will remove this functions and force users to go through Environments instead of Project.

This PR currently refactos the platforms, channels and tasks functions. I will create a follow-up PRs to also refactor the system-requirements, activation and dependency functions.

@baszalmstra baszalmstra requested a review from ruben-arts January 8, 2024 14:12
Copy link
Contributor

@ruben-arts ruben-arts left a comment

Choose a reason for hiding this comment

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

After going over this in person I approve this!

@ruben-arts
Copy link
Contributor

@github, Please just automerge this, why doesn't that work anymore 😠

@ruben-arts ruben-arts merged commit 89356a7 into prefix-dev:main Jan 8, 2024
9 checks passed
@baszalmstra baszalmstra added this to the Multi-env milestone Jan 19, 2024
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.

2 participants