Verified Commit 98f782fc authored by Vladimir Hodakov's avatar Vladimir Hodakov 🔥
Browse files

Change import paths to source.hodakov.me

parent 8bb4ab76
......@@ -22,7 +22,7 @@ wget -O - -q https://install.goreleaser.com/github.com/fat0troll/yapusher.sh | s
If you're brave enough, or have Go installed, you can invoke
```sh
go get -u github.com/fat0troll/yapusher
go get -u source.hodakov.me/fat0troll/yapusher
```
The stability of master branch is questionable. Please consider using pre-built binaries except you facing some bugs that aren't fixed in newest release.
......@@ -69,7 +69,7 @@ There are some things to do:
### License
See [LICENSE](https://github.com/fat0troll/yapusher/blob/master/LICENSE).
See [LICENSE](https://source.hodakov.me/fat0troll/yapusher/src/branch/master/LICENSE).
## Russian
......@@ -93,7 +93,7 @@ wget -O - -q https://install.goreleaser.com/github.com/fat0troll/yapusher.sh | s
Если вы хотите собрать утилиту из исходников (и имеете установленный Go в системе), вы можете установить ``yapusher`` так:
```sh
go get -u github.com/fat0troll/yapusher
go get -u source.hodakov.me/fat0troll/yapusher
```
Стабильность ветки ``master`` находится под вопросом. Рекомендуется использовать собранную автоматически версию утилиты из релиза, если вы не являетесь разработчиком на Go или же не испытываете затруднений в работе с утилитой, исправления которых ещё не вошло в очередной релиз.
......@@ -138,4 +138,4 @@ yapusher -file /путь/к/файлу -uploadPath "путь/на/яндекс/
### Лицензия
См. [LICENSE](https://github.com/fat0troll/yapusher/blob/master/LICENSE).
См. [LICENSE](https://source.hodakov.me/fat0troll/yapusher/src/branch/master/LICENSE).
......@@ -4,7 +4,7 @@
package yandexv1
import (
"github.com/fat0troll/yapusher/internal/context"
"source.hodakov.me/fat0troll/yapusher/internal/context"
"github.com/rs/zerolog"
"gitlab.com/pztrn/flagger"
)
......
......@@ -9,7 +9,7 @@ import (
func showHelp() {
dlog.Info().Msg("This app is authorized for uploading your files one by one to Yandex.Disk.")
dlog.Info().Msg("For information how to use this app, run yapusher with -h flag or head to https://github.com/fat0troll/yapusher/blob/master/README.")
dlog.Info().Msg("For information how to use this app, run yapusher with -h flag or head to https://source.hodakov.me/fat0troll/yapusher/blob/master/README.")
os.Exit(0)
}
......@@ -133,7 +133,7 @@ func uploadFile(uploadPath string, filePath string, overwriteFile bool) {
}
if uploadInfo.URL == "" {
dlog.Fatal().Msg("Got empty upload URL. Report a bug at https://github.com/fat0troll/yapusher/issues because this situation is impossible.")
dlog.Fatal().Msg("Got empty upload URL. Report a bug at https://source.hodakov.me/fat0troll/yapusher/issues because this situation is impossible.")
}
uploadReq, _ := http.NewRequest("PUT", uploadInfo.URL, progressReader)
......@@ -150,7 +150,7 @@ func uploadFile(uploadPath string, filePath string, overwriteFile bool) {
case http.StatusAccepted:
dlog.Info().Msg("File uploaded successfully, but it will take time for Yandex.Disk to handle it internally. Be patient and don't try to upload single file many times")
case http.StatusRequestEntityTooLarge:
dlog.Fatal().Msg("File upload is too large. Report a bug at https://github.com/fat0troll/yapusher/issues because this situation should be handled before upload attempt.")
dlog.Fatal().Msg("File upload is too large. Report a bug at https://source.hodakov.me/fat0troll/yapusher/issues because this situation should be handled before upload attempt.")
case http.StatusInsufficientStorage:
dlog.Fatal().Msg("There is no space left on your Yandex.Disk.")
default:
......
......@@ -4,7 +4,7 @@
package context
import (
"github.com/fat0troll/yapusher/internal/config"
"source.hodakov.me/fat0troll/yapusher/internal/config"
"github.com/rs/zerolog"
"gitlab.com/pztrn/flagger"
)
......
......@@ -5,8 +5,8 @@ package main
import (
"fmt"
"github.com/fat0troll/yapusher/domains/yandex/v1"
"github.com/fat0troll/yapusher/internal/context"
"source.hodakov.me/fat0troll/yapusher/domains/yandex/v1"
"source.hodakov.me/fat0troll/yapusher/internal/context"
"runtime/debug"
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment