Skip to content

Conversation

@ebarboni
Copy link
Contributor

@ebarboni ebarboni commented Nov 2, 2022

This is an update to remove the generation of platform.

vsix to nightlies
mavenrepo zipped to nightly
installers to nightlies

if it's ok to merge it would be nice to force a build to test :D.

Copy link
Member

@neilcsmith-net neilcsmith-net left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing platform is good. Publishing vsix (and possibly Windows installer) to nightlies good.

I would keep all archiving on builds. Nightlies doesn't have zip download for all release artefacts. Also, can't keep forever the right build.

I would actually stop publishing NBMs to nightlies, for now at least. No use unless we can rework the update centre redirects. And I'm not sure about uploading Maven. Takes a lot of time. Why do we need it there?

Maybe better to review after 16 release?

}
// make vsix available to dist to pickup (only for main release) need a maven setup
sh "ant -f build-${clustername}-temp/java/java.lsp.server build-vscode-ext -Dvsix.version=${vsixversion} -Dmetabuild.branch=${branch}"
//sh "cp -r build-${clustername}-temp/java/java.lsp.server/build/*.vsix dist/vsix/"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't that line needed to archive vsix on build?

@ebarboni
Copy link
Contributor Author

ebarboni commented Nov 2, 2022

For maven I would try to get only the zip, as storing artefacts take long time.
keep all to dist. Noted the javadoc for removal later, trying to remove nbm also.

@ebarboni
Copy link
Contributor Author

@neilcsmith-net not sure we are ok there.
change isthe zip only maven repo instead of 1go of artifacts we do not use. If I remember well

@neilcsmith-net
Copy link
Member

Zip only maven repo on ci-builds good with me. I just download "all files in zip" there anyway. Just should not be on nightlies - can't be locked, gets overwritten, etc. As long as we archive all artefacts on ci-builds that are pushed to nightlies I'm good with the changes. I don't think we should use publish to nightlies as a replacement for the archived artefacts, just as the download source for end users.

@ebarboni
Copy link
Contributor Author

you're right, merging this for now.

@ebarboni ebarboni merged commit bc0b22b into apache:master Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants