Skip to content

DRYD-2114 CI/CD > JS Packages > Auto-resolve frontend patch versions#537

Open
spirosdi wants to merge 2 commits into
mainfrom
feature/dryd-2114
Open

DRYD-2114 CI/CD > JS Packages > Auto-resolve frontend patch versions#537
spirosdi wants to merge 2 commits into
mainfrom
feature/dryd-2114

Conversation

@spirosdi
Copy link
Copy Markdown
Contributor

@spirosdi spirosdi commented May 18, 2026

What does this do?
It drops the patch version of cspace-ui.js, public browser and profile plugins inside the different build.properties files.

Why are we doing this? (with JIRA link)
Doing so allows us to auto resolve the latest patch version during deployment, without the need to build and release a whole new cspace version: https://collectionspace.atlassian.net/browse/DRYD-2114

How should this be tested? Do these changes have associated tests?
You don't really need to rebuild so that the changes have effect. You can just run the deploy_tenants ant target, which calls download_cspace_ui_js and download_tenant_js for each tenant. Please run it inside the cspace-ui directory:
ant deploy_tenants. Then you may check the welcome screens of the different tenants: http://localhost:8180/cspace/core/welcome, http://localhost:8180/cspace/anthro/welcome etc... And confirm that the "UI version" and "{Plugin} profile version" are set correctly.

For public browser, please run the deploy_cspace_public_browser_js ant target and check in the http://localhost:8180/cspace/core/public/search page that the correct script source is being set.

Dependencies for merging? Releasing to production?
I created the branch from main so that we are able to release the changes before the next release. But let us first merge it to develop and test also there.

The dts-hosting/data-toolkit#255 is related but not a blocker.

Has the application documentation been updated for these changes?
The https://collectionspace.atlassian.net/wiki/spaces/CPD/pages/3701473281/Release+Checklist should be updated accordingly. A new page describing the Acceptance Criteria of a patch version should also be added.

Did someone actually run this code to verify it works?
@spirosdi ran it locally

Have any new security vulnerabilities been handled?
no new security vulnerabilities.

@spirosdi spirosdi requested a review from mikejritter May 18, 2026 13:04
@spirosdi spirosdi marked this pull request as draft May 18, 2026 13:27
@spirosdi
Copy link
Copy Markdown
Contributor Author

converting to draft, as I just realised I haven't changed the public browser configuration.

@spirosdi spirosdi marked this pull request as ready for review May 18, 2026 15:02
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