Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete install instructions #85

Closed
bbros-dev opened this issue May 14, 2021 · 5 comments
Closed

Complete install instructions #85

bbros-dev opened this issue May 14, 2021 · 5 comments
Labels
question Further information is requested

Comments

@bbros-dev
Copy link

We find it nearly impossible to read the GIF embedded in README.md showing some bingo setup from scratch.

Squinting with tilted heads we think we can make out some variables being set before the install is attempted.

However in the written instructions there is no reference to env variables to be set?

@bwplotka
Copy link
Owner

bwplotka commented May 14, 2021

Env variables will be generated. It's as easy as running bingo get <tool url> and you can see generated .bingo/variables.env file.

Does this help?

@bwplotka bwplotka added the question Further information is requested label May 14, 2021
@bbros-dev
Copy link
Author

OK, we found this file detailing the demo in the README.md:

export GOBIN=$(pwd)/.bin && export PATH=${PATH}:${GOBIN} 
go get -u github.com/bwplotka/bingo

Are those exports required or not?

If not I suggest changing the demo shown to be consistent with the instructions.
If so I suggest adding them to the instructions lower down.

@bbros-dev
Copy link
Author

Installing this is proving quite tricky:

                  # cd /home/[redacted]/go/src/github.com/pkg/errors; git pull --ff-only
                  There is no tracking information for the current branch.
                  Please specify which branch you want to rebase against.
                  See git-pull(1) for details.

                      git pull <remote> <branch>

                  If you wish to set tracking information for this branch you can do so with:

                      git branch --set-upstream-to=origin/<branch> master

                  package github.com/pkg/errors: exit status 1
                  # cd /home/[redacted]/go/src/mvdan.cc/sh/v3; git pull --ff-only
                  There is no tracking information for the current branch.
                  Please specify which branch you want to rebase against.
                  See git-pull(1) for details.

                      git pull <remote> <branch>

                  If you wish to set tracking information for this branch you can do so with:

                      git branch --set-upstream-to=origin/<branch> master

                  package mvdan.cc/sh/v3/expand: exit status 1
                  # cd /home/[redacted]/go/src/golang.org/x/sync; git pull --ff-only
                  There is no tracking information for the current branch.
                  Please specify which branch you want to rebase against.
                  See git-pull(1) for details.

                      git pull <remote> <branch>

                  If you wish to set tracking information for this branch you can do so with:

                      git branch --set-upstream-to=origin/<branch> master

                  package golang.org/x/sync/errgroup: exit status 1
                  # cd /home/[redacted]/go/src/golang.org/x/sys; git pull --ff-only
                  There is no tracking information for the current branch.
                  Please specify which branch you want to rebase against.
                  See git-pull(1) for details.

                      git pull <remote> <branch>

                  If you wish to set tracking information for this branch you can do so with:

                      git branch --set-upstream-to=origin/<branch> master

                  package golang.org/x/sys/unix: exit status 1
                  # cd /home/[redacted]/go/src/golang.org/x/term; git pull --ff-only
                  There is no tracking information for the current branch.
                  Please specify which branch you want to rebase against.
                  See git-pull(1) for details.

                      git pull <remote> <branch>

                  If you wish to set tracking information for this branch you can do so with:

                      git branch --set-upstream-to=origin/<branch> master

                  package golang.org/x/term: exit status 1
                  # cd /home/[redacted]/go/src/github.com/Masterminds/semver; git pull --ff-only
                  There is no tracking information for the current branch.
                  Please specify which branch you want to rebase against.
                  See git-pull(1) for details.

                      git pull <remote> <branch>

                  If you wish to set tracking information for this branch you can do so with:

                      git branch --set-upstream-to=origin/<branch> master

                  package github.com/Masterminds/semver: exit status 1
                  # cd /home/[redacted]/go/src/github.com/efficientgo/tools; git pull --ff-only
                  There is no tracking information for the current branch.
                  Please specify which branch you want to rebase against.
                  See git-pull(1) for details.

                      git pull <remote> <branch>

                  If you wish to set tracking information for this branch you can do so with:

                      git branch --set-upstream-to=origin/<branch> main

                  package github.com/efficientgo/tools/core/pkg/errcapture: exit status 1
                  # cd /home/[redacted]/go/src/golang.org/x/mod; git pull --ff-only
                  There is no tracking information for the current branch.
                  Please specify which branch you want to rebase against.
                  See git-pull(1) for details.

                      git pull <remote> <branch>

                  If you wish to set tracking information for this branch you can do so with:

                      git branch --set-upstream-to=origin/<branch> master

                  package golang.org/x/mod/modfile: exit status 1
                  # cd /home/[redacted]/go/src/golang.org/x/xerrors; git pull --ff-only
                  There is no tracking information for the current branch.
                  Please specify which branch you want to rebase against.
                  See git-pull(1) for details.

                      git pull <remote> <branch>

                  If you wish to set tracking information for this branch you can do so with:

                      git branch --set-upstream-to=origin/<branch> master

                  package golang.org/x/xerrors: exit status 1
                  # cd /home/[redacted]/go/src/github.com/oklog/run; git pull --ff-only
                  There is no tracking information for the current branch.
                  Please specify which branch you want to rebase against.
                  See git-pull(1) for details.

                      git pull <remote> <branch>

                  If you wish to set tracking information for this branch you can do so with:

                      git branch --set-upstream-to=origin/<branch> master

                  package github.com/oklog/run: exit status 1

@bwplotka
Copy link
Owner

bwplotka commented May 30, 2021

Those envs are not required, but useful. Will work with default (empty variables), so I think this is fine.

Can you provide exact commands you install with? (:

@bbros-dev
Copy link
Author

bbros-dev commented May 30, 2021

We've moved on and likely won't come back to Go land for a few months.
Closing this as not currently an issue - but happy for you to reopen if you think there is value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants