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

Release artifacts #3934

Merged
merged 4 commits into from
Feb 7, 2023
Merged

Release artifacts #3934

merged 4 commits into from
Feb 7, 2023

Conversation

jburel
Copy link
Member

@jburel jburel commented Jan 21, 2023

This PR creates and uploads the release artifacts when a tag is pushed
4b1f685 is needed since the reference compile/runtime.classpath is no longer found when ant 1.10 is used (that's the version installed via GHA). Open to alternative is someone knows one

Tested via https://github.com/jburel/bioformats/releases/tag/v6.11.1-m1

Copy link
Member

@sbesson sbesson left a comment

Choose a reason for hiding this comment

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

A few additional questions in terms of the proposed changes:

1- I am going back and forth about injecting the resolver:resolve step in components/bundle/bioformats_package.xml as proposed here vs centralizing all the targets involving some dependency resolution to ant/java.xml
2a- should the docs target be built as part of every run to catch future regressions?
2b- #3912 also modifies the logic of the Ant action to upload a set of artifacts for consumption. This addition could also be constructed a tag-specific step of the ant workflow assuming the relevant artifacts are all built

No blockers but possibly a few decisions that might be worth discussing as part of the @ome/formats weekly meeting.

@jburel
Copy link
Member Author

jburel commented Jan 23, 2023

1- I am going back and forth about injecting the resolver:resolve step in components/bundle/bioformats_package.xml as proposed here vs centralizing all the targets involving some dependency resolution to ant/java.xml

I have tried various things to no success i.e. keeping it in ant/java.xml

2a- should the docs target be built as part of every run to catch future regressions?

This is an important part of the release process and it does not take long so I think it should be included by default.

2b- #3912 also modifies the logic of the Ant action to upload a set of artifacts for consumption. This addition could also be constructed a tag-specific step of the ant workflow assuming the relevant artifacts are all built

It could be. I follow the same pattern that we introduced in openmicroscopy mainly to keep things clearer.
Convoluted workflows can be difficult sometimes to understand and adjust.

@jburel jburel force-pushed the release_artifacts branch 2 times, most recently from 9f36942 to 0c62287 Compare January 23, 2023 11:59
<target name="docs" depends="javadoc-properties"
description="generate the Javadocs for most components">
<echo>----------=========== Javadocs ===========----------</echo>
<path id="compile.classpath"/>
Copy link
Member

Choose a reason for hiding this comment

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

As mentioned in a previous version of this commit, this is equivalent to the approach I took in bf8076e#diff-fdeb882f159787e553f8d2b7f340d498880a8a54e60ae5dee163671dc9009018R203-R211 to fix the bundle generation target.

@snoopycrimecop
Copy link
Member

snoopycrimecop commented Jan 24, 2023

Conflicting PR. Removed from build BIOFORMATS-push#359. See the console output for more details.
Possible conflicts:

--conflicts Conflict resolved in build BIOFORMATS-push#368. See the console output for more details.

@dgault dgault added this to the 6.12.0 milestone Feb 1, 2023
Copy link
Member

@dgault dgault left a comment

Choose a reason for hiding this comment

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

Overall the changes look good, agreed that ant docs should indeed be part of the process. The artifacts generated by the test in https://github.com/jburel/bioformats/releases/tag/v6.11.1-m1 all look to be correct.

@dgault dgault merged commit 590a2ba into ome:develop Feb 7, 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.

4 participants