Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Dan Bode
    @bodepd
    I'd like to poke that code a bit, which goes back to the breakpoint that I'm looking for (I'm super new to the GL code and struggling a bit between what methods get invoked as a part of app init and as a part of the request)
    Dan Bode
    @bodepd
    nice! I got a breakpoint hit on the api guard, that is more than enough to get me started. thanks so much!
    The Gitter Badger
    @gitter-badger
    [Lee Tickett, GitLab] Amazing- great guess work on my part. I've never into that part but i've found grep is my friend... so if you're interested I just searched the codebase for authorize in /lib/api/*.rb
    [Lee Tickett, GitLab] and bam that was one of the first results
    Dan Bode
    @bodepd
    I figured it out: basically, this line of code: https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/auth/auth_finders.rb#L228 , when API calls have a bearer token specified, it checks them against the database (and I'm assuming that doorkeeper puts tokens into a database), it looks like it doesn't even try to resolve api tokens against omniauth
    Karthik Sivadas
    @karthik.sivadas_gitlab
    Hi, can some please guide me to which issue to pick for a beginner to this repo? I have experience with Rails but would also love to learn Vue. Can someone please help?
    Tsegaselassie Tadesse
    @tsega_gitlab
    @karthik.sivadas_gitlab the best place to start is by filtering the issues by the tag good for new contributors; here is the link https://gitlab.com/gitlab-org/gitlab/-/issues?scope=all&utf8=%E2%9C%93&state=opened&label_name[]=good%20for%20new%20contributors
    Once you find something that you would like to contirbute to there would be a lot of folks here who would be able to help you. Including me :D
    Karthik Sivadas
    @karthik.sivadas_gitlab
    @tsega_gitlab Thank you very much
    Tsegaselassie Tadesse
    @tsega_gitlab
    :+1:
    Vladislav Boldakov
    @boldakov.vladislav_gitlab

    Hello, everyone
    I have some problem with installation asdf, on manjaro(arch linux)
    I make all steps and set /opt/asdf-vm/asdf.sh in ~/.bashrc as stated in pinned comment.
    But when i start bash i get:
    bash: /opt/asdf-vm/asdf.sh: Permission denied

    Typing asdf, and get:
    bash: asdf: command not found

    May someone had same issue, thanks.

    1 reply
    Simon
    @tsim0_twitter
    Hey @boldakov.vladislav_gitlab, seems like your current user is not allowed to execute /opt/asdf-vm/asdf.sh. You may want to set the exec bit using sudo chmod +x /opt/asdf-vm/asdf.sh :)
    1 reply
    The other error just means that the command asdf is not in your path, because you probably just have asdf.sh (you could try that after setting the exec bit)
    Bui Duong
    @iblack_gitlab
    Hello, everyone
    i need develop some feature for gitlab-raise on-premise, can some please guide me how to debug gitlab-rails on ubuntu?
    Vladislav Boldakov
    @boldakov.vladislav_gitlab

    Hi, everyone!
    I have installed gdk, chosen issue, created branch and now i try push my new (uncommitted)branch with commits but i get 403 error :((
    I try add ssh, but it doesn't solve my problem.

    // push my brach
    git push --set-upstream origin 217166-vladislav-use-template-button-keyboard
    
    Username for 'https://gitlab.com': // passing my credentionals
    Password for: // passing my credentionals
    
    // get 
    remote: You are not allowed to push code to this project.
    fatal: unable to access 'https://gitlab.com/gitlab-org/gitlab.git/': The requested URL returned error: 403

    Thank you in advance

    Zamir Martins Filho
    @zmartins_gitlab
    @boldakov.vladislav_gitlab it seems that there is a mismatch there. with GDK you have your local environment which will have a different address from your repository within GitLab(in case you have one).
    did you have a chance to go through https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/master/doc/index.md for your gdk setup?
    Zamir Martins Filho
    @zmartins_gitlab
    as an example, if I am cloning a repository from my local environment that's what I get in terms of repository:
    $ git remote -v
    origin    http://local.dev:3000/root/agent_project.git (fetch)
    origin    http://local.dev:3000/root/agent_project.git (push)
    5 replies
    The Gitter Badger
    @gitter-badger
    6 replies
    Samayan Bhattacharya
    @Samsy12_gitlab
    Can anyone plz say when the swags for January Hackathon will start shipping?
    David Planella
    @dpm:matrix.org
    [m]
    @cbacharakis_gitlab: could you help @Samsy12_gitlab with the question?
    Christos Bacharakis
    @cbacharakis_gitlab
    Thanks @dpm:matrix.org . Gi @Samsy12_gitlab ! We had some issues with the metrics, but expect to receive an email about swag by the end of this week.
    Samayan Bhattacharya
    @Samsy12_gitlab
    @dpm:matrix.org @cbacharakis_gitlab Ok. Thank you!
    Karthik Sivadas
    @karthik.sivadas_gitlab
    I am trying to setup Gitlab fork in my local system. After initial login and changing the password. I am getting an error. 2:accessor call: route repository accessor: get synced node: get shard for "default": primary is not healthy. debug_error_string:{"created":"@1614864631.721117000","description":"Error received from peer unix:/Users/karthiksivadas/Development/oss/gitlab/gitlab-development-kit/praefect.socket","file":"src/core/lib/surface/call.cc","file_line":1055,"grpc_message":"accessor call: route repository accessor: get synced node: get shard for "default": primary is not healthy","grpc_status":2}
    After looking at gdk doctor it say down: ./services/praefect-gitaly-0: 1s, want up; run: log: (pid 36164) 4923s. Can someone please tell me what I am doing wrong?
    Simon
    @tsim0_twitter
    Could you try to stop the GDK, run bundle exec rails db:migrate RAILS_ENV=development and start it again afterwards?
    Karthik Sivadas
    @karthik.sivadas_gitlab
    @tsim0_twitter gdk stop also stops the postgre so the migration is not working so tried migration in the running state. But the error still persists.
    Simon
    @tsim0_twitter
    And you did a restart after the migrations, right?
    I also had this problem some months ago, but I'm not sure how I fixed it... You could try a clean install to a different directory with gdk install gitlab_repo=..., that's probably the easiest option :D
    Karthik Sivadas
    @karthik.sivadas_gitlab
    Yes I tried that its not working should I delete the gdk repo inside my fork before installation. Little more information on the installation process:
    I am on MacOS Big Sur. I cloned the forked repo then I did a gdk init inside the repo followed by gdk install inside gdk directory.
    Simon
    @tsim0_twitter
    You don't have to manually clone your fork :)
    Just run gdk init from any directory, which will clone the GDK itself into a subdirectory called gitlab-development-kit. You can then cd to this directory and run gdk install gitlab_repo=git@gitlab.com:gitlab-org/gitlab.git from there, replacing gitlab-org/gitlab.git with your fork.
    That will clone all necessary repositories (including your fork) into corresponding subdirectories. The main GitLab project will be inside the subdirectory gitlab, which is where your fork will be installed and where you can make changes and commit them :)
    Karthik Sivadas
    @karthik.sivadas_gitlab
    Thanks for the info it was really helpful. Have setup the repo based on your suggestion. But gdk doctor after the password change shows the same error
    GDK Status
    --------------------------------------------------------------------------------
    The following services are not running but should be:
    
    down: ./services/praefect-gitaly-0: 0s, want up; run: log: (pid 38415) 3238s
    Simon
    @tsim0_twitter
    Does gdk update complete without errors?
    1 reply
    Feel free to PM me for further questions or to start a thread here, that way we could keep the main stream cleaner :)
    Rajendra kadam
    @raju249_gitlab
    @karthik.sivadas_gitlab - Can you do a gdk start && gdk tail and paste some output here? The error you have pasted above doesn't give a better picture. :pray:
    Karthik Sivadas
    @karthik.sivadas_gitlab
    Screenshot 2021-03-05 at 9.26.37 PM.png
    @raju249_gitlab This is the tail. praefect gitaly seems to fails
    Karthik Sivadas
    @karthik.sivadas_gitlab
    @raju249_gitlab Sorry to re-ping. But any update on this. I also tried setting gitlab up on my friend's laptop (Pop!_OS) we are facing the same issue.
    Rajendra kadam
    @raju249_gitlab
    It seems like the socket file does not exist. I am pinging @ash.mckenzie_gitlab here for help :pray: :bow:
    @ash.mckenzie_gitlab - Is this known or something that is missing on Karthik's side?
    Karthik Sivadas
    @karthik.sivadas_gitlab
    @raju249_gitlab Thank you very much :bow:
    Armin Galliker
    @Dunken_gitlab
    image.png
    image.png
    Looks like I have the same problem as Karthik.
    Karthik Sivadas
    @karthik.sivadas_gitlab
    @Dunken_gitlab Solved the issue by reducing the pathname length as mentioned in the issue gitlab-org/gitlab-development-kit#809.
    Armin Galliker
    @Dunken_gitlab
    @karthik.sivadas_gitlab this was it! Many thanks.
    Christos Bacharakis
    @cbacharakis_gitlab
    Hi, y'all! Just a reminder that the next GitLab hackathon is around the corner! https://about.gitlab.com/community/hackathon/
    It's gonna take place between the 31st of March and 1st of April. We expect to finalize our sessions/call by the end of this coming week so stay tuned!
    sazz
    @sazz465:matrix.org
    [m]
    Hi guys! Don't know if this is the right channel for this, but i wanted to discuss about a few ideas for my GSoC proposal this time around. Please give me pointers where would be a good place to consult and discuss about these. Thanks in advance.
    1 reply
    Dijo Daiju
    @dijodaiju7
    Hi all, I'm Dijo can I work on gitlab-com/marketing/community-relations/contributor-program/gitlab-gsoc-2021#3 this issue. I'm familiar with Linux,Git and OOP. Can anyone help me out on how to begin with this issue.
    Christos Bacharakis
    @cbacharakis_gitlab
    Hi @dijodaiju7 this is part of the Google Summer of Program. You need to refer to their platform for applying. https://summerofcode.withgoogle.com/
    @sazz465:matrix.org and @manas1109_gitlab you can add your comments to the relevant project issue. The list of GSoC ideas/proposals are: https://gitlab.com/gitlab-com/marketing/community-relations/contributor-program/gitlab-gsoc-2021/-/issues
    Dijo Daiju
    @dijodaiju7
    Thanks @cbacharakis_gitlab