Downloads:
2,023
Downloads of v 0.7.1:
393
Last Update:
14 Apr 2022
Package Maintainer(s):
Software Author(s):
- Tom Hudson
Tags:
command-line json grep cross-platform foss- Software Specific:
- Software Site
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
gron
- 1
- 2
- 3
0.7.1 | Updated: 14 Apr 2022
- Software Specific:
- Software Site
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
2,023
Downloads of v 0.7.1:
393
Maintainer(s):
Software Author(s):
- Tom Hudson
gron 0.7.1
Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Tom Hudson. The inclusion of Tom Hudson trademark(s), if any, upon this webpage is solely to identify Tom Hudson goods or services and not for commercial purposes.
- 1
- 2
- 3
Some Checks Have Failed or Are Not Yet Complete
Not All Tests Have Passed
Deployment Method: Individual Install, Upgrade, & Uninstall
To install gron, run the following command from the command line or from PowerShell:
To upgrade gron, run the following command from the command line or from PowerShell:
To uninstall gron, run the following command from the command line or from PowerShell:
Deployment Method:
This applies to both open source and commercial editions of Chocolatey.
1. Enter Your Internal Repository Url
(this should look similar to https://community.chocolatey.org/api/v2/)
2. Setup Your Environment
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
-
Download the package:
Download - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
choco download gron --internalize --source=https://community.chocolatey.org/api/v2/
-
For package and dependencies run:
choco push --source="'INTERNAL REPO URL'"
- Automate package internalization
-
Run: (additional options)
3. Copy Your Script
choco upgrade gron -y --source="'INTERNAL REPO URL'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade gron -y --source="'INTERNAL REPO URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Install gron
win_chocolatey:
name: gron
version: '0.7.1'
source: INTERNAL REPO URL
state: present
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'gron' do
action :install
source 'INTERNAL REPO URL'
version '0.7.1'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
cChocoPackageInstaller gron
{
Name = "gron"
Version = "0.7.1"
Source = "INTERNAL REPO URL"
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'gron':
ensure => '0.7.1',
provider => 'chocolatey',
source => 'INTERNAL REPO URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
4. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
This package was approved by moderator gep13 on 18 Apr 2022.
Make JSON greppable!
gron transforms JSON into discrete assignments to make it easier to grep
for what you want and see the absolute 'path' to it.
It eases the exploration of APIs that return large blobs of JSON but have terrible documentation.
▶ gron "https://api.github.com/repos/tomnomnom/gron/commits?per_page=1" | fgrep "commit.author"
json[0].commit.author = {};
json[0].commit.author.date = "2016-07-02T10:51:21Z";
json[0].commit.author.email = "[email protected]";
json[0].commit.author.name = "Tom Hudson";
gron can work backwards too, enabling you to turn your filtered data back into JSON:
▶ gron "https://api.github.com/repos/tomnomnom/gron/commits?per_page=1" | fgrep "commit.author" | gron --ungron
[
{
"commit": {
"author": {
"date": "2016-07-02T10:51:21Z",
"email": "[email protected]",
"name": "Tom Hudson"
}
}
}
]
> Disclaimer: the GitHub API has fantastic documentation, but it makes for a good example.
MIT License
Copyright (c) 2016 Tom Hudson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
Package can be verified like this:
1. Go to
x32: https://github.com/tomnomnom/gron/releases/download/v0.7.1/gron-windows-386-0.7.1.zip
x64: https://github.com/tomnomnom/gron/releases/download/v0.7.1/gron-windows-amd64-0.7.1.zip
to download the installer.
2. You can use one of the following methods to obtain the SHA256 checksum:
- Use powershell function 'Get-FileHash'
- Use Chocolatey utility 'checksum.exe'
checksum32: A532D5AA29395592F3725C336640F2CF9EB670C8CE25115AAEE0082D5CDF5A0E
checksum64: 5ED427A4A504D8E03A1770B71D4AD16A3764179E085B5AE84E51A57B299F300D
Using AU:
Get-RemoteChecksum https://github.com/tomnomnom/gron/releases/download/v0.7.1/gron-windows-386-0.7.1.zip # 32-bit
Get-RemoteChecksum https://github.com/tomnomnom/gron/releases/download/v0.7.1/gron-windows-amd64-0.7.1.zip # 64-bit
File 'license.txt' is obtained from:
https://raw.githubusercontent.com/tomnomnom/gron/v0.7.1/LICENSE
md5: DE84E2AB69AA9F2F7006F077002F8ACF | sha1: 45F1222BA34C6545CA294937B382231BA33A615C | sha256: A532D5AA29395592F3725C336640F2CF9EB670C8CE25115AAEE0082D5CDF5A0E | sha512: 4283A815D0DFA39DA767F678FCF772A81C1BBEA8537EED14B56103C1BB4D08F8D08FB9EF7EED84816C6AC27C1D7070DE43EBF4BC2648561597390FC498D4672C
md5: 3EF010F0EF1C1E001691C5ABC3B89E0D | sha1: 19046C45C482D076085F4400184300BD5BDC079C | sha256: 5ED427A4A504D8E03A1770B71D4AD16A3764179E085B5AE84E51A57B299F300D | sha512: 69A21444118FABFFFE4BCC0411B6B8D6580BB7D6BBCDAF3CAFA45B37DBFECDB8EA58FE2BCBE9E333FDFE6F5E2B7991F890065F4069881969E155713BB604C0F9
Log in or click on link to see number of positives.
- gron.0.7.1.nupkg (6bcc94de7a84) - ## / 61
- gron-windows-386-0.7.1.zip (a532d5aa2939) - ## / 57
- gron-windows-amd64-0.7.1.zip (5ed427a4a504) - ## / 64
- gron.exe (0a71ee15455f) - ## / 69
- gron.exe (fe2292e3f147) - ## / 69
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Add to Builder | Version | Downloads | Last Updated | Status |
---|---|---|---|---|
gron 0.7.1 | 393 | Thursday, April 14, 2022 | Approved | |
gron 0.6.1 | 303 | Tuesday, February 2, 2021 | Approved | |
gron 0.6.0 | 664 | Friday, July 27, 2018 | Approved | |
gron 0.5.2 | 328 | Saturday, April 7, 2018 | Approved | |
gron 0.5.1 | 335 | Tuesday, April 3, 2018 | Approved |
This package has no dependencies.
Ground Rules:
- This discussion is only about gron and the gron package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or gron, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.