Skip to content

Commit

Permalink
Update canonical URL to github.com/polydawn/rio
Browse files Browse the repository at this point in the history
Signed-off-by: Will Scott <[email protected]>
  • Loading branch information
willscott committed Nov 22, 2020
1 parent 8072300 commit 9c3fbd5
Show file tree
Hide file tree
Showing 81 changed files with 284 additions and 284 deletions.
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
[submodule ".gopath/src/github.com/warpfork/go-errcat"]
path = .gopath/src/github.com/warpfork/go-errcat
url = https://github.com/warpfork/go-errcat
[submodule ".gopath/src/go.polydawn.net/go-timeless-api"]
path = .gopath/src/go.polydawn.net/go-timeless-api
[submodule ".gopath/src/github.com/polydawn/go-timeless-api"]
path = .gopath/src/github.com/polydawn/go-timeless-api
url = https://github.com/polydawn/go-timeless-api
[submodule ".gopath/src/gopkg.in/warnings.v0"]
path = .gopath/src/gopkg.in/warnings.v0
Expand Down
2 changes: 1 addition & 1 deletion .gopath/self
1 change: 1 addition & 0 deletions .gopath/src/github.com/polydawn/go-timeless-api
Submodule go-timeless-api added at 739966
1 change: 1 addition & 0 deletions .gopath/src/github.com/polydawn/rio
1 change: 0 additions & 1 deletion .gopath/src/go.polydawn.net/go-timeless-api
Submodule go-timeless-api deleted from 0ece40
1 change: 0 additions & 1 deletion .gopath/src/go.polydawn.net/rio

This file was deleted.

6 changes: 3 additions & 3 deletions cache/filesetCache.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package cache
import (
"fmt"

"go.polydawn.net/go-timeless-api"
"go.polydawn.net/rio/fs"
whutil "go.polydawn.net/rio/warehouse/util"
"github.com/polydawn/go-timeless-api"
"github.com/polydawn/rio/fs"
whutil "github.com/polydawn/rio/warehouse/util"
)

func ShelfFor(wareID api.WareID) fs.RelPath {
Expand Down
8 changes: 4 additions & 4 deletions cmd/rio/demuxes.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package main
import (
. "github.com/warpfork/go-errcat"

"go.polydawn.net/go-timeless-api/rio"
"go.polydawn.net/rio/transmat/git"
tartrans "go.polydawn.net/rio/transmat/tar"
ziptrans "go.polydawn.net/rio/transmat/zip"
"github.com/polydawn/go-timeless-api/rio"
"github.com/polydawn/rio/transmat/git"
tartrans "github.com/polydawn/rio/transmat/tar"
ziptrans "github.com/polydawn/rio/transmat/zip"
)

func demuxPackTool(packType string) (rio.PackFunc, error) {
Expand Down
10 changes: 5 additions & 5 deletions cmd/rio/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import (
. "github.com/warpfork/go-errcat"
"gopkg.in/alecthomas/kingpin.v2"

"go.polydawn.net/go-timeless-api"
"go.polydawn.net/go-timeless-api/rio"
"go.polydawn.net/rio/fs"
"go.polydawn.net/rio/fs/osfs"
"go.polydawn.net/rio/fsOp"
"github.com/polydawn/go-timeless-api"
"github.com/polydawn/go-timeless-api/rio"
"github.com/polydawn/rio/fs"
"github.com/polydawn/rio/fs/osfs"
"github.com/polydawn/rio/fsOp"
)

func main() {
Expand Down
10 changes: 5 additions & 5 deletions cmd/rio/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (

. "github.com/smartystreets/goconvey/convey"

"go.polydawn.net/go-timeless-api/rio"
"go.polydawn.net/rio/fs"
"go.polydawn.net/rio/fs/osfs"
"go.polydawn.net/rio/fsOp"
"go.polydawn.net/rio/testutil"
"github.com/polydawn/go-timeless-api/rio"
"github.com/polydawn/rio/fs"
"github.com/polydawn/rio/fs/osfs"
"github.com/polydawn/rio/fsOp"
"github.com/polydawn/rio/testutil"
)

func stdBuffers() (stdin, stdout, stderr *bytes.Buffer) {
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"os"
"path/filepath"

"go.polydawn.net/rio/fs"
"github.com/polydawn/rio/fs"
)

/*
Expand Down
16 changes: 8 additions & 8 deletions doc/dev/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ Whether or not this is a good idea is a whole different question of course.
code layout
-----------

- `go.polydawn.net/rio` -- main package. Interface definitions. Other projects using `rio` as a library should import this package -- and few others.
- `go.polydawn.net/rio/fs` -- types for paths, and an abstract filesystem. All `rio` code uses this when describing files and filesystem metadata.
- `go.polydawn.net/rio/fs/osfs` -- a concrete implementation of the `fs` interfaces, implemented with a regular filesystem.
- `go.polydawn.net/rio/fsOp` -- operations on filesystems. Distinct from `fs` because `fsOp` is more intention-oriented; `fs` is a fairly direct proxy to syscalls, and much less friendly.
- `go.polydawn.net/rio/warehouse/*` -- implementations of storage warehouses. Local filesystem, S3, GCS, IPFS... each get their own package under here.
- `go.polydawn.net/transmat/*` -- implementations of filesystem packing formats. E.g. `tar`.
- `github.com/polydawn/rio` -- main package. Interface definitions. Other projects using `rio` as a library should import this package -- and few others.
- `github.com/polydawn/rio/fs` -- types for paths, and an abstract filesystem. All `rio` code uses this when describing files and filesystem metadata.
- `github.com/polydawn/rio/fs/osfs` -- a concrete implementation of the `fs` interfaces, implemented with a regular filesystem.
- `github.com/polydawn/rio/fsOp` -- operations on filesystems. Distinct from `fs` because `fsOp` is more intention-oriented; `fs` is a fairly direct proxy to syscalls, and much less friendly.
- `github.com/polydawn/rio/warehouse/*` -- implementations of storage warehouses. Local filesystem, S3, GCS, IPFS... each get their own package under here.
- `github.com/polydawn/rio/transmat/*` -- implementations of filesystem packing formats. E.g. `tar`.
- REVIEW: so is this name a bug and the whole package should be `s/transmat/packing/`?? Probably
- `go.polydawn.net/transmat/mixins/fshash` -- helper functions for accumulating a hash for a fileset. Used in some of the transmat implementations.
- `go.polydawn.net/lib/*` -- grabbag library functions; these are things that *probably* make sense even more broadly than rio, but are vendored here for simplicity's sake.
- `github.com/polydawn/rio/transmat/mixins/fshash` -- helper functions for accumulating a hash for a fileset. Used in some of the transmat implementations.
- `github.com/polydawn/rio/lib/*` -- grabbag library functions; these are things that *probably* make sense even more broadly than rio, but are vendored here for simplicity's sake.

Overall, seen from the outside (as a consumer of `rio`-as-a-library):

Expand Down
2 changes: 1 addition & 1 deletion fs/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package fs
import (
"time"

api "go.polydawn.net/go-timeless-api"
api "github.com/polydawn/go-timeless-api"
)

type Metadata struct {
Expand Down
2 changes: 1 addition & 1 deletion fs/nilfs/nilfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

. "github.com/warpfork/go-errcat"

"go.polydawn.net/rio/fs"
"github.com/polydawn/rio/fs"
)

func New() fs.FS {
Expand Down
2 changes: 1 addition & 1 deletion fs/osfs/osfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

. "github.com/warpfork/go-errcat"

"go.polydawn.net/rio/fs"
"github.com/polydawn/rio/fs"
)

func init() {
Expand Down
6 changes: 3 additions & 3 deletions fs/osfs/osfs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

. "github.com/smartystreets/goconvey/convey"

"go.polydawn.net/rio/fs"
"go.polydawn.net/rio/fs/tests"
"go.polydawn.net/rio/testutil"
"github.com/polydawn/rio/fs"
"github.com/polydawn/rio/fs/tests"
"github.com/polydawn/rio/testutil"
)

func TestAll(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion fs/osfs/utimes_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

"golang.org/x/sys/unix"

"go.polydawn.net/rio/fs"
"github.com/polydawn/rio/fs"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion fs/osfs/utimes_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"time"
"unsafe"

"go.polydawn.net/rio/fs"
"github.com/polydawn/rio/fs"
)

func (afs *osFS) SetTimesLNano(path fs.RelPath, mtime time.Time, atime time.Time) error {
Expand Down
2 changes: 1 addition & 1 deletion fs/tests/fsTests.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
. "github.com/smartystreets/goconvey/convey"
"github.com/warpfork/go-errcat"

"go.polydawn.net/rio/fs"
"github.com/polydawn/rio/fs"
)

func CheckBaseLstat(afs fs.FS) {
Expand Down
2 changes: 1 addition & 1 deletion fs/walk.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package fs
import (
"sort"

"go.polydawn.net/rio/lib/treewalk"
"github.com/polydawn/rio/lib/treewalk"
)

type WalkFunc func(filenode *FilewalkNode) error
Expand Down
4 changes: 2 additions & 2 deletions fsOp/convenience.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (

. "github.com/warpfork/go-errcat"

"go.polydawn.net/go-timeless-api/rio"
"go.polydawn.net/rio/fs"
"github.com/polydawn/go-timeless-api/rio"
"github.com/polydawn/rio/fs"
)

/*
Expand Down
6 changes: 3 additions & 3 deletions fsOp/convenience_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
. "github.com/smartystreets/goconvey/convey"
"github.com/warpfork/go-errcat"

"go.polydawn.net/rio/fs"
"go.polydawn.net/rio/fs/osfs"
. "go.polydawn.net/rio/testutil"
"github.com/polydawn/rio/fs"
"github.com/polydawn/rio/fs/osfs"
. "github.com/polydawn/rio/testutil"
)

func TestMkdirAll(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion fsOp/placefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

. "github.com/warpfork/go-errcat"

"go.polydawn.net/rio/fs"
"github.com/polydawn/rio/fs"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions fsOp/placefile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (

. "github.com/smartystreets/goconvey/convey"

"go.polydawn.net/rio/fs"
"go.polydawn.net/rio/fs/osfs"
"go.polydawn.net/rio/testutil"
"github.com/polydawn/rio/fs"
"github.com/polydawn/rio/fs/osfs"
"github.com/polydawn/rio/testutil"
)

func TestPlaceFile(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion fsOp/scanfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"io"
"os"

"go.polydawn.net/rio/fs"
"github.com/polydawn/rio/fs"
)

/*
Expand Down
2 changes: 1 addition & 1 deletion goad
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -euo pipefail

### Project details
name="rio"
pkg="go.polydawn.net/$name" # everything under here will be tested
pkg="github.com/polydawn/$name" # everything under here will be tested
cmd="$pkg/cmd/$name" # if you have a main.main not at the repo root, set this


Expand Down
8 changes: 4 additions & 4 deletions stitch/placer/aufsPlacer_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (

. "github.com/warpfork/go-errcat"

"go.polydawn.net/go-timeless-api/rio"
"go.polydawn.net/rio/fs"
"go.polydawn.net/rio/fsOp"
"go.polydawn.net/rio/lib/guid"
"github.com/polydawn/go-timeless-api/rio"
"github.com/polydawn/rio/fs"
"github.com/polydawn/rio/fsOp"
"github.com/polydawn/rio/lib/guid"
)

/*
Expand Down
4 changes: 2 additions & 2 deletions stitch/placer/bindPlacer_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (

. "github.com/warpfork/go-errcat"

"go.polydawn.net/go-timeless-api/rio"
"go.polydawn.net/rio/fs"
"github.com/polydawn/go-timeless-api/rio"
"github.com/polydawn/rio/fs"
)

var _ Placer = BindPlacer
Expand Down
8 changes: 4 additions & 4 deletions stitch/placer/copyPlacer.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (

. "github.com/warpfork/go-errcat"

"go.polydawn.net/go-timeless-api/rio"
"go.polydawn.net/rio/fs"
"go.polydawn.net/rio/fs/osfs"
"go.polydawn.net/rio/fsOp"
"github.com/polydawn/go-timeless-api/rio"
"github.com/polydawn/rio/fs"
"github.com/polydawn/rio/fs/osfs"
"github.com/polydawn/rio/fsOp"
)

var _ Placer = CopyPlacer
Expand Down
2 changes: 1 addition & 1 deletion stitch/placer/mountPlacer_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package placer
import (
"errors"

"go.polydawn.net/rio/fs"
"github.com/polydawn/rio/fs"
)

func NewAufsPlacer(workDir fs.AbsolutePath) (Placer, error) {
Expand Down
8 changes: 4 additions & 4 deletions stitch/placer/overlayPlacer_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (

. "github.com/warpfork/go-errcat"

"go.polydawn.net/go-timeless-api/rio"
"go.polydawn.net/rio/fs"
"go.polydawn.net/rio/fsOp"
"go.polydawn.net/rio/lib/guid"
"github.com/polydawn/go-timeless-api/rio"
"github.com/polydawn/rio/fs"
"github.com/polydawn/rio/fsOp"
"github.com/polydawn/rio/lib/guid"
)

/*
Expand Down
2 changes: 1 addition & 1 deletion stitch/placer/placer.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package placer

import (
"go.polydawn.net/rio/fs"
"github.com/polydawn/rio/fs"
)

type Placer func(srcPath, dstPath fs.AbsolutePath, writable bool) (Janitor, error)
Expand Down
6 changes: 3 additions & 3 deletions stitch/placer/placerMux.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (

. "github.com/warpfork/go-errcat"

"go.polydawn.net/go-timeless-api/rio"
"go.polydawn.net/rio/config"
"go.polydawn.net/rio/fs"
"github.com/polydawn/go-timeless-api/rio"
"github.com/polydawn/rio/config"
"github.com/polydawn/rio/fs"
)

/*
Expand Down
8 changes: 4 additions & 4 deletions stitch/placer/placer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
. "github.com/smartystreets/goconvey/convey"
"github.com/warpfork/go-errcat"

"go.polydawn.net/rio/fs"
"go.polydawn.net/rio/fs/osfs"
. "go.polydawn.net/rio/testutil"
. "go.polydawn.net/rio/transmat/mixins/tests"
"github.com/polydawn/rio/fs"
"github.com/polydawn/rio/fs/osfs"
. "github.com/polydawn/rio/testutil"
. "github.com/polydawn/rio/transmat/mixins/tests"
)

func TestPlacers(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions stitch/placer/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (

. "github.com/warpfork/go-errcat"

"go.polydawn.net/go-timeless-api/rio"
"go.polydawn.net/rio/fs"
"go.polydawn.net/rio/fs/osfs"
"go.polydawn.net/rio/fsOp"
"github.com/polydawn/go-timeless-api/rio"
"github.com/polydawn/rio/fs"
"github.com/polydawn/rio/fs/osfs"
"github.com/polydawn/rio/fsOp"
)

var rootFs = osfs.New(fs.MustAbsolutePath("/")) // handy, since placers are always absolutized
Expand Down
6 changes: 3 additions & 3 deletions stitch/treePack.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"sort"
"sync"

"go.polydawn.net/go-timeless-api"
"go.polydawn.net/go-timeless-api/rio"
"go.polydawn.net/rio/fs"
"github.com/polydawn/go-timeless-api"
"github.com/polydawn/go-timeless-api/rio"
"github.com/polydawn/rio/fs"
)

/*
Expand Down
Loading

0 comments on commit 9c3fbd5

Please sign in to comment.