Skip to content
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

Remove dependency generators #109

Open
mizdebsk opened this issue Sep 27, 2024 · 3 comments
Open

Remove dependency generators #109

mizdebsk opened this issue Sep 27, 2024 · 3 comments

Comments

@mizdebsk
Copy link
Member

Deprecate and remove dependency generators written in Python in favor of the newer https://github.com/fedora-java/xmvn-generator

  • xmvn-generator supports mvn provides/requires as well as several new types such as jpms or javapacakges-filesystem
  • osgi generators will not be supported any longer
@fridrich
Copy link
Contributor

The fact that some of the things that one needs on a pretty low level would not need java/maven helps us at least to prevent build cycles that are avoided as pest in SUSE environment where rebuilds are done very often and consistency of the repo is important. I had to rewrite a number of artifacts from using maven to a generated ant build just to be able to bootstrap the whole thing from scratch when needed. So, removing python stuff is not really welcome for me.

@fridrich
Copy link
Contributor

Also, we still carry over eclipse, so the osgi stuff is welcome too.

@mizdebsk
Copy link
Member Author

Regarding bootstrapping and avoiding dependency cycles, this is a very important matter to me. We rebuild everything regularly from scratch with help of https://github.com/fedora-java/javapackages-bootstrap

In a nutshell, Java Packages Bootstrap (JPB) is a standalone build of all Java software packages that are required for Java Packages Tools (JPT) to work.

Basically you need to build just a single package javapackages-bootstrap that contains everything needed to run javapackages-tools, including dependency generators, or Maven/XMvn (needed for %mvn_build etc.).

More documentation is available at https://fedoraproject.org/wiki/Maven_bootstrapping

Regardnig OSGi generators, I suppose they could be rewritten in Java too.

Alternatively I can keep dependency generators and other scripts requiring Python, but make it easier to build the project without Python. Or even extract them into a separate project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants