Skip to content

Commit

Permalink
AU: 2 updated - git git.install
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey Community committed Jun 13, 2022
1 parent a7d1ea2 commit d0e46e1
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 69 deletions.
39 changes: 9 additions & 30 deletions automatic/git.install/git.install.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,50 +4,29 @@
<metadata>
<id>git.install</id>
<title>Git (Install)</title>
<version>2.36.0</version>
<version>2.36.1</version>
<authors>The Git Development Community</authors>
<owners>chocolatey-community</owners>
<summary>Git for Windows offers a native set of tools that bring the full feature set of the Git SCM to Windows</summary>
<description><![CDATA[
Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM to Windows while providing appropriate user interfaces for experienced Git users and novices alike.
<description><![CDATA[Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM to Windows while providing appropriate user interfaces for experienced Git users and novices alike.
## Features
* **Git BASH**: Git for Windows provides a BASH emulation used to run Git from the command line. *NIX users should feel right at home, as the BASH emulation behaves just like the "git" command in LINUX and UNIX environments.
* **Git GUI**: As Windows users commonly expect graphical user interfaces, Git for Windows also provides the Git GUI, a powerful alternative to Git BASH, offering a graphical version of just about every Git command line function, as well as comprehensive visual diff tools.
* **Shell Integration**: Simply right-click on a folder in Windows Explorer to access the BASH or GUI.
- **Git BASH**: Git for Windows provides a BASH emulation used to run Git from the command line. *NIX users should feel right at home, as the BASH emulation behaves just like the "git" command in LINUX and UNIX environments.
- **Git GUI**: As Windows users commonly expect graphical user interfaces, Git for Windows also provides the Git GUI, a powerful alternative to Git BASH, offering a graphical version of just about every Git command line function, as well as comprehensive visual diff tools.
- **Shell Integration**: Simply right-click on a folder in Windows Explorer to access the BASH or GUI.
## Package parameters
- `/GitOnlyOnPath` - Puts gitinstall\cmd on path. This is also done by default if no package parameters are set.
- `/GitAndUnixToolsOnPath` - Puts gitinstall\bin on path. This setting will override `/GitOnlyOnPath`.
- `/NoAutoCrlf` - Ensure _'Checkout as is, commit as is'_. This setting **only affects new installs**, it will not override an existing `.gitconfig`.
- `/WindowsTerminal` - Makes `vim` use the regular Windows terminal instead of MinTTY terminal.
- `/NoShellIntegration` - Disables open GUI and open shell integration ( _"Git GUI Here"_ and _"Git Bash Here"_ entries in context menus).
- `/NoGuiHereIntegration` - Disables open GUI shell integration ( _"Git GUI Here"_ entry in context menus).
- `/NoShellHereIntegration` - Disables open git bash shell integration ( _"Git Bash Here"_ entry in context menus).
- `/NoCredentialManager` - Disable _Git Credential Manager_ by adding `$Env:GCM_VALIDATE='false'` user environment variable.
- `/NoGitLfs` - Disable Git LFS installation.
- `/SChannel` - Configure Git to use the Windows native SSL/TLS implementation (SChannel) instead of OpenSSL. This aligns Git HTTPS behavior with other Windows applications and system components and increases manageability in enterprise environments.
- `/NoOpenSSH` - Git will not install its own OpenSSH (and related) binaries but use them as found on the PATH.
- `/WindowsTerminalProfile` - Add a Git Bash Profile to Windows Terminal.
- `/Symlinks` - Enable symbolic links (requires the SeCreateSymbolicLink permission). Existing repositories are unaffected by this setting.
- `/DefaultBranchName:default_branch_name` - Define the default branch name.
- `/Editor:Nano|VIM|Notepad++|VisualStudioCode|VisualStudioCodeInsiders|SublimeText|Atom|VSCodium|Notepad|Wordpad|Custom editor path` - Default editor used by Git. The selected editor needs to be available on the machine (unless it is part of git for windows) for this to work.
See the [Git Package Parameters documentation page](https://github.com/chocolatey-community/chocolatey-packages/blob/master/automatic/git.install/ARGUMENTS.md).
### Experimental parameters
Warning: the following parameters are experimental in the git installer and could stop working at any point.
- `/PseudoConsoleSupport` - Enable experimental support for pseudo consoles. Allows running native console programs like Node or Python in a Git Bash window without using winpty, but it still has known bugs.
- `/FSMonitor` - Enable experimental built-in file system monitor. Automatically run a built-in file system watcher, to speed up common operations such as `git status`, `git add`, `git commit`, etc in worktrees containing many files.
Example: `choco install git.install --params "/GitAndUnixToolsOnPath /NoGitLfs /SChannel /NoAutoCrlf"`
Example for passing in package parameters:
`choco install git.install --params "/GitAndUnixToolsOnPath /WindowsTerminal /NoAutoCrlf`
## Notes
- The package uses default install options minus cheetah integration and desktop icons. Cheetah prevents a good upgrade scenario, so it has been removed.
- **If the package is out of date please check [Version History](#versionhistory) for the latest submitted version. If you have a question, please ask it in [Chocolatey Community Package Discussions](https://github.com/chocolatey-community/chocolatey-packages/discussions) or raise an issue on the [Chocolatey Community Packages Repository](https://github.com/chocolatey-community/chocolatey-packages/issues) if you have problems with the package. Disqus comments will generally not be responded to.**
]]></description>
<projectUrl>https://git-for-windows.github.io/</projectUrl>
<projectSourceUrl>https://github.com/git-for-windows/git</projectSourceUrl>
Expand Down
8 changes: 4 additions & 4 deletions automatic/git.install/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ in verifying that this package's contents are trustworthy.
The installer have been downloaded from GitHub and can be verified like this:

1. Download the following installers:
32-Bit: <https://github.com/git-for-windows/git/releases/download/v2.36.0.windows.1/Git-2.36.0-32-bit.exe>
64-Bit: <https://github.com/git-for-windows/git/releases/download/v2.36.0.windows.1/Git-2.36.0-64-bit.exe>
32-Bit: <https://github.com/git-for-windows/git/releases/download/v2.36.1.windows.1/Git-2.36.1-32-bit.exe>
64-Bit: <https://github.com/git-for-windows/git/releases/download/v2.36.1.windows.1/Git-2.36.1-64-bit.exe>
2. You can use one of the following methods to obtain the checksum
- Use powershell function 'Get-Filehash'
- Use chocolatey utility 'checksum.exe'

checksum type:
checksum32: 5DE71F60CA0012E5EFC6E991696095D3EB5A80D156FB404C3FBE8317BA690313
checksum64: 5196563BA07031257D972C0B3C2EBD3227D98A40587278E11930DBC2F78D4E69
checksum32: 0A50735BD088698E6015265D9373CB0CC859F46A0689D3073F91DA0DC0FE66AA
checksum64: 08A0C20374D13D1B448D2C5713222FF55DD1F4BFFA15093B85772CC0FC5F30E7

File 'LICENSE.txt' is obtained from <https://github.com/git-for-windows/git/blob/703601d6780c32d33dadf19b2b367f2f79e1e34c/COPYING>
4 changes: 2 additions & 2 deletions automatic/git.install/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ $pp = Get-PackageParameters

Stop-GitSSHAgent

$fileName32 = 'Git-2.36.0-32-bit.exe'
$fileName64 = 'Git-2.36.0-64-bit.exe'
$fileName32 = 'Git-2.36.1-32-bit.exe'
$fileName64 = 'Git-2.36.1-64-bit.exe'
$silentArgs = "/VERYSILENT", "/SUPPRESSMSGBOXES", "/NORESTART", "/NOCANCEL", "/SP-", "/LOG", (Get-InstallComponents $pp)
$silentArgs += Get-InstallOptions $pp

Expand Down
4 changes: 2 additions & 2 deletions automatic/git/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img src="https://cdn.jsdelivr.net/gh/chocolatey-community/chocolatey-packages@10a8d98b2f320b565fa5349a4352e79666db71ff/icons/git.svg" width="48" height="48"/> [git](https://chocolatey.org/packages/git)
# <img src="https://cdn.jsdelivr.net/gh/chocolatey-community/chocolatey-packages@10a8d98b2f320b565fa5349a4352e79666db71ff/icons/git.svg" width="48" height="48"/> [git.install](https://chocolatey.org/packages/git.install)

Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM to Windows while providing appropriate user interfaces for experienced Git users and novices alike.

Expand All @@ -13,7 +13,7 @@ Git for Windows focuses on offering a lightweight, native set of tools that brin
See the [Git Package Parameters documentation page](https://github.com/chocolatey-community/chocolatey-packages/blob/master/automatic/git.install/ARGUMENTS.md).

Example for passing in package parameters:
`choco install git --params "/GitAndUnixToolsOnPath /WindowsTerminal /NoAutoCrlf`
`choco install git.install --params "/GitAndUnixToolsOnPath /WindowsTerminal /NoAutoCrlf`

## Notes

Expand Down
41 changes: 10 additions & 31 deletions automatic/git/git.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,50 +4,29 @@
<metadata>
<id>git</id>
<title>Git</title>
<version>2.36.0</version>
<version>2.36.1</version>
<authors>The Git Development Community</authors>
<owners>chocolatey-community</owners>
<summary>Git for Windows offers a native set of tools that bring the full feature set of the Git SCM to Windows</summary>
<description><![CDATA[
Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM to Windows while providing appropriate user interfaces for experienced Git users and novices alike.
<description><![CDATA[Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM to Windows while providing appropriate user interfaces for experienced Git users and novices alike.
## Features
* **Git BASH**: Git for Windows provides a BASH emulation used to run Git from the command line. *NIX users should feel right at home, as the BASH emulation behaves just like the "git" command in LINUX and UNIX environments.
* **Git GUI**: As Windows users commonly expect graphical user interfaces, Git for Windows also provides the Git GUI, a powerful alternative to Git BASH, offering a graphical version of just about every Git command line function, as well as comprehensive visual diff tools.
* **Shell Integration**: Simply right-click on a folder in Windows Explorer to access the BASH or GUI.
- **Git BASH**: Git for Windows provides a BASH emulation used to run Git from the command line. *NIX users should feel right at home, as the BASH emulation behaves just like the "git" command in LINUX and UNIX environments.
- **Git GUI**: As Windows users commonly expect graphical user interfaces, Git for Windows also provides the Git GUI, a powerful alternative to Git BASH, offering a graphical version of just about every Git command line function, as well as comprehensive visual diff tools.
- **Shell Integration**: Simply right-click on a folder in Windows Explorer to access the BASH or GUI.
## Package parameters
- `/GitOnlyOnPath` - Puts gitinstall\cmd on path. This is also done by default if no package parameters are set.
- `/GitAndUnixToolsOnPath` - Puts gitinstall\bin on path. This setting will override `/GitOnlyOnPath`.
- `/NoAutoCrlf` - Ensure _'Checkout as is, commit as is'_. This setting **only affects new installs**, it will not override an existing `.gitconfig`.
- `/WindowsTerminal` - Makes `vim` use the regular Windows terminal instead of MinTTY terminal.
- `/NoShellIntegration` - Disables open GUI and open shell integration ( _"Git GUI Here"_ and _"Git Bash Here"_ entries in context menus).
- `/NoGuiHereIntegration` - Disables open GUI shell integration ( _"Git GUI Here"_ entry in context menus).
- `/NoShellHereIntegration` - Disables open git bash shell integration ( _"Git Bash Here"_ entry in context menus).
- `/NoCredentialManager` - Disable _Git Credential Manager_ by adding `$Env:GCM_VALIDATE='false'` user environment variable.
- `/NoGitLfs` - Disable Git LFS installation.
- `/SChannel` - Configure Git to use the Windows native SSL/TLS implementation (SChannel) instead of OpenSSL. This aligns Git HTTPS behavior with other Windows applications and system components and increases manageability in enterprise environments.
- `/NoOpenSSH` - Git will not install its own OpenSSH (and related) binaries but use them as found on the PATH.
- `/WindowsTerminalProfile` - Add a Git Bash Profile to Windows Terminal.
- `/Symlinks` - Enable symbolic links (requires the SeCreateSymbolicLink permission). Existing repositories are unaffected by this setting.
- `/DefaultBranchName:default_branch_name` - Define the default branch name.
- `/Editor:Nano|VIM|Notepad++|VisualStudioCode|VisualStudioCodeInsiders|SublimeText|Atom|VSCodium|Notepad|Wordpad|Custom editor path` - Default editor used by Git. The selected editor needs to be available on the machine (unless it is part of git for windows) for this to work.
See the [Git Package Parameters documentation page](https://github.com/chocolatey-community/chocolatey-packages/blob/master/automatic/git.install/ARGUMENTS.md).
### Experimental parameters
Warning: the following parameters are experimental in the git installer and could stop working at any point.
- `/PseudoConsoleSupport` - Enable experimental support for pseudo consoles. Allows running native console programs like Node or Python in a Git Bash window without using winpty, but it still has known bugs.
- `/FSMonitor` - Enable experimental built-in file system monitor. Automatically run a built-in file system watcher, to speed up common operations such as `git status`, `git add`, `git commit`, etc in worktrees containing many files.
Example: `choco install git.install --params "/GitAndUnixToolsOnPath /NoGitLfs /SChannel /NoAutoCrlf"`
Example for passing in package parameters:
`choco install git.install --params "/GitAndUnixToolsOnPath /WindowsTerminal /NoAutoCrlf`
## Notes
- The package uses default install options minus cheetah integration and desktop icons. Cheetah prevents a good upgrade scenario, so it has been removed.
- **If the package is out of date please check [Version History](#versionhistory) for the latest submitted version. If you have a question, please ask it in [Chocolatey Community Package Discussions](https://github.com/chocolatey-community/chocolatey-packages/discussions) or raise an issue on the [Chocolatey Community Packages Repository](https://github.com/chocolatey-community/chocolatey-packages/issues) if you have problems with the package. Disqus comments will generally not be responded to.**
]]></description>
<projectUrl>https://git-for-windows.github.io/</projectUrl>
<projectSourceUrl>https://github.com/git-for-windows/git</projectSourceUrl>
Expand All @@ -60,7 +39,7 @@ Example: `choco install git.install --params "/GitAndUnixToolsOnPath /NoGitLfs /
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>https://cdn.jsdelivr.net/gh/chocolatey-community/chocolatey-packages@10a8d98b2f320b565fa5349a4352e79666db71ff/icons/git.svg</iconUrl>
<dependencies>
<dependency id="git.install" version="[2.36.0]" />
<dependency id="git.install" version="[2.36.1]" />
</dependencies>
</metadata>
<files>
Expand Down

0 comments on commit d0e46e1

Please sign in to comment.