diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2017-10-15 21:58:41 +0200 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2017-10-15 21:59:00 +0200 |
commit | a070387b5be893ba8029dc852d9e6a8daa283c65 (patch) | |
tree | de097825f17f641c6ab8abb7f802720093524cd2 | |
parent | 3311c0fc42fca06ff973487d09c71e8798809b63 (diff) | |
download | petrific-a070387b5be893ba8029dc852d9e6a8daa283c65.tar.gz petrific-a070387b5be893ba8029dc852d9e6a8daa283c65.tar.bz2 petrific-a070387b5be893ba8029dc852d9e6a8daa283c65.zip |
Host primarily on GitHub
go get doesn't work for my own server due to ssl certificates not being
accepted :(
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | backup/backup.go | 8 | ||||
-rw-r--r-- | backup/backup_test.go | 10 | ||||
-rw-r--r-- | backup/common_test.go | 2 | ||||
-rw-r--r-- | backup/restore.go | 8 | ||||
-rw-r--r-- | backup/restore_test.go | 6 | ||||
-rw-r--r-- | cache/cache.go | 2 | ||||
-rw-r--r-- | config/config.go | 2 | ||||
-rw-r--r-- | main.go | 6 | ||||
-rw-r--r-- | objects/object_tree.go | 2 | ||||
-rw-r--r-- | objects/object_tree_test.go | 2 | ||||
-rw-r--r-- | restore_dir.go | 6 | ||||
-rw-r--r-- | snapshot.go | 12 | ||||
-rw-r--r-- | storage/cloud/cloudstorage.go | 6 | ||||
-rw-r--r-- | storage/cloud/swift.go | 4 | ||||
-rw-r--r-- | storage/filter/filter.go | 4 | ||||
-rw-r--r-- | storage/filter/filter_test.go | 4 | ||||
-rw-r--r-- | storage/index.go | 2 | ||||
-rw-r--r-- | storage/local/local.go | 6 | ||||
-rw-r--r-- | storage/memory/memory.go | 6 | ||||
-rw-r--r-- | storage/registry/filter_conf.go | 6 | ||||
-rw-r--r-- | storage/registry/registry.go | 10 | ||||
-rw-r--r-- | storage/storage.go | 4 | ||||
-rw-r--r-- | write_dir.go | 6 |
24 files changed, 63 insertions, 63 deletions
@@ -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 code.laria.me/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 github.com/silvasur/petrific`. Configuration & Usage --------------------- diff --git a/backup/backup.go b/backup/backup.go index 84fb554..470288e 100644 --- a/backup/backup.go +++ b/backup/backup.go @@ -1,10 +1,10 @@ package backup import ( - "code.laria.me/petrific/cache" - "code.laria.me/petrific/fs" - "code.laria.me/petrific/objects" - "code.laria.me/petrific/storage" + "github.com/silvasur/petrific/cache" + "github.com/silvasur/petrific/fs" + "github.com/silvasur/petrific/objects" + "github.com/silvasur/petrific/storage" "io" "runtime" "sort" diff --git a/backup/backup_test.go b/backup/backup_test.go index a7f7ff9..7337eb5 100644 --- a/backup/backup_test.go +++ b/backup/backup_test.go @@ -2,11 +2,11 @@ package backup import ( "bytes" - "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" + "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" "testing" ) diff --git a/backup/common_test.go b/backup/common_test.go index a438c47..dc0bbac 100644 --- a/backup/common_test.go +++ b/backup/common_test.go @@ -1,7 +1,7 @@ package backup import ( - "code.laria.me/petrific/objects" + "github.com/silvasur/petrific/objects" ) // Test tree diff --git a/backup/restore.go b/backup/restore.go index 7624e1e..3a11e2b 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 db66e11..f98f607 100644 --- a/backup/restore_test.go +++ b/backup/restore_test.go @@ -2,9 +2,9 @@ package backup import ( "bytes" - "code.laria.me/petrific/fs" - "code.laria.me/petrific/objects" - "code.laria.me/petrific/storage/memory" + "github.com/silvasur/petrific/fs" + "github.com/silvasur/petrific/objects" + "github.com/silvasur/petrific/storage/memory" "io" "testing" ) diff --git a/cache/cache.go b/cache/cache.go index 32b8325..7374bde 100644 --- a/cache/cache.go +++ b/cache/cache.go @@ -1,7 +1,7 @@ package cache import ( - "code.laria.me/petrific/objects" + "github.com/silvasur/petrific/objects" "time" ) diff --git a/config/config.go b/config/config.go index b643477..fdf004d 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" @@ -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 2708aaa..799454d 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 1949375..82ccf96 100644 --- a/objects/object_tree_test.go +++ b/objects/object_tree_test.go @@ -2,7 +2,7 @@ package objects import ( "bytes" - "code.laria.me/petrific/acl" + "github.com/silvasur/petrific/acl" "testing" ) diff --git a/restore_dir.go b/restore_dir.go index 2961b70..4afd8dc 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 844a85a..ab9b3a5 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 f93bb5c..4a1cbbd 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 f08b1cc..38eb616 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 1628c1e..84d051e 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 78d4e7f..ecf55fc 100644 --- a/storage/filter/filter_test.go +++ b/storage/filter/filter_test.go @@ -2,8 +2,8 @@ package filter import ( "bytes" - "code.laria.me/petrific/backup" - "code.laria.me/petrific/storage/memory" + "github.com/silvasur/petrific/backup" + "github.com/silvasur/petrific/storage/memory" "testing" ) diff --git a/storage/index.go b/storage/index.go index 1d01b93..cd47d0b 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 ae39eb5..b534e90 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 dc72f70..2870ab5 100644 --- a/storage/memory/memory.go +++ b/storage/memory/memory.go @@ -1,9 +1,9 @@ package memory import ( - "code.laria.me/petrific/config" - "code.laria.me/petrific/objects" - "code.laria.me/petrific/storage" + "github.com/silvasur/petrific/config" + "github.com/silvasur/petrific/objects" + "github.com/silvasur/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 593f238..7cc113e 100644 --- a/storage/registry/filter_conf.go +++ b/storage/registry/filter_conf.go @@ -1,9 +1,9 @@ package registry import ( - "code.laria.me/petrific/config" - "code.laria.me/petrific/storage" - "code.laria.me/petrific/storage/filter" + "github.com/silvasur/petrific/config" + "github.com/silvasur/petrific/storage" + "github.com/silvasur/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 4b48ef4..4cf4684 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 176e75d..f6efe76 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 34abcd1..a354a68 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" ) |