Skip to content

Commit

Permalink
chore: Update (#90)
Browse files Browse the repository at this point in the history
Signed-off-by: Ce Gao <gaoce@caicloud.io>
  • Loading branch information
gaocegege authored Jul 15, 2020
1 parent 23a8e8f commit a053dd7
Show file tree
Hide file tree
Showing 35 changed files with 82 additions and 82 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#

# This repo's root import path (under GOPATH).
ROOT := github.com/caicloud/ormb
ROOT := github.com/kleveross/ormb

# Target binaries. You can build multiple binaries for a single project.
TARGETS := ormb ormb-storage-initializer
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
</p>


[![Build Status](https://travis-ci.com/caicloud/ormb.svg?branch=master)](https://travis-ci.com/caicloud/ormb)
[![Coverage Status](https://coveralls.io/repos/github/caicloud/ormb/badge.svg?branch=master)](https://coveralls.io/github/caicloud/ormb?branch=master)
[![Build Status](https://travis-ci.com/kleveross/ormb.svg?branch=master)](https://travis-ci.com/kleveross/ormb)
[![Coverage Status](https://coveralls.io/repos/github/kleveross/ormb/badge.svg?branch=master)](https://coveralls.io/github/kleveross/ormb?branch=master)

ormb is an open-source model registry to manage machine learning model.

Expand All @@ -18,14 +18,14 @@ You can install the pre-compiled binary, or compile from source.

### Install the pre-compiled binary

Download the pre-compiled binaries from [the releases](https://github.com/caicloud/ormb/releases) page and copy to the desired location.
Download the pre-compiled binaries from [the releases](https://github.com/kleveross/ormb/releases) page and copy to the desired location.

### Compile from source

Clone:

```
$ git clone https://github.com/caicloud/ormb
$ git clone https://github.com/kleveross/ormb
$ cd ormb
```

Expand Down
4 changes: 2 additions & 2 deletions cmd/ormb-storage-initializer/cmd/prerun.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/viper"

"github.com/caicloud/ormb/pkg/oras"
"github.com/caicloud/ormb/pkg/ormb"
"github.com/kleveross/ormb/pkg/oras"
"github.com/kleveross/ormb/pkg/ormb"
)

func preRunE(cmd *cobra.Command, args []string) error {
Expand Down
6 changes: 3 additions & 3 deletions cmd/ormb-storage-initializer/cmd/pull-and-export.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/viper"

"github.com/caicloud/ormb/pkg/consts"
"github.com/caicloud/ormb/pkg/oras"
"github.com/caicloud/ormb/pkg/ormb"
"github.com/kleveross/ormb/pkg/consts"
"github.com/kleveross/ormb/pkg/oras"
"github.com/kleveross/ormb/pkg/ormb"
)

// pullExportCmd represents the pull-and-export command.
Expand Down
4 changes: 2 additions & 2 deletions cmd/ormb-storage-initializer/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/viper"

"github.com/caicloud/ormb/pkg/consts"
"github.com/caicloud/ormb/pkg/ormb"
"github.com/kleveross/ormb/pkg/consts"
"github.com/kleveross/ormb/pkg/ormb"
)

var ormbClient ormb.Interface
Expand Down
2 changes: 1 addition & 1 deletion cmd/ormb-storage-initializer/cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.
package cmd

import (
"github.com/caicloud/ormb/pkg/version"
"github.com/kleveross/ormb/pkg/version"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/ormb-storage-initializer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/
package main

import "github.com/caicloud/ormb/cmd/ormb-storage-initializer/cmd"
import "github.com/kleveross/ormb/cmd/ormb-storage-initializer/cmd"

func main() {
cmd.Execute()
Expand Down
4 changes: 2 additions & 2 deletions cmd/ormb/cmd/prerun.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/viper"

"github.com/caicloud/ormb/pkg/oras"
"github.com/caicloud/ormb/pkg/ormb"
"github.com/kleveross/ormb/pkg/oras"
"github.com/kleveross/ormb/pkg/ormb"
)

func preRunE(cmd *cobra.Command, args []string) error {
Expand Down
2 changes: 1 addition & 1 deletion cmd/ormb/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"os"
"path/filepath"

"github.com/caicloud/ormb/pkg/ormb"
"github.com/kleveross/ormb/pkg/ormb"
"github.com/spf13/cobra"

homedir "github.com/mitchellh/go-homedir"
Expand Down
2 changes: 1 addition & 1 deletion cmd/ormb/cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.
package cmd

import (
"github.com/caicloud/ormb/pkg/version"
"github.com/kleveross/ormb/pkg/version"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/ormb/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/
package main

import "github.com/caicloud/ormb/cmd/ormb/cmd"
import "github.com/kleveross/ormb/cmd/ormb/cmd"

func main() {
cmd.Execute()
Expand Down
4 changes: 2 additions & 2 deletions docs/spec-v1alpha1.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,13 +215,13 @@ Here is an example model configuration JSON document:
},
"training": {
"git": {
"repository": "git@github.com:caicloud/ormb.git",
"repository": "git@github.com:kleveross/ormb.git",
"revision": "22f1d8406d464b0c0874075539c1f2e96c253775"
}
},
"dataset": {
"git": {
"repository": "git@github.com:caicloud/ormb.git",
"repository": "git@github.com:kleveross/ormb.git",
"revision": "22f1d8406d464b0c0874075539c1f2e96c253775"
}
}
Expand Down
2 changes: 1 addition & 1 deletion extern-sdk/python/git_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import os


REPOS = "caicloud/ormb"
REPOS = "kleveross/ormb"
VERSION = "latest"
BIN_PATH = './ormb/bin'

Expand Down
8 changes: 4 additions & 4 deletions extern-sdk/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ def read_version():
setup(
name="ormb",
version=read_version(),
url="https://github.com/caicloud/ormb",
url="https://github.com/kleveross/ormb",
project_urls={
"Documentation": "https://github.com/caicloud/ormb/wikis/home",
"Code": "https://github.com/caicloud/ormb",
"Issue tracker": "https://github.com/caicloud/ormb/issues",
"Documentation": "https://github.com/kleveross/ormb/wikis/home",
"Code": "https://github.com/kleveross/ormb",
"Issue tracker": "https://github.com/kleveross/ormb/issues",
},
maintainer="gaocegege, ZhuYuJin",
description="ormb warehouse",
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/caicloud/ormb
module github.com/kleveross/ormb

go 1.12

Expand Down
4 changes: 2 additions & 2 deletions pkg/exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"os"
"path/filepath"

"github.com/caicloud/ormb/pkg/consts"
"github.com/caicloud/ormb/pkg/model"
"github.com/kleveross/ormb/pkg/consts"
"github.com/kleveross/ormb/pkg/model"
"gopkg.in/yaml.v2"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/exporter/exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"

"github.com/caicloud/ormb/pkg/exporter"
"github.com/caicloud/ormb/pkg/saver"
"github.com/kleveross/ormb/pkg/exporter"
"github.com/kleveross/ormb/pkg/saver"
)

var _ = Describe("Exporter", func() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/exporter/interface.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package exporter

import "github.com/caicloud/ormb/pkg/model"
import "github.com/kleveross/ormb/pkg/model"

// Interface exports the model to the destination.
type Interface interface {
Expand Down
2 changes: 1 addition & 1 deletion pkg/exporter/mock/mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions pkg/oras/cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import (
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
"github.com/pkg/errors"

"github.com/caicloud/ormb/pkg/consts"
"github.com/caicloud/ormb/pkg/model"
"github.com/caicloud/ormb/pkg/oci"
"github.com/caicloud/ormb/pkg/parser"
"github.com/caicloud/ormb/pkg/util/ctx"
"github.com/kleveross/ormb/pkg/consts"
"github.com/kleveross/ormb/pkg/model"
"github.com/kleveross/ormb/pkg/oci"
"github.com/kleveross/ormb/pkg/parser"
"github.com/kleveross/ormb/pkg/util/ctx"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions pkg/oras/cache/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"

"github.com/caicloud/ormb/pkg/model"
"github.com/caicloud/ormb/pkg/oci"
"github.com/kleveross/ormb/pkg/model"
"github.com/kleveross/ormb/pkg/oci"
)

var _ = Describe("Cache", func() {
Expand Down
8 changes: 4 additions & 4 deletions pkg/oras/cache/interface.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package cache

import (
"github.com/caicloud/ormb/pkg/model"
"github.com/caicloud/ormb/pkg/oci"
"github.com/containerd/containerd/content"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
orascontent "github.com/deislabs/oras/pkg/content"
"github.com/kleveross/ormb/pkg/model"
"github.com/kleveross/ormb/pkg/oci"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
)

// Interface is the interface of the cache.
Expand All @@ -18,4 +18,4 @@ type Interface interface {
Provider() content.Provider
Ingester() content.Ingester
ProvideIngester() orascontent.ProvideIngester
}
}
6 changes: 3 additions & 3 deletions pkg/oras/cache/mock/mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions pkg/oras/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ import (
"net/http"
"path"

"github.com/caicloud/ormb/pkg/consts"
"github.com/caicloud/ormb/pkg/model"
"github.com/caicloud/ormb/pkg/oci"
"github.com/caicloud/ormb/pkg/oras/cache"
"github.com/caicloud/ormb/pkg/oras/orasclient"
bts "github.com/caicloud/ormb/pkg/util/bytes"
"github.com/caicloud/ormb/pkg/util/ctx"
auth "github.com/deislabs/oras/pkg/auth/docker"
"github.com/deislabs/oras/pkg/oras"
"github.com/kleveross/ormb/pkg/consts"
"github.com/kleveross/ormb/pkg/model"
"github.com/kleveross/ormb/pkg/oci"
"github.com/kleveross/ormb/pkg/oras/cache"
"github.com/kleveross/ormb/pkg/oras/orasclient"
bts "github.com/kleveross/ormb/pkg/util/bytes"
"github.com/kleveross/ormb/pkg/util/ctx"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
"github.com/pkg/errors"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/oras/client_opts.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package oras
import (
"io"

"github.com/caicloud/ormb/pkg/oras/cache"
"github.com/kleveross/ormb/pkg/oras/cache"
)

type (
Expand Down
12 changes: 6 additions & 6 deletions pkg/oras/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import (
"github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"

"github.com/caicloud/ormb/pkg/model"
"github.com/caicloud/ormb/pkg/oci"
"github.com/caicloud/ormb/pkg/oras/cache"
cachemock "github.com/caicloud/ormb/pkg/oras/cache/mock"
orasmock "github.com/caicloud/ormb/pkg/oras/mock"
orasclientmock "github.com/caicloud/ormb/pkg/oras/orasclient/mock"
"github.com/kleveross/ormb/pkg/model"
"github.com/kleveross/ormb/pkg/oci"
"github.com/kleveross/ormb/pkg/oras/cache"
cachemock "github.com/kleveross/ormb/pkg/oras/cache/mock"
orasmock "github.com/kleveross/ormb/pkg/oras/mock"
orasclientmock "github.com/kleveross/ormb/pkg/oras/orasclient/mock"
)

var _ = Describe("OCI Client", func() {
Expand Down
4 changes: 2 additions & 2 deletions pkg/oras/interface.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package oras

import (
"github.com/caicloud/ormb/pkg/model"
"github.com/caicloud/ormb/pkg/oci"
"github.com/kleveross/ormb/pkg/model"
"github.com/kleveross/ormb/pkg/oci"
)

// Interface is the interface of the client.
Expand Down
4 changes: 2 additions & 2 deletions pkg/oras/mock/mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions pkg/ormb/ormb.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package ormb
import (
"path/filepath"

"github.com/caicloud/ormb/pkg/exporter"
"github.com/caicloud/ormb/pkg/oci"
"github.com/caicloud/ormb/pkg/oras"
"github.com/caicloud/ormb/pkg/saver"
"github.com/kleveross/ormb/pkg/exporter"
"github.com/kleveross/ormb/pkg/oci"
"github.com/kleveross/ormb/pkg/oras"
"github.com/kleveross/ormb/pkg/saver"
)

// Interface is the interface to manage
Expand Down
10 changes: 5 additions & 5 deletions pkg/ormb/ormb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"

exportermock "github.com/caicloud/ormb/pkg/exporter/mock"
"github.com/caicloud/ormb/pkg/model"
"github.com/caicloud/ormb/pkg/oci"
orasmock "github.com/caicloud/ormb/pkg/oras/mock"
savermock "github.com/caicloud/ormb/pkg/saver/mock"
exportermock "github.com/kleveross/ormb/pkg/exporter/mock"
"github.com/kleveross/ormb/pkg/model"
"github.com/kleveross/ormb/pkg/oci"
orasmock "github.com/kleveross/ormb/pkg/oras/mock"
savermock "github.com/kleveross/ormb/pkg/saver/mock"
)

var _ = Describe("ormb golang library", func() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/parser.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package parser

import (
"github.com/caicloud/ormb/pkg/model"
"github.com/kleveross/ormb/pkg/model"
"gopkg.in/yaml.v2"
)

Expand Down
Loading

0 comments on commit a053dd7

Please sign in to comment.