Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhoublue committed May 6, 2022
0 parents commit 2e990e0
Show file tree
Hide file tree
Showing 4,996 changed files with 1,547,300 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
73 changes: 73 additions & 0 deletions .github/.spelling
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
spiderpool
spiderpool-agent
spiderpool-controller
spiderpoolctl
gc
ip
ippool
ippools
workloadendpoint
reservedip
github
changelog
changelogs
github_pages
index.yaml
ci
ghcr
gitbook
yaml
yamllint-conf
yml
golangci-lint
gofmt
codeql
gokart
unitest
codecov
openapi.yaml
vXX.XX.XX
robot_update_githubpage
Github
k8s
crd
ipam
markdownlint.yaml
codespell-ignorewords
namespace
golang
swag.sh
api
v1
openapi-validate-spec
openapi-code-gen
openapi-verify
clean-openapi-code
makefile
openapi-ui
swagger-ui
e2e
macvlan
ipv4
ipv6
ipv4-only
ipv6-only
statefulset
multus
OpenSSF
webhook
SDK
QuickStart
spiderflat
KubeGrid
openapi
http
p4
p3
p2
p1
P4
P3
P2
P1

30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Bug report
about: Create a report to help us improve
title: 'software bug'
labels: issue/bug, issue/not-assign
assignees: 'weizhoublue'

---

**Describe the version**
version about:
1. spiderpool
2. kubernetes
3. what CNI and itsversion


**Describe the bug**
A clear and concise description of what the bug is.

**Hwo To Reproduce**
Steps to reproduce the issue:

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots and log**
If applicable, add screenshots and log to help explain your problem.

**Additional context**
Add any other context about the problem here.
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/ci-failure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: CI failure
about: Create a report to help us improve
title: 'CI failure'
labels: issue/ci-fail, issue/not-assign
assignees: 'weizhoublue'

---

Set title to be in the format CI: <test-name>.

Copy-paste the output the test failure.

Upload the zip file generated from that test failure.

Copy-paste the link of the CI build where that test failure has happen.

Include any output from logs that you think may be relevant (to ease GitHub searches).
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/doc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Documentation issue
about: documentation is not right
title: 'documentation issue'
labels: issue/doc, issue/not-assign
assignees: 'weizhoublue'

---

**Documentation issue**
1. miss documentation
2. documentation go wrong

41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
name: Feature request
about: Suggest an idea for this project
title: 'feature'
labels: issue/feature, issue/not-assign
assignees: 'weizhoublue'

---

**1 Code requirement**

necessary comment for your additional code , and comment for goDoc

function and variable name must not be at will

do not make huge function

**2 observe opensource license**

announce license at the beginning of file

**3 sign-off your commit**

your commit must be signed off

**4 Is your feature request related to a problem? Please describe.**

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**5 Describe the solution you'd like**

A clear and concise description of what you want to happen.

**6 Describe alternatives you've considered**

A clear and concise description of any alternative solutions or features you've considered.

**7 Additional context**

Add any other context or screenshots about the feature request here.

12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/usage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: usage issue
about: no idea how to use
title: 'usage issue'
labels: issue/usage, issue/not-assign
assignees: 'weizhoublue'

---

**usage issue**
1. doubts about how to use the software

33 changes: 33 additions & 0 deletions .github/changelog_builder_conf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"categories": [
{
"title": "## New Features",
"labels": ["pr/release/feature-new"]
},
{
"title": "## Changed Features",
"labels": ["pr/release/feature-changed"]
},
{
"title": "## Fixes",
"labels": ["pr/release/bug"]
}
],
"ignore_labels": [
"ignore"
],
"sort": "ASC",
"template": "from tag ${{FROM_TAG}} to ${{TO_TAG}}\n\n${{CHANGELOG}}\n\ncategorized pr: ${{CATEGORIZED_COUNT}}\n\nuncategorized pr: ${{UNCATEGORIZED_COUNT}}\n\nignored pr: ${{IGNORED_COUNT}}\n\n<details>\n<summary>Total PR</summary>\n\n${{RELEASE_DIFF}}\n</details>",
"pr_template": "- ${{TITLE}} - PR: #${{NUMBER}}",
"empty_template": "- no changes",
"transformers": [],
"max_tags_to_fetch": 200,
"max_pull_requests": 1000,
"max_back_track_time_days": 365,
"tag_resolver": {
"method": "semver"
},
"base_branches": [
"main"
]
}
8 changes: 8 additions & 0 deletions .github/codespell-config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[codespell]
check-hidden =
quiet-level = 2
skip = vendor,go.sum,go.mod,codespell-ignorewords,.git,.idea,ca.crt
uri-ignore-words-list = *
context = 1
ignore-words = .github/codespell-ignorewords
ignore-regex = kubebuilder.*
1 change: 1 addition & 0 deletions .github/codespell-ignorewords
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
afterall
49 changes: 49 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: gomod
directory: /
schedule:
interval: weekly
# default to default branch
# target-branch: "main"
open-pull-requests-limit: 10
rebase-strategy: "disabled"
ignore:
# k8s dependencies will be updated manually along with tests
- dependency-name: "k8s.io/*"
- dependency-name: "sigs.k8s.io/*"
reviewers:
- "weizhoublue"
labels:
- pr/release/none-required
- pr/dependabot/gomod

- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
# default to default branch
# target-branch: "main"
open-pull-requests-limit: 5
rebase-strategy: "disabled"
reviewers:
- "weizhoublue"
labels:
- pr/dependabot/github-actions
- pr/release/none-required

- package-ecosystem: "docker"
directory: "/images"
schedule:
interval: "weekly"
open-pull-requests-limit: 5
reviewers:
- "weizhoublue"
labels:
- pr/release/none-required
- pr/dependabot/docker
72 changes: 72 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
- name: pr/release/bug
description: bug pr in a new release
color: d73a4a
- name: pr/release/feature-new
description: new feature pr in a new release
color: 0075ca
- name: pr/release/feature-changed
description: changed feature pr in a new release
color: cfd3d7
- name: pr/release/doc
description: doc pr in a new release
color: 0fd3d7
- name: pr/release/robot_update_githubpage
description: auto robot update github page
color: afd3d7
- name: pr/release/changelog
description: manual changelog pr in a new release
color: bfd3d7
- name: pr/release/chart
description: manual chart pr in a new release
color: bfd3d7
- name: pr/release/none-required
description: not show up in a new release
color: cfc3d7
- name: pr/approved
description: This pull request could be merged
color: dfd3d7
- name: pr/stale
description: This pull is inactive
color: dfd6d7
- name: pr/ready-review
description: This pull is ready for review
color: dfd6d7
- name: pr/dependabot/docker
description: This pull is for dockerfile from dependabot
color: dfd6d7
- name: pr/dependabot/gomod
description: This pull is for gomod from dependabot
color: dfd6d7
- name: pr/dependabot/github-actions
description: This pull is for github-actions from dependabot
color: dfd6d7
- name: pr/need-release-label
description: This pull neel release label for merge
color: df56d7
- name: issue/bug
description: bug
color: efd3d7
- name: issue/not-assign
description: a new issue not assigned
color: ffd3d7
- name: issue/ci-fail
description: ci failed
color: 0ad3d7
- name: issue/doc
description: documentation is wrong or missing
color: 0bd3d7
- name: issue/feature
description: want new feature
color: 0cd3d7
- name: issue/usage
description: no idea about usage
color: 0dd3d7
- name: issue/duplicate
description: This issue request already exists
color: 0fd3d7
- name: issue/ignore
description: This issue or pull request will ignore
color: 15d3d7
- name: issue/stale
description: This issue is inactive
color: d0d6d7
21 changes: 21 additions & 0 deletions .github/markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# rules https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md
# example https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.yaml
# example https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.jsonc

# Default state for all rules
default: true

# Line length
MD013: false

# Multiple headings with the same content
MD024: false

# Fenced code blocks should have a language specified
MD040: false

# Dollar signs used before commands without showing output
MD014: false

# Inline HTML
MD033: false
1 change: 1 addition & 0 deletions .github/markdownlintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vendor/
Loading

0 comments on commit 2e990e0

Please sign in to comment.