diff --git a/.drone.star b/.drone.star index 38526dd75..c39d8fce6 100644 --- a/.drone.star +++ b/.drone.star @@ -286,7 +286,7 @@ def testOcisModule(ctx, module): 'volumes': [stepVolumeGoWebhippie,], }, { - 'name': 'coverage-cache', + 'name': 'scan-result-cache', 'image': 'plugins/s3:1', 'settings': { 'endpoint': { diff --git a/docs/ocis/development/build-docs.md b/docs/ocis/development/build-docs.md index b8de161b9..9e67a4e53 100644 --- a/docs/ocis/development/build-docs.md +++ b/docs/ocis/development/build-docs.md @@ -11,7 +11,11 @@ geekdocFilePath: build-docs.md ## Build the documentation -Just run `make -C docs docs-serve` from within the root level of the oCIS git repository. +{{< hint info >}} +For building the documentation you need to have Make and Go 1.14 or higher installed. +{{< /hint >}} + +Just run `make -C docs docs-serve` from within the root level of the oCIS git repository. This will make documentation available on [localhost:1313](http://localhost:1313) and also do a hot reload if you change something in the (non autogenerated) documentation files. ## Add changes to the documentation diff --git a/thumbnails/pkg/thumbnail/storage/filesystem.go b/thumbnails/pkg/thumbnail/storage/filesystem.go index 96fb28485..0dba87558 100644 --- a/thumbnails/pkg/thumbnail/storage/filesystem.go +++ b/thumbnails/pkg/thumbnail/storage/filesystem.go @@ -1,7 +1,6 @@ package storage import ( - "crypto/md5" "crypto/sha256" "encoding/hex" "io/ioutil" @@ -113,8 +112,6 @@ func (s *FileSystem) storeImage(key string, img []byte) (string, error) { // /users/<3 characters>/<3 characters>/<48 characters>/ // This will balance the folders in setups with many users. func (s *FileSystem) userDir(username string) string { - mh := md5.New() - mh.Write([]byte("something")) hash := sha256.New224() if _, err := hash.Write([]byte(username)); err != nil {