-
Notifications
You must be signed in to change notification settings - Fork 395
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
Build a script that can scan and recognise known software and features on existing machines. #35
Comments
Hi @centur - I'm from Chocolatey Software and we agree with this assessment of being able to sync what you already have as installed packages and then go from there. This functionality exists in one form already ( |
I'd like to see if we can make your request specific to something that we can do here in the dev box setup scripts and available for open source, so let's explore that instead here. How about if we could create a script here that could look at Chocolatey packages you already have installed and generate a boxstarter script? |
@ferventcoder I understand that there is an interest to drive users to software subscription model which I can accept if an app is extensively using \ depending on API that is hosted\maintained (and can't justify in many other cases), but this idea to reverse your existing box into a partial script - this is an entry barrier to get into using Chocolatey or any other modern packaging system. Script that looks into existing choco packages implies that I'm already using Chocolatey.
Having this available in free edition or as an external script ( which what I thought this repo is - not directly affiliated with chocolatey) sounds logical for me. |
Point me to an example boxstarter script and I can easily strip down https://chocolatey.org/packages/choco-package-list-backup for this. |
@centur Apologies if you misunderstood what I wrote above. I mentioned that this is an existing feature of our commercial editions and then said let's find something we can do for open source. Let me be clear - we are not interested in driving you to commercial editions - that is a decision you'd need to make on your own because the features hold enough value for you to pay for them. You will find huge value in our open source edition and hundreds of thousands of folks and organizations already do.
I'm not sure I follow - do you mean a barrier for you or for more folks?
Doing what you originally asked for is extremely difficult for a computer (somewhat easy for a person with an hour or two of time), and also brings a valuable time savings - if it saves 2+ hours of your time, its paid for itself. That's why it is only offered in commercial editions, and not considered a trickle down feature. This repository is not here to replace commercial features either as that could be harmful for the future of Chocolatey. I trust you understand (read: you are getting something completely free that costs many thousands of dollars in real money to ensure for those free services).
While it will take you a little time to do a bit more research, you net ahead versus going out and downloading and installing everything yourself. And then In the end though, it is your choice and we'll leave that with you. If Chocolatey/Boxstarter is not for you, that's fine - you don't have to use them, and we won't force you to do so. |
That said, here's a starter for getting everything (packages and software in Programs and Features) on your box into one list you can then start to put that into a boxstarter script:
|
It would be great if we can "reverse" our existing dev boxes into such scripts. It would tremendously speed up adoption of setup scripts. Every developer usually has his own setup already and task to writing your own script from scratch can be quite significant.
It looks reasonable to start with some revered script - searching over files and installed apps on existing machine and then generate corresponding
choco
statements for recognized packages or offer alternatives for known but not yet "chocolated" ones. Running this script allows developer to start from his set up and trim the things that are unnecessary.The text was updated successfully, but these errors were encountered: