Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add proof-of-concept for downloading and initialising kdb-common libraries from GitHub #64

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jasraj
Copy link
Member

@jasraj jasraj commented Nov 20, 2021

No description provided.

@jasraj
Copy link
Member Author

jasraj commented Nov 20, 2021

Includes breaking changes to 'require.q' - the removal of .require.location.root the most likely to cause problems.

Example usage:

q) .rrg.get "gh://jasraj/kdb-systemd:latest"
...
2021.11.20 16:28:24.147 INFO  pid-416 jas 0 [./src/require.q:.require.addPath(93):1] Adding new path to 'require' search path [ Path: :/home/jas/git/kdb-common/.require-remote-deps/kdb-systemd ] [ Rescan: yes ]
2021.11.20 16:28:24.147 DEBUG pid-416 jas 0 [./src/require.q:.require.rescanRoot(85):1] Rescanning all require library paths [ Paths: :/home/jas/git/kdb-common, :/home/jas/git/kdb-common/.require-remote-deps/kdb-systemd ]
...
q) .require.lib`sdi
2021.11.20 16:28:26.956 INFO  pid-416 jas 0 [./src/require.q:.require.i.load(128):1] Loading library: sdi
2021.11.20 16:28:26.956 INFO  pid-416 jas 0 [./src/require.q:.require.i.load@(138):1] Loading /home/jas/git/kdb-common/.require-remote-deps/kdb-systemd/src/sdi.q
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant