From 04847bb12b1143c5bdabce20563d55f650c6106e Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Wed, 28 Aug 2019 06:58:29 +0100 Subject: [PATCH 01/11] ci(kitchen+travis): replace EOL pre-salted images * Automated using https://github.com/myii/ssf-formula/pull/16 --- .travis.yml | 4 ++-- kitchen.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7239ea1..1a42715 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,8 +19,8 @@ services: # the `platforms` defined in `kitchen.yml` env: matrix: - - INSTANCE: repositories-debian-9-develop-py3 - - INSTANCE: preferences-debian-9-develop-py3 + - INSTANCE: repositories-debian-10-develop-py3 + # - INSTANCE: preferences-debian-10-develop-py3 # - INSTANCE: repositories-ubuntu-1804-develop-py3 # - INSTANCE: preferences-ubuntu-1804-develop-py3 - INSTANCE: repositories-debian-9-2019-2-py3 diff --git a/kitchen.yml b/kitchen.yml index 0753908..f7fcd2e 100644 --- a/kitchen.yml +++ b/kitchen.yml @@ -12,9 +12,9 @@ driver: # the `env.matrix` instances defined in `.travis.yml` platforms: ## SALT `develop` - - name: debian-9-develop-py3 + - name: debian-10-develop-py3 driver: - image: netmanagers/salt-develop-py3:debian-9 + image: netmanagers/salt-develop-py3:debian-10 provision_command: - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com - sh bootstrap-salt.sh -XdPbfrq -x python3 git develop From 2ca242a47adfe71e7603024e50b94bc3ea6fec55 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Fri, 6 Sep 2019 02:47:02 +0100 Subject: [PATCH 02/11] ci(travis): use `dist: bionic` * Automated using https://github.com/myii/ssf-formula/pull/22 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1a42715..63d73ce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # vim: ft=yaml --- +dist: bionic stages: - test - lint @@ -10,7 +11,6 @@ stages: sudo: required cache: bundler language: ruby -dist: xenial services: - docker From 55212e00f8a457fc555e1bc6f20b4c3e7446a276 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Tue, 10 Sep 2019 05:57:29 +0100 Subject: [PATCH 03/11] ci(yamllint): add rule `empty-values` & use new `yaml-files` setting * Automated using https://github.com/myii/ssf-formula/pull/27 --- .travis.yml | 6 +++--- .yamllint | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 63d73ce..fb00ed0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,9 +40,9 @@ jobs: before_install: skip script: # Install and run `yamllint` - - pip install --user yamllint - # yamllint disable-line rule:line-length - - yamllint -s . .yamllint pillar.example test/salt/pillar/repositories.pillar.sls test/salt/pillar/preferences.pillar.sls + # Need at least `v1.17.0` for the `yaml-files` setting + - pip install --user yamllint>=1.17.0 + - yamllint -s . # Install and run `commitlint` - npm install @commitlint/config-conventional -D - npm install @commitlint/travis-cli -D diff --git a/.yamllint b/.yamllint index 3a90f57..a8509bc 100644 --- a/.yamllint +++ b/.yamllint @@ -6,10 +6,24 @@ extends: default # Files to ignore completely # 1. All YAML files under directory `node_modules/`, introduced during the Travis run +# 2. Any SLS files under directory `test/`, which are actually state files ignore: | node_modules/ + test/**/states/**/*.sls + +yaml-files: + # Default settings + - '*.yaml' + - '*.yml' + - .yamllint + # SaltStack Formulas additional settings + - '*.example' + - test/**/*.sls rules: + empty-values: + forbid-in-block-mappings: true + forbid-in-flow-mappings: true line-length: # Increase from default of `80` # Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`) From 78a2a91e9def46203ac89877a6c57852285ca8be Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Mon, 23 Sep 2019 16:52:24 +0100 Subject: [PATCH 04/11] ci(kitchen): change `log_level` to `debug` instead of `info` * Automated using https://github.com/myii/ssf-formula/pull/41 --- kitchen.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitchen.yml b/kitchen.yml index f7fcd2e..3b06985 100644 --- a/kitchen.yml +++ b/kitchen.yml @@ -35,7 +35,7 @@ platforms: provisioner: name: salt_solo - log_level: info + log_level: debug salt_install: none require_chef: false formula: apt From 380a5a8f5b58dd6d0c28477b6f24bb132ab1d46a Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Mon, 30 Sep 2019 15:51:51 +0100 Subject: [PATCH 05/11] chore(issues): provide `Bug report` & `Feature request` templates [skip ci] * Automated using https://github.com/myii/ssf-formula/pull/48 --- .github/ISSUE_TEMPLATE/bug_report.md | 54 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 42 ++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..04af2ae --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,54 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '[BUG] ' +labels: 'bug' +assignees: '' + +--- + + + +#### Describe the bug + + + + +#### Setup + + + + +#### Steps to reproduce the bug + + + + + + +#### Expected behaviour + + + + +#### Versions report + + + + +#### Additional context + + + + +--- + +#### Optional: How can this template be improved? + + + diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..ae0b773 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,42 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '[FEATURE] ' +labels: 'enhancement' +assignees: '' + +--- + + + +#### Is your feature request related to a problem? + + + + +#### Describe the solution you'd like + + + + +#### Describe alternatives you've considered + + + + +#### Additional context + + + + +--- + +#### Optional: How can this template be improved? + + + From 69919881f39e261d4d392bc38be15c840bb86c21 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Mon, 7 Oct 2019 15:20:37 +0100 Subject: [PATCH 06/11] chore(issues): update `Bug report` & `Feature request` templates [skip ci] * Automated using https://github.com/myii/ssf-formula/pull/58 --- .github/ISSUE_TEMPLATE/bug_report.md | 32 ++++++++++++++++------- .github/ISSUE_TEMPLATE/feature_request.md | 10 +++---- 2 files changed, 28 insertions(+), 14 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 04af2ae..1cc8c26 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -14,41 +14,55 @@ Notes: 3. Please direct questions to the [`#formulas` channel on Slack](https://saltstackcommunity.slack.com/messages/C7LG8SV54/), which is bridged to `#saltstack-formulas` on Freenode. --> -#### Describe the bug - +## Your setup +### Formula commit hash / release tag + + + + +### Versions reports (master & minion) + -#### Setup +### Pillar / config used -#### Steps to reproduce the bug +--- + +## Bug details +### Describe the bug + + + + +### Steps to reproduce the bug -#### Expected behaviour +### Expected behaviour -#### Versions report - +### Attempts to fix the bug + -#### Additional context +### Additional context --- -#### Optional: How can this template be improved? +### Meta: How can this template be improved? diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index ae0b773..be8be36 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -14,29 +14,29 @@ Notes: 3. Please direct questions to the [`#formulas` channel on Slack](https://saltstackcommunity.slack.com/messages/C7LG8SV54/), which is bridged to `#saltstack-formulas` on Freenode. --> -#### Is your feature request related to a problem? +### Is your feature request related to a problem? -#### Describe the solution you'd like +### Describe the solution you'd like -#### Describe alternatives you've considered +### Describe alternatives you've considered -#### Additional context +### Additional context --- -#### Optional: How can this template be improved? +### Meta: How can this template be improved? From a21ead04a3847796edf53d7f732e43d0a7dae632 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Mon, 7 Oct 2019 19:35:37 +0100 Subject: [PATCH 07/11] chore(yamllint): update ignored paths and add `octal-values` [skip ci] * Automated using https://github.com/myii/ssf-formula/pull/59 --- .yamllint | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.yamllint b/.yamllint index a8509bc..c16f39b 100644 --- a/.yamllint +++ b/.yamllint @@ -7,9 +7,11 @@ extends: default # Files to ignore completely # 1. All YAML files under directory `node_modules/`, introduced during the Travis run # 2. Any SLS files under directory `test/`, which are actually state files +# 3. Any YAML files under directory `.kitchen/`, introduced during local testing ignore: | node_modules/ test/**/states/**/*.sls + .kitchen/ yaml-files: # Default settings @@ -28,3 +30,6 @@ rules: # Increase from default of `80` # Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`) max: 88 + octal-values: + forbid-implicit-octal: true + forbid-explicit-octal: true From 67de777842b4516bf25482ecaf07e1390b0615c9 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Tue, 8 Oct 2019 20:51:41 +0100 Subject: [PATCH 08/11] fix(rubocop): add fixes using `rubocop --safe-auto-correct` --- .../preferences/controls/preferences_spec.rb | 2 ++ .../repositories/controls/repositories_spec.rb | 12 +++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/test/integration/preferences/controls/preferences_spec.rb b/test/integration/preferences/controls/preferences_spec.rb index 148cd1f..53cc668 100644 --- a/test/integration/preferences/controls/preferences_spec.rb +++ b/test/integration/preferences/controls/preferences_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + control 'Apt preferences' do title 'should be configured' diff --git a/test/integration/repositories/controls/repositories_spec.rb b/test/integration/repositories/controls/repositories_spec.rb index 3031d22..1e36893 100644 --- a/test/integration/repositories/controls/repositories_spec.rb +++ b/test/integration/repositories/controls/repositories_spec.rb @@ -1,11 +1,13 @@ +# frozen_string_literal: true + control 'Apt repositories' do title 'should be configured' - if os[:name] == 'ubuntu' - keyring_package = 'ubuntu-keyring' - else - keyring_package = 'debian-archive-keyring' - end + keyring_package = if os[:name] == 'ubuntu' + 'ubuntu-keyring' + else + 'debian-archive-keyring' + end describe package(keyring_package) do it { should be_installed } From 62d20bc9e1d071cfe3f9cea9474b640cb85e302e Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Tue, 8 Oct 2019 20:59:25 +0100 Subject: [PATCH 09/11] fix(rubocop): fix remaining errors manually --- .../preferences/controls/preferences_spec.rb | 24 +++++++++++++++---- .../controls/repositories_spec.rb | 12 ++++++++-- 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/test/integration/preferences/controls/preferences_spec.rb b/test/integration/preferences/controls/preferences_spec.rb index 53cc668..e2d2f99 100644 --- a/test/integration/preferences/controls/preferences_spec.rb +++ b/test/integration/preferences/controls/preferences_spec.rb @@ -20,7 +20,11 @@ it { should be_owned_by 'root' } it { should be_grouped_into 'root' } its('mode') { should cmp '0644' } - its(:content) { should match("Package: rspamd\nPin: origin rspamd.com\nPin-Priority: 650\n") } + its(:content) do + should match( + "Package: rspamd\nPin: origin rspamd.com\nPin-Priority: 650\n" + ) + end end describe file('/etc/apt/preferences.d/01-all') do @@ -28,7 +32,11 @@ it { should be_owned_by 'root' } it { should be_grouped_into 'root' } its('mode') { should cmp '0644' } - its(:content) { should match("Package: *\nPin: release stable\nPin-Priority: 610\n") } + its(:content) do + should match( + "Package: *\nPin: release stable\nPin-Priority: 610\n" + ) + end end describe file('/etc/apt/preferences.d/02-all') do @@ -36,7 +44,11 @@ it { should be_owned_by 'root' } it { should be_grouped_into 'root' } its('mode') { should cmp '0644' } - its(:content) { should match("Package: *\nPin: release testing\nPin-Priority: 600\n") } + its(:content) do + should match( + "Package: *\nPin: release testing\nPin-Priority: 600\n" + ) + end end describe file('/etc/apt/preferences.d/03-all') do @@ -44,6 +56,10 @@ it { should be_owned_by 'root' } it { should be_grouped_into 'root' } its('mode') { should cmp '0644' } - its(:content) { should match("Package: *\nPin: release unstable\nPin-Priority: 50\n") } + its(:content) do + should match( + "Package: *\nPin: release unstable\nPin-Priority: 50\n" + ) + end end end diff --git a/test/integration/repositories/controls/repositories_spec.rb b/test/integration/repositories/controls/repositories_spec.rb index 1e36893..8935a27 100644 --- a/test/integration/repositories/controls/repositories_spec.rb +++ b/test/integration/repositories/controls/repositories_spec.rb @@ -30,7 +30,11 @@ it { should be_owned_by 'root' } it { should be_grouped_into 'root' } its('mode') { should cmp '0644' } - its(:content) { should match(%r{deb \[arch=amd64\] http://repository.spotify.com stable non-free}) } + its(:content) do + should match( + %r{deb \[arch=amd64\] http://repository.spotify.com stable non-free} + ) + end end describe file('/etc/apt/sources.list.d/heroku-binary.list') do @@ -38,6 +42,10 @@ it { should be_owned_by 'root' } it { should be_grouped_into 'root' } its('mode') { should cmp '0644' } - its(:content) { should match(%r{deb \[arch=amd64\] https://cli-assets.heroku.com/apt ./}) } + its(:content) do + should match( + %r{deb \[arch=amd64\] https://cli-assets.heroku.com/apt ./} + ) + end end end From b50ef717c9f03c2cc5e4b99eec10beba326a2964 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Tue, 8 Oct 2019 20:44:34 +0100 Subject: [PATCH 10/11] ci: merge travis matrix, add `salt-lint` & `rubocop` to `lint` job * Automated using https://github.com/myii/ssf-formula/pull/60 --- .rubocop.yml | 12 ++++++++++ .salt-lint | 13 +++++++++++ .travis.yml | 66 +++++++++++++++++++++++++++++++--------------------- .yamllint | 1 + Gemfile | 7 +++--- bin/kitchen | 21 ++++++++++------- 6 files changed, 82 insertions(+), 38 deletions(-) create mode 100644 .rubocop.yml create mode 100644 .salt-lint diff --git a/.rubocop.yml b/.rubocop.yml new file mode 100644 index 0000000..5e836b3 --- /dev/null +++ b/.rubocop.yml @@ -0,0 +1,12 @@ +# -*- coding: utf-8 -*- +# vim: ft=yaml +--- +# General overrides used across formulas in the org +Metrics/LineLength: + # Increase from default of `80` + # Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`) + Max: 88 + +# Any offenses that should be fixed, e.g. collected via. `rubocop --auto-gen-config` +Metrics/BlockLength: + Max: 55 diff --git a/.salt-lint b/.salt-lint new file mode 100644 index 0000000..a539954 --- /dev/null +++ b/.salt-lint @@ -0,0 +1,13 @@ +# -*- coding: utf-8 -*- +# vim: ft=yaml +--- +exclude_paths: [] +skip_list: + # Using `salt-lint` for linting other files as well, such as Jinja macros/templates + - 205 # Use ".sls" as a Salt State file extension + # Skipping `207` and `208` because `210` is sufficient, at least for the time-being + # I.e. Allows 3-digit unquoted codes to still be used, such as `644` and `755` + - 207 # File modes should always be encapsulated in quotation marks + - 208 # File modes should always contain a leading zero +tags: [] +verbosity: 1 diff --git a/.travis.yml b/.travis.yml index fb00ed0..ad1855a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,56 +1,70 @@ # -*- coding: utf-8 -*- # vim: ft=yaml --- +## Machine config dist: bionic -stages: - - test - - lint - - name: release - if: branch = master AND type != pull_request - sudo: required -cache: bundler -language: ruby - services: - docker -# Make sure the instances listed below match up with -# the `platforms` defined in `kitchen.yml` -env: - matrix: - - INSTANCE: repositories-debian-10-develop-py3 - # - INSTANCE: preferences-debian-10-develop-py3 - # - INSTANCE: repositories-ubuntu-1804-develop-py3 - # - INSTANCE: preferences-ubuntu-1804-develop-py3 - - INSTANCE: repositories-debian-9-2019-2-py3 - - INSTANCE: preferences-debian-9-2019-2-py3 - - INSTANCE: repositories-ubuntu-1804-2019-2-py3 - - INSTANCE: preferences-ubuntu-1804-2019-2-py3 +## Language and cache config +language: ruby +cache: bundler +## Script to run for the test stage script: - - bin/kitchen verify ${INSTANCE} + - bin/kitchen verify "${INSTANCE}" +## Stages and jobs matrix +stages: + - test + - name: release + if: branch = master AND type != pull_request jobs: include: - # Define the `lint` stage (runs `yamllint` and `commitlint`) - - stage: lint - language: node_js + ## Define the test stage that runs the linters (and testing matrix, if applicable) + + # Run all of the linters in a single job + - language: node_js node_js: lts/* + env: Lint + name: 'Lint: salt-lint, yamllint, rubocop & commitlint' before_install: skip script: + # Install and run `salt-lint` + - pip install --user salt-lint + - git ls-files | grep '\.sls$\|\.jinja$\|\.j2$\|\.tmpl$' + | xargs -I {} salt-lint {} # Install and run `yamllint` # Need at least `v1.17.0` for the `yaml-files` setting - pip install --user yamllint>=1.17.0 - yamllint -s . + # Install and run `rubocop` + - gem install rubocop + - rubocop -d # Install and run `commitlint` - npm install @commitlint/config-conventional -D - npm install @commitlint/travis-cli -D - commitlint-travis - # Define the release stage that runs `semantic-release` + + ## Define the rest of the matrix based on Kitchen testing + # Make sure the instances listed below match up with + # the `platforms` defined in `kitchen.yml` + - env: INSTANCE=repositories-debian-10-develop-py3 + # - env: INSTANCE=preferences-debian-10-develop-py3 + # - env: INSTANCE=repositories-ubuntu-1804-develop-py3 + # - env: INSTANCE=preferences-ubuntu-1804-develop-py3 + - env: INSTANCE=repositories-debian-9-2019-2-py3 + - env: INSTANCE=preferences-debian-9-2019-2-py3 + - env: INSTANCE=repositories-ubuntu-1804-2019-2-py3 + - env: INSTANCE=preferences-ubuntu-1804-2019-2-py3 + + ## Define the release stage that runs `semantic-release` - stage: release language: node_js node_js: lts/* + env: Release + name: 'Run semantic-release inc. file updates to AUTHORS, CHANGELOG & FORMULA' before_install: skip script: # Update `AUTHORS.md` diff --git a/.yamllint b/.yamllint index c16f39b..740beca 100644 --- a/.yamllint +++ b/.yamllint @@ -17,6 +17,7 @@ yaml-files: # Default settings - '*.yaml' - '*.yml' + - .salt-lint - .yamllint # SaltStack Formulas additional settings - '*.example' diff --git a/Gemfile b/Gemfile index 3b36de3..5a232b6 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,7 @@ -source "https://rubygems.org" +# frozen_string_literal: true + +source 'https://rubygems.org' gem 'kitchen-docker', '>= 2.9' -gem 'kitchen-salt', '>= 0.6.0' gem 'kitchen-inspec', '>= 1.1' - +gem 'kitchen-salt', '>= 0.6.0' diff --git a/bin/kitchen b/bin/kitchen index 1cd44f3..dcfdb4c 100755 --- a/bin/kitchen +++ b/bin/kitchen @@ -8,22 +8,25 @@ # this file is here to facilitate running it. # -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) +require 'pathname' +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', + Pathname.new(__FILE__).realpath) -bundle_binstub = File.expand_path("../bundle", __FILE__) +bundle_binstub = File.expand_path('bundle', __dir__) if File.file?(bundle_binstub) if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ load(bundle_binstub) else - abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. -Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") + abort( + 'Your `bin/bundle` was not generated by Bundler, '\ + 'so this binstub cannot run. Replace `bin/bundle` by running '\ + '`bundle binstubs bundler --force`, then run this command again.' + ) end end -require "rubygems" -require "bundler/setup" +require 'rubygems' +require 'bundler/setup' -load Gem.bin_path("test-kitchen", "kitchen") +load Gem.bin_path('test-kitchen', 'kitchen') From 5c704372baedb5e1d1fbfa890447a19dac9a3189 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 9 Oct 2019 10:43:40 +0000 Subject: [PATCH 11/11] chore(release): 0.9.1 [skip ci] ## [0.9.1](https://github.com/saltstack-formulas/apt-formula/compare/v0.9.0...v0.9.1) (2019-10-09) ### Bug Fixes * **rubocop:** add fixes using `rubocop --safe-auto-correct` ([](https://github.com/saltstack-formulas/apt-formula/commit/67de777)) * **rubocop:** fix remaining errors manually ([](https://github.com/saltstack-formulas/apt-formula/commit/62d20bc)) ### Continuous Integration * **kitchen:** change `log_level` to `debug` instead of `info` ([](https://github.com/saltstack-formulas/apt-formula/commit/78a2a91)) * **kitchen+travis:** replace EOL pre-salted images ([](https://github.com/saltstack-formulas/apt-formula/commit/04847bb)) * **travis:** use `dist: bionic` ([](https://github.com/saltstack-formulas/apt-formula/commit/2ca242a)) * **yamllint:** add rule `empty-values` & use new `yaml-files` setting ([](https://github.com/saltstack-formulas/apt-formula/commit/55212e0)) * merge travis matrix, add `salt-lint` & `rubocop` to `lint` job ([](https://github.com/saltstack-formulas/apt-formula/commit/b50ef71)) --- AUTHORS.md | 7 ++++--- CHANGELOG.md | 17 +++++++++++++++++ FORMULA | 2 +- docs/AUTHORS.rst | 17 ++++++++++------- docs/CHANGELOG.rst | 20 ++++++++++++++++++++ 5 files changed, 52 insertions(+), 11 deletions(-) diff --git a/AUTHORS.md b/AUTHORS.md index 2fd3855..91eaa6c 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -5,13 +5,13 @@ This list is sorted by the number of commits per contributor in _descending_ ord Avatar|Contributor|Contributions :-:|---|:-: @javierbertoli|[@javierbertoli](https://github.com/javierbertoli)|26 +@myii|[@myii](https://github.com/myii)|19 @gravyboat|[@gravyboat](https://github.com/gravyboat)|12 @bmcclure|[@bmcclure](https://github.com/bmcclure)|8 -@myii|[@myii](https://github.com/myii)|8 @arthurlogilab|[@arthurlogilab](https://github.com/arthurlogilab)|7 +@aboe76|[@aboe76](https://github.com/aboe76)|7 @nmadhok|[@nmadhok](https://github.com/nmadhok)|7 @boltronics|[@boltronics](https://github.com/boltronics)|5 -@aboe76|[@aboe76](https://github.com/aboe76)|5 @jdkelleher|[@jdkelleher](https://github.com/jdkelleher)|5 @westurner|[@westurner](https://github.com/westurner)|4 @daschatten|[@daschatten](https://github.com/daschatten)|4 @@ -22,7 +22,8 @@ Avatar|Contributor|Contributions @rpatterson|[@rpatterson](https://github.com/rpatterson)|1 @simonclausen|[@simonclausen](https://github.com/simonclausen)|1 @babilen5|[@babilen5](https://github.com/babilen5)|1 +@daks|[@daks](https://github.com/daks)|1 --- -Auto-generated by a [forked version](https://github.com/myii/maintainer) of [gaocegege/maintainer](https://github.com/gaocegege/maintainer) on 2019-08-07. +Auto-generated by a [forked version](https://github.com/myii/maintainer) of [gaocegege/maintainer](https://github.com/gaocegege/maintainer) on 2019-10-09. diff --git a/CHANGELOG.md b/CHANGELOG.md index b2d9956..ac0387d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [0.9.1](https://github.com/saltstack-formulas/apt-formula/compare/v0.9.0...v0.9.1) (2019-10-09) + + +### Bug Fixes + +* **rubocop:** add fixes using `rubocop --safe-auto-correct` ([](https://github.com/saltstack-formulas/apt-formula/commit/67de777)) +* **rubocop:** fix remaining errors manually ([](https://github.com/saltstack-formulas/apt-formula/commit/62d20bc)) + + +### Continuous Integration + +* **kitchen:** change `log_level` to `debug` instead of `info` ([](https://github.com/saltstack-formulas/apt-formula/commit/78a2a91)) +* **kitchen+travis:** replace EOL pre-salted images ([](https://github.com/saltstack-formulas/apt-formula/commit/04847bb)) +* **travis:** use `dist: bionic` ([](https://github.com/saltstack-formulas/apt-formula/commit/2ca242a)) +* **yamllint:** add rule `empty-values` & use new `yaml-files` setting ([](https://github.com/saltstack-formulas/apt-formula/commit/55212e0)) +* merge travis matrix, add `salt-lint` & `rubocop` to `lint` job ([](https://github.com/saltstack-formulas/apt-formula/commit/b50ef71)) + # [0.9.0](https://github.com/saltstack-formulas/apt-formula/compare/v0.8.1...v0.9.0) (2019-08-07) diff --git a/FORMULA b/FORMULA index 4028edf..bca4a2a 100644 --- a/FORMULA +++ b/FORMULA @@ -1,7 +1,7 @@ name: apt os: Debian, Ubuntu, Raspbian os_family: Debian -version: 0.9.0 +version: 0.9.1 release: 1 minimum_version: 2017.7 summary: Apt formula diff --git a/docs/AUTHORS.rst b/docs/AUTHORS.rst index eef6b8c..f489c83 100644 --- a/docs/AUTHORS.rst +++ b/docs/AUTHORS.rst @@ -16,27 +16,27 @@ This list is sorted by the number of commits per contributor in *descending* ord * - :raw-html-m2r:`@javierbertoli` - `@javierbertoli `_ - 26 + * - :raw-html-m2r:`@myii` + - `@myii `_ + - 19 * - :raw-html-m2r:`@gravyboat` - `@gravyboat `_ - 12 * - :raw-html-m2r:`@bmcclure` - `@bmcclure `_ - 8 - * - :raw-html-m2r:`@myii` - - `@myii `_ - - 8 * - :raw-html-m2r:`@arthurlogilab` - `@arthurlogilab `_ - 7 + * - :raw-html-m2r:`@aboe76` + - `@aboe76 `_ + - 7 * - :raw-html-m2r:`@nmadhok` - `@nmadhok `_ - 7 * - :raw-html-m2r:`@boltronics` - `@boltronics `_ - 5 - * - :raw-html-m2r:`@aboe76` - - `@aboe76 `_ - - 5 * - :raw-html-m2r:`@jdkelleher` - `@jdkelleher `_ - 5 @@ -67,8 +67,11 @@ This list is sorted by the number of commits per contributor in *descending* ord * - :raw-html-m2r:`@babilen5` - `@babilen5 `_ - 1 + * - :raw-html-m2r:`@daks` + - `@daks `_ + - 1 ---- -Auto-generated by a `forked version `_ of `gaocegege/maintainer `_ on 2019-08-07. +Auto-generated by a `forked version `_ of `gaocegege/maintainer `_ on 2019-10-09. diff --git a/docs/CHANGELOG.rst b/docs/CHANGELOG.rst index 21cfab1..0321dc9 100644 --- a/docs/CHANGELOG.rst +++ b/docs/CHANGELOG.rst @@ -2,6 +2,26 @@ Changelog ========= +`0.9.1 `_ (2019-10-09) +----------------------------------------------------------------------------------------------------- + +Bug Fixes +^^^^^^^^^ + + +* **rubocop:** add fixes using ``rubocop --safe-auto-correct`` (\ ` `_\ ) +* **rubocop:** fix remaining errors manually (\ ` `_\ ) + +Continuous Integration +^^^^^^^^^^^^^^^^^^^^^^ + + +* **kitchen:** change ``log_level`` to ``debug`` instead of ``info`` (\ ` `_\ ) +* **kitchen+travis:** replace EOL pre-salted images (\ ` `_\ ) +* **travis:** use ``dist: bionic`` (\ ` `_\ ) +* **yamllint:** add rule ``empty-values`` & use new ``yaml-files`` setting (\ ` `_\ ) +* merge travis matrix, add ``salt-lint`` & ``rubocop`` to ``lint`` job (\ ` `_\ ) + `0.9.0 `_ (2019-08-07) -----------------------------------------------------------------------------------------------------