Skip to content

Commit

Permalink
Merge pull request #2 from owncloud/repo-rename
Browse files Browse the repository at this point in the history
Update files for new ocis naming
  • Loading branch information
tboerger authored Sep 5, 2019
2 parents 37a9b0e + 9a2cc35 commit 4d74712
Show file tree
Hide file tree
Showing 12 changed files with 34 additions and 34 deletions.
4 changes: 2 additions & 2 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repository:
name: reva-webdav
description: :atom_symbol: Service to serve webdav for reva
name: ocis-webdav
description: :atom_symbol: Service to serve WebDAV for Reva/oCIS
homepage:
topics: reva, ocis

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SHELL := bash
NAME := reva-webdav
NAME := ocis-webdav
IMPORT := github.com/owncloud/$(NAME)
BIN := bin
DIST := dist
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
# Reva: WebDAV
# ownCloud Infinit Scale: WebDAV

[![Build Status](https://cloud.drone.io/api/badges/owncloud/reva-webdav/status.svg)](https://cloud.drone.io/owncloud/reva-webdav)
[![Build Status](https://cloud.drone.io/api/badges/owncloud/ocis-webdav/status.svg)](https://cloud.drone.io/owncloud/ocis-webdav)
[![Gitter chat](https://badges.gitter.im/cs3org/reva.svg)](https://gitter.im/cs3org/reva)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/afe89eb0894848c5b67dc0343afd1df9)](https://www.codacy.com/app/owncloud/reva-webdav?utm_source=github.com&utm_medium=referral&utm_content=owncloud/reva-webdav&utm_campaign=Badge_Grade)
[![Go Doc](https://godoc.org/github.com/owncloud/reva-webdav?status.svg)](http://godoc.org/github.com/owncloud/reva-webdav)
[![Go Report](http://goreportcard.com/badge/github.com/owncloud/reva-webdav)](http://goreportcard.com/report/github.com/owncloud/reva-webdav)
[![](https://images.microbadger.com/badges/image/owncloud/reva-webdav.svg)](http://microbadger.com/images/owncloud/reva-webdav "Get your own image badge on microbadger.com")
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/0913fcc866a344b587bb867fcec5b848)](https://www.codacy.com/app/owncloud/ocis-webdav?utm_source=github.com&utm_medium=referral&utm_content=owncloud/ocis-webdav&utm_campaign=Badge_Grade)
[![Go Doc](https://godoc.org/github.com/owncloud/ocis-webdav?status.svg)](http://godoc.org/github.com/owncloud/ocis-webdav)
[![Go Report](http://goreportcard.com/badge/github.com/owncloud/ocis-webdav)](http://goreportcard.com/report/github.com/owncloud/ocis-webdav)
[![](https://images.microbadger.com/badges/image/owncloud/ocis-webdav.svg)](http://microbadger.com/images/owncloud/ocis-webdav "Get your own image badge on microbadger.com")

**This project is under heavy development, it's not in a working state yet!**

## Install

You can download prebuilt binaries from the GitHub releases or from our [download mirrors](http://download.owncloud.com/reva/webdav/).
You can download prebuilt binaries from the GitHub releases or from our [download mirrors](http://download.owncloud.com/ocis/webdav/).

## Development

Make sure you have a working Go environment, for further reference or a guide take a look at the [install instructions](http://golang.org/doc/install.html). This project requires Go >= v1.11.

```console
git clone https://github.com/owncloud/reva-webdav.git
cd reva-webdav
git clone https://github.com/owncloud/ocis-webdav.git
cd ocis-webdav

make generate build

./bin/reva-webdav -h
./bin/ocis-webdav -h
```

## Security
Expand Down
4 changes: 2 additions & 2 deletions changelog/TEMPLATE
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ 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/owncloud/reva-webdav/issues/1234
https://github.com/owncloud/reva-webdav/pull/55555
https://github.com/owncloud/ocis-webdav/issues/1234
https://github.com/owncloud/ocis-webdav/pull/55555
2 changes: 1 addition & 1 deletion changelog/unreleased/initial-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Just prepared an initial basic version to serve webdav for the ownCloud
Infinite Scale project. It just provides a minimal viable product to
demonstrate the microservice pattern.

https://github.com/owncloud/reva-webdav/issues/1
https://github.com/owncloud/ocis-webdav/issues/1
2 changes: 1 addition & 1 deletion cmd/reva-webdav/main.go → cmd/ocis-webdav/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

"github.com/owncloud/reva-webdav/pkg/command"
"github.com/owncloud/ocis-webdav/pkg/command"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile.linux.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
org.label-schema.vendor="ownCloud GmbH" \
org.label-schema.schema-version="1.0"

ENTRYPOINT ["/usr/bin/reva-webdav"]
ENTRYPOINT ["/usr/bin/ocis-webdav"]
CMD ["server"]

COPY bin/reva-webdav /usr/bin/reva-webdav
COPY bin/ocis-webdav /usr/bin/ocis-webdav
4 changes: 2 additions & 2 deletions docker/Dockerfile.linux.arm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
org.label-schema.vendor="ownCloud GmbH" \
org.label-schema.schema-version="1.0"

ENTRYPOINT ["/usr/bin/reva-webdav"]
ENTRYPOINT ["/usr/bin/ocis-webdav"]
CMD ["server"]

COPY bin/reva-webdav /usr/bin/reva-webdav
COPY bin/ocis-webdav /usr/bin/ocis-webdav
4 changes: 2 additions & 2 deletions docker/Dockerfile.linux.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
org.label-schema.vendor="ownCloud GmbH" \
org.label-schema.schema-version="1.0"

ENTRYPOINT ["/usr/bin/reva-webdav"]
ENTRYPOINT ["/usr/bin/ocis-webdav"]
CMD ["server"]

COPY bin/reva-webdav /usr/bin/reva-webdav
COPY bin/ocis-webdav /usr/bin/ocis-webdav
8 changes: 4 additions & 4 deletions docker/manifest.tmpl
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
image: owncloud/reva-webdav:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
image: owncloud/ocis-webdav:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
{{#if build.tags}}
tags:
{{#each build.tags}}
- {{this}}
{{/each}}
{{/if}}
manifests:
- image: owncloud/reva-webdav:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
- image: owncloud/ocis-webdav:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
platform:
architecture: amd64
os: linux
- image: owncloud/reva-webdav:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
- image: owncloud/ocis-webdav:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
platform:
architecture: arm64
variant: v8
os: linux
- image: owncloud/reva-webdav:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm
- image: owncloud/ocis-webdav:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm
platform:
architecture: arm
variant: v6
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/owncloud/reva-webdav
module github.com/owncloud/ocis-webdav

go 1.12

Expand Down
12 changes: 6 additions & 6 deletions pkg/command/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ import (
"os"
"strings"

"github.com/owncloud/reva-webdav/pkg/version"
"github.com/owncloud/ocis-webdav/pkg/version"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)

// Root is the entry point for the reva-webdav command.
// Root is the entry point for the ocis-webdav command.
func Root() *cobra.Command {
cmd := &cobra.Command{
Use: "reva-webdav",
Use: "ocis-webdav",
Short: "Reva service for webdav",
Long: ``,
Version: version.String,
Expand Down Expand Up @@ -74,10 +74,10 @@ func setupLogger() {
}

func setupConfig() {
viper.SetConfigName("phoenix")
viper.SetConfigName("webdav")

viper.AddConfigPath("/etc/reva")
viper.AddConfigPath("$HOME/.reva")
viper.AddConfigPath("/etc/ocis")
viper.AddConfigPath("$HOME/.ocis")
viper.AddConfigPath("./config")

if err := viper.ReadInConfig(); err != nil {
Expand Down

0 comments on commit 4d74712

Please sign in to comment.