PklProject
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
main
project-annotation-metadata
66857ac
f3c7561
dba1274
342ec0e
93e5660
b20a098
52972d3
4b1b0e6
22 files changed (+976 additions, -17 deletions)
📝 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)
pkl-cli/src/test/kotlin/org/pkl/cli/CliProjectPackagerTest.kt
pkl-commons-test/src/main/files/packages/deprecated@1.0.0/deprecated@1.0.0.json
pkl-commons-test/src/main/files/packages/deprecated@1.0.0/package/deprecated.pkl
pkl-commons-test/src/main/files/packages/unlisted@1.0.0/package/unlisted.pkl
pkl-commons-test/src/main/files/packages/unlisted@1.0.0/unlisted@1.0.0.json
pkl-core/src/main/java/org/pkl/core/packages/DependencyMetadata.java
pkl-core/src/main/java/org/pkl/core/project/Project.java
pkl-core/src/main/java/org/pkl/core/project/ProjectPackager.java
pkl-core/src/test/kotlin/org/pkl/core/packages/DependencyMetadataTest.kt
pkl-core/src/test/kotlin/org/pkl/core/project/ProjectTest.kt
pkl-doc/src/main/kotlin/org/pkl/doc/CliDocGenerator.kt
pkl-doc/src/test/files/DocGeneratorTest/output/data/localhost(3a)0/deprecated/1.0.0/deprecated/index.js
pkl-doc/src/test/files/DocGeneratorTest/output/data/localhost(3a)0/deprecated/1.0.0/index.js
pkl-doc/src/test/files/DocGeneratorTest/output/index.html
pkl-doc/src/test/files/DocGeneratorTest/output/localhost(3a)0/deprecated/1.0.0/deprecated/index.html
pkl-doc/src/test/files/DocGeneratorTest/output/localhost(3a)0/deprecated/1.0.0/index.html
pkl-doc/src/test/files/DocGeneratorTest/output/localhost(3a)0/deprecated/1.0.0/package-data.json
pkl-doc/src/test/files/DocGeneratorTest/output/localhost(3a)0/deprecated/1.0.0/search-index.js
pkl-doc/src/test/files/DocGeneratorTest/output/localhost(3a)0/deprecated/current
pkl-doc/src/test/files/DocGeneratorTest/output/search-index.js
...and 2 more files
Store PklProject annotations 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.
No dependencies set.
The note is not visible to the blocked user.
📋 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.