Skip to content

Commit 37fc702

Browse files
committed
Update canonical URL to github.com/polydawn/rio
1 parent 8072300 commit 37fc702

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+284
-284
lines changed

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
[submodule ".gopath/src/github.com/warpfork/go-errcat"]
2929
path = .gopath/src/github.com/warpfork/go-errcat
3030
url = https://github.com/warpfork/go-errcat
31-
[submodule ".gopath/src/go.polydawn.net/go-timeless-api"]
32-
path = .gopath/src/go.polydawn.net/go-timeless-api
31+
[submodule ".gopath/src/github.com/polydawn/go-timeless-api"]
32+
path = .gopath/src/github.com/polydawn/go-timeless-api
3333
url = https://github.com/polydawn/go-timeless-api
3434
[submodule ".gopath/src/gopkg.in/warnings.v0"]
3535
path = .gopath/src/gopkg.in/warnings.v0

.gopath/self

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
src/go.polydawn.net/rio
1+
src/github.com/polydawn/rio

.gopath/src/github.com/polydawn/rio

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../
Lines changed: 0 additions & 1 deletion
This file was deleted.

.gopath/src/go.polydawn.net/rio

Lines changed: 0 additions & 1 deletion
This file was deleted.

cache/filesetCache.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package cache
33
import (
44
"fmt"
55

6-
"go.polydawn.net/go-timeless-api"
7-
"go.polydawn.net/rio/fs"
8-
whutil "go.polydawn.net/rio/warehouse/util"
6+
"github.com/polydawn/go-timeless-api"
7+
"github.com/polydawn/rio/fs"
8+
whutil "github.com/polydawn/rio/warehouse/util"
99
)
1010

1111
func ShelfFor(wareID api.WareID) fs.RelPath {

cmd/rio/demuxes.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ package main
33
import (
44
. "github.com/warpfork/go-errcat"
55

6-
"go.polydawn.net/go-timeless-api/rio"
7-
"go.polydawn.net/rio/transmat/git"
8-
tartrans "go.polydawn.net/rio/transmat/tar"
9-
ziptrans "go.polydawn.net/rio/transmat/zip"
6+
"github.com/polydawn/go-timeless-api/rio"
7+
"github.com/polydawn/rio/transmat/git"
8+
tartrans "github.com/polydawn/rio/transmat/tar"
9+
ziptrans "github.com/polydawn/rio/transmat/zip"
1010
)
1111

1212
func demuxPackTool(packType string) (rio.PackFunc, error) {

cmd/rio/main.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ import (
1414
. "github.com/warpfork/go-errcat"
1515
"gopkg.in/alecthomas/kingpin.v2"
1616

17-
"go.polydawn.net/go-timeless-api"
18-
"go.polydawn.net/go-timeless-api/rio"
19-
"go.polydawn.net/rio/fs"
20-
"go.polydawn.net/rio/fs/osfs"
21-
"go.polydawn.net/rio/fsOp"
17+
"github.com/polydawn/go-timeless-api"
18+
"github.com/polydawn/go-timeless-api/rio"
19+
"github.com/polydawn/rio/fs"
20+
"github.com/polydawn/rio/fs/osfs"
21+
"github.com/polydawn/rio/fsOp"
2222
)
2323

2424
func main() {

cmd/rio/main_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import (
1111

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

14-
"go.polydawn.net/go-timeless-api/rio"
15-
"go.polydawn.net/rio/fs"
16-
"go.polydawn.net/rio/fs/osfs"
17-
"go.polydawn.net/rio/fsOp"
18-
"go.polydawn.net/rio/testutil"
14+
"github.com/polydawn/go-timeless-api/rio"
15+
"github.com/polydawn/rio/fs"
16+
"github.com/polydawn/rio/fs/osfs"
17+
"github.com/polydawn/rio/fsOp"
18+
"github.com/polydawn/rio/testutil"
1919
)
2020

2121
func stdBuffers() (stdin, stdout, stderr *bytes.Buffer) {

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"os"
1616
"path/filepath"
1717

18-
"go.polydawn.net/rio/fs"
18+
"github.com/polydawn/rio/fs"
1919
)
2020

2121
/*

doc/dev/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ Whether or not this is a good idea is a whole different question of course.
5757
code layout
5858
-----------
5959

60-
- `go.polydawn.net/rio` -- main package. Interface definitions. Other projects using `rio` as a library should import this package -- and few others.
61-
- `go.polydawn.net/rio/fs` -- types for paths, and an abstract filesystem. All `rio` code uses this when describing files and filesystem metadata.
62-
- `go.polydawn.net/rio/fs/osfs` -- a concrete implementation of the `fs` interfaces, implemented with a regular filesystem.
63-
- `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.
64-
- `go.polydawn.net/rio/warehouse/*` -- implementations of storage warehouses. Local filesystem, S3, GCS, IPFS... each get their own package under here.
65-
- `go.polydawn.net/transmat/*` -- implementations of filesystem packing formats. E.g. `tar`.
60+
- `github.com/polydawn/rio` -- main package. Interface definitions. Other projects using `rio` as a library should import this package -- and few others.
61+
- `github.com/polydawn/rio/fs` -- types for paths, and an abstract filesystem. All `rio` code uses this when describing files and filesystem metadata.
62+
- `github.com/polydawn/rio/fs/osfs` -- a concrete implementation of the `fs` interfaces, implemented with a regular filesystem.
63+
- `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.
64+
- `github.com/polydawn/rio/warehouse/*` -- implementations of storage warehouses. Local filesystem, S3, GCS, IPFS... each get their own package under here.
65+
- `github.com/polydawn/rio/transmat/*` -- implementations of filesystem packing formats. E.g. `tar`.
6666
- REVIEW: so is this name a bug and the whole package should be `s/transmat/packing/`?? Probably
67-
- `go.polydawn.net/transmat/mixins/fshash` -- helper functions for accumulating a hash for a fileset. Used in some of the transmat implementations.
68-
- `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.
67+
- `github.com/polydawn/rio/transmat/mixins/fshash` -- helper functions for accumulating a hash for a fileset. Used in some of the transmat implementations.
68+
- `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.
6969

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

fs/metadata.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package fs
33
import (
44
"time"
55

6-
api "go.polydawn.net/go-timeless-api"
6+
api "github.com/polydawn/go-timeless-api"
77
)
88

99
type Metadata struct {

fs/nilfs/nilfs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

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

8-
"go.polydawn.net/rio/fs"
8+
"github.com/polydawn/rio/fs"
99
)
1010

1111
func New() fs.FS {

fs/osfs/osfs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

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

10-
"go.polydawn.net/rio/fs"
10+
"github.com/polydawn/rio/fs"
1111
)
1212

1313
func init() {

fs/osfs/osfs_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55

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

8-
"go.polydawn.net/rio/fs"
9-
"go.polydawn.net/rio/fs/tests"
10-
"go.polydawn.net/rio/testutil"
8+
"github.com/polydawn/rio/fs"
9+
"github.com/polydawn/rio/fs/tests"
10+
"github.com/polydawn/rio/testutil"
1111
)
1212

1313
func TestAll(t *testing.T) {

fs/osfs/utimes_darwin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
"golang.org/x/sys/unix"
1515

16-
"go.polydawn.net/rio/fs"
16+
"github.com/polydawn/rio/fs"
1717
)
1818

1919
const (

fs/osfs/utimes_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"time"
1212
"unsafe"
1313

14-
"go.polydawn.net/rio/fs"
14+
"github.com/polydawn/rio/fs"
1515
)
1616

1717
func (afs *osFS) SetTimesLNano(path fs.RelPath, mtime time.Time, atime time.Time) error {

fs/tests/fsTests.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
. "github.com/smartystreets/goconvey/convey"
77
"github.com/warpfork/go-errcat"
88

9-
"go.polydawn.net/rio/fs"
9+
"github.com/polydawn/rio/fs"
1010
)
1111

1212
func CheckBaseLstat(afs fs.FS) {

fs/walk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package fs
33
import (
44
"sort"
55

6-
"go.polydawn.net/rio/lib/treewalk"
6+
"github.com/polydawn/rio/lib/treewalk"
77
)
88

99
type WalkFunc func(filenode *FilewalkNode) error

fsOp/convenience.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66

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

9-
"go.polydawn.net/go-timeless-api/rio"
10-
"go.polydawn.net/rio/fs"
9+
"github.com/polydawn/go-timeless-api/rio"
10+
"github.com/polydawn/rio/fs"
1111
)
1212

1313
/*

fsOp/convenience_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99
. "github.com/smartystreets/goconvey/convey"
1010
"github.com/warpfork/go-errcat"
1111

12-
"go.polydawn.net/rio/fs"
13-
"go.polydawn.net/rio/fs/osfs"
14-
. "go.polydawn.net/rio/testutil"
12+
"github.com/polydawn/rio/fs"
13+
"github.com/polydawn/rio/fs/osfs"
14+
. "github.com/polydawn/rio/testutil"
1515
)
1616

1717
func TestMkdirAll(t *testing.T) {

fsOp/placefile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

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

10-
"go.polydawn.net/rio/fs"
10+
"github.com/polydawn/rio/fs"
1111
)
1212

1313
var (

fsOp/placefile_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77

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

10-
"go.polydawn.net/rio/fs"
11-
"go.polydawn.net/rio/fs/osfs"
12-
"go.polydawn.net/rio/testutil"
10+
"github.com/polydawn/rio/fs"
11+
"github.com/polydawn/rio/fs/osfs"
12+
"github.com/polydawn/rio/testutil"
1313
)
1414

1515
func TestPlaceFile(t *testing.T) {

fsOp/scanfile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"io"
55
"os"
66

7-
"go.polydawn.net/rio/fs"
7+
"github.com/polydawn/rio/fs"
88
)
99

1010
/*

goad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -euo pipefail
33

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

99

stitch/placer/aufsPlacer_linux.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import (
99

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

12-
"go.polydawn.net/go-timeless-api/rio"
13-
"go.polydawn.net/rio/fs"
14-
"go.polydawn.net/rio/fsOp"
15-
"go.polydawn.net/rio/lib/guid"
12+
"github.com/polydawn/go-timeless-api/rio"
13+
"github.com/polydawn/rio/fs"
14+
"github.com/polydawn/rio/fsOp"
15+
"github.com/polydawn/rio/lib/guid"
1616
)
1717

1818
/*

stitch/placer/bindPlacer_linux.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88

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

11-
"go.polydawn.net/go-timeless-api/rio"
12-
"go.polydawn.net/rio/fs"
11+
"github.com/polydawn/go-timeless-api/rio"
12+
"github.com/polydawn/rio/fs"
1313
)
1414

1515
var _ Placer = BindPlacer

stitch/placer/copyPlacer.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import (
66

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

9-
"go.polydawn.net/go-timeless-api/rio"
10-
"go.polydawn.net/rio/fs"
11-
"go.polydawn.net/rio/fs/osfs"
12-
"go.polydawn.net/rio/fsOp"
9+
"github.com/polydawn/go-timeless-api/rio"
10+
"github.com/polydawn/rio/fs"
11+
"github.com/polydawn/rio/fs/osfs"
12+
"github.com/polydawn/rio/fsOp"
1313
)
1414

1515
var _ Placer = CopyPlacer

stitch/placer/mountPlacer_darwin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package placer
55
import (
66
"errors"
77

8-
"go.polydawn.net/rio/fs"
8+
"github.com/polydawn/rio/fs"
99
)
1010

1111
func NewAufsPlacer(workDir fs.AbsolutePath) (Placer, error) {

stitch/placer/overlayPlacer_linux.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import (
99

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

12-
"go.polydawn.net/go-timeless-api/rio"
13-
"go.polydawn.net/rio/fs"
14-
"go.polydawn.net/rio/fsOp"
15-
"go.polydawn.net/rio/lib/guid"
12+
"github.com/polydawn/go-timeless-api/rio"
13+
"github.com/polydawn/rio/fs"
14+
"github.com/polydawn/rio/fsOp"
15+
"github.com/polydawn/rio/lib/guid"
1616
)
1717

1818
/*

stitch/placer/placer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package placer
22

33
import (
4-
"go.polydawn.net/rio/fs"
4+
"github.com/polydawn/rio/fs"
55
)
66

77
type Placer func(srcPath, dstPath fs.AbsolutePath, writable bool) (Janitor, error)

stitch/placer/placerMux.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77

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

10-
"go.polydawn.net/go-timeless-api/rio"
11-
"go.polydawn.net/rio/config"
12-
"go.polydawn.net/rio/fs"
10+
"github.com/polydawn/go-timeless-api/rio"
11+
"github.com/polydawn/rio/config"
12+
"github.com/polydawn/rio/fs"
1313
)
1414

1515
/*

stitch/placer/placer_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import (
77
. "github.com/smartystreets/goconvey/convey"
88
"github.com/warpfork/go-errcat"
99

10-
"go.polydawn.net/rio/fs"
11-
"go.polydawn.net/rio/fs/osfs"
12-
. "go.polydawn.net/rio/testutil"
13-
. "go.polydawn.net/rio/transmat/mixins/tests"
10+
"github.com/polydawn/rio/fs"
11+
"github.com/polydawn/rio/fs/osfs"
12+
. "github.com/polydawn/rio/testutil"
13+
. "github.com/polydawn/rio/transmat/mixins/tests"
1414
)
1515

1616
func TestPlacers(t *testing.T) {

stitch/placer/util.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import (
55

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

8-
"go.polydawn.net/go-timeless-api/rio"
9-
"go.polydawn.net/rio/fs"
10-
"go.polydawn.net/rio/fs/osfs"
11-
"go.polydawn.net/rio/fsOp"
8+
"github.com/polydawn/go-timeless-api/rio"
9+
"github.com/polydawn/rio/fs"
10+
"github.com/polydawn/rio/fs/osfs"
11+
"github.com/polydawn/rio/fsOp"
1212
)
1313

1414
var rootFs = osfs.New(fs.MustAbsolutePath("/")) // handy, since placers are always absolutized

stitch/treePack.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"sort"
66
"sync"
77

8-
"go.polydawn.net/go-timeless-api"
9-
"go.polydawn.net/go-timeless-api/rio"
10-
"go.polydawn.net/rio/fs"
8+
"github.com/polydawn/go-timeless-api"
9+
"github.com/polydawn/go-timeless-api/rio"
10+
"github.com/polydawn/rio/fs"
1111
)
1212

1313
/*

0 commit comments

Comments
 (0)