Skip to content

Commit

Permalink
Merge pull request #2 from owncloud/initial-changelog
Browse files Browse the repository at this point in the history
Fix Formatting
  • Loading branch information
micbar authored Mar 9, 2020
2 parents 883778d + 1274efb commit 9f97770
Show file tree
Hide file tree
Showing 9 changed files with 85 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Comment to be posted to on PRs that don't update documentation
updateDocsComment: >
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a [changelog](https://github.com/owncloud/ocis-thumbnails/blob/master/changelog/README.md) item based on your changes.
updateDocsWhiteList:
- Tests-only
- tests-only
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Changes in unreleased

## Summary

* Change - Initial release of basic version: [#1](https://github.com/owncloud/ocis-thumbnails/issues/1)

## Details

* Change - Initial release of basic version: [#1](https://github.com/owncloud/ocis-thumbnails/issues/1)

Just prepare an initial basic version to embed a thumbnailer into our microservice
infrastructure in the scope of the ownCloud Infinite Scale project.

https://github.com/owncloud/ocis-thumbnails/issues/1

6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@ release-dirs:

.PHONY: release-linux
release-linux: release-dirs
go run github.com/mitchellh/gox -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'linux' -arch 'amd64 386 arm64 arm' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-<no value>-<no value>' ./cmd/$(NAME)
go run github.com/mitchellh/gox -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'linux' -arch 'amd64 386 arm64 arm' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)

.PHONY: release-windows
release-windows: release-dirs
go run github.com/mitchellh/gox -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'windows' -arch 'amd64' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-<no value>-<no value>' ./cmd/$(NAME)
go run github.com/mitchellh/gox -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'windows' -arch 'amd64' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)

.PHONY: release-darwin
release-darwin: release-dirs
go run github.com/mitchellh/gox -tags 'netgo $(TAGS)' -ldflags '$(LDFLAGS)' -os 'darwin' -arch 'amd64' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-<no value>-<no value>' ./cmd/$(NAME)
go run github.com/mitchellh/gox -tags 'netgo $(TAGS)' -ldflags '$(LDFLAGS)' -os 'darwin' -arch 'amd64' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)

.PHONY: release-copy
release-copy:
Expand Down
8 changes: 4 additions & 4 deletions changelog/CHANGELOG.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{ if gt (len $allVersions) 1 -}}
# Changelog for [{{ .Version }}] ({{ .Date }})

The following sections list the changes in ownCloudocis-thumbnails{{ .Version }}.
The following sections list the changes in ownCloudocis-thumbnails {{ .Version }}.

{{/* creating version compare links */ -}}
{{ $next := add1 $index -}}
Expand All @@ -30,12 +30,12 @@ The following sections list the changes in ownCloudocis-thumbnails{{ .Version }}

## Summary
{{ range $entry := .Entries }}{{ with $entry }}
* {{ .TypeShort }} #{{ .PrimaryID }}: {{ .Title }}
* {{ .Type }} - {{ .Title }}: [#{{ .PrimaryID }}]({{ .PrimaryURL }})
{{- end }}{{ end }}

## Details
{{ range $entry := .Entries }}{{ with $entry }}
* {{ .Type }} #{{ .PrimaryID }}: {{ .Title }}
* {{ .Type }} - {{ .Title }}: [#{{ .PrimaryID }}]({{ .PrimaryURL }})
{{ range $par := .Paragraphs }}
{{ wrapIndent $par 80 3 }}
{{ end -}}
Expand All @@ -50,4 +50,4 @@ The following sections list the changes in ownCloudocis-thumbnails{{ .Version }}
{{ end }}

{{ end }}{{ end -}}
{{ end }}{{ end -}}
{{ end }}{{ end -}}
Empty file added changelog/unreleased/.keep
Empty file.
7 changes: 7 additions & 0 deletions changelog/unreleased/initial-version
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Change: Initial release of basic version

Just prepare an initial basic version to embed a thumbnailer into our
microservice infrastructure in the scope of the ownCloud Infinite Scale
project.

https://github.com/owncloud/ocis-thumbnails/issues/1
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ require (
contrib.go.opencensus.io/exporter/jaeger v0.2.0
contrib.go.opencensus.io/exporter/ocagent v0.6.0
contrib.go.opencensus.io/exporter/zipkin v0.1.1
github.com/UnnoTed/fileb0x v1.1.4 // indirect
github.com/cespare/reflex v0.2.0 // indirect
github.com/go-chi/chi v4.0.2+incompatible
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
Expand All @@ -14,6 +15,7 @@ require (
github.com/oklog/run v1.0.0
github.com/openzipkin/zipkin-go v0.2.2
github.com/owncloud/ocis-pkg/v2 v2.0.1
github.com/restic/calens v0.2.0 // indirect
github.com/spf13/viper v1.5.0
go.opencensus.io v0.22.2
)
45 changes: 45 additions & 0 deletions go.sum

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions tools.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// +build tools

package main

import (
_ "github.com/UnnoTed/fileb0x"
_ "github.com/restic/calens"
)

0 comments on commit 9f97770

Please sign in to comment.