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

Feature request: instal Sublime project dependencies with one command #1406

Closed
serhiipalash opened this issue Feb 3, 2019 · 3 comments
Closed

Comments

@serhiipalash
Copy link

serhiipalash commented Feb 3, 2019

Hi! Thank you for this great plugin!

I want to automate packages installation for our project. The idea is that we hire a new guy and all he needs to do is to run one command in Sublime Package Control and then he gets the standard development environment for our team. The command name could be Install Project Dependencies. Required packages could be defined in <project_name>.sublime-project file under packages key.

What do you think, is this a good idea? Maybe someone already asked for this and you can contact me with this person, so we can create a pull request?

@FichteFoll
Copy link
Collaborator

FichteFoll commented Feb 4, 2019

Check out the Package Control: Advanced Install Package command in the command palette, as that allows to paste a list of packages for PC to install in one go.

@deathaxe
Copy link
Collaborator

deathaxe commented Feb 5, 2023

I don't think it's feasable to install/uninstall packages on a per-project basis as several projects may be open at the same time in several windows.

Deploying a Packages/User/Package Control.sublime-settings with a list of "installed_packages": [...] should be enough to get new users started with a pre-defined set of packages.

Other than that Package Control: Advanced Install Package can be used in PC 3.x.

All relevant commands to handle installation, upgrade, removal, enabling or disabling packages will be available in PC 4.0 and can be executed using subl.

Install Packages

subl -b --command 'install_packages {"packages": ["package1", "package2"]}'

Upgrade Packages

subl -b --command 'upgrade_packages {"packages": ["package1", "package2"]}'

Upgrade All Packages

subl -b --command 'upgrade_all_packages'

Remove Packages

subl -b --command 'remove_packages {"packages": ["package1", "package2"]}'

Enable Packages

subl -b --command 'enable_packages {"packages": ["package1", "package2"]}'

Disable Packages

subl -b --command 'disable_packages {"packages": ["package1", "package2"]}'

@deathaxe
Copy link
Collaborator

Related with #1633

@deathaxe deathaxe closed this as not planned Won't fix, can't repro, duplicate, stale Apr 2, 2023
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

No branches or pull requests

3 participants