Skip to content

Commit 03361df

Browse files
authored
Merge pull request #271 from david22swan/IAC-1450/main/inappropriate_terminology
(IAC-1459) - Removal of Inappropriate Terminology
2 parents ba9eff2 + 3a9c5cb commit 03361df

File tree

9 files changed

+41
-41
lines changed

9 files changed

+41
-41
lines changed

.rubocop_todo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Layout/ClosingHeredocIndentation:
2020
Enabled: false
2121

2222
# Offense count: 5
23-
# Configuration parameters: Blacklist.
24-
# Blacklist: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
23+
# Configuration parameters: Denylist.
24+
# Denylist: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
2525
Naming/HeredocDelimiterNaming:
2626
Exclude:
2727
- 'spec/acceptance/generate_markdown_spec.rb'

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ All related tickets can be found under the [PDOC][PDOC JIRA] JIRA project with t
233233
- Note: this means Markdown text in YARD comments and tags, not a change in the output of strings
234234
- New commandline options: --emit-json and --emit-json-stdout to generate JSON documentation **(PDOC-84)**
235235
- Runtime dependency on Puppet has been removed, allowing strings to function in Puppet Enterprise 3.8 **(PDOC-80)**
236-
- Note that the gem still requires puppet. We recommend that the strings gem be installed with puppet, as suggested in the [README](https://github.com/puppetlabs/puppet-strings/blob/master/README.md#installing-puppet-strings)
236+
- Note that the gem still requires puppet. We recommend that the strings gem be installed with puppet, as suggested in the [README](https://github.com/puppetlabs/puppet-strings/blob/main/README.md#installing-puppet-strings)
237237
- New gemspec requirement on Ruby version 1.9.3, the oldest supported Ruby version
238238

239239
### BugFixes
@@ -253,8 +253,8 @@ All related tickets can be found under the [PDOC][PDOC JIRA] JIRA project with t
253253
### Features
254254
- Support for JSON output **(PDOC-23)**
255255
- Strings now has the ability to produce a JSON representation of a given puppet module
256-
- The details of the JSON schema can be found [here](https://github.com/puppetlabs/puppet-strings/blob/master/json_dom.md)
257-
- For details on how to generate JSON, see the [README](https://github.com/puppetlabs/puppet-strings/blob/master/README.md#running-puppet-strings)
256+
- The details of the JSON schema can be found [here](https://github.com/puppetlabs/puppet-strings/blob/main/json_dom.md)
257+
- For details on how to generate JSON, see the [README](https://github.com/puppetlabs/puppet-strings/blob/main/README.md#running-puppet-strings)
258258
- Migrate to ruby gems as a distribution method **(PDOC-28)**
259259
- This is the last release of strings that will be available as a puppet module
260260
- The 0.4.0 release will be released concurrently as a ruby gem

COMMITTERS.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Committing changes to Strings
44
We would like to make it easier for community members to contribute to strings
55
using pull requests, even if it makes the task of reviewing and committing
66
these changes a little harder. Pull requests are only ever based on a single
7-
branch. As a result contributors should target their changes at the master branch.
7+
branch. As a result contributors should target their changes at the main branch.
88
This makes the process of contributing a little easier for the contributor since
99
they don't need to concern themselves with the question, "What branch do I base my changes
1010
on?" This is already called out in the [CONTRIBUTING.md](http://goo.gl/XRH2J).
@@ -17,7 +17,7 @@ effort to make sure the end users must opt-in to new behavior that is
1717
incompatible with previous behavior. We employ the use of [feature
1818
flags](http://stackoverflow.com/questions/7707383/what-is-a-feature-flag) as
1919
the primary way to achieve this user opt-in behavior. Finally, it is the
20-
responsibility of the committer to make sure the `master` branch
20+
responsibility of the committer to make sure the `main` branch
2121
is clean and working at all times. Clean means that dead code is not
2222
allowed, everything needs to be usable in some manner at all points in time.
2323

@@ -45,9 +45,9 @@ making the decision what base branch to merge the change set into.
4545

4646
**base branch** - A branch in Git that contains an active history of changes
4747
and will eventually be released using semantic version guidelines. The branch
48-
named `master` will always exist as a base branch.
48+
named `main` will always exist as a base branch.
4949

50-
**master branch** - The branch where new functionality that and bug fixes are
50+
**main branch** - The branch where new functionality that and bug fixes are
5151
merged.
5252

5353
**security** - Where critical security fixes are merged. These change sets
@@ -70,7 +70,7 @@ This section provides a guide to help a committer decide the specific base
7070
branch that a change set should be merged into.
7171

7272
The latest minor release of a major release is the only base branch that should
73-
be patched. These patches will be merged into `master` if they contain new
73+
be patched. These patches will be merged into `main` if they contain new
7474
functionality and if they fix a critical bug. Older minor releases in a major release
7575
do not get patched.
7676

@@ -87,7 +87,7 @@ security branch as the base branch. Please send all security related
8787
information or patches to security@puppet.com as per our [Security
8888
Policy](https://puppet.com/security/).
8989

90-
The CI systems are configured to run against `master`. Over time, this branch
90+
The CI systems are configured to run against `main`. Over time, this branch
9191
will refer to different versions, but its name will remain fixed to avoid having
9292
to update CI jobs and tasks as new versions are released.
9393

@@ -108,7 +108,7 @@ branch:
108108
documentation being kept up to date?
109109
* Does the change set include clean code? (software code that is formatted
110110
correctly and in an organized manner so that another coder can easily read
111-
or modify it.) HINT: `git diff master --check`
111+
or modify it.) HINT: `git diff main --check`
112112
* Does the change set conform to the contributing guide?
113113

114114
Commit citizen guidelines:
@@ -118,13 +118,13 @@ This section aims to provide guidelines for being a good commit citizen by
118118
paying attention to our automated build tools.
119119

120120
* Don’t push on a broken build. (A broken build is defined as a failing job
121-
in [Puppet Strings](https://jenkins.puppetlabs.com/job/platform_puppet-strings_unit-ruby_master/)
121+
in [Puppet Strings](https://travis-ci.com/github/puppetlabs/puppet-strings)
122122
page.)
123123
* Watch the build until your changes have gone through green
124124
* Update the ticket status and target version. The target version field in
125125
our issue tracker should be updated to be the next release of Puppet. For
126126
example, if the most recent release of Puppet is 3.1.1 and you merge a
127-
backwards compatible change set into master, then the target version should
127+
backwards compatible change set into main, then the target version should
128128
be 3.2.0 in the issue tracker.)
129129
* Ensure the pull request is closed (Hint: amend your merge commit to contain
130130
the string `closes #123` where 123 is the pull request number and github
@@ -135,7 +135,7 @@ Example Procedure
135135

136136
This section helps a committer rebase and merge a contribution into the base branch.
137137

138-
Suppose a contributor submits a pull request based on master. The change set
138+
Suppose a contributor submits a pull request based on main. The change set
139139
fixes a bug reported against strings 0.1.0 which is the most recently released
140140
version of strings.
141141

@@ -147,20 +147,20 @@ branch to track the remote branch.
147147
Branch jeffmccune-pdoc-34_fix_foo_error set up to track remote branch pdoc-34-fix_foo_error from jeffmccune.
148148
Switched to a new branch 'jeffmccune-pdoc-34_fix_foo_error'
149149

150-
It's possible that more changes have been merged into master since the pull
150+
It's possible that more changes have been merged into main since the pull
151151
request was submitted. In this case it may be necessary to rebase the branch
152152
that contains the changes:
153153

154-
$ git rebase upstream/master
154+
$ git rebase upstream/main
155155

156156
After the branch has been checked out and rebased, the committer should ensure that
157157
the code review check list has been completed.
158158

159159
Now that we have a topic branch containing the change set based on the most recent
160-
`master` branch, the committer merges in:
160+
`main` branch, the committer merges in:
161161

162-
$ git checkout master
163-
Switched to branch 'master'
162+
$ git checkout main
163+
Switched to branch 'main'
164164
$ git merge --no-ff --log jeffmccune-pdoc-34_fix_foo_error
165165
Merge made by the 'recursive' strategy.
166166
foo | 0
@@ -173,12 +173,12 @@ preserve the usefulness of `git branch --contains`. If there are any merge
173173
conflicts, they are to be resolved in the merge commit itself and not by
174174
re-writing (rebasing) the patches for one base branch, but not another.
175175

176-
Once the change set has been merged into `master`, the committer pushes.
176+
Once the change set has been merged into `main`, the committer pushes.
177177
Please note, the checklist should be complete at this point. It's helpful to make
178178
sure your local branches are up to date to avoid one of the branches failing to fast
179179
forward while the other succeeds.
180180

181-
$ git push origin master:master
181+
$ git push origin main:main
182182

183183
That's it! The committer then updates the pull request, updates the issue in
184184
our issue tracker, and keeps an eye on the [build

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Before you submit your issue, take a minute to...
2323
reported.
2424

2525
2. **Check if the issue has been fixed** — try to reproduce it using the
26-
latest `master` or release tag.
26+
latest `main` or release tag.
2727

2828
A good bug report shouldn't leave others needing to chase you up for more
2929
information. Please try to be as **detailed as possible** in your issue. What is
@@ -48,12 +48,12 @@ Example:
4848
## Making Changes
4949

5050
* Create a topic branch from where you want to base your work.
51-
* This is usually the master branch.
51+
* This is usually the main branch.
5252
* Only target release branches if you are certain your fix must be on that
5353
branch.
54-
* To quickly create a topic branch based on master; `git checkout -b
55-
fix/master/my_contribution master`. Please avoid working directly on the
56-
`master` branch.
54+
* To quickly create a topic branch based on main; `git checkout -b
55+
fix/main/my_contribution main`. Please avoid working directly on the
56+
`main` branch.
5757
* Make commits of logical units.
5858
* Check for unnecessary whitespace with `git diff --check` before committing.
5959
* Make sure your commit messages are in the proper format.
@@ -109,7 +109,7 @@ a ticket number.
109109

110110
## Cutting a release
111111

112-
To cut a new release, from a current `master` checkout:
112+
To cut a new release, from a current `main` checkout:
113113

114114
* Start the release branch with `git checkout -b release-prep`
115115
* Update `lib/puppet-strings/version.rb` to the new version

HISTORY.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ All related tickets can be found under the [PDOC][PDOC JIRA] JIRA project with t
114114
- Note: this means Markdown text in YARD comments and tags, not a change in the output of strings
115115
- New commandline options: --emit-json and --emit-json-stdout to generate JSON documentation **(PDOC-84)**
116116
- Runtime dependency on Puppet has been removed, allowing strings to function in Puppet Enterprise 3.8 **(PDOC-80)**
117-
- Note that the gem still requires puppet. We recommend that the strings gem be installed with puppet, as suggested in the [README](https://github.com/puppetlabs/puppet-strings/blob/master/README.md#installing-puppet-strings)
117+
- Note that the gem still requires puppet. We recommend that the strings gem be installed with puppet, as suggested in the [README](https://github.com/puppetlabs/puppet-strings/blob/main/README.md#installing-puppet-strings)
118118
- New gemspec requirement on Ruby version 1.9.3, the oldest supported Ruby version
119119

120120
### BugFixes
@@ -134,8 +134,8 @@ All related tickets can be found under the [PDOC][PDOC JIRA] JIRA project with t
134134
### Features
135135
- Support for JSON output **(PDOC-23)**
136136
- Strings now has the ability to produce a JSON representation of a given puppet module
137-
- The details of the JSON schema can be found [here](https://github.com/puppetlabs/puppet-strings/blob/master/json_dom.md)
138-
- For details on how to generate JSON, see the [README](https://github.com/puppetlabs/puppet-strings/blob/master/README.md#running-puppet-strings)
137+
- The details of the JSON schema can be found [here](https://github.com/puppetlabs/puppet-strings/blob/main/json_dom.md)
138+
- For details on how to generate JSON, see the [README](https://github.com/puppetlabs/puppet-strings/blob/main/README.md#running-puppet-strings)
139139
- Migrate to ruby gems as a distribution method **(PDOC-28)**
140140
- This is the last release of strings that will be available as a puppet module
141141
- The 0.4.0 release will be released concurrently as a ruby gem

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Puppet Strings
22
==============
3-
[![Build Status](https://travis-ci.org/puppetlabs/puppet-strings.png?branch=master)](https://travis-ci.org/puppetlabs/puppet-strings) [![Gem Version](https://badge.fury.io/rb/puppet-strings.svg)](https://badge.fury.io/rb/puppet-strings)
3+
[![Build Status](https://travis-ci.org/puppetlabs/puppet-strings.png?branch=main)](https://travis-ci.org/puppetlabs/puppet-strings) [![Gem Version](https://badge.fury.io/rb/puppet-strings.svg)](https://badge.fury.io/rb/puppet-strings)
44

55
Puppet Strings generates documentation for Puppet code and extensions written in Puppet and Ruby. Strings processes code and YARD-style code comments to create documentation in HTML, Markdown, or JSON formats.
66

@@ -70,7 +70,7 @@ Here are a few other good resources for getting started with documentation:
7070

7171
We love contributions from the community!
7272

73-
If you'd like to contribute to `puppet-strings`, check out [CONTRIBUTING.md](https://github.com/puppetlabs/puppet-strings/blob/master/CONTRIBUTING.md) to get information on the contribution process.
73+
If you'd like to contribute to `puppet-strings`, check out [CONTRIBUTING.md](https://github.com/puppetlabs/puppet-strings/blob/main/CONTRIBUTING.md) to get information on the contribution process.
7474

7575
### Running Specs
7676

@@ -141,9 +141,9 @@ Bug fixes and ongoing development will occur in minor releases for the current m
141141

142142
[repo]: https://github.com/puppetlabs/puppet-strings
143143
[issues]: https://github.com/puppetlabs/puppet-strings/issues
144-
[LICENSE]: https://github.com/puppetlabs/puppet-strings/blob/master/LICENSE
145-
[changelog]: https://github.com/puppetlabs/puppet-strings/blob/master/CHANGELOG.md
146-
[contributing]: https://github.com/puppetlabs/puppet-strings/blob/master/CONTRIBUTING.md
147-
[committers]: https://github.com/puppetlabs/puppet-strings/blob/master/COMMITTERS.md
144+
[LICENSE]: https://github.com/puppetlabs/puppet-strings/blob/main/LICENSE
145+
[changelog]: https://github.com/puppetlabs/puppet-strings/blob/main/CHANGELOG.md
146+
[contributing]: https://github.com/puppetlabs/puppet-strings/blob/main/CONTRIBUTING.md
147+
[committers]: https://github.com/puppetlabs/puppet-strings/blob/main/COMMITTERS.md
148148
[Puppet community Slack]: https://slack.puppet.com
149149

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if Bundler.rubygems.find_name('puppet_litmus').any?
1818
original_with_runner(deep_duplicate_object(config_data), deep_duplicate_object(inventory_data)) { |runner| yield runner }
1919
end
2020

21-
# From https://github.com/puppetlabs/pdk/blob/master/lib/pdk/util.rb
21+
# From https://github.com/puppetlabs/pdk/blob/main/lib/pdk/util.rb
2222
# Workaround for https://github.com/puppetlabs/bolt/issues/1614
2323
def self.deep_duplicate_object(object)
2424
if object.is_a?(Array)

misc/ANNOUNCEMENT_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Before sending, do check that all links are still valid. Feel free to adjust the
44

55
The github rendering of the markdown seems to copy&paste acceptably into Google Inbox.
66

7-
The [CHANGELOG](https://github.com/puppetlabs/puppet-strings/blob/master/CHANGELOG.md) is a good starting point for finding enhancements and bug-fixes.
7+
The [CHANGELOG](https://github.com/puppetlabs/puppet-strings/blob/main/CHANGELOG.md) is a good starting point for finding enhancements and bug-fixes.
88

99
---
1010

@@ -29,7 +29,7 @@ The new release also contains the following notable bugfixes:
2929
* E
3030
* F
3131

32-
See the [CHANGELOG](https://github.com/puppetlabs/puppet-strings/blob/master/CHANGELOG.md) for a full list of changes
32+
See the [CHANGELOG](https://github.com/puppetlabs/puppet-strings/blob/main/CHANGELOG.md) for a full list of changes
3333

3434
We encourage all module developers to review puppet-strings and use it when creating modules.
3535

spec/unit/puppet-strings/yard/handlers/ruby/data_type_handler_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def suppress_yard_logging
261261

262262
describe 'parsing a valid data type definition' do
263263
# TODO: What about testing for `type_parameters => {}`
264-
# e.g. https://github.com/puppetlabs/puppet/blob/master/lib/puppet/datatypes/error.rb
264+
# e.g. https://github.com/puppetlabs/puppet/blob/main/lib/puppet/datatypes/error.rb
265265
let(:source) { <<-SOURCE
266266
# An example Puppet Data Type in Ruby.
267267
#

0 commit comments

Comments
 (0)