Live data from Hacker News

Git-repo – Manage Gitlab, GitHub and Bitbucket from the command line

i.got.nothing.to

61–70 of 70 posts

Re: Git-repo – Manage Gitlab, GitHub and Bitbucket from the command line

#62
I'm amazed that nobody has commented yet about how this is a CLI wrapper around web services which are wrappers around a CLI tool. Or is everyone here already too jaded and so used to piling endless abstractions upon abstractions that this is considered normal?

How about if people simply accepted patches via e-mail, instead of requiring those obnoxious github pull requests?

Re: Git-repo – Manage Gitlab, GitHub and Bitbucket from the command line

#63
post #61

I am using a private gitlab instance. No support for this?

Yes there is! There's a bug that has been found that crashes the feature, but I got a patch ready to publish.

Ah sorry, my assumption was based on the config wizard not asking for my URL. I've found how to do it in the README. Thanks!

Re: Git-repo – Manage Gitlab, GitHub and Bitbucket from the command line

#64
post #58

Earlier quoted context omitted.

thank you. Please suggest a better name! :-D

"I'm the C.L.A.I.T commander" : https://www.youtube.com/watch?v=bB51NCcvuMs

<3 I guess you're referring to my other project :-)

Re: Git-repo – Manage Gitlab, GitHub and Bitbucket from the command line

#65
post #61

Earlier quoted context omitted.

Yes there is! There's a bug that has been found that crashes the feature, but I got a patch ready to publish.

Ah sorry, my assumption was based on the config wizard not asking for my URL. I've found how to do it in the README. Thanks!

Oh, I need to make a ticket about adding that to the wizard. Be my guest if you want to :-)

Re: Git-repo – Manage Gitlab, GitHub and Bitbucket from the command line

#66
post #47
post #46

Earlier quoted context omitted.

Not sure if it's something you'd call a social feature, but I find things like listrepos on an organization to be really helpful for piping into xargs to checkout everything a new customer depends on. The PR stuff is so far as I can see complete in git-hub - what do you think you're missing? (edit: if you meant gists, lots of the people I know already use paste site CLIs that handle that, btw, so to -us- that's more…

My bad, I did not scroll down to see how complete the command set was. At the top of the readme the list of commands is misleading (I thought there were only those at the first read). I'm not sure I can see a real use for checking out every repo of an organisation (I mean, if you do that with mozilla, you better start before going for a long holiday ), but having it /possible/ is a great thing So I guess we're pretty…

> I'm not sure I can see a real use for checking out every repo of an organisation

Maybe I wasn't explicit about it, but I did (and do) have one:

New customer with a github org and I want everything from their org so I can have a spelunk through the code while getting up to speed, build out dependency graphs to get a feel for how things interrelate, etc.

In fact, making it possible to script checking out an org's worth of perl repositories and shoving them into an http://p3rl.org/App::opan instance easily was the thing that was painful enough for me to finally install git-hub.

So, yeah, it may not be a common use case but it's actually an essential feature for me. Whether this means you should prioritise stealing it likely depends on how common it is, which I can't answer :)

Re: Git-repo – Manage Gitlab, GitHub and Bitbucket from the command line

#67
post #27

There's also git-spindle for this: - https://seveas.github.io/git-spindle/ - https://github.com/seveas/git-spindle

what the… ok I totally missed that one! And I DID search before writing such a tool

Spindle already has some of the things on your TODO list, but seems only semi-maintained. It'd be awesome if you two could join forces!

Re: Git-repo – Manage Gitlab, GitHub and Bitbucket from the command line

#68
post #25

Cool but 'repo' is a really hard name to search. There's already a tool by this name and they have the same problem. https://code.google.com/p/git-repo/

Well, first the name really is `git-repo` not `repo`, and as nobody has really heard of it yet, the pypi package is already on first page of go, and second page of google. I hope that if people like the tool, it's going to be easier to find. Of course, I'm not really obsessed with the name (as anyway the tool is designed so the user does not type git-repo everyday ). So if someone comes up with a name that's great th…

I think harrow uses it for their builds

Re: Git-repo – Manage Gitlab, GitHub and Bitbucket from the command line

#69
post #44

Cool but 'repo' is a really hard name to search. There's already a tool by this name and they have the same problem. https://code.google.com/p/git-repo/

This a thousand times. I was initially confused this was a fork of Google's/Android repo (gag). https://code.google.com/p/git-repo https://source.android.com/source/using-repo.html

I wish repo were the worst thing about building android

Re: Git-repo – Manage Gitlab, GitHub and Bitbucket from the command line

#70
post #22
post #11

Earlier quoted context omitted.

> I really enjoy how the author broke down both the problem and the solution, explaining why the existing solutions are inadequate. A thousand times this, I always get frustrated that every single product, tool or service has to have a lot of marketing gibberish, catchy slogans, etc., but zero explanations of what problems do they attempt to solve, or what was the motivation to create them. You usually are required t…

thank you a lot for your comments I actually wrote that tool based on a huge frustration I had going back and forth to the browser, and not being able to work while being agnostic to the services, which felt being a totally broken UX. I have then worked on that tool for a while, used it and refactored it a lot up until I'm happy using it. All in all, when I'm doing a tool, I'm first doing it for myself (I might inven…

I'm using git-hub as well and I find it very DWIM and more complete. (Have to add that I'm also a collaborator now, so maybe a bit biased)

I couldn't figure out how to use git-repo. When I figured out which command I have to use to list pull requests for github, it asked me for my ssh key password. I was wondering why it would need my ssh key at all, so I tried -v, but -v did nothing.

Then I gave up.

Also, it lacks tab completion, as far as I can see, while git-hub supports it for bash and zsh. And since the order of the commandline arguments is not fixed (`request list` vs. `request / list`) it might be actually difficult to add completion. I'm developing a generic completion generator, which would allow to add completion to existing commands, but it's not able to deal with this dynamic commandline argument order.

Post reply on HN