Closed lukemin closed 2 years ago
Hi, lukemin, apologizing first, thorough documentation writeup on this program currently is WIP in regard to my laziness + heavy procrastination from school, andatoshiki/toshiki-notebook is the repo I build my documentation site, but I have left it untouched for a long time, since there appears to be people using this forked program, I'll reserve some extra time aside from school works when I am spare for self-hosted deployments. BUT I do not guarantee when it will be finished, I'll have you notified as soon as I am done.
For your question,
I'm personally not a fan of docker, since this program is a fork of the original author, as he/him left the project abandoned due to complaints from users. I've followed down the way on how the original developer publish releases, instead of manually building binaries outputs then upload these artifacts from platforms to platforms, I used GitHub action as one of the easier CI tools instead.
Response to your second issue, still, documentation are still not thourough. If you intend to self build binaries from source, go version below 1.17.x
is required if you had a quick skim through the action config files under .github
folder, named in go.yml
, as you posted your logs go version go1.19.1 linux/amd64
exists, I believe that's definitely the reason what caused failure on binary builds. Referring to this article, quoted in follow,
Starting in Go 1.17, installing executables with go get is deprecated. go install may be used instead. In Go 1.18, go get will no longer build packages; it will only be used to add, update, or remove dependencies in go.mod. Specifically, go get will always act as if the -d flag were enabled.
The traditional go-get
command is deprecated starting version 1.18.x
for installing necessary dependencies and packages for projects. By far your best bet on self-hosting is to download the binaries built by myself under the release section of this repo before I write up docs (still).
Above are the explanation I would extend to clarify confusions, hope these helps. And if you are interested in writing documentations or contributing please let me know, always welcomed.
And once again, thank you for noticing rebased projects on GitHub from the originals. We are just a small piece of unknowns in clouds waiting for discoveries from new users, yet serves as a booster for us to keep everything updated from procrastination. I'll keep up maintaining this project, no worries :)
PR approved, will be closing this regarding successful deploy trial, thanks!
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Bug Version出现Bug的版本:v0.x.x
Environment操作环境:heroku/ubuntu/mac
Description 问题描述
docker pull docker.pkg.github.com/andatoshiki/toshiki-proxypool/proxypool:latest Error response from daemon: Head "https://docker.pkg.github.com/v2/andatoshiki/toshiki-proxypool/proxypool/manifests/latest": no basic auth credentials
docker login https://docker.pkg.github.com Username:**** Password: WARNING! Your password will be stored unencrypted in /root/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Docker pull docker.pkg.github.com/andatoshiki/toshiki-proxypool/proxypool:latest Error response from daemon: manifest unknown
源码编译: root@instance-20210810-1659:/home/ubuntu# go get -u -v github.com/andatoshiki/toshiki-proxypool go: go.mod file not found in current directory or any parent directory. 'go get' is no longer supported outside a module. To build and install a command, use 'go install' with a version, like 'go install example.com/cmd@latest' For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'. root@instance-20210810-1659:/home/ubuntu# go version go version go1.19.1 linux/amd64
To Reproduce 复现步骤