Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 10:00
    HaomingJu starred profclems/glab
  • 09:30
    izzeran96 starred profclems/glab
  • Jan 20 14:06
    patricab starred profclems/glab
  • Jan 20 12:36
    codecov[bot] commented #927
  • Jan 20 12:36
    GitLab | clemsbot pushed 2 commits to glab
  • Jan 20 12:36
    zemzale synchronize #927
  • Jan 20 12:34
    zemzale commented #927
  • Jan 20 12:32
    GitLab | clemsbot pushed 16 commits to glab
  • Jan 20 12:32
    codecov[bot] commented #927
  • Jan 20 12:31
    zemzale synchronize #927
  • Jan 20 07:41
    Baby8093girl starred profclems/glab
  • Jan 20 02:24
    clemsbot unlabeled #913
  • Jan 20 02:24
    clemsbot labeled #926
  • Jan 20 02:24
    clemsbot commented #926
  • Jan 19 19:36
    IvonaldoAmaral starred profclems/glab
  • Jan 19 19:33
    x3ro commented #929
  • Jan 19 19:32
    x3ro ready_for_review #929
  • Jan 19 19:32
    GitLab | clemsbot pushed 13 commits to glab
  • Jan 19 19:31
    codecov[bot] commented #929
  • Jan 19 19:31
    x3ro synchronize #929
nlarzon
@nlarzon
yes it does
nlarzon
@nlarzon
    gitlab.mydomain.com:
        api_protocol: https
        token: <super-secret>
        git_protocol: ssh
        user: me
        ca_cert: path/client.pem
        ca_cert_key: path/client-key.pem
remote_alias: origin


git remote -v
origin    git@gitlab.mydomain.com:my-group/project/repo.git (fetch)
Clement Sam
@profclems
There's a host mismatch here. You're using gitlab.mydomain.com in glab's config but your host is git.mydomain.com
Update the host in your config to git.mydomain.com
nlarzon
@nlarzon
sorry it is just my anonymization that is wrong
Clement Sam
@profclems
I can't seem to reproduce the error
I'm thinking you should still check. There's probably a host mismatch
Clement Sam
@profclems
@nlarzon kindly open an issue on it if you're still facing this issue
maxice8
@maxice8_gitlab
@profclems yes ?
maxice8
@maxice8_gitlab
What is the blessed way to stub a prompt function so it returns a specified value ? so I can test PickMetadata()
Clement Sam
@profclems

The functions in the prompt package have stub functions for test. Take a look at the mr_create_test where I stubbed the submit confirmation prompt with:

ask, teardown := prompt.InitAskStubber()
    defer teardown()

    ask.Stub([]*prompt.QuestionStub{
        {
            Name:  "confirmation",
            Value: 0,
        },
    })

This selects the first option which is submit

maxice8
@maxice8_gitlab
Hmm, I don't seem to be able to stub a prompt.MultiSelect
Clement Sam
@profclems
I opened a PR to make it easier to stub multiselect #480
Check the comment here: https://github.com/profclems/glab/pull/480#issuecomment-753327499
maxice8
@maxice8_gitlab
Thanks
maxice8
@maxice8_gitlab
resolveNetwork() was a fun function to look at
Clement Sam
@profclems
@maxice8_gitlab I took a closer look at agl and you had some long term plans for it. I took 2 of them which I think we can bring into glab:
  1. Provide TUI to comment on issues
  2. dissect GitLab to allow creating personal access token from the commandline
maxice8
@maxice8_gitlab
I see, the second one would be the best.
kaddkaka
@kaddkaka
Hi :) I just found this tool after getting TOOO annoyed that gitlab webgui is so extremely slow.
What is the current state of glab mr view? it seems to be missing basic stuff
zemzale
@zemzale
Hey. What do you exactly mean by missing basic stuff?
kaddkaka
@kaddkaka
Well probably I just dont know where to look. But when listing comments, is there any way to see the context to which the comment refer?
Also is it possible to reply to a comment and go to the commented code and create a fixup?
Sorry my original question was unnecessarily snarky.
zemzale
@zemzale
I see your point. I would say that its not really the most basic stuff, since we are doing the most baisc stuff, which is displaying the comments just as they come from GitLab API, but if u see a way how we can improve it, open up an issue and we can look at it. Maybe you self can make the improvements, since we are always open for contributions
kaddkaka
@kaddkaka
definitely, Ive never done a patch to a github repo but I would like to. Sometimes at my office we end up with 100+ commit merge requests and comments in the number 300~, and in this case the web gui doesn't cope at all. (for example refusing to show more than 100commits in any way). Unfortuntaley I don't have a good development environment on my winsows machine :s
my WSL has broken internet access which is how I would have liked to solve it
zemzale
@zemzale
I am pretty sure u can devlop glab on windows too, but I really got no idea, since I havent used windows for development in a long time.
kaddkaka
@kaddkaka
yeah I'm just not in the mood to configure windows :p urgh
zemzale
@zemzale
Yeah I feel you
But in any case u can open issues about things that might be improved, if u cant maybe someone else might pick it up
kaddkaka
@kaddkaka
it it possible to let my glab instantiation act as my own local user? I accidentally selected a user that looks like "glab @project_1_bot" but ideally it shouldn't be visible if I create an MR with the gui as my regular user, or with glab from the command line
kaddkaka
@kaddkaka
I redid glab auth login command and now I'm the correct user, not sure what happened last time...
Maximiliano Greco
@mmngreco
Hi everyone! I spent a long time writing an issue using glab in vim, but it failed in the submission process so when this happens there is a way to recover this content?
Clement Sam
@profclems
Hi @mmngreco sorry for the late reply and sorry for facing this issue... Currently there is no way to recover it. There is an open issue to resolve this #472 ... Thanks
Maximiliano Greco
@mmngreco

Hi @mmngreco sorry for the late reply and sorry for facing this issue... Currently there is no way to recover it. There is an open issue to resolve this #472 ... Thanks

To me, there is nothing to sorry about; you are doing a great job with glab! Thank you for point me the issue, I'm tracking it! ;-)

Braswell Kenneth Jr
@braswelljr
Hi @profclems, I have not really worked with GitLab but with this great tool I think it would be fun exploring GitLab.