Open srilman opened 1 year ago
Name | Link |
---|---|
Latest commit | 3fd71064a36560f921eb42ace04bea1203a6354c |
Latest deploy log | https://app.netlify.com/sites/conda-lock/deploys/63d58efacacd190009b709d8 |
Deploy Preview | https://deploy-preview-316--conda-lock.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Can you break this into a few smaller prs doing the model class moves first. The way this is now is very hard to review
Wonderful. Now we need a rebase here, whenever you get the chance, and then we can review.
I rewrote #300 to work on top of this PR. So we would need this PR in first.
This PR implements the new method of parsing source files, combining them, and representing lock specifications discussed in https://github.com/conda-incubator/conda-lock/issues/278#issuecomment-1371407231. The new approach is as follows:
SourceFile
object For example, we now parseenvironment.yaml
files usingruamel.yaml
instead ofpyyaml
because it can keep track of comments (and thus selectors) around.A SourceFile object is defined as containing:
aggregate_deps
object getting us dictionary mapping from platform to a list of unique dependencies (unique by name and manager)LockSpecification
object, now defined as