Repository navigation
Add apkg, a package manager for Ascend - #3
Merged
Merged
Conversation
apkg installs packages like pip: `apkg install colors`, then
`import("colors")`. It has install, uninstall, list, show, search and
init commands, and installs from a registry (name or name@version),
GitHub (github:user/repo@tag), any git repository, or a local folder.
Dependencies listed in a package's ascend.json are installed with it.
Inside a project (a folder with ascend.json) packages go into
ascend_packages/ and are recorded in ascend.json; elsewhere they go
into ~/.ascend/packages. import() falls back to installed packages
when there's no matching file next to the importing one.
The registry lives in registry/index.json and starts with three
packages written in Ascend: colors, strings and testing. Downloads use
git, run without a shell, so there are no new build dependencies.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014xWEy3pVr7ofMaomGRbiuo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
apkg installs packages like pip:
apkg install colors, thenimport("colors"). It has install, uninstall, list, show, search and init commands, and installs from a registry (name or name@version), GitHub (github:user/repo@tag), any git repository, or a local folder. Dependencies listed in a package's ascend.json are installed with it.Inside a project (a folder with ascend.json) packages go into ascend_packages/ and are recorded in ascend.json; elsewhere they go into ~/.ascend/packages. import() falls back to installed packages when there's no matching file next to the importing one.
The registry lives in registry/index.json and starts with three packages written in Ascend: colors, strings and testing. Downloads use git, run without a shell, so there are no new build dependencies.
Claude-Session: https://claude.ai/code/session_014xWEy3pVr7ofMaomGRbiuo