See https://github.com/chocolatey/choco for further development
Apache 2.0 - see docs/legal (just LEGAL in the zip folder)
##Please see the wiki
- .NET Framework 4.0
- PowerShell 2.0+
See docs/legal/CREDITS (just LEGAL/Credits in the zip folder)
The content from this repository has been moved to https://github.com/chocolatey/docs. If you have found an issue, or want to submit a fix, then please open an issue, or a PR, on that repository.
License: Other
See https://github.com/chocolatey/choco for further development
Apache 2.0 - see docs/legal (just LEGAL in the zip folder)
##Please see the wiki
See docs/legal/CREDITS (just LEGAL/Credits in the zip folder)
The Package Internalizer page has invalid URL's in the resources section for Getting Started With Chocolatey 4 Business & Jenkins CI and Using Chocolatey in Corporate Environments - Part 1.
Create documentation to setup Nexus for a hosted and caching repository.
There are links on Create Packages page and also on the Package Triage Process page to the Package Maintainer Handover page, however the page itself does not exist. Needs to be created.
I want to take over/help with package maintenance for my software
Based on the documentation, the site-admins should add the user to the package, no questions asked
I think the site-admins should verify that the sender is actually the vendor of the software.
I want to make a package for beta software (franz messenger). Unfortunately the documentation is not clear about what exactly I'd have to do to mark package versions as prerelease when pushing to the official choco-user repository.
set the beta as a prerelease when pushing the item to chocolatey.org (CreatePackages)
But in the docs about pushing packages I can't find anything that would explain how to do this with the command line.
Should I just extend the push command by -pre?
(from chocolatey-community/simple-server#26)
The current "Setup Normally" documentation states "Disable or remove the Default website" It should be noted why; or more importantly how to make Chocolatey Simple Server coexist with pre-existing production web servers. I tested and now am using on a new IIS installation I'm sure a lot of people don't want to setup a new server just for Chocolatey Simple Server if they don't need to.
The requirements to install Chocolatey should be at or near the top of the document, not between information about installing behind a proxy and the mini-FAQ.
Also, the Requirements section states that "the installation will attempt to install .NET 4.0 if you do not have it installed", but it sure doesn't do that for me, and I don't see where install.ps1 is doing that. (Is it?) Instead, Chocolatey happily installs without error and then promptly fails when you try to use it.
If .NET is an up-front requirement that all users (even ones who will give up when they read "restricted TLS") will recognize, then there is no need for the install.ps1 to attempt to install it, but when the requirements are buried and an incorrect(?) claim is made, a lot of potential users will give up.
Following the instructions of
When deprecating a Chocolatey Package, the following steps should be followed:
Create a new version of the deprecated Chocolatey Package.
Prepend [Deprecated] to the title of the package (e.g. <title="[Deprecated] Software Title" />
Update the package description: Why is the package being deprecated?
Add a dependency on the other package (if the package is being superseded).
Remove all files except the .nuspec from the Chocolatey Package.
Replace ... section in .nuspec with tag to prevent any file from being included with the package.
Remove the iconUrl.
Unlist all versions from the package gallery, except the final deprecated version. The final deprecated version is required so that there is an update path to the new package.
By following this process, any existing users who try to update the old package will automatically get the new package, as it will be installed as a dependency.
... when deprecating a package WITHOUT a replacement dependency results in:
Cannot create a package that has no dependencies nor content.
i.e. if there are no files and no dependency, you can't pack.
Suggestion:
Add to the docs: in the situation that the package is NOT being replaced by another package as a dependency, simply add chocolatey as a dependency to get around the problem, e.g. https://chocolatey.org/packages/ellp/86.20181230
If it's deemed this should be addressed in choco.exe, I'll be happy to create an issue there as well.
Parameter password example is not valid and will throw the following:
Variable reference is not valid. ':' was not followed by a valid variable name character. Consider using ${} to delimit the name.
https://github.com/chocolatey/choco-wiki/search?utf8=%E2%9C%93&q=%24pp%5B%27Password%27%5D&type=
Just as the title says, document the process you would use to create a Chocolatey package from a GitHub release. See this discussion
Located in this Link: https://chocolatey.org/docs/getting-started#overriding-default-install-directory-or-other-advanced-install-concepts
There is a reference located here:
Portable Package - packages that use zip or just contain the runtime software. Usually these packages do not require administrative privileges to install or run. See https://github.com/chocolatey/choco/wiki/ChocolateyFAQs#portable-application-something-that-doesnt-require-a-system-install-to-use">
I expected the link to work: https://github.com/chocolatey/choco/wiki/ChocolateyFAQs#portable-application-something-that-doesnt-require-a-system-install-to-use
By clicking on the link.
copy the link and paste it in a new page.
To explain what this repo is for, and how to go about contributing.
The Non-Administrative install section mentions link to portable packages as
https://chocolatey.org/packages?q=id%3Aportable
This only covers packages with both installation and portable version. For example, the package tablacus is not covered. A better link would be
https://chocolatey.org/packages?q=id%3Aportable+tag%3Aportable
I'm trying to create chocolatey packages that support package parameters. However, I'm struggling with the documentation at https://github.com/chocolatey/choco-wiki/blob/master/How-To-Parse-PackageParameters-Argument.md
NOTE: See #312 for Chocolatey v0.9.10 adding a helper to do the below with almost no boilerplate.
made me think I'd find info in that issue about some newly developed helper functions making the below example more easier to achieve. After reading through it, it looks like a discussion about how to improve the situation (mentioning native powershell parameters), but it doesn't look like something actually improved. So why is it useful to read that issue if you want to understand how it currently works?choco install packagename.nupkg -y -f -packageParameters '"/vst2:1 /vst3:0"'
, the lines 47 and 52 should trigger a warning and an error in the console but they don't. What am I doing wrong here?I appreciate any help!
Hi, I want to write a little script (one double klick) that automatically installs a predefined set of Software from Chocolatey but with some controlled reboots between the install commands to prevent interdependencies. How to accomplish that? :)
Example:
choco install ccleaner audacity firefox -y
reboot & wait 30 seconds after user logon
choco install thunderbird vlc gimp -y
reboot & wait 30 seconds after user logon
choco install app app app -y
reboot & wait 30 seconds after user logon
Considering that rawgit will be shutting down next year, and since they no longer allows adding new urls (well, not trought the website).
I would suggest to either remove the suggestion on the CreatePackages, or change it to use a different provider (in this case, I suggest jsdelivr).
I'm willing to open a PR to change it to jsdelivr, if acceptable.
NOTE: Originally reported over at chocolatey/choco#1682
Perhaps this should go on this page:
https://chocolatey.org/docs/create-packages
For example, placing a .skipAutoInstall
file in the package will cause the auto uninstaller to be skipped.
Add documentation around how the Chocolatey.org website works with the package icons.
A couple ideas up for discussion to improve standardization of deprecation:
Not that I expect others to use it, but I personally enjoy throwing the graphic
into the description.
EDIT: This topic is really about RETIRING a package versus DEPRECATING a package. A new issue has been opened at #110 to address it more directly.
The step:
Remove all files except the .nuspec from the Chocolatey Package.
Will result in package error if files section of .nuspec is pointing to tools directory. Removing the files section will pull in .git files. Updating files section exclude .git folder will not work either.
Based on @AdmiringWorm:
<files>
</files>
or
<files />
Will prevent the scm files from getting included in package.
The Package Maintainer Handover page is missing but is currently being linked to on the Package Triage Process page and the Create Packages page but the page being linked to does not exist and should be created.
Document moderation process and make it clearer both for moderators, maintainers and users.
https://chocolatey.org/docs/features-shim
The above page is littered with broken characters, after some, but not all of the quotation marks. I can't immediately see anything in the source that would cause this.
On the doc page parameter passing is used with =
From the page: Just pass --install-directory=value
along while on the gif there is no =
sign.
I have tried to specify the install directory with both without any luck. I have also tried to use all the others like --installdir
, every single time I got the following error.
PS D:\> choco install chocolatey --installdirectory 'myfolder'
Chocolatey v0.10.1
Installing the following packages:
chocolatey;--installdirectory;myfolder
By installing you accept licenses for the packages.
chocolatey v0.10.1 already installed.
Use --force to reinstall, specify a version to install, or try upgrade.
--installdirectory not installed. The package was not found with the source(s) listed.
If you specified a particular version and are receiving this message, it is possible that the package name exists but t
he version does not.
Version: ""
Source(s): "https://chocolatey.org/api/v2/"
myfolder not installed. The package was not found with the source(s) listed.
If you specified a particular version and are receiving this message, it is possible that the package name exists but t
he version does not.
Version: ""
Source(s): "https://chocolatey.org/api/v2/"
Chocolatey installed 0/3 packages. 2 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Warnings:
- chocolatey - chocolatey v0.10.1 already installed.
Use --force to reinstall, specify a version to install, or try upgrade.
Failures
- myfolder - myfolder not installed. The package was not found with the source(s) listed.
If you specified a particular version and are receiving this message, it is possible that the package name exists but t
he version does not.
Version: ""
Source(s): "https://chocolatey.org/api/v2/"
- --installdirectory - --installdirectory not installed. The package was not found with the source(s) listed.
If you specified a particular version and are receiving this message, it is possible that the package name exists but t
he version does not.
Version: ""
Source(s): "https://chocolatey.org/api/v2/"
PS D:\>
I fetched latest choco, ran build.bat and got a build failure. See the log below.
My machine installed .net 4.5.1
Anyone can help?
Thanks in advance.
= = = = = = = = = = = = = = = = = = = =
[echo] Setting compile variables
[echo] Finding and restoring all packages (C:\chocolatey.0.9.9.12\choco\lib\NuGet\NuGet.exe restore 'C:\chocolatey.0.9.9.12\choco\src\chocolatey.sln')
[exec] Unable to find version '1.1.86' of package 'coveralls.io'.
[exec] C:\chocolatey.0.9.9.12\choco.build\compile.step(66,6):
[exec] External Program Failed: C:\chocolatey.0.9.9.12\choco\lib\NuGet\NuGet.exe (return code was 1)
[echo] Compiling C:\chocolatey.0.9.9.12\choco\src\chocolatey.sln.
[echo] Building on 4.0
C:\chocolatey.0.9.9.12\choco\.build\compile.step(173,14):
Failed to start MSBuild.
C:\chocolatey.0.9.9.12\choco\.build\compile.step(173,14):
External Program Failed: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe (return code was 1)
From a recent email:
I was getting a new machine setup and obviously went to chocolatey to accelerate the process.
Quick Usability Suggestions
<pre>
tag for your text, it looks like bootstrap's documentation has a nice working example too.Hi,
On this page:
https://chocolatey.org/docs/create-packages#versioning-recommendations
The versioning could be clearer.
It could contain a reference example to the code in the nuspec file, like:
0.0.x
It could also show bad examples with explanations like:
Prod.123.x (bad because it's not only numbers)
11.1 (allegedly bad because it's two digits, it should be only one)
It could be clear on what is accepted like only numbers, or something like:
[0-9].[0-9].[0-9].[123456] (or whatever is correct). Also, having a clear sentence would be good, like only numbers separated by a dot, or something.
It could specify the maximum number of characters it can contains (apparently it's 20?)
Ex, to avoid having 1.2.3.4567891011121314...
The explanation about segments could be consolidated, it's not always clear what is inside a segment (probably the steps above should help clarify).
Cheers!
On the site it says to install the specific version of a package the user should use -version <version number>
which results in this from the choco cmd line:
PS C:\WINDOWS\system32> cup phraseexpress -y -version 12.0.93
Parsing -version resulted in exception:
Cannot bundle unregistered option '-e'.
Chocolatey v0.10.0 Business
the actual flag is --version
(two dashes) which works as intended.
PS C:\WINDOWS\system32> cup phraseexpress -y --version 12.0.93
Chocolatey v0.10.0 Business
Upgrading the following packages:
phraseexpress
By upgrading you accept licenses for the packages.
phraseexpress v12.0.93 is the latest version available based on your source(s).
Anywhere we cite -version
to be used with choco
needs to be fixed.
When retiring a Chocolatey Package, the following steps should be followed:
Personally, I prefer "[RETIRED]" over "[Retired]" as the status will be more noticeable.
An example retired package of mine:
https://chocolatey.org/packages/ellp/86.20181230
The scripts and Jenkins code have evolved since the page was created and it should now be updated with those new versions.
leave a commit
As an system engineer, it would be nice to install the latest chocolatey beta on a new machine. I would suggest to add this to the installation documentation, with an additional warning.
Add this to the Troubleshooting section of the wiki.
Create documentation to setup Artifactory for a hosted and caching repository.
Document how an organization would use the package internalizer with a CI/CD pipeline.
Create documentation to setup an artifacts repository in Azure DevOps.
Here on Testing Package, under Creating Packages
https://github.com/chocolatey/choco/wiki/CreatePackages#testing-your-package
When suggesting using sources from local directory, it needs also to pass the chocolatey repo as a source, otherwise you won't be able to pull dependencies, and you will be met with a Unable to resolve dependency
error instead.
By passing both the local dir and remote dir like -s “.,chocolatey”
things will just work!
The troubleshooting section currently doesn't have any information inside of it for working with registry.bad errors.
It took me a while to even figure out there was a GUI option, since it's not mentioned anywhere on the installation page. While it was pointed out to me the GUI is mentioned on the main page, it's a single line buried in content mid-page, easy to miss. It would make sense to add info about installing the GUI to the install page.
I was asked to make a PR, but I've never done it and have no clue how, nor do I know if just modifying the html is enough, and I'd rather not screw it up. So instead, I've attached the suggested new page source here. See lines 109 and 131 for the changes. If you'd like me to do a PR, I will, just didn't want to cause more trouble than help.
If the nuget repository returns multiple packages for IsLatestVersion the call to Downloadfile will fail.
This was triggered by a bug in Artifactory - however, it may be best to guard against such errors.
Exception calling "DownloadFile" with "2" argument(s): "The request was aborted: Could not create SSL/TLS secure channel."
At line:9 char:3
$downloader = new-object System.Net.WebClient
$downloader.DownloadFile($url, $file)
Bug in Artifactory:
https://www.jfrog.com/jira/browse/RTFACT-15525
Most Pages contain a table of content (TOC) with links to the subitems of the page.
If the subitem contains a slash /
the link to this subitem is broken on the website (https://chocolatey.org/docs/).
Example https://chocolatey.org/docs/security
Security.md has a subitem named Servers / IP Addresses
.
On Line 16 the TOC-link to this subitem is defined as:
- [Servers / IP Addresses](#servers--ip-addresses)
This is working for github and github-wiki markdown-preview/rendering, here a heading of foo / bar
gets a generated id/anchor-tag of foo--bar
.
But on the website a foo / bar
heading gets an id/anchor-tag of foo-bar
(only one minus).
There seems to be a little difference in auto-generating the anchor-tags of headings on the website which should be adjusted to the method that github is using.
Note: e.g. in Troubleshooting.md anchors that match the github-style had beed added by hand above the subitems-headings. Not sure if this is the preferred way to handle this.
https://chocolatey.org/docs/chocolatey-faqs
A link isn't closed properly at the start of the "What distinction does Chocolatey make between an installable and a portable application?".
It seems to be caused by a HTML anchor tag in the markdown - although I'm not sure why it's there, so didn't try to fix it!
<a name="AppVsTool" />
### What distinction does Chocolatey make between an installable and a portable application?
#### Installable application
FOSS has a Chocolatey helpers page but while Chocolatey licensed has a link for a page, it doesn't actually exist (see chocolatey.org/docs and scroll down on the left hand side to the bottom of the Paid section).
The following functions are known about and should be added:
It would be better to have the step by step and THEN a script that can be run to get Chocolatey.Server all set up correctly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.