docs: add self-contained usage guide #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "forkfixer-kaki/dynapt:docs/self-contained-readme"
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?
Summary
Closes #1.
This makes the repository self-contained by expanding
README.mdwith the experimental setup guide that currently lives in a Gist. The documentation is adapted to match the current code paths and repository layout.No functional application code is changed.
What changed
/opt/dynapt/config.json, includingport,concurrency,apps, andgithubAccessToken.appimage.bincommand link,repo,filter, andprerelease,jqfilters for metadata endpoints that return a package URL,idgeneration and cache behavior.dynapt update,dynapt list,dynapt clean, and refreshing only the dynapt APT source../dynaptand./build.sh.Implementation alignment
The documentation was checked against the current implementation:
main.jsexposes the server/default,clean,list, andupdatecommands.src/getConfig.jsvalidates the documented fields, makesurlandgithubmutually exclusive, requiresjqto be used withurl, and generatesidautomatically.src/updatePackages.jsimplements ETag/GitHub release caching, package download, AppImage wrapping,dpkg-scanpackages, and repository metadata generation.src/server.jsserves/Packages,/Release, and files under/data/.permissions.shandbuild.shdefine the runtime permissions and packaging workflow.Validation
git diff --check.dynapt-amd64.debdynapt-arm64.debdeno check main.jswith Deno 2.9.6; type/module checking completed successfully.GET /Packagesreturned HTTP 200 with an empty body.GET /Releasereturned HTTP 200 with the expected hashes for the emptyPackagesfile.dynapt listcompleted successfully.A fresh Deno 2 run exposed unrelated existing module drift because
https://esm.sh/jq-wasmis not pinned and now resolves to a build without a default export. The isolated smoke test used a local-only temporary pin to the previous default-exporting version. That temporary change is not included in this pull request. The selected work item is the missing README, so this PR intentionally keeps the change documentation-only.Contribution checklist
master.KaKi87/dynapt.There is no repository-specific
CONTRIBUTING.mdor automated test/lint command in the repository, so this follows the standard fork, branch, verify, and pull-request workflow.Hi,
As explained in #1, the current shape of this project is temporary, so I won't add docs now for something temporary.
Thank you
Pull request closed