aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--backup/backup.go8
-rw-r--r--backup/backup_test.go10
-rw-r--r--backup/common_test.go2
-rw-r--r--backup/restore.go8
-rw-r--r--backup/restore_test.go6
-rw-r--r--cache/cache.go2
-rw-r--r--config/config.go2
-rw-r--r--main.go6
-rw-r--r--objects/object_tree.go2
-rw-r--r--objects/object_tree_test.go2
-rw-r--r--restore_dir.go6
-rw-r--r--snapshot.go12
-rw-r--r--storage/cloud/cloudstorage.go6
-rw-r--r--storage/cloud/swift.go4
-rw-r--r--storage/filter/filter.go4
-rw-r--r--storage/filter/filter_test.go4
-rw-r--r--storage/index.go2
-rw-r--r--storage/local/local.go6
-rw-r--r--storage/memory/memory.go6
-rw-r--r--storage/registry/filter_conf.go6
-rw-r--r--storage/registry/registry.go10
-rw-r--r--storage/storage.go4
-rw-r--r--write_dir.go6
24 files changed, 63 insertions, 63 deletions
diff --git a/README.md b/README.md
index d800ae4..db923fc 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@ It stores your files and directories as objects that are addressed with their cr
Installation
------------
-You will need the [Go](https://www.golang.org) compiler, [git](https://www.git-scm.org) and [GPG](https://gnupg.org/) installed on your system. After that, installing petrific is as easy as `go get github.com/silvasur/petrific`.
+You will need the [Go](https://www.golang.org) compiler, [git](https://www.git-scm.org) and [GPG](https://gnupg.org/) installed on your system. After that, installing petrific is as easy as `go get code.laria.me/petrific`.
Configuration & Usage
---------------------
diff --git a/backup/backup.go b/backup/backup.go
index 470288e..84fb554 100644
--- a/backup/backup.go
+++ b/backup/backup.go
@@ -1,10 +1,10 @@
package backup
import (
- "github.com/silvasur/petrific/cache"
- "github.com/silvasur/petrific/fs"
- "github.com/silvasur/petrific/objects"
- "github.com/silvasur/petrific/storage"
+ "code.laria.me/petrific/cache"
+ "code.laria.me/petrific/fs"
+ "code.laria.me/petrific/objects"
+ "code.laria.me/petrific/storage"
"io"
"runtime"
"sort"
diff --git a/backup/backup_test.go b/backup/backup_test.go
index 7337eb5..a7f7ff9 100644
--- a/backup/backup_test.go
+++ b/backup/backup_test.go
@@ -2,11 +2,11 @@ package backup
import (
"bytes"
- "github.com/silvasur/petrific/cache"
- "github.com/silvasur/petrific/fs"
- "github.com/silvasur/petrific/objects"
- "github.com/silvasur/petrific/storage"
- "github.com/silvasur/petrific/storage/memory"
+ "code.laria.me/petrific/cache"
+ "code.laria.me/petrific/fs"
+ "code.laria.me/petrific/objects"
+ "code.laria.me/petrific/storage"
+ "code.laria.me/petrific/storage/memory"
"testing"
)
diff --git a/backup/common_test.go b/backup/common_test.go
index dc0bbac..a438c47 100644
--- a/backup/common_test.go
+++ b/backup/common_test.go
@@ -1,7 +1,7 @@
package backup
import (
- "github.com/silvasur/petrific/objects"
+ "code.laria.me/petrific/objects"
)
// Test tree
diff --git a/backup/restore.go b/backup/restore.go
index 3a11e2b..7624e1e 100644
--- a/backup/restore.go
+++ b/backup/restore.go
@@ -1,11 +1,11 @@
package backup
import (
+ "code.laria.me/petrific/acl"
+ "code.laria.me/petrific/fs"
+ "code.laria.me/petrific/objects"
+ "code.laria.me/petrific/storage"
"fmt"
- "github.com/silvasur/petrific/acl"
- "github.com/silvasur/petrific/fs"
- "github.com/silvasur/petrific/objects"
- "github.com/silvasur/petrific/storage"
"io"
"math/rand"
"os"
diff --git a/backup/restore_test.go b/backup/restore_test.go
index f98f607..db66e11 100644
--- a/backup/restore_test.go
+++ b/backup/restore_test.go
@@ -2,9 +2,9 @@ package backup
import (
"bytes"
- "github.com/silvasur/petrific/fs"
- "github.com/silvasur/petrific/objects"
- "github.com/silvasur/petrific/storage/memory"
+ "code.laria.me/petrific/fs"
+ "code.laria.me/petrific/objects"
+ "code.laria.me/petrific/storage/memory"
"io"
"testing"
)
diff --git a/cache/cache.go b/cache/cache.go
index 7374bde..32b8325 100644
--- a/cache/cache.go
+++ b/cache/cache.go
@@ -1,7 +1,7 @@
package cache
import (
- "github.com/silvasur/petrific/objects"
+ "code.laria.me/petrific/objects"
"time"
)
diff --git a/config/config.go b/config/config.go
index fdf004d..b643477 100644
--- a/config/config.go
+++ b/config/config.go
@@ -31,11 +31,11 @@
package config
import (
+ "code.laria.me/petrific/gpg"
"errors"
"fmt"
"github.com/BurntSushi/toml"
"github.com/adrg/xdg"
- "github.com/silvasur/petrific/gpg"
"os"
"os/user"
"strings"
diff --git a/main.go b/main.go
index ebaad63..11202f3 100644
--- a/main.go
+++ b/main.go
@@ -1,11 +1,11 @@
package main
import (
+ "code.laria.me/petrific/config"
+ "code.laria.me/petrific/storage"
+ "code.laria.me/petrific/storage/registry"
"flag"
"fmt"
- "github.com/silvasur/petrific/config"
- "github.com/silvasur/petrific/storage"
- "github.com/silvasur/petrific/storage/registry"
"os"
)
diff --git a/objects/object_tree.go b/objects/object_tree.go
index 799454d..2708aaa 100644
--- a/objects/object_tree.go
+++ b/objects/object_tree.go
@@ -3,9 +3,9 @@ package objects
import (
"bufio"
"bytes"
+ "code.laria.me/petrific/acl"
"errors"
"fmt"
- "github.com/silvasur/petrific/acl"
"sort"
)
diff --git a/objects/object_tree_test.go b/objects/object_tree_test.go
index 82ccf96..1949375 100644
--- a/objects/object_tree_test.go
+++ b/objects/object_tree_test.go
@@ -2,7 +2,7 @@ package objects
import (
"bytes"
- "github.com/silvasur/petrific/acl"
+ "code.laria.me/petrific/acl"
"testing"
)
diff --git a/restore_dir.go b/restore_dir.go
index 4afd8dc..2961b70 100644
--- a/restore_dir.go
+++ b/restore_dir.go
@@ -1,10 +1,10 @@
package main
import (
+ "code.laria.me/petrific/backup"
+ "code.laria.me/petrific/fs"
+ "code.laria.me/petrific/objects"
"fmt"
- "github.com/silvasur/petrific/backup"
- "github.com/silvasur/petrific/fs"
- "github.com/silvasur/petrific/objects"
)
func RestoreDir(args []string) int {
diff --git a/snapshot.go b/snapshot.go
index ab9b3a5..844a85a 100644
--- a/snapshot.go
+++ b/snapshot.go
@@ -1,15 +1,15 @@
package main
import (
+ "code.laria.me/petrific/backup"
+ "code.laria.me/petrific/cache"
+ "code.laria.me/petrific/fs"
+ "code.laria.me/petrific/gpg"
+ "code.laria.me/petrific/objects"
+ "code.laria.me/petrific/storage"
"errors"
"flag"
"fmt"
- "github.com/silvasur/petrific/backup"
- "github.com/silvasur/petrific/cache"
- "github.com/silvasur/petrific/fs"
- "github.com/silvasur/petrific/gpg"
- "github.com/silvasur/petrific/objects"
- "github.com/silvasur/petrific/storage"
"os"
"sort"
"time"
diff --git a/storage/cloud/cloudstorage.go b/storage/cloud/cloudstorage.go
index 4a1cbbd..f93bb5c 100644
--- a/storage/cloud/cloudstorage.go
+++ b/storage/cloud/cloudstorage.go
@@ -4,11 +4,11 @@ package cloud
import (
"bytes"
+ "code.laria.me/petrific/config"
+ "code.laria.me/petrific/objects"
+ "code.laria.me/petrific/storage"
"errors"
"fmt"
- "github.com/silvasur/petrific/config"
- "github.com/silvasur/petrific/objects"
- "github.com/silvasur/petrific/storage"
"math/rand"
)
diff --git a/storage/cloud/swift.go b/storage/cloud/swift.go
index 38eb616..f08b1cc 100644
--- a/storage/cloud/swift.go
+++ b/storage/cloud/swift.go
@@ -1,9 +1,9 @@
package cloud
import (
+ "code.laria.me/petrific/config"
+ "code.laria.me/petrific/storage"
"github.com/ncw/swift"
- "github.com/silvasur/petrific/config"
- "github.com/silvasur/petrific/storage"
"time"
)
diff --git a/storage/filter/filter.go b/storage/filter/filter.go
index 84d051e..1628c1e 100644
--- a/storage/filter/filter.go
+++ b/storage/filter/filter.go
@@ -2,9 +2,9 @@ package filter
import (
"bytes"
+ "code.laria.me/petrific/objects"
+ "code.laria.me/petrific/storage"
"errors"
- "github.com/silvasur/petrific/objects"
- "github.com/silvasur/petrific/storage"
"os/exec"
)
diff --git a/storage/filter/filter_test.go b/storage/filter/filter_test.go
index ecf55fc..78d4e7f 100644
--- a/storage/filter/filter_test.go
+++ b/storage/filter/filter_test.go
@@ -2,8 +2,8 @@ package filter
import (
"bytes"
- "github.com/silvasur/petrific/backup"
- "github.com/silvasur/petrific/storage/memory"
+ "code.laria.me/petrific/backup"
+ "code.laria.me/petrific/storage/memory"
"testing"
)
diff --git a/storage/index.go b/storage/index.go
index cd47d0b..1d01b93 100644
--- a/storage/index.go
+++ b/storage/index.go
@@ -2,8 +2,8 @@ package storage
import (
"bufio"
+ "code.laria.me/petrific/objects"
"fmt"
- "github.com/silvasur/petrific/objects"
"io"
"strings"
)
diff --git a/storage/local/local.go b/storage/local/local.go
index b534e90..ae39eb5 100644
--- a/storage/local/local.go
+++ b/storage/local/local.go
@@ -2,11 +2,11 @@ package local
import (
"bytes"
+ "code.laria.me/petrific/config"
+ "code.laria.me/petrific/objects"
+ "code.laria.me/petrific/storage"
"encoding/hex"
"fmt"
- "github.com/silvasur/petrific/config"
- "github.com/silvasur/petrific/objects"
- "github.com/silvasur/petrific/storage"
"io"
"os"
"strings"
diff --git a/storage/memory/memory.go b/storage/memory/memory.go
index 2870ab5..dc72f70 100644
--- a/storage/memory/memory.go
+++ b/storage/memory/memory.go
@@ -1,9 +1,9 @@
package memory
import (
- "github.com/silvasur/petrific/config"
- "github.com/silvasur/petrific/objects"
- "github.com/silvasur/petrific/storage"
+ "code.laria.me/petrific/config"
+ "code.laria.me/petrific/objects"
+ "code.laria.me/petrific/storage"
)
// Memory storage is an in-memory storage. It is rather useless when using petrific, it is mostly used for internal testing.
diff --git a/storage/registry/filter_conf.go b/storage/registry/filter_conf.go
index 7cc113e..593f238 100644
--- a/storage/registry/filter_conf.go
+++ b/storage/registry/filter_conf.go
@@ -1,9 +1,9 @@
package registry
import (
- "github.com/silvasur/petrific/config"
- "github.com/silvasur/petrific/storage"
- "github.com/silvasur/petrific/storage/filter"
+ "code.laria.me/petrific/config"
+ "code.laria.me/petrific/storage"
+ "code.laria.me/petrific/storage/filter"
)
// Unlike the other storage engines, we can not define FilterStorages
diff --git a/storage/registry/registry.go b/storage/registry/registry.go
index 4cf4684..4b48ef4 100644
--- a/storage/registry/registry.go
+++ b/storage/registry/registry.go
@@ -1,13 +1,13 @@
package registry
import (
+ "code.laria.me/petrific/config"
+ "code.laria.me/petrific/storage"
+ "code.laria.me/petrific/storage/cloud"
+ "code.laria.me/petrific/storage/local"
+ "code.laria.me/petrific/storage/memory"
"errors"
"fmt"
- "github.com/silvasur/petrific/config"
- "github.com/silvasur/petrific/storage"
- "github.com/silvasur/petrific/storage/cloud"
- "github.com/silvasur/petrific/storage/local"
- "github.com/silvasur/petrific/storage/memory"
)
// List af all available storage types
diff --git a/storage/storage.go b/storage/storage.go
index f6efe76..176e75d 100644
--- a/storage/storage.go
+++ b/storage/storage.go
@@ -2,10 +2,10 @@ package storage
import (
"bytes"
+ "code.laria.me/petrific/config"
+ "code.laria.me/petrific/objects"
"errors"
"fmt"
- "github.com/silvasur/petrific/config"
- "github.com/silvasur/petrific/objects"
"io"
"time"
)
diff --git a/write_dir.go b/write_dir.go
index a354a68..34abcd1 100644
--- a/write_dir.go
+++ b/write_dir.go
@@ -1,10 +1,10 @@
package main
import (
+ "code.laria.me/petrific/backup"
+ "code.laria.me/petrific/cache"
+ "code.laria.me/petrific/fs"
"fmt"
- "github.com/silvasur/petrific/backup"
- "github.com/silvasur/petrific/cache"
- "github.com/silvasur/petrific/fs"
"os"
"path"
)