Skip to content

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

Draft
jasraj wants to merge 1 commit intomasterfrom
require-remote-get
Draft

Add proof-of-concept for downloading and initialising kdb-common libraries from GitHub#64
jasraj wants to merge 1 commit intomasterfrom
require-remote-get

Conversation

@jasraj
Copy link
Copy Markdown
Member

@jasraj jasraj commented Nov 20, 2021

No description provided.

@jasraj
Copy link
Copy Markdown
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
...

@jasraj jasraj force-pushed the require-remote-get branch from ba7f956 to bf63cfa Compare November 20, 2021 16:30
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.

1 participant