Comments (5)
Hi @AllanLRH,
of course I'm still around to help out ☺
for bitbucket, I indeed forgot to update the part of the readme that talks about the old hack when it did not support tokens. Now bitbucket supports application tokens, and git-repo also supports it.
There are two ways to configure it, either:
- by running
git-repo config
and leave git-repo create and fetch the token (though it's scraping the bitbucket interface, so it might break or have broken…), or - by logging in bitbucket, go to the application token page and create a new application token for git-repo, copy it and paste it as value for
token =
in thegitrepo "bitbucket"
section.
I'll change the README accordingly for the next release, which is likely to be soon, as we're about to ship gerrit's support!
from git-repo.
Thanks for the reply!
I updated my gitconfig with the application token (allowed access to everything), but when I run the same command as before, I still get the error.
[gitrepo "bitbucket"]
username = AllanLRH
token = Ref5gyX7Q4kdee6S2zs ; it's not the real token, but the length is unchanged.
[alias]
lab = repo lab
hub = repo hub
bit = repo bit
from git-repo.
ah my bad, I overlooked the error…
The issue is that per default bitbucket is bb
not bit
. Of course you can choose to use bit
, but to do so, you need to modify your configuration as such:
[gitrepo "bitbucket"]
username = AllanLRH
token = ZZZZZZZZZ
alias = bit
[alias]
lab = repo lab
hub = repo hub
bit = repo bit
the alias = xxx
part is to setup whatever name is to be used as git-repo xxx
for the service. I'll have to make a note to improve the error message to say something like: To configure a custom name for a service try adding 'alias = xxx' to the [gitrepo "service name"] section
, instead of the cryptic Missing service type for custom service
.
from git-repo.
Nice, this solved my problem. I'm happy with git bb
, I just used bit because that's what in the README. Thanks for helping me resolve this ☺︎
If other have this problem:
[gitrepo "bitbucket"]
username = AllanLRH
token = Ref5gyX7Q4kdee6S2zs ; it's not the real token, but the length is unchanged.
[alias]
lab = repo lab
hub = repo hub
bb = repo bb
$ git bb create AllanLRH/testrepo3
Successfully created remote repository `https://bitbucket.org/AllanLRH/testrepo3`, with local remote `bitbucket`
from git-repo.
There's still some misleading information in the README, but I've made a pull request (GH-187) proposing fixes to those.
EDIT: Seems like we fell victim to a race condition, and you accepted the PR while I was writing this message. Closing.
from git-repo.
Related Issues (20)
- Bug: configure gitlab produces Fatal error HOT 5
- Getting error when installing from git repo HOT 3
- Naming HOT 1
- Bitbutcket request ls shows more than just open PRs HOT 5
- setup.py not compatible with pip 10+
- Can't create repo on gitlab HOT 1
- Fatal error: list index out of range for Python 3.6 HOT 3
- Switch bitbucket API lib to new official one
- Fix simple typo: pagckage -> package
- fatal: manifest 'default.xml' not availabl HOT 1
- Add full gitea support HOT 1
- github: Support for python 3.10 (dependency update required)
- Build Failure
- with the help of Java application Build
- TestNG
- how to run Yolo V8 model with DLL's
- Customized Yolo NAS model
- how to generate alerts(audio) while detecting the objects..
- Is it possible to update PyPi package with the latest version?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-repo.