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

atomic-server: refactor to rebuild from github source #326

Merged

Conversation

albertchae
Copy link
Contributor

@albertchae albertchae commented Aug 1, 2024

This refactor builds atomic-server using the separately packaged
atomic-browser and then the github source. Not only is this more
reflective of the real build process used, but it is helpful when trying
to debug atomic-server by building a fork with additional logging, which
we did while working on #220

Previously we were building atomic-server from the published crate,
which is usually "from source". But in this case that meant only the
rust source, and separately built web assets were packaged into the
crate. This can be verified by running
curl -L 'https://crates.io/api/v1/crates/atomic-server/0.37.0/download' | tar -tv
and checking for the assets_tmp directory.

Part of #15

@albertchae albertchae force-pushed the atomic-server-build-from-source branch 2 times, most recently from c89d5ac to df71b00 Compare August 1, 2024 11:49
@fricklerhandwerk fricklerhandwerk requested a review from wegank August 1, 2024 14:34
@albertchae albertchae force-pushed the atomic-server-build-from-source branch from edf334a to 1558458 Compare August 14, 2024 10:47
This refactor builds atomic-server using the separately packaged
atomic-browser and then the github source. Not only is this more
reflective of the real build process used, but it is helpful when trying
to debug atomic-server by building a fork with additional logging, which
we did while working on ngi-nix#220

Previously we were building atomic-server from the published crate,
which is usually "from source". But in this case that meant only the
rust source, and separately built web assets were packaged into the
crate. This can be verified by running
`curl -L 'https://crates.io/api/v1/crates/atomic-server/0.37.0/download' | tar -tv`
and checking for the `assets_tmp` directory.
@albertchae albertchae force-pushed the atomic-server-build-from-source branch from 1558458 to 5c87a3a Compare August 14, 2024 10:48
@fricklerhandwerk fricklerhandwerk merged commit a70e44b into ngi-nix:main Aug 14, 2024
101 checks passed
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.

3 participants