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

wally update command #4

Closed
LPGhatguy opened this issue Jul 26, 2021 · 3 comments
Closed

wally update command #4

LPGhatguy opened this issue Jul 26, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@LPGhatguy
Copy link
Contributor

LPGhatguy commented Jul 26, 2021

Two major uses:

wally update

Update all dependencies. This will basically just be the same code as wally install, but without populating the try_to_use map with anything.

This is the same as deleting the package's lockfile and running wally install again.

wally update [package-specs]

This should update specific packages only, leaving the rest alone. We should be able to specify package names or package requirements to update here:

# Update roact. If we have multiple versions of roact at once, try to update them all.
wally update roblox/roact

# Update just Promise 2.x, not any other versions like 3.x
wally update evaera/[email protected]

# Update a few things at once
wally update roblox/rodux evaera/fabric
@LPGhatguy LPGhatguy added the enhancement New feature or request label Jul 26, 2021
@u-train
Copy link
Contributor

u-train commented Jun 8, 2023

Should users be able to update any dependencies (meaning transitive dependencies as well), or just ones they specified on the manifest?

I think the former would be better since there are more options. Cases where low-level dependencies not directly used can be a source of bugs and hence needing updates.

@benbrimeyer
Copy link

Being able to target transient dependences sounds like a mire of odd behavior since you won't be able to audit if your dependencies are going to behave properly

@magnalite
Copy link
Member

Closed by #140

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants