mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 14:20:35 +01:00
[PR #708] [MERGED] Store PklProject annotations in the project metadata
#689
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/708
Author: @stackoverflow
Created: 10/18/2024
Status: ✅ Merged
Merged: 10/25/2024
Merged by: @bioball
Base:
main← Head:project-annotation-metadata📝 Commits (8)
66857acadd annotation metadata to project metadataf3c7561use annotations from project metadata to inform doc generationdba1274add tests for package doc generation342ec0efix test93e5660do not write annotations if they are emptyb20a098add support for more types in annotations52972d3fixed remarks4b1b0e6support maps with non-string keys📊 Changes
22 files changed (+976 additions, -17 deletions)
View changed files
📝
pkl-cli/src/test/kotlin/org/pkl/cli/CliProjectPackagerTest.kt(+86 -0)➕
pkl-commons-test/src/main/files/packages/deprecated@1.0.0/deprecated@1.0.0.json(+33 -0)➕
pkl-commons-test/src/main/files/packages/deprecated@1.0.0/package/deprecated.pkl(+9 -0)➕
pkl-commons-test/src/main/files/packages/unlisted@1.0.0/package/unlisted.pkl(+5 -0)➕
pkl-commons-test/src/main/files/packages/unlisted@1.0.0/unlisted@1.0.0.json(+29 -0)📝
pkl-core/src/main/java/org/pkl/core/packages/DependencyMetadata.java(+284 -5)📝
pkl-core/src/main/java/org/pkl/core/project/Project.java(+19 -4)📝
pkl-core/src/main/java/org/pkl/core/project/ProjectPackager.java(+2 -1)📝
pkl-core/src/test/kotlin/org/pkl/core/packages/DependencyMetadataTest.kt(+182 -4)📝
pkl-core/src/test/kotlin/org/pkl/core/project/ProjectTest.kt(+13 -0)📝
pkl-doc/src/main/kotlin/org/pkl/doc/CliDocGenerator.kt(+2 -1)➕
pkl-doc/src/test/files/DocGeneratorTest/output/data/localhost(3a)0/deprecated/1.0.0/deprecated/index.js(+1 -0)➕
pkl-doc/src/test/files/DocGeneratorTest/output/data/localhost(3a)0/deprecated/1.0.0/index.js(+1 -0)📝
pkl-doc/src/test/files/DocGeneratorTest/output/index.html(+12 -0)➕
pkl-doc/src/test/files/DocGeneratorTest/output/localhost(3a)0/deprecated/1.0.0/deprecated/index.html(+219 -0)➕
pkl-doc/src/test/files/DocGeneratorTest/output/localhost(3a)0/deprecated/1.0.0/index.html(+68 -0)➕
pkl-doc/src/test/files/DocGeneratorTest/output/localhost(3a)0/deprecated/1.0.0/package-data.json(+1 -0)➕
pkl-doc/src/test/files/DocGeneratorTest/output/localhost(3a)0/deprecated/1.0.0/search-index.js(+1 -0)➕
pkl-doc/src/test/files/DocGeneratorTest/output/localhost(3a)0/deprecated/current(+1 -0)📝
pkl-doc/src/test/files/DocGeneratorTest/output/search-index.js(+1 -1)...and 2 more files
📄 Description
Store
PklProjectannotations in the project metadata and use these annotations to inform doc generation.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.