Skip to content

Support Gitlab (and other github-like backends) #419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
victornoel opened this issue Sep 26, 2016 · 9 comments · May be fixed by #657
Open

Support Gitlab (and other github-like backends) #419

victornoel opened this issue Sep 26, 2016 · 9 comments · May be fixed by #657
Labels
feature-request hacktoberfest Enjoy flashmob: https://hacktoberfest.digitalocean.com. Get a swag! help wanted
Milestone

Comments

@victornoel
Copy link

Hi,

How hard would it be to have a pluggable backend to switch from github to gitlab if desired?
I guess most of the logic behind github-changelog-generator is not github specific but solely relies on the fact that there is issues, PR, tags on them and so on.
Gogs could be another candidate for that.

I would like to help, but I'm not very familiar with Ruby so I really couldn't handle the refactoring needed to have this pluggable architecture I think…

See also https://gitlab.com/gitlab-org/gitlab-ce/issues/15345 for the need, already expressed at gitlab (without so much news for some time).

@skywinder
Copy link
Member

Related with #416

@fabn
Copy link

fabn commented Jan 11, 2017

I'll follow this issue and #416 because it would be a great improvement to this project.

I suggest also another idea, I also tried this tool, it serves the same purpose as yours but it uses a different approach to generate changelog entries.

If a generic concept of entry provider is added to this tool to abstract the differences between Github/Gitlab/Bitbucket it would be great to also have a sort of LocalEntryProvider class that parse changelog entries directly from git log using the regexp approach, i.e. something like

  • fix: Some issue fixed => to bugfix section
  • merge: Some issue fixed => to merged branches section

and so on. What do you think?

@kreczko
Copy link

kreczko commented Jul 12, 2017

This issue has not been touched for quite some time.
Is this being worked on?

If not, would it be possible to add some detail as to what needs changing?
Any helpful pointers to relevant sections in the code could speed up things.

EDIT: Is it "as simple" as adding a new fetcher?

@kreczko kreczko linked a pull request May 30, 2018 that will close this issue
2 tasks
@skywinder
Copy link
Member

This feature is ready in #657
Looks great. I want to double-check this code and then merge it.

In case if you don't want to wait:
I made separate repo to test GitLab things: https://github.com/github-changelog-generator/gitlab-changelog-generator

I can add you as owners there, so we can even make a separate gem for GitLab for now.

p.s. hmm. looks that we have to rename this project after this merge 😉 ***-changelog-generator

@victornoel
Copy link
Author

@skywinder an alternative to renaming the project would be to extract the common code in a changelog-generator project and have both the github and gitlab one depend on it?

@skywinder
Copy link
Member

Exactly. that's what I'm going to do soon.

@skywinder skywinder added in progress hacktoberfest Enjoy flashmob: https://hacktoberfest.digitalocean.com. Get a swag! labels Sep 26, 2020
@martijnsenden
Copy link

What is the status of this?

@skywinder
Copy link
Member

@martijnsenden hi, it's a frozen. 🥶
but the good news, that this feature is already implemented. ✅
🙌 I need help with supporting this project.

@o6uoq
Copy link

o6uoq commented Oct 14, 2024

It's been almost 4 years. Is GitLab support on the roadmap?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request hacktoberfest Enjoy flashmob: https://hacktoberfest.digitalocean.com. Get a swag! help wanted
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants