Skip to content

Insight Backend #415

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

Open
wants to merge 3,230 commits into
base: main
Choose a base branch
from
Open

Insight Backend #415

wants to merge 3,230 commits into from

Conversation

gregsexton
Copy link
Contributor

This supplies the data as used by the UI (see PR #339).

There is a networking PR to connect them but the rebase is extremely painful, so I've carved this out separately.

beauby and others added 30 commits September 25, 2024 15:07
…bs#341)

Prior to this commit, running `skargo build --out-dir /some/path` would
not copy final build artifacts to `/some/path` if no unit needed to be
rebuilt.

Blocked by SkipLabs#340
Following SkipLabs#340, wasm libraries are now exported as
`lib{package-name}.wasm` instead of `{package-name}.wasm`.
Following SkipLabs#340, wasm libraries are now exported as
`lib{package-name}.wasm` instead of `{package-name}.wasm`.
Skargo now supports generating wasm libraries rather than the previous
hack of generating wasm "binaries".
Remove skdb
Manage subscribe
Update tests
The `package.json`/`tsconfig.json` files are now in the root of the
typescript package directory, rather than under `src/`.
Creating a npm package to share the base config, as recommended by the
[eslint
docs](https://eslint.org/docs/latest/extend/shareable-configs).
This is done in a separate commit so that git tracks that it was moved
during the previous commit.
This is done in a separate commit so that git tracks that it was moved
during the previous commit.
bennostein and others added 28 commits October 9, 2024 13:28
Context:
The `sklib` file format is a ranlib archive that contains possible
object files from C extensions, as well as skip-specific
metadata. It can thus be passed straight to the linker, or be used by
`skc`. Part of the required metadata is information about the defined
(skip) symbols in the sklib. In practice, we pack the source code of
all files from the package into the sklib.

So far, the skip source files were embedded as members of the ranlib
archive, which works fine on Linux as the linker seems to ignore files
that are not ELF objects, but causes issues on macOS, where the linker
complains about non Mach-O files. In order to work around this, the
idea is to pack the source files of the package along with the
metadata inside the `lib.skmeta` member of the archive. This would
still be an issue, but the next step is to embed the `lib.skmeta` into
a dummy object file, leaving a clean ranlib archive that should please
any linker.
Context:
The `sklib` file format is a ranlib archive that contains possible
object files from C extensions, as well as skip-specific metadata. It
can thus be passed straight to the linker, or be used by `skc`. Part of
the required metadata is information about the defined (skip) symbols in
the sklib. In practice, we pack the source code of all files from the
package into the sklib.

So far, the skip source files were embedded as members of the ranlib
archive, which works fine on Linux as the linker seems to ignore files
that are not ELF objects, but causes issues on macOS, where the linker
complains about non Mach-O files. In order to work around this, the idea
is to pack the source files of the package along with the metadata
inside the `lib.skmeta` member of the archive. This would still be an
issue, but the next step is to embed the `lib.skmeta` into a dummy
object file, leaving a clean ranlib archive that should please any
linker.
And appease the Dockerfile linter.
This renders a debug trace given a static JSON file that is generated
by SKStore.
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.

6 participants