mirror of
https://github.com/restic/rest-server.git
synced 2025-10-19 07:33:21 +00:00
Merge pull request #62 from restic/add-changelog
Add changelog generated by calens
This commit is contained in:
commit
899ef655ef
7 changed files with 92 additions and 0 deletions
|
@ -26,12 +26,14 @@ install:
|
|||
- export PATH="$PATH:$GOBIN"
|
||||
- go get -u github.com/golang/lint/golint
|
||||
- go get golang.org/x/tools/cmd/goimports
|
||||
- go get github.com/restic/calens
|
||||
|
||||
script:
|
||||
- go install
|
||||
- go test -v . ./cmd/rest-server
|
||||
- go run build.go -v -T
|
||||
- diff <(goimports -d *.go) <(printf "")
|
||||
- calens
|
||||
|
||||
after_success:
|
||||
- diff <(golint *.go) <(printf "")
|
||||
|
|
3
changelog/0.9.7_2018-02-18/issue-53
Normal file
3
changelog/0.9.7_2018-02-18/issue-53
Normal file
|
@ -0,0 +1,3 @@
|
|||
Enhancement: Rename --cpuprofile to --cpu-profile
|
||||
|
||||
https://github.com/restic/rest-server/issues/53
|
31
changelog/CHANGELOG-GitHub.tmpl
Normal file
31
changelog/CHANGELOG-GitHub.tmpl
Normal file
|
@ -0,0 +1,31 @@
|
|||
{{- range $changes := . }}{{ with $changes -}}
|
||||
Changelog for rest-server {{ .Version }} ({{ .Date }})
|
||||
=========================================
|
||||
|
||||
The following sections list the changes in rest-server {{ .Version }} relevant to users. The changes are ordered by importance.
|
||||
|
||||
Summary
|
||||
-------
|
||||
{{ range $entry := .Entries }}{{ with $entry }}
|
||||
* {{ .TypeShort }} [#{{ .PrimaryID }}]({{ .PrimaryURL }}): {{ .Title }}
|
||||
{{- end }}{{ end }}
|
||||
|
||||
Details
|
||||
-------
|
||||
{{ range $entry := .Entries }}{{ with $entry }}
|
||||
* {{ .Type }} #{{ .PrimaryID }}: {{ .Title }}
|
||||
{{ range $par := .Paragraphs }}
|
||||
{{ $par }}
|
||||
{{ end }}
|
||||
{{ range $id := .Issues -}}
|
||||
{{ ` ` }}[#{{ $id }}](https://github.com/restic/rest-server/issues/{{ $id -}})
|
||||
{{- end -}}
|
||||
{{ range $id := .PRs -}}
|
||||
{{ ` ` }}[#{{ $id }}](https://github.com/restic/rest-server/pull/{{ $id -}})
|
||||
{{- end -}}
|
||||
{{ ` ` }}{{ range $url := .OtherURLs -}}
|
||||
{{ $url -}}
|
||||
{{- end }}
|
||||
{{ end }}{{ end }}
|
||||
|
||||
{{ end }}{{ end -}}
|
32
changelog/CHANGELOG.tmpl
Normal file
32
changelog/CHANGELOG.tmpl
Normal file
|
@ -0,0 +1,32 @@
|
|||
{{- range $changes := . }}{{ with $changes -}}
|
||||
Changelog for rest-server {{ .Version }} ({{ .Date }})
|
||||
============================================
|
||||
|
||||
The following sections list the changes in rest-server {{ .Version }} relevant
|
||||
to users. The changes are ordered by importance.
|
||||
|
||||
Summary
|
||||
-------
|
||||
{{ range $entry := .Entries }}{{ with $entry }}
|
||||
* {{ .TypeShort }} #{{ .PrimaryID }}: {{ .Title }}
|
||||
{{- end }}{{ end }}
|
||||
|
||||
Details
|
||||
-------
|
||||
{{ range $entry := .Entries }}{{ with $entry }}
|
||||
* {{ .Type }} #{{ .PrimaryID }}: {{ .Title }}
|
||||
{{ range $par := .Paragraphs }}
|
||||
{{ wrap $par 80 3 }}
|
||||
{{ end -}}
|
||||
{{ range $id := .Issues }}
|
||||
https://github.com/restic/restic/issues/{{ $id -}}
|
||||
{{ end -}}
|
||||
{{ range $id := .PRs }}
|
||||
https://github.com/restic/restic/pull/{{ $id -}}
|
||||
{{ end -}}
|
||||
{{ range $url := .OtherURLs }}
|
||||
{{ $url -}}
|
||||
{{ end }}
|
||||
{{ end }}{{ end }}
|
||||
|
||||
{{ end }}{{ end -}}
|
12
changelog/TEMPLATE
Normal file
12
changelog/TEMPLATE
Normal file
|
@ -0,0 +1,12 @@
|
|||
Bugfix: Fix behavior for foobar (in present tense)
|
||||
|
||||
We've fixed the behavior for foobar, a long-standing annoyance for rest-server
|
||||
users.
|
||||
|
||||
The text in the paragraphs is written in past tense. The last section is a list
|
||||
of issue URLs, PR URLs and other URLs. The first issue ID (or the first PR ID,
|
||||
in case there aren't any issue links) is used as the primary ID.
|
||||
|
||||
https://github.com/restic/restic/issues/1234
|
||||
https://github.com/restic/restic/pull/55555
|
||||
https://forum.restic/.net/foo/bar/baz
|
4
changelog/unreleased/issue-44
Normal file
4
changelog/unreleased/issue-44
Normal file
|
@ -0,0 +1,4 @@
|
|||
Enhancement: Add changelog file
|
||||
|
||||
https://github.com/restic/rest-server/issues/44
|
||||
https://github.com/restic/rest-server/pull/62
|
8
changelog/unreleased/issue-60
Normal file
8
changelog/unreleased/issue-60
Normal file
|
@ -0,0 +1,8 @@
|
|||
Security: Require auth by default, add --no-auth flag
|
||||
|
||||
In order to prevent users from accidentally exposing rest-server without
|
||||
authentication, rest-server now defaults to requiring a .htpasswd. If you want
|
||||
to disable authentication, you need to explicitly pass the new --no-auth flag.
|
||||
|
||||
https://github.com/restic/rest-server/issues/60
|
||||
https://github.com/restic/rest-server/pull/61
|
Loading…
Add table
Add a link
Reference in a new issue