* log: remove use of description paramter in Scoped
* temporarily point to sglog branch
* bazel configure + gazelle
* remove additional use of description param
* use latest versions of zoekt,log,mountinfo
* go.mod
This replaces `lib/group` with `sourcegraph/conc`, which is its
spiritual successor.
## Test plan
Existing tests. `conc` itself is extremely well tested. The APIs of the
two packages are nearly identical since `conc` is based off `lib/group`.
The only significant change is that calling `Wait()` on a pool multiple
times is an error, so I fixed the couple places we do that.
* Break on successful git push in retryable
* Check for 502s in retryable push
* Make GitLab repo create retryable on server errors
* return error only if project is `nil` when creating gitlab repo
* Fetch existing GitLab project on error
* remove logger from gitlab again
* Revert save repo statement to original formatting?
* Bumps concurrency
* Make maxConcurrency a config setting;
* sets new origin url instead of adding new remote
* scaletesting: create code hosts and add cmd
- create from/destination code host based on kind
- add list command to from config
- fix big in dup repos for bitbucket
* Apply suggestions from code review
* add comments and fix block output stats
* scaletesting: fetch a repo if it already exists
* set basic auth on clone urls for bitbucket
* change separator
* set the git clone dir
* bitbucket toGitURL needs to use the token
* always use the basic auth client for bitbucket
* add mirror flag for git
* cleared failed status after successful push
* add force for pushes
* Update dev/scaletesting/codehostcopy/github.go
Co-authored-by: Jean-Hadrien Chabran <jh@chabran.fr>
* Update dev/scaletesting/codehostcopy/gitlab.go
Co-authored-by: Jean-Hadrien Chabran <jh@chabran.fr>
* fix comments
* alias cue errors package in favor of our errors
* implement new interface requirements
* ensure github code host is also created
* satisfy interface for gitlab
Co-authored-by: Jean-Hadrien Chabran <jh@chabran.fr>
* Stubs iterator on `github`
* Make `github.ListRepos` a paginated func
* Fix type signatures
* Load repos iteratively
* Concurrently fetch and create repos
* Some bugfixes. Total private owned repos returned from GH is not correct so not totally working
* Adds field to config for total repo count
* Fix pagination
* Adds sigterm handler
* Make chan buffered
* Accidentally checked in binary -_-
* Refactor Iterator into interface
* Ignore duplicate repo errors
* rename `totalRepos`
* Abstracts away pagination from `runner`
* Add comment to config
* Removes `ListRepos` from `CodeHostSource` interface
* add bitbucket client for use in codehostcopy
* rework bitbucket client to return error
* update bitbucket client to use Token based auth
* Update dev/scaletesting/codehostcopy/main.go
Co-authored-by: Jean-Hadrien Chabran <jh@chabran.fr>