summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-12-17 17:19:59 -0800
committerGitHub <noreply@github.com>2018-12-17 17:19:59 -0800
commitf0700002824785f074e29b350c134b11b7d5f259 (patch)
tree5be019effc1f32f976a74cd6bcc2e07d38fe53ef
parent828da1e98631d8d0726cad913dd0ba9ac233dcb7 (diff)
parent34755fab50c56fbc38e96df4e5d8fa50d1ed4284 (diff)
downloadmixlib-log-f0700002824785f074e29b350c134b11b7d5f259.tar.gz
Merge pull request #45 from chef/slim
Only ship the required library files in the gem artifact
-rw-r--r--.expeditor/config.yml30
-rw-r--r--.github/CODEOWNERS5
-rw-r--r--mixlib-log.gemspec6
3 files changed, 21 insertions, 20 deletions
diff --git a/.expeditor/config.yml b/.expeditor/config.yml
index 8fc137b..fb57921 100644
--- a/.expeditor/config.yml
+++ b/.expeditor/config.yml
@@ -1,43 +1,41 @@
-# Documentation available at http://expeditor-docs.es.chef.io/
-
+# Documentation available at https://expeditor.chef.io/docs/getting-started/
+---
# Slack channel in Chef Software slack to send notifications about build failures, etc
slack:
notify_channel: chef-notify
+# This publish is triggered by the `built_in:publish_rubygems` artifact_action.
rubygems:
- mixlib-log
github:
+ # This deletes the GitHub PR branch after successfully merged into the release branch
+ delete_branch_on_merge: true
# The tag format to use (e.g. v1.0.0)
version_tag_format: "v{{version}}"
- # The Github Team primarily responsible for handling incoming Pull Requests.
- maintainer_group: chef/client-maintainers
- # Which Github branches to build gems from, and what versions
- # (as determined by the value in the VERSION file) those branches are responsible
- # for building.
- release_branch:
- - master:
- version_constraint: 2.*
+ # allow bumping the minor release via label
+ minor_bump_labels:
+ - "Expeditor: Bump Minor Version"
-promote:
- action:
- - built_in:publish_rubygems
- - built_in:rollover_changelog
+changelog:
+ rollup_header: Changes not yet released to rubygems.org
# These actions are taken, in order they are specified, anytime a Pull Request is merged.
merge_actions:
- built_in:bump_version:
ignore_labels:
- - "Version: Skip Bump"
- "Expeditor: Skip Version Bump"
- "Expeditor: Skip All"
- bash:.expeditor/update_version.sh:
only_if: built_in:bump_version
- built_in:update_changelog:
ignore_labels:
- - "Meta: Exclude From Changelog"
- "Expeditor: Exclude From Changelog"
- "Expeditor: Skip All"
- built_in:build_gem:
only_if: built_in:bump_version
+promote:
+ actions:
+ - built_in:rollover_changelog
+ - built_in:publish_rubygems
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 59c6d93..fee8d42 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -1 +1,4 @@
-* @chef/client-maintainers
+# Order is important. The last matching pattern has the most precedence.
+
+* @chef/client-maintainers
+.expeditor/** @chef/jex-team
diff --git a/mixlib-log.gemspec b/mixlib-log.gemspec
index fe418eb..13d4fca 100644
--- a/mixlib-log.gemspec
+++ b/mixlib-log.gemspec
@@ -6,10 +6,10 @@ Gem::Specification.new do |gem|
gem.version = Mixlib::Log::VERSION
gem.summary = "A gem that provides a simple mixin for log functionality"
gem.email = "info@chef.io"
- gem.homepage = "https://www.chef.io"
+ gem.homepage = "https://github.com/chef/mixlib-log"
gem.license = "Apache-2.0"
gem.authors = ["Chef Software, Inc."]
- gem.extra_rdoc_files = ["README.md", "LICENSE", "NOTICE"]
- gem.files = Dir["lib/**/*"] + Dir["spec/**/*"] + ["Gemfile", "Rakefile", ".gemtest", "mixlib-log.gemspec"]
+ gem.files = %w{LICENSE} + Dir.glob("lib/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
+ gem.require_paths = ["lib"]
gem.required_ruby_version = ">= 2.2"
end