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

Publish content.xml #1607

Open
jochenberger opened this issue Jan 6, 2025 · 5 comments
Open

Publish content.xml #1607

jochenberger opened this issue Jan 6, 2025 · 5 comments
Assignees

Comments

@jochenberger
Copy link

jochenberger commented Jan 6, 2025

Unfortunately, the repository for the 5.6.0 release only contains a content.xml.xz (e.g. in https://groovy.jfrog.io/ui/native/plugins-release/org/codehaus/groovy/groovy-eclipse-integration/5.6.0/e4.34/). Would it be possible to publish a content.xml/content.jar as well?
The context is diffplug/spotless#2381

@eric-milles
Copy link
Member

If this line is removed, the content.jar that is generated will be retained in the update repository:

<keepNonXzIndexFiles>false</keepNonXzIndexFiles>

@jochenberger
Copy link
Author

Thanks for investigating. Is this something we can do for the previous release or only for upcoming ones?
Want me to create a PR?

@eric-milles
Copy link
Member

I was waiting on equodev/equo-ide#180 to see if support was going to come from the other side.

For the existing release sites, the best I can do is unzip the .gz and put whatever is in there in the root directory.

For new releases, dropping that setting will keep the artifacts.jar and content.jar (IIRC) around. I can make that change at the time of the release.

@eric-milles
Copy link
Member

The p2.index file specifies which files exist and what order to try them within a p2 repository (eclipse update site):

artifact.repository.factory.order=artifacts.xml.xz,\!
metadata.repository.factory.order=content.xml.xz,\!
version=1

@jochenberger
Copy link
Author

jochenberger commented Jan 24, 2025

Then equo-ide will probably have to read that.

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

No branches or pull requests

2 participants