-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Support changelogs from bitbucket-server #3903
Comments
Haven't done much investigation into this but I saw the one for gitlab and maven so I figured we should open one for bitbucket-server as well |
Hey, did not look into this yet, but would adding bitbucket-cloud to the task an option? |
No, it would be a separate task because the APIs are quite different |
Should this help? |
@Zenedith no, as that is only for shared presets before we can start working on this, the changelog retrival code must be refctored, so we can add more platofrms more easy |
Any chance someone less experienced could contribute to the refactoring? If there is enough interest, I'd be happy to help. |
Since no one else chimed in yet... I'd say it depends on what you mean by "less experienced" but as the old adage goes, "you never know until you try". From my personal experience creating my first PR a few months back, I'd say the biggest hurdle is just getting this project running in a way that you can debug it in a way that's comfortable for you. Everyone has their own coding style so getting this project to run with your personal style along with in a way that doesn't screw up a project in actual use. After that though, I found it pretty easy to probe around the code base and figure out what's going on where. |
Thanks for your feedback. I'm fairly opimistic that I'll get the project up and running. The part I that threw me off was the required refactoring and whether this is realistically something that can be done by someone new to the project (not knowing what the maintainers have in mind). I've had a quick look and currently the release-notes part is branching at multiple points based on whether it should work for github or gitlab. Since it is not intended to simply add another conditional branch for bitbucket-server, maybe we could sketch out the code structure that is required for a more general approach to fetching changelogs and then someone less involved could give it a shot. Alternatively, I could also just go ahead and work on a more general approach to fetching changelogs myself and create a draft PR (in that case I'd still be happy for any hints regarding potential stumbling blocks). |
@viceice do you have any objection if @jaysiee adds in BB prior to refactoring? |
Without refactoring the code would get more complicated as @jaysiee already mentioned. Bu i also know there is currently nobody who will and can do the required refactoring. So maybe @jaysiee can go ahead. |
What would you like Renovate to be able to do?
Similar to how renovate pulls from github.com to retrieve existing changelogs, it would be great if it did similar for on-premise versions of bitbucket-server
Describe the solution you'd like
Input - A bitbucket-server repository with a changelog.md at the root
Output - When a PR is created, it uses that changelog to improve the PR body created
Describe alternatives you've considered
I thought about other locations where we maybe able to get the changelog from such as unpkg or artifactory if it was part of the npm package but I feel that it adds more configuration changes and dependencies than less
Additional context
N/A
The text was updated successfully, but these errors were encountered: