Coder Social home page Coder Social logo

GitLab support about danger-mention HOT 12 OPEN

danger avatar danger commented on July 19, 2024
GitLab support

from danger-mention.

Comments (12)

wojteklu avatar wojteklu commented on July 19, 2024

It would be awesome. I'm not using gitlab, but it should be possible if gitlab offers html with blame information (github: https://github.com/wojteklu/danger-mention/blame/master/lib/version.rb). Then we will use regex to analyze the outputted html.

from danger-mention.

k0nserv avatar k0nserv commented on July 19, 2024

Yeah should be possible with any problems :)

from danger-mention.

k0nserv avatar k0nserv commented on July 19, 2024

Quick question. Where does branch_for_base come from here https://github.com/k0nserv/danger-mention/blob/master/lib/danger_plugin.rb#L64? I can't find it, is it provided by Danger?

from danger-mention.

k0nserv avatar k0nserv commented on July 19, 2024

Found the answer to my own question :)

from danger-mention.

jk avatar jk commented on July 19, 2024

Just to be explicit: branch_for_base is only available when you're building with github. GitLab uses branch_for_merge.

from danger-mention.

k0nserv avatar k0nserv commented on July 19, 2024

That seems like a bug? Should they not be the same? cc @orta

from danger-mention.

orta avatar orta commented on July 19, 2024

Same would be better, currently gitlab has less branch_for_x and different named ones ( I think I named them after the git terminology, so it should be fine to apply to both )

http://danger.systems/reference.html

from danger-mention.

k0nserv avatar k0nserv commented on July 19, 2024

Yeah that's my bad, I think I based my GitLab work on the GitHub plugin, but maybe I didn't. I'll make a backwards compatible PR that introduces the same names

from danger-mention.

orta avatar orta commented on July 19, 2024

Rockin' 👍

from danger-mention.

connorshea avatar connorshea commented on July 19, 2024

Once Danger supports GitLab CI (or rather, GitLab CI supports Danger 😉) we'd love to be able to use this plugin for GitLab CE.

If there's anything we can do to help we'd be more than willing :)

from danger-mention.

orta avatar orta commented on July 19, 2024

This is added in 0.6.0 and shipped just now

screen shot 2017-02-10 at 3 28 51 pm

from danger-mention.

orta avatar orta commented on July 19, 2024

I take this back, as it uses web-page scraping #11 , I don't think the changes I've added are enough for gitlab support

from danger-mention.

Related Issues (10)

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.