-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify copyrights, tidy for first release
<microsoft/winget-cli#256> is a showstopper here, but have confirmed that the code in here is working
- Loading branch information
1 parent
8202385
commit ce44be2
Showing
11 changed files
with
47 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# winget CHANGELOG | ||
# `winget` CHANGELOG | ||
|
||
This file is used to list changes made in each version of the `winget` | ||
cookbook. | ||
|
||
# 0.1.0 | ||
# 0.0.1 | ||
|
||
Initial release. | ||
|
||
- Installation of `winget` executable | ||
- `winget` resource to install arbitrary packages using `winget` | ||
- Installation of WinGet executable | ||
- `winget_package` resource to install arbitrary packages using WinGet | ||
- Unit tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# | ||
# Author:: Chris Cunningham (<[email protected]>) | ||
# Cookbook:: winget | ||
# Attributes:: default | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# | ||
# Author:: Chris Cunningham (<[email protected]>) | ||
# Cookbook:: winget | ||
# Recipe:: default | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# | ||
# Author:: Chris Cunningham (<[email protected]>) | ||
# Cookbook:: winget | ||
# Spec:: default | ||
# | ||
|
@@ -20,20 +21,10 @@ | |
require 'spec_helper' | ||
|
||
describe 'winget::default' do | ||
context 'When all attributes are default, on Ubuntu 18.04' do | ||
context 'When all attributes are default, on Windows 10' do | ||
# for a complete list of available platforms and versions see: | ||
# https://github.com/chefspec/fauxhai/blob/master/PLATFORMS.md | ||
platform 'ubuntu', '18.04' | ||
|
||
it 'converges successfully' do | ||
expect { chef_run }.to_not raise_error | ||
end | ||
end | ||
|
||
context 'When all attributes are default, on CentOS 7' do | ||
# for a complete list of available platforms and versions see: | ||
# https://github.com/chefspec/fauxhai/blob/master/PLATFORMS.md | ||
platform 'centos', '7' | ||
platform 'windows', '10.0.18363' | ||
|
||
it 'converges successfully' do | ||
expect { chef_run }.to_not raise_error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name 'test' | ||
maintainer 'Chef Software, Inc.' | ||
maintainer_email '[email protected]' | ||
maintainer 'Chris Cunningham' | ||
maintainer_email '[email protected]' | ||
license 'Apache-2.0' | ||
version '0.0.1' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
include_recipe 'winget' | ||
|
||
winget_package 'Gimp' do | ||
name 'gimp.gimp' | ||
# action :install | ||
winget_package 'gimp.gimp' do | ||
full_name 'GIMP 2.10.18' | ||
# version '2.10.18' | ||
# action :install | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters