Skip to content

Commit

Permalink
✨ Add changlog config (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
tosone authored Dec 28, 2023
1 parent aa4b99f commit c8b50dc
Show file tree
Hide file tree
Showing 3 changed files with 332 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .chglog/CHANGELOG.tpl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{{ range .Versions }}
<a name="{{ .Tag.Name }}"></a>
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }})

{{ range .CommitGroups -}}
### {{ .Title }}

{{ range .Commits -}}
* {{ .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 -}}
46 changes: 46 additions & 0 deletions .chglog/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
style: github
template: CHANGELOG.tpl.md
info:
title: CHANGELOG
repository_url: https://github.com/go-sigma/sigma
options:
commits:
filters:
Type:
- sparkles
- bug
- zap
- recycle
- pencil
- arrow_up
- green_heart
- white_check_mark
commit_groups:
group_by: Type
sort_by: Custom
title_order:
- sparkles
- bug
- zap
- recycle
- pencil
- arrow_up
- green_heart
- white_check_mark
title_maps:
sparkles: Features
bug: Bug Fixes
zap: Performance Improvements
recycle: Code Refactoring
pencil: Docs
arrow_up: Upgrade
green_heart: CI
white_check_mark: Unit Tests
header:
pattern: "^:(\\w*)\\:\\s(.*)$"
pattern_maps:
- Type
- Subject
notes:
keywords:
- BREAKING CHANGE
248 changes: 248 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,248 @@

<a name="v1.0.0"></a>
## v1.0.0 (2023-12-27)

### Features

* Add introduction for sigma ([#260](https://github.com/go-sigma/sigma/issues/260))
* Show elapsed on builder page ([#257](https://github.com/go-sigma/sigma/issues/257))
* Change cache api ([#256](https://github.com/go-sigma/sigma/issues/256))
* Support update builder show the selected code repository ([#254](https://github.com/go-sigma/sigma/issues/254))
* Support code repository image build ([#253](https://github.com/go-sigma/sigma/issues/253))
* Auto refresh token if tab was active ([#252](https://github.com/go-sigma/sigma/issues/252))
* Redirect the login if not login ([#251](https://github.com/go-sigma/sigma/issues/251))
* Support anonymous login ([#250](https://github.com/go-sigma/sigma/issues/250))
* Add overview field for namespace ([#249](https://github.com/go-sigma/sigma/issues/249))
* Remove repository visibility field ([#248](https://github.com/go-sigma/sigma/issues/248))
* Check auth in distribution manifest api ([#247](https://github.com/go-sigma/sigma/issues/247))
* Check auth in distribution api ([#246](https://github.com/go-sigma/sigma/issues/246))
* Add anonymous user ([#245](https://github.com/go-sigma/sigma/issues/245))
* Change dal test case ([#243](https://github.com/go-sigma/sigma/issues/243))
* Change repository and tag api ([#242](https://github.com/go-sigma/sigma/issues/242))
* Add docs for namespace member api ([#240](https://github.com/go-sigma/sigma/issues/240))
* Change namespaces created_at field type ([#239](https://github.com/go-sigma/sigma/issues/239))
* Upgrade yarn 4.0.2 ([#237](https://github.com/go-sigma/sigma/issues/237))
* Add auth and audit for namespac ([#236](https://github.com/go-sigma/sigma/issues/236))
* Change auth service implement ([#235](https://github.com/go-sigma/sigma/issues/235))
* Add auth service ([#234](https://github.com/go-sigma/sigma/issues/234))
* Update minio version ([#233](https://github.com/go-sigma/sigma/issues/233))
* Support anonymous list namespace api ([#232](https://github.com/go-sigma/sigma/issues/232))
* Add member page for namespace ([#231](https://github.com/go-sigma/sigma/issues/231))
* Change sample in dind ([#229](https://github.com/go-sigma/sigma/issues/229))
* Change handler variable ([#228](https://github.com/go-sigma/sigma/issues/228))
* Add run btn on gc runner page ([#227](https://github.com/go-sigma/sigma/issues/227))
* Add gc repository, tag, artifact, blob daemon task ([#226](https://github.com/go-sigma/sigma/issues/226))
* Add quick helm deploy command ([#223](https://github.com/go-sigma/sigma/issues/223))
* Remove lfs files ([#224](https://github.com/go-sigma/sigma/issues/224))
* Support image spec 1.1 referrers api ([#222](https://github.com/go-sigma/sigma/issues/222))
* Add multiarch sample images ([#221](https://github.com/go-sigma/sigma/issues/221))
* Change tags page ([#220](https://github.com/go-sigma/sigma/issues/220))
* Support create user and update user ([#219](https://github.com/go-sigma/sigma/issues/219))
* Support filter type for list tags ([#218](https://github.com/go-sigma/sigma/issues/218))
* Support sign image ([#217](https://github.com/go-sigma/sigma/issues/217))
* Support parse tag with digest ([#216](https://github.com/go-sigma/sigma/issues/216))
* Auth user in middleware ([#215](https://github.com/go-sigma/sigma/issues/215))
* Add version api ([#214](https://github.com/go-sigma/sigma/issues/214))
* Filter the cosign ([#213](https://github.com/go-sigma/sigma/issues/213))
* Support show helm and docker icon ([#212](https://github.com/go-sigma/sigma/issues/212))
* Add setting ([#211](https://github.com/go-sigma/sigma/issues/211))
* Update user profile and password ([#210](https://github.com/go-sigma/sigma/issues/210))
* Design docs start page ([#209](https://github.com/go-sigma/sigma/issues/209))
* Remove redis code ([#207](https://github.com/go-sigma/sigma/issues/207))
* Add sample script for demo server ([#206](https://github.com/go-sigma/sigma/issues/206))
* Set network for builder ([#205](https://github.com/go-sigma/sigma/issues/205))
* Remove viper from storage ([#203](https://github.com/go-sigma/sigma/issues/203))
* Add friendly link ([#202](https://github.com/go-sigma/sigma/issues/202))
* Add sigma builder to image ([#201](https://github.com/go-sigma/sigma/issues/201))
* Add demo server ([#200](https://github.com/go-sigma/sigma/issues/200))
* Remove redis ([#198](https://github.com/go-sigma/sigma/issues/198))
* Add option for workq producer ([#197](https://github.com/go-sigma/sigma/issues/197))
* Add workq redis implemention ([#196](https://github.com/go-sigma/sigma/issues/196))
* Change cacher and locker implemention ([#195](https://github.com/go-sigma/sigma/issues/195))
* Support workq ([#194](https://github.com/go-sigma/sigma/issues/194))
* Support update builder ([#193](https://github.com/go-sigma/sigma/issues/193))
* Support create and update builder ([#192](https://github.com/go-sigma/sigma/issues/192))
* Complete builder setup ([#191](https://github.com/go-sigma/sigma/issues/191))
* Change builder table definition ([#190](https://github.com/go-sigma/sigma/issues/190))
* Builder setup page ([#189](https://github.com/go-sigma/sigma/issues/189))
* Support code repository resync ([#188](https://github.com/go-sigma/sigma/issues/188))
* Support user signed grant oauth2 provider ([#187](https://github.com/go-sigma/sigma/issues/187))
* Add code repo owners is_org field ([#186](https://github.com/go-sigma/sigma/issues/186))
* Support cos ([#185](https://github.com/go-sigma/sigma/issues/185))
* Add code repository page ([#184](https://github.com/go-sigma/sigma/issues/184))
* Display providers ([#183](https://github.com/go-sigma/sigma/issues/183))
* Add handler for setup builder ([#181](https://github.com/go-sigma/sigma/issues/181))
* Add cronjob for builder ([#180](https://github.com/go-sigma/sigma/issues/180))
* Add handler for code repository ([#179](https://github.com/go-sigma/sigma/issues/179))
* Code repository ([#178](https://github.com/go-sigma/sigma/issues/178))
* Add graceful ([#176](https://github.com/go-sigma/sigma/issues/176))
* Add k8s builder implemention ([#175](https://github.com/go-sigma/sigma/issues/175))
* Delete config file before create in builder ([#174](https://github.com/go-sigma/sigma/issues/174))
* Change default password ([#173](https://github.com/go-sigma/sigma/issues/173))
* Support image builder ([#172](https://github.com/go-sigma/sigma/issues/172))
* Add builder dao query funcs ([#170](https://github.com/go-sigma/sigma/issues/170))
* Add crypt utils ([#169](https://github.com/go-sigma/sigma/issues/169))
* Add builder and builder logs table ([#167](https://github.com/go-sigma/sigma/issues/167))
* Add func for strings join ([#168](https://github.com/go-sigma/sigma/issues/168))
* Add func for split dir with slash ([#165](https://github.com/go-sigma/sigma/issues/165))
* Support builder with buildkit ([#164](https://github.com/go-sigma/sigma/issues/164))
* Add webhook ([#163](https://github.com/go-sigma/sigma/issues/163))
* Add daemon task log table ([#162](https://github.com/go-sigma/sigma/issues/162))
* Add config struct ([#161](https://github.com/go-sigma/sigma/issues/161))
* Support reset password ([#160](https://github.com/go-sigma/sigma/issues/160))
* Support hot namespace and logout ([#158](https://github.com/go-sigma/sigma/issues/158))
* Auto create namespace ([#155](https://github.com/go-sigma/sigma/issues/155))
* Support GitHub oauth2 login ([#154](https://github.com/go-sigma/sigma/issues/154))
* Add redis in dockerfile ([#153](https://github.com/go-sigma/sigma/issues/153))
* Update helm chart ([#152](https://github.com/go-sigma/sigma/issues/152))
* List tag with type ([#149](https://github.com/go-sigma/sigma/issues/149))
* Add bytemd support edit repo summary ([#148](https://github.com/go-sigma/sigma/issues/148))
* Add server domain config ([#147](https://github.com/go-sigma/sigma/issues/147))
* Display linux distro ([#142](https://github.com/go-sigma/sigma/issues/142))
* Tag page just one request ([#141](https://github.com/go-sigma/sigma/issues/141))
* Support tags page ([#140](https://github.com/go-sigma/sigma/issues/140))
* Support repository page ([#137](https://github.com/go-sigma/sigma/issues/137))
* Replace limit,last with limit,offset ([#135](https://github.com/go-sigma/sigma/issues/135))
* Fix toast close automatic ([#134](https://github.com/go-sigma/sigma/issues/134))
* Support update and delete namespace ([#133](https://github.com/go-sigma/sigma/issues/133))
* List namespace sort with field ([#132](https://github.com/go-sigma/sigma/issues/132))
* Add new sort header component ([#131](https://github.com/go-sigma/sigma/issues/131))
* Implement quota component ([#130](https://github.com/go-sigma/sigma/issues/130))
* Support tag limit ([#129](https://github.com/go-sigma/sigma/issues/129))
* Support namespace list ([#127](https://github.com/go-sigma/sigma/issues/127))
* Complete user login ([#126](https://github.com/go-sigma/sigma/issues/126))
* Support all in one ([#125](https://github.com/go-sigma/sigma/issues/125))
* Add logo for project ([#124](https://github.com/go-sigma/sigma/issues/124))
* Add repository create and update api ([#123](https://github.com/go-sigma/sigma/issues/123))
* Add description for repository ([#122](https://github.com/go-sigma/sigma/issues/122))
* Support github oauth2 ([#121](https://github.com/go-sigma/sigma/issues/121))
* Move pages to web-next ([#120](https://github.com/go-sigma/sigma/issues/120))
* Add cacher utils ([#119](https://github.com/go-sigma/sigma/issues/119))
* Implement gc ([#117](https://github.com/go-sigma/sigma/issues/117))
* Add custom func for casbin validate ([#116](https://github.com/go-sigma/sigma/issues/116))
* Add casbin rules for validate policy ([#115](https://github.com/go-sigma/sigma/issues/115))
* Add visibility for namespace ([#113](https://github.com/go-sigma/sigma/issues/113))
* Add namespace quota ([#112](https://github.com/go-sigma/sigma/issues/112))
* Convert all fields corresponding to numbers in the database to int64 ([#107](https://github.com/go-sigma/sigma/issues/107))
* Add transaction for put manifest ([#101](https://github.com/go-sigma/sigma/issues/101))
* Support standard distribution-spec api ([#94](https://github.com/go-sigma/sigma/issues/94))
* User sonic as default json serializer ([#93](https://github.com/go-sigma/sigma/issues/93))
* Version command never need config file ([#92](https://github.com/go-sigma/sigma/issues/92))
* Namespace associate with user ([#90](https://github.com/go-sigma/sigma/issues/90))
* Add proxy task tag ([#81](https://github.com/go-sigma/sigma/issues/81))
* Check filesystem api ([#79](https://github.com/go-sigma/sigma/issues/79))
* Support proxy artifact ([#78](https://github.com/go-sigma/sigma/issues/78))
* Add clients api ([#76](https://github.com/go-sigma/sigma/issues/76))
* Change logger ctx ([#75](https://github.com/go-sigma/sigma/issues/75))
* Separate token router ([#71](https://github.com/go-sigma/sigma/issues/71))
* Add helm one-click deployment ([#67](https://github.com/go-sigma/sigma/issues/67))
* Move enums to one package ([#59](https://github.com/go-sigma/sigma/issues/59))
* Support proxy blobs ([#53](https://github.com/go-sigma/sigma/issues/53))
* Support proxy manifest ([#51](https://github.com/go-sigma/sigma/issues/51))
* Add distribution clients ([#50](https://github.com/go-sigma/sigma/issues/50))
* Change gorm logger to zero log ([#48](https://github.com/go-sigma/sigma/issues/48))
* Add nextjs as new fe ([#47](https://github.com/go-sigma/sigma/issues/47))
* Support scan and sbom ([#46](https://github.com/go-sigma/sigma/issues/46))
* Save sbom and scan ([#41](https://github.com/go-sigma/sigma/issues/41))
* Add helm chart ([#40](https://github.com/go-sigma/sigma/issues/40))
* Complete sbom and scan worker ([#39](https://github.com/go-sigma/sigma/issues/39))
* Support basic auth ([#37](https://github.com/go-sigma/sigma/issues/37))
* Update README.md ([#33](https://github.com/go-sigma/sigma/issues/33))
* Support user login, logout and docker login ([#28](https://github.com/go-sigma/sigma/issues/28))
* Add password generator and verify ([#27](https://github.com/go-sigma/sigma/issues/27))
* Add config checker ([#26](https://github.com/go-sigma/sigma/issues/26))
* Add test for server handler ([#22](https://github.com/go-sigma/sigma/issues/22))
* Add counter test case
* Implement simple time wheel
* Support multi arch image
* Implement token gen and revoke
* Implement leader election with redis dist lock
* Implement user login
* Adjust pull times
* Add swagger
* Change int64 to uint64
* Implement ns and repo fe
* Add artifact and tag api
* Add artifact and tag api
* Implement leader election with k8s
* Implement notification
* Add errcode and response data definition
* Implement filesystem
* Support create namespace on page

### Bug Fixes

* Fix docs build ([#261](https://github.com/go-sigma/sigma/issues/261))
* Fix cosign ([#259](https://github.com/go-sigma/sigma/issues/259))
* Fix distribution router ([#83](https://github.com/go-sigma/sigma/issues/83))
* Init config in server and worker ([#52](https://github.com/go-sigma/sigma/issues/52))
* Fix HTTP Range header byte ranges are inclusive ([#45](https://github.com/go-sigma/sigma/issues/45))
* Fix docker login ([#38](https://github.com/go-sigma/sigma/issues/38))
* Apply fixes from CodeFactor ([#21](https://github.com/go-sigma/sigma/issues/21))

### Code Refactoring

* Refactor put manifest ([#99](https://github.com/go-sigma/sigma/issues/99))
* Refactor dao func ([#98](https://github.com/go-sigma/sigma/issues/98))
* Refactor artifact dao query ([#97](https://github.com/go-sigma/sigma/issues/97))
* Refactor manifest router ([#95](https://github.com/go-sigma/sigma/issues/95))

### Docs

* Add more swagger api docs ([#49](https://github.com/go-sigma/sigma/issues/49))
* Add badge ([#30](https://github.com/go-sigma/sigma/issues/30))
* Add README description ([#16](https://github.com/go-sigma/sigma/issues/16))

### Upgrade

* Upgrade go version 1.20.7 ([#182](https://github.com/go-sigma/sigma/issues/182))
* Upgrade dependencies ([#171](https://github.com/go-sigma/sigma/issues/171))
* Upgrade dependencies ([#100](https://github.com/go-sigma/sigma/issues/100))
* Bump vite from 4.2.1 to 4.2.3 in /web ([#88](https://github.com/go-sigma/sigma/issues/88))
* Update deps ([#36](https://github.com/go-sigma/sigma/issues/36))
* Bump github.com/containerd/containerd from 1.6.1 to 1.6.18 ([#25](https://github.com/go-sigma/sigma/issues/25))

### CI

* Disable ci build with timestamp ([#241](https://github.com/go-sigma/sigma/issues/241))
* Run pr without secret ([#225](https://github.com/go-sigma/sigma/issues/225))
* Branch main will not push image ([#157](https://github.com/go-sigma/sigma/issues/157))
* Add debian based image ([#156](https://github.com/go-sigma/sigma/issues/156))
* Use go build cache ([#96](https://github.com/go-sigma/sigma/issues/96))
* Update CI ([#91](https://github.com/go-sigma/sigma/issues/91))
* Never push image in normal ci ([#66](https://github.com/go-sigma/sigma/issues/66))
* Add github ci actions

### Unit Tests

* Change distribution test case ([#244](https://github.com/go-sigma/sigma/issues/244))
* Change inits test case ([#238](https://github.com/go-sigma/sigma/issues/238))
* Add test case for logout ([#159](https://github.com/go-sigma/sigma/issues/159))
* Add unit test for namespace ([#114](https://github.com/go-sigma/sigma/issues/114))
* Add unit test for xerrors ([#109](https://github.com/go-sigma/sigma/issues/109))
* Add unit test for put manifest ([#105](https://github.com/go-sigma/sigma/issues/105))
* Add e2e test ([#89](https://github.com/go-sigma/sigma/issues/89))
* Add unit test for dao ([#87](https://github.com/go-sigma/sigma/issues/87))
* Add unit test for dao ([#86](https://github.com/go-sigma/sigma/issues/86))
* Add unit test for artifact ([#84](https://github.com/go-sigma/sigma/issues/84))
* Add unit test for s3 ([#80](https://github.com/go-sigma/sigma/issues/80))
* Add unit test for repository ([#77](https://github.com/go-sigma/sigma/issues/77))
* Add unit test for namespace ([#74](https://github.com/go-sigma/sigma/issues/74))
* Add test files ([#73](https://github.com/go-sigma/sigma/issues/73))
* Add test case for dao ([#72](https://github.com/go-sigma/sigma/issues/72))
* Add unit test for daemon ([#70](https://github.com/go-sigma/sigma/issues/70))
* Add unit test for dal ([#69](https://github.com/go-sigma/sigma/issues/69))
* Add unit test for user router ([#68](https://github.com/go-sigma/sigma/issues/68))
* Add unit test for router ([#63](https://github.com/go-sigma/sigma/issues/63))
* Add unit test for xerrors ([#62](https://github.com/go-sigma/sigma/issues/62))
* Add unit test for middlewares ([#61](https://github.com/go-sigma/sigma/issues/61))
* Add unit test for proxy dao ([#60](https://github.com/go-sigma/sigma/issues/60))
* Add unit test for validator ([#58](https://github.com/go-sigma/sigma/issues/58))
* Add unit test for validator ([#57](https://github.com/go-sigma/sigma/issues/57))
* Add unit test ([#56](https://github.com/go-sigma/sigma/issues/56))
* Add limit reader unit test ([#54](https://github.com/go-sigma/sigma/issues/54))
* Add test for inits ([#44](https://github.com/go-sigma/sigma/issues/44))
* Add ut for filesystem ([#32](https://github.com/go-sigma/sigma/issues/32))
* Update token test ([#31](https://github.com/go-sigma/sigma/issues/31))
* Add unit test for s3 interface ([#24](https://github.com/go-sigma/sigma/issues/24))

0 comments on commit c8b50dc

Please sign in to comment.