Skip to content

New rv sync command#648

Draft
deivid-rodriguez wants to merge 26 commits into
mainfrom
deivid-rodriguez/rv-sync
Draft

New rv sync command#648
deivid-rodriguez wants to merge 26 commits into
mainfrom
deivid-rodriguez/rv-sync

Conversation

@deivid-rodriguez

Copy link
Copy Markdown
Collaborator

Just sharing an initial WIP implementation of the command.

We'll want to group releases with the same dependencies together so that
we can resolve to more than one platform specific version and create a
lockfile compatible for different platforms. Keeping this sorted will
help with comparing deps for different releases.
Makes creating lockfile types more concise.
No need to create a Vec, just to immediately copy it to a new Vec.
The Display representation seems enough in most debug situations for
this type.
Not just the one for the current platform. That way, we can include all
resolved releases in the lockfile, making it compatible with more
platforms by default.
@a-chacon

Copy link
Copy Markdown
Contributor

@deivid-rodriguez is it ok for testing? I am waiting to use this command :)

@deivid-rodriguez

Copy link
Copy Markdown
Collaborator Author

I need to resume the work on this.

For now it's a very basic implementation that only supports Gemfiles with a single global source and no other sources. Basically just

source "https://gem.cooop"

# and then all `gem` entries without any explicit sources 

@a-chacon

Copy link
Copy Markdown
Contributor

I get it! If you need help testing, reviewing or whatever just tell me!

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