Fossil

Check-in [8af0d05c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add --json and --pretty flags to the artifact command, both of which emit json with --pretty running it through json_pretty(). Remove extraneous (read: human-friendly) space from artifact_to_json() output. (Edit: moved to "mistake" because this function is not only for emitting "artifacts," but for emitting any type of blob.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | mistake
Files: files | file ages | folders
SHA3-256: 8af0d05c66e655027ad663b007d21810df42eaff4e7d8a559024ca52c50e66d1
User & Date: stephan 2025-03-25 17:18:03.928
Original Comment: Add --json and --pretty flags to the artifact command, both of which emit json with --pretty running it through json_pretty(). Remove extraneous (read: human-friendly) space from artifact_to_json() output.
References
2025-03-25
18:06
Add -p short-form flag of --pretty to test-artifact-to-json. Restore the part of [8af0d05c66e6] which removes extraneous whitespace from artifact_to_json(). ... (check-in: f1847847 user: stephan tags: trunk)
17:29
Add -p short-form flag of --pretty to test-artifact-to-json. Restore the part of [8af0d05c66e6] which removes extraneous whitespace from artifact_to_json(). (Edit: moving to "mistake" again. Despite having done "revert" on content.c, the content which should not have been committed was committed.) ... (Closed-Leaf check-in: 3e0d7b06 user: stephan tags: mistake)
Context
2025-03-25
17:18
Add --json and --pretty flags to the artifact command, both of which emit json with --pretty running it through json_pretty(). Remove extraneous (read: human-friendly) space from artifact_to_json() output. (Edit: moved to "mistake" because this function is not only for emitting "artifacts," but for emitting any type of blob. ... (Leaf check-in: 8af0d05c user: stephan tags: mistake)
15:24
Rename artifact_to_json()'s F-card "oldName" property to "rename", per /chat discussion (it's shorter, saving about 1kb of output with the current trunk). ... (check-in: d2db37a7 user: stephan tags: trunk)
Changes
Unified Diff Side-by-Side Diff Patch
Changes to src/content.c.
Changes to src/manifest.c.