bsd-port repo organization
David Holmes
david.holmes at oracle.com
Thu Aug 28 00:59:25 UTC 2025
On 27/08/2025 8:01 pm, Harald Eilertsen wrote:
> Hi,
>
> As we now have a bsd-port repo under the OpenJDK organization on Github,
> I thought it would be a good time to discuss further progress on the BSD
> port, and how to organize how we work and use the repo.
>
> https://github.com/openjdk/bsd-port
>
> The repo is set up so that the master branch automatically track the
> openjdk/jdk repo master branch, and from what I gather, the normal
> openjdk workflow for integrating merge requests into the master branch
> apply. I.e. merge requests in the bsd-repo will be integrated into the
> mainline jdk branch.
That doesn't sound right to me. You merge your project master branch
with mainline jdk master but not the other way around. Any changes for
JDK master need to be done via PR on the mainline JDK repo.
> https://openjdk.org/guide/#contributing-to-an-openjdk-project
>
> As the BSD ports have lived for such a long time as out-of-tree ports,
> integrating the old patches as they were originally committed to the
> battleblow repos is not really feasible. Also trying to integrate the
> full port as one huge merge request will probably (and understandably)
> be rejected.
>
> In other words we need to find a way to break the current set of patches
> down to sensible changes that we can get integrated with relative ease.
>
> I've been adviced that we should also author a JEP that covers the
> integration of the BSD port into mainline. This will make it easier to
> get our changes accepted, and also help the upstream project to plan for
> the changes.
>
> https://openjdk.org/jeps/0
>
> I'm not sure how important the JEP is if we add changes gradually, but
> I'm thinking it won't hurt.
If there is a JEP for the port (as there should be) then you can't
integrate anything* until the JEP has been targeted to a particular release.
* You can sometimes integrate "helper" changes to the mainline repo in
preparation for the port, but they generally need to carry their own
weight even if the port were not to eventuate.
David
-----
> Finally I think we should update the bsd-port wiki, but I don't seem
> to have edit rights for that yet.
>
> https://wiki.openjdk.org/display/BSDPort/Main
>
> I'd really like to get your feedback and thoughts on this.
>
> Take Care!
> Harald
More information about the bsd-port-dev
mailing list