Skip to content

Commit 4762906

Browse files
squeedeeCiro da Silva da CostaMarty SpiewakemmjohnsonRasheed Abdul-Aziz
committed
Migrating site from cartographer repo
https://github.com/vmware-tanzu/cartographer/tree/v0.3.0/site -> / https://github.com/vmware-tanzu/cartographer/tree/v0.3.0/experimental/live-editor -> /live editor Contribution history lost, but still present on https://github.com/vmware-tanzu/cartographer/ [vmware-tanzu#436] Co-authored-by: Ciro da Silva da Costa <[email protected]> Co-authored-by: Marty Spiewak <[email protected]> Co-authored-by: Emily Johnson <[email protected]> Co-authored-by: Rasheed Abdul-Aziz <[email protected]> Co-authored-by: Sam Coward <[email protected]> Co-authored-by: Todd Ritchie <[email protected]> Co-authored-by: Waciuma Wanjohi <[email protected]> Co-authored-by: David Espejo <[email protected]>
1 parent ef500f4 commit 4762906

File tree

535 files changed

+83987
-110
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

535 files changed

+83987
-110
lines changed

Diff for: .github/actions/source-checks/action.yaml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Copyright 2021 VMware
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: 'Source checks'
16+
description: 'Run linting and copyright checks'
17+
18+
runs:
19+
using: "composite"
20+
steps:
21+
- name: check copyright header
22+
shell: bash
23+
run: |
24+
make copyright
25+
[ -z "$(git status --porcelain)" ] || git diff HEAD --exit-code
26+
27+
- name: lint
28+
shell: bash
29+
run: |
30+
make lint
31+
[ -z "$(git status --porcelain)" ] || git diff HEAD --exit-code

Diff for: .github/dependabot.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Copyright 2021 VMware
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
version: 2
16+
updates:
17+
- package-ecosystem: gomod
18+
labels: ["dependencies"]
19+
directory: /hack/tools
20+
schedule:
21+
interval: daily
22+
time: "00:00"
23+
- package-ecosystem: github-actions
24+
directory: /
25+
labels: ["dependencies"]
26+
schedule:
27+
interval: daily
28+
time: "00:00"
29+
- package-ecosystem: npm
30+
labels: ["dependencies"]
31+
directory: /
32+
schedule:
33+
interval: daily
34+
time: "00:00"
35+
- package-ecosystem: npm
36+
labels: ["dependencies"]
37+
directory: /live-editor
38+
schedule:
39+
interval: daily
40+
time: "00:00"

Diff for: .github/workflows/dependabot-auto-approve-merge.yaml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Copyright 2021 VMware
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: Dependabot auto-approve and merge
16+
on:
17+
pull_request:
18+
branches: [ main ]
19+
20+
permissions:
21+
pull-requests: write
22+
contents: write
23+
24+
jobs:
25+
dependabot:
26+
runs-on: ubuntu-latest
27+
if: ${{ github.actor == 'dependabot[bot]' }}
28+
steps:
29+
- name: Dependabot metadata
30+
id: metadata
31+
uses: dependabot/[email protected]
32+
with:
33+
github-token: "${{ secrets.GITHUB_TOKEN }}"
34+
- name: Approve PR
35+
run: gh pr review --approve "$PR_URL"
36+
env:
37+
PR_URL: ${{github.event.pull_request.html_url}}
38+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
39+
- name: Enable auto-merge for Dependabot PRs
40+
if: ${{ steps.metadata.outputs.update-type != 'version-update:semver-major' }}
41+
run: gh pr merge --auto --squash "$PR_URL"
42+
env:
43+
PR_URL: ${{github.event.pull_request.html_url}}
44+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

Diff for: .github/workflows/validation.yaml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Copyright 2021 VMware
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: validation
16+
on:
17+
push:
18+
branches: [main]
19+
pull_request:
20+
branches: [main]
21+
22+
jobs:
23+
build:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: checkout
27+
uses: actions/checkout@v3
28+
with: {fetch-depth: 0}
29+
30+
- name: set up Go
31+
uses: actions/setup-go@v2
32+
with: {go-version: '^1.18'}
33+
34+
- name: run source checks
35+
uses: ./.github/actions/source-checks

Diff for: .gitignore

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Ignore everything in this directory
2-
*
3-
# Except this file
4-
!.gitignore
1+
resources/
2+
public/
3+
.hugo_build.lock
4+
node_modules

Diff for: CODE_OF_CONDUCT.md

+50-76
Original file line numberDiff line numberDiff line change
@@ -2,126 +2,100 @@
22

33
## Our Pledge
44

5-
We as members, contributors, and leaders pledge to make participation in cartographer-site project and our
6-
community a harassment-free experience for everyone, regardless of age, body
7-
size, visible or invisible disability, ethnicity, sex characteristics, gender
8-
identity and expression, level of experience, education, socio-economic status,
9-
nationality, personal appearance, race, religion, or sexual identity
10-
and orientation.
5+
We as members, contributors, and leaders pledge to make participation in cartographer-site project and our community a
6+
harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex
7+
characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality,
8+
personal appearance, race, religion, or sexual identity and orientation.
119

12-
We pledge to act and interact in ways that contribute to an open, welcoming,
13-
diverse, inclusive, and healthy community.
10+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
1411

1512
## Our Standards
1613

17-
Examples of behavior that contributes to a positive environment for our
18-
community include:
14+
Examples of behavior that contributes to a positive environment for our community include:
1915

20-
* Demonstrating empathy and kindness toward other people
21-
* Being respectful of differing opinions, viewpoints, and experiences
22-
* Giving and gracefully accepting constructive feedback
23-
* Accepting responsibility and apologizing to those affected by our mistakes,
24-
and learning from the experience
25-
* Focusing on what is best not just for us as individuals, but for the
26-
overall community
16+
- Demonstrating empathy and kindness toward other people
17+
- Being respectful of differing opinions, viewpoints, and experiences
18+
- Giving and gracefully accepting constructive feedback
19+
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
20+
- Focusing on what is best not just for us as individuals, but for the overall community
2721

2822
Examples of unacceptable behavior include:
2923

30-
* The use of sexualized language or imagery, and sexual attention or
31-
advances of any kind
32-
* Trolling, insulting or derogatory comments, and personal or political attacks
33-
* Public or private harassment
34-
* Publishing others' private information, such as a physical or email
35-
address, without their explicit permission
36-
* Other conduct which could reasonably be considered inappropriate in a
37-
professional setting
24+
- The use of sexualized language or imagery, and sexual attention or advances of any kind
25+
- Trolling, insulting or derogatory comments, and personal or political attacks
26+
- Public or private harassment
27+
- Publishing others' private information, such as a physical or email address, without their explicit permission
28+
- Other conduct which could reasonably be considered inappropriate in a professional setting
3829

3930
## Enforcement Responsibilities
4031

41-
Community leaders are responsible for clarifying and enforcing our standards of
42-
acceptable behavior and will take appropriate and fair corrective action in
43-
response to any behavior that they deem inappropriate, threatening, offensive,
32+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take
33+
appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive,
4434
or harmful.
4535

46-
Community leaders have the right and responsibility to remove, edit, or reject
47-
comments, commits, code, wiki edits, issues, and other contributions that are
48-
not aligned to this Code of Conduct, and will communicate reasons for moderation
49-
decisions when appropriate.
36+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits,
37+
issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for
38+
moderation decisions when appropriate.
5039

5140
## Scope
5241

53-
This Code of Conduct applies within all community spaces, and also applies when
54-
an individual is officially representing the community in public spaces.
55-
Examples of representing our community include using an official e-mail address,
56-
posting via an official social media account, or acting as an appointed
57-
representative at an online or offline event.
42+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing
43+
the community in public spaces. Examples of representing our community include using an official e-mail address, posting
44+
via an official social media account, or acting as an appointed representative at an online or offline event.
5845

5946
## Enforcement
6047

61-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62-
reported to the community leaders responsible for enforcement at oss-coc@@vmware.com.
63-
All complaints will be reviewed and investigated promptly and fairly.
48+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible
49+
for enforcement at oss-coc@@vmware.com. All complaints will be reviewed and investigated promptly and fairly.
6450

65-
All community leaders are obligated to respect the privacy and security of the
66-
reporter of any incident.
51+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
6752

6853
## Enforcement Guidelines
6954

70-
Community leaders will follow these Community Impact Guidelines in determining
71-
the consequences for any action they deem in violation of this Code of Conduct:
55+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem
56+
in violation of this Code of Conduct:
7257

7358
### 1. Correction
7459

75-
**Community Impact**: Use of inappropriate language or other behavior deemed
76-
unprofessional or unwelcome in the community.
60+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the
61+
community.
7762

78-
**Consequence**: A private, written warning from community leaders, providing
79-
clarity around the nature of the violation and an explanation of why the
80-
behavior was inappropriate. A public apology may be requested.
63+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation
64+
and an explanation of why the behavior was inappropriate. A public apology may be requested.
8165

8266
### 2. Warning
8367

84-
**Community Impact**: A violation through a single incident or series
85-
of actions.
68+
**Community Impact**: A violation through a single incident or series of actions.
8669

87-
**Consequence**: A warning with consequences for continued behavior. No
88-
interaction with the people involved, including unsolicited interaction with
89-
those enforcing the Code of Conduct, for a specified period of time. This
90-
includes avoiding interactions in community spaces as well as external channels
91-
like social media. Violating these terms may lead to a temporary or
92-
permanent ban.
70+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including
71+
unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding
72+
interactions in community spaces as well as external channels like social media. Violating these terms may lead to a
73+
temporary or permanent ban.
9374

9475
### 3. Temporary Ban
9576

96-
**Community Impact**: A serious violation of community standards, including
97-
sustained inappropriate behavior.
77+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
9878

99-
**Consequence**: A temporary ban from any sort of interaction or public
100-
communication with the community for a specified period of time. No public or
101-
private interaction with the people involved, including unsolicited interaction
102-
with those enforcing the Code of Conduct, is allowed during this period.
103-
Violating these terms may lead to a permanent ban.
79+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified
80+
period of time. No public or private interaction with the people involved, including unsolicited interaction with those
81+
enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
10482

10583
### 4. Permanent Ban
10684

107-
**Community Impact**: Demonstrating a pattern of violation of community
108-
standards, including sustained inappropriate behavior, harassment of an
109-
individual, or aggression toward or disparagement of classes of individuals.
85+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate
86+
behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
11087

111-
**Consequence**: A permanent ban from any sort of public interaction within
112-
the community.
88+
**Consequence**: A permanent ban from any sort of public interaction within the community.
11389

11490
## Attribution
11591

116-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
117-
version 2.0, available at
92+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at
11893
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
11994

120-
Community Impact Guidelines were inspired by [Mozilla's code of conduct
121-
enforcement ladder](https://github.com/mozilla/diversity).
95+
Community Impact Guidelines were inspired by
96+
[Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
12297

12398
[homepage]: https://www.contributor-covenant.org
12499

125-
For answers to common questions about this code of conduct, see the FAQ at
126-
https://www.contributor-covenant.org/faq. Translations are available at
127-
https://www.contributor-covenant.org/translations.
100+
For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq.
101+
Translations are available at https://www.contributor-covenant.org/translations.

0 commit comments

Comments
 (0)