Skip to content

feat: Disable generation of library manifest - #1533

Merged
d3xter666 merged 12 commits into
mainfrom
feat-limit-generateLibraryManifest
Aug 27, 2026
Merged

feat: Disable generation of library manifest#1533
d3xter666 merged 12 commits into
mainfrom
feat-limit-generateLibraryManifest

Conversation

@d3xter666

@d3xter666 d3xter666 commented Aug 21, 2026

Copy link
Copy Markdown
Member

JIRA: CPOUI5FOUNDATION-1156

This change disables the generateLibraryManifest task and enforces a manifest presence for non-framework libraries

@d3xter666
d3xter666 requested a review from KlattG August 21, 2026 11:06
@d3xter666

d3xter666 commented Aug 21, 2026

Copy link
Copy Markdown
Member Author

Hi @KlattG

Would you take a look at the modified docs:

Cheers

@d3xter666
d3xter666 requested a review from a team August 21, 2026 11:08
Comment thread packages/builder/lib/tasks/generateLibraryManifest.js Outdated
Comment thread internal/documentation/docs/pages/Builder.md Outdated
Comment thread internal/documentation/docs/updates/migrate-v5.md Outdated
Comment thread internal/documentation/docs/updates/migrate-v5.md Outdated
KlattG
KlattG previously requested changes Aug 24, 2026

@KlattG KlattG left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

One minor suggestion, otherwise fine

Comment thread internal/documentation/docs/updates/migrate-v5.md Outdated
@d3xter666
d3xter666 requested a review from matz3 August 24, 2026 09:49
@d3xter666 d3xter666 changed the title feat!: Disable generation of library manifest feat: Disable generation of library manifest Aug 24, 2026
@d3xter666

Copy link
Copy Markdown
Member Author

Not quite sure whether we need to keep the BREAKING CHANGE in the description. It's breaking as of specVersion: 5 and is mentioned in the migration guide. But as we discussed, existing projects with specVersions < 5 are not affected

Comment thread internal/documentation/docs/pages/Configuration.md Outdated
Comment thread internal/documentation/docs/updates/migrate-v5.md Outdated
Comment thread internal/documentation/docs/updates/migrate-v5.md Outdated
Comment thread packages/project/lib/build/definitions/library.js
@matz3

matz3 commented Aug 24, 2026

Copy link
Copy Markdown
Member

Not quite sure whether we need to keep the BREAKING CHANGE in the description. It's breaking as of specVersion: 5 and is mentioned in the migration guide. But as we discussed, existing projects with specVersions < 5 are not affected

Yes, BREAKING CHANGE should be removed, because upgrading the specVersion is not bound to upgrading the npm package. We should only describe breaking changes in commits (conventional commits) if something changes when upgrading the npm package. If we would merge this PR when we already have a stable v5 released, we would also not bump the version to v6. Therefore, not a breaking change.

@d3xter666
d3xter666 requested a review from matz3 August 25, 2026 14:35
Comment thread packages/project/lib/specifications/types/Library.js Outdated
Comment thread internal/documentation/docs/updates/migrate-v5.md
Comment thread internal/documentation/docs/updates/migrate-v5.md
Comment thread internal/documentation/docs/updates/migrate-v5.md
Comment thread internal/documentation/docs/updates/migrate-v5.md
Comment thread internal/documentation/docs/updates/migrate-v5.md

@flovogt flovogt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

UA review done by @KlattG and @flovogt

RandomByte
RandomByte previously approved these changes Aug 26, 2026

@RandomByte RandomByte left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Implementation is acceptable. I didn't review the doc changes

Comment thread packages/project/lib/specifications/types/Library.js Outdated
@d3xter666

Copy link
Copy Markdown
Member Author

Thank you for your review, @RandomByte!

I just wanted to clarify certain things as I still have some concerns regarding this:

As Matthias already mentioned, if a build manifest exists, the project has already been built by UI5 CLI and is therefore guaranteed to contain a manifest.json. Of course we can check again, but then why don't we do that for e.g. the Component type?

Here's my interpretation and why I have build it that way:
The buildManifest stores the computed namespace, not a guarantee that the source manifest.json still exists. If someone deletes manifest.json after a successful build that wrote a build-manifest.json, the buildManifest would be stale. That's why, IMO we need this explicit check.

I also saw that the Application and Component try out the manifest.appdescr_variant! In the BLI I didn't see something about it. Is it applicable also here?

@d3xter666
d3xter666 requested a review from RandomByte August 27, 2026 11:17

@RandomByte RandomByte left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Implementation LGTM. Did not review the docs as agreed.

@d3xter666
d3xter666 dismissed KlattG’s stale review August 27, 2026 12:42

Request edit was obsolete

@d3xter666
d3xter666 merged commit 7ead3c8 into main Aug 27, 2026
78 checks passed
@d3xter666
d3xter666 deleted the feat-limit-generateLibraryManifest branch August 27, 2026 14:06
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.

5 participants