-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from kubecub/feat/init-project
build: init comment-lang-detector project
- Loading branch information
Showing
97 changed files
with
11,696 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{{ if .Versions -}} | ||
<a name="unreleased"></a> | ||
## [Unreleased] | ||
|
||
{{ if .Unreleased.CommitGroups -}} | ||
{{ range .Unreleased.CommitGroups -}} | ||
### {{ .Title }} | ||
{{ range .Commits -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} | ||
{{ end }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
|
||
{{ range .Versions }} | ||
<a name="{{ .Tag.Name }}"></a> | ||
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }} | ||
{{ range .CommitGroups -}} | ||
### {{ .Title }} | ||
{{ range .Commits -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{- if .RevertCommits -}} | ||
### Reverts | ||
{{ range .RevertCommits -}} | ||
- {{ .Revert.Header }} | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{- if .MergeCommits -}} | ||
### Pull Requests | ||
{{ range .MergeCommits -}} | ||
- {{ .Header }} | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{- if .NoteGroups -}} | ||
{{ range .NoteGroups -}} | ||
### {{ .Title }} | ||
{{ range .Notes }} | ||
{{ .Body }} | ||
{{ end }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
|
||
{{- if .Versions }} | ||
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD | ||
{{ range .Versions -}} | ||
{{ if .Tag.Previous -}} | ||
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Copyright © 2023 KubeCub open source community. All rights reserved. | ||
# Licensed under the MIT License (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
||
style: github | ||
template: CHANGELOG.tpl.md | ||
info: | ||
title: CHANGELOG | ||
repository_url: https://github.com/kubecub/comment-lang-detector | ||
options: | ||
commits: | ||
# filters: | ||
# Type: | ||
# - feat | ||
# - fix | ||
# - perf | ||
# - refactor | ||
commit_groups: | ||
# title_maps: | ||
# feat: Features | ||
# fix: Bug Fixes | ||
# perf: Performance Improvements | ||
# refactor: Code Refactoring | ||
header: | ||
pattern: "^(\\w*)\\:\\s(.*)$" | ||
pattern_maps: | ||
- Type | ||
- Subject | ||
notes: | ||
keywords: | ||
- BREAKING CHANGE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
Read the [contributor guide](../CONTRIBUTING.md) for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Copyright © 2023 KubeCub & Xinwei Xiong(cubxxw). All rights reserved. | ||
# Licensed under the MIT License (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
||
|
||
github: [cubxxw] | ||
liberapay: "xiongxinwei/donate" | ||
paypal: ["paypal.me/cubxxw", paypal.me] | ||
custom: ["https://www.paypal.me/cubxxw", nsddd.top] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
reviewers: | ||
- cubxxw | ||
approvers: | ||
- cubxxw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
</br> | ||
<!-- | ||
🫰 Thanks for sending a pull request! Here are some tips for you: | ||
1. If this is your first time, please read our contributor guidelines: | ||
📇 https://github.com/kubecub/community/blob/main/CONTRIBUTING.md | ||
2. Ensure you have added or ran the appropriate tests for your PR: | ||
--> | ||
|
||
#### 🔍 What type of PR is this? | ||
<!-- | ||
We need to tag this PR, which you should learn about in the contributor guide. | ||
Add one of the following kinds: | ||
/kind bug | ||
/kind cleanup | ||
/kind documentation | ||
/kind feature | ||
Optionally add one or more of the following kinds if applicable: | ||
/kind api-change | ||
/kind deprecation | ||
/kind failing-test | ||
/kind flake | ||
/kind regression | ||
--> | ||
|
||
|
||
#### 👀 What this PR does / why we need it: | ||
<!-- Make sure your pr passes the CI checks and do check the following fields as needed - --> | ||
- [ ] My pull request adheres to the code style of this project | ||
- [ ] My code requires changes to the documentation | ||
- [ ] I have updated the documentation as required | ||
- [ ] All the tests have passed | ||
|
||
<!--Why do we need this PR?--> | ||
|
||
|
||
#### 🅰 Which issue(s) this PR fixes: | ||
<!-- | ||
*Automatically closes linked issue when PR is merged. | ||
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. | ||
If there are multiple PRS, use Fixes: #{ID_1}, #{ID_2} | ||
If there is a relevant PR, use Link #{ID} | ||
--> | ||
|
||
Fixes # | ||
|
||
|
||
#### 📝 Special notes for your reviewer: | ||
|
||
|
||
|
||
|
||
#### 🎯 Describe how to verify it | ||
|
||
|
||
|
||
#### 📑 Additional documentation e.g., RFC, notion, Google docs, usage docs, etc.: | ||
<!-- | ||
This section can be blank if this pull request does not require a release note. | ||
When adding links which point to resources within git repositories, like | ||
KEPs or supporting documentation, please reference a specific commit and avoid | ||
linking directly to the master branch. This ensures that links reference a | ||
specific point in time, rather than a document that may change over time. | ||
In the sharers Guide, we recommend the following documents: | ||
1. Using GitHub RFCs template: https://github.com/kubecub/community/blob/main/0000-template.md | ||
2. Use Google Docs OR Notion and share it with the community. | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Copyright © 2023 KubeCub & Xinwei Xiong(cubxxw). All rights reserved. | ||
# Licensed under the MIT License (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
||
|
||
command: | ||
- any: ['cmd/**/*', 'docs/commandline/**/*'] | ||
|
||
area/doc: | ||
- any: ['docs/**/*'] | ||
|
||
faq: | ||
- 'FAQ.md' | ||
|
||
test: | ||
- any: ['**/*_test.go'] | ||
|
||
e2e-test: | ||
- any: ['test/**/*'] | ||
|
||
plugin: | ||
- any: ['pkg/plugin/**/*'] | ||
|
||
Clusterfile: | ||
- any: ['types/**/*'] | ||
|
||
Adopter-Info: | ||
- 'Adopters.md' | ||
|
||
ImageBuilding: | ||
- any: ['build/**/*'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Copyright © 2023 KubeCub & Xinwei Xiong(cubxxw). All rights reserved. | ||
# Licensed under the MIT License (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
||
|
||
XS: | ||
name: size/XS | ||
lines: 0 | ||
color: 3CBF00 | ||
S: | ||
name: size/S | ||
lines: 10 | ||
color: 5D9801 | ||
M: | ||
name: size/M | ||
lines: 30 | ||
color: 7F7203 | ||
L: | ||
name: size/L | ||
lines: 100 | ||
color: A14C05 | ||
XL: | ||
name: size/XL | ||
lines: 500 | ||
color: C32607 | ||
XXL: | ||
name: size/XXL | ||
lines: 1000 | ||
color: E50009 | ||
comment: | | ||
# Whoa! Easy there, Partner!🤖 | ||
This `PR` is too big. Please break it up into smaller `PRs`🥰. |
Oops, something went wrong.