GithubHelp home page GithubHelp logo

Support for gitlab about composer-changelogs HOT 5 CLOSED

pyrech avatar pyrech commented on June 6, 2024
Support for gitlab

from composer-changelogs.

Comments (5)

pyrech avatar pyrech commented on June 6, 2024

Hi :)
Currently all the supported hosting services are detected within the source url of the package (mainly the domain of the service). So I don't see any way to detect that a package's url correspond to a self hosted gitlab instance. Is there a url structure that could uniquely detect a gitlab instance?

from composer-changelogs.

kitzberger avatar kitzberger commented on June 6, 2024

Hm, I guess not since it's up to the person setting the whole thing how they wanna name the domain. The repository path isn't unique either.

https://gitlab.company.org/project-name/repo-name

One could assume that everyone tends towards including gitlab in the domain name, but a better approach would be to make it configurable. Both ways would work in my case ;-)

from composer-changelogs.

pyrech avatar pyrech commented on June 6, 2024

Hi @kitzberger

Good news: I'm currently working on the feature :) But I don't have any instance of gitlab to play with. I see in Gitlab documentation that it supports releases but I cannot find anywhere what are the URLs of those release pages. For example, for Github, it's github.com/[user name]/[repository name]/releases/tag/[name of the release].

Same question about compare URLs. Does Gitlab support them? If yes, can they be across forks like Github or Bitbucket support them? What is their structure? FYI, on Github, it's github.com/[user name]/[repository name]/compare/[name of the version before update]...[name of the version after update]

from composer-changelogs.

kitzberger avatar kitzberger commented on June 6, 2024

That's great to hear ;-)

In our gitlab the URLs you're looking for are like this: https://gitlab.company.org/[project-name]/[repo-name]/tags/1.33.0

Comparing seems only to be working within one repository, not across forks: https://gitlab.company.org/[project-name]/[repo-name]/compare/master...feature%2Fdoes-something-different

Hope this info is useful to you. Let me know if I can be of any further assistance ;-)

from composer-changelogs.

pyrech avatar pyrech commented on June 6, 2024

I just created #37 to implement this feature 😉

from composer-changelogs.

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.