Giter Site home page Giter Site logo

Comments (12)

Jellby avatar Jellby commented on July 18, 2024 2

Everything Marge does (or at least everything I want her to do) is an issue with GitLab, it should all be handled natively by GitLab. But I thought the point was to implement what GitLab was missing.

from marge-bot.

nanonyme avatar nanonyme commented on July 18, 2024

This sounds more like an issue with Gitlab than Marge to me. There should be a way for project members to permit running code from a fork on original project CI.

from marge-bot.

nanonyme avatar nanonyme commented on July 18, 2024

Sure. We did bump into this I think three times over past 24 hours with new contributors.

from marge-bot.

RalfJung avatar RalfJung commented on July 18, 2024

This is a roadblock for us. I originally thought marge-bot works like bors, where the bot pushes the to-be-pushed-to-master commit (MR merged into master) to a staging branch, tests that, and then fast-forwards master if CI succeeds. That would help with the fork situation as well since this new branch is located in the main repository, not the fork. But it looks like marge-bot actually relies on CI in the original MR branch, and that won't cut it for us as we need specific runners that forks do not have access to...

from marge-bot.

Jellby avatar Jellby commented on July 18, 2024

@RalfJung You may want to try the MargePT2 branch in my fork, which among other things is intended for that (given that the PR is now sitting in limbo). Alternatively, I believe in GitLab, a developer with permission to run pipelines on the parent project can manually (through the web interface) start a pipeline for the MR, which is run on the parent project, not the fork.

from marge-bot.

RalfJung avatar RalfJung commented on July 18, 2024

@Jellby is that the branch behind this PR: #113 ? I'm a bot worried about using a fork; not knowing the original code it is hard for me to evaluate the risk that would entail.

Alternatively, I believe in GitLab, a developer with permission to run pipelines on the parent project can manually (through the web interface) start a pipeline for the MR, which is run on the parent project, not the fork.

That is interesting, I'll do some digging, thanks! If GitLab indeed supports this, couldn't mage-bot "push that button", so to speak?

from marge-bot.

RalfJung avatar RalfJung commented on July 18, 2024

Ah, looks like that is a premium feature... bummer.

from marge-bot.

Jellby avatar Jellby commented on July 18, 2024

It should be ahead, rather than behind. The branch is my working code, which we are using in https://gitlab.com/Molcas/OpenMolcas, and has been updated after #113 was created (and it contains other changes like #114). However, I'm not 100% that my latest changes have been pushed to the branch, and I can of course not give any assurance on the quality of the code or its behavior for any use case different from mine...

If I remember correctly, in my current branch marge is actually "pushing that button". (I'm using gitlab.com, so premium is not an issue... but impersonating is.)

from marge-bot.

RalfJung avatar RalfJung commented on July 18, 2024

However, I'm not 100% that my latest changes have been pushed to the branch, and I can of course not give any assurance on the quality of the code or its behavior for any use case different from mine...

Of course. Your help is already much appreciated. :-)

If I remember correctly, in my current branch marge is actually "pushing that button". (I'm using gitlab.com, so premium is not an issue... but impersonating is.)

That wouldn't work on our instance then I think... (as a publicly funded research institute, we cannot afford premium, but since we are primarily doing research not teaching, GitLab won't grant an educational license :/ )

from marge-bot.

RalfJung avatar RalfJung commented on July 18, 2024

If I remember correctly, in my current branch marge is actually "pushing that button". (I'm using gitlab.com, so premium is not an issue... but impersonating is.)

I think using a staging branch would actually be the better option since it also solves #296.

from marge-bot.

snim2 avatar snim2 commented on July 18, 2024

@RalfJung if some of your repos are public and open source you might be able to apply for this BTW.

from marge-bot.

RalfJung avatar RalfJung commented on July 18, 2024

Some of our repos are public and open-source but by far not all of them, so if I understand this correctly we are not eligible to the open-source program.

The code we want to use marge-bot for is open-source though... we'd probably have to have two gitlab instances, one for the open-source stuff to join their program and one for the private stuff. Not sure if that's worth it, I doubt our IT department would be happy about this. ;)

from marge-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.