-
Notifications
You must be signed in to change notification settings - Fork 687
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
Development environment builds Rust code (optionally with live-reload) #6816
Closed
Tracked by
#6399
Labels
Rust
Issues that touch Rust code
Comments
14 tasks
legoktm
changed the title
Development environment builds Rust code (optionally with live-reload) - (done in oxidize branch)
Development environment builds Rust code (optionally with live-reload)
May 17, 2023
legoktm
added a commit
that referenced
this issue
May 30, 2023
We need to compile Rust code before we can launch the development environment and run tests. Add a build_redwood step to `securedrop/bin/dev-deps` that uses maturin to build a wheel and install it into the securedrop-app-code virtualenv. maturin is only needed at build time, so it is pinned in a new `build-requirements.txt` Fixes #6814. Fixes #6816.
7 tasks
legoktm
added a commit
that referenced
this issue
Jun 2, 2023
We need to compile Rust code before we can launch the development environment and run tests. Add a build_redwood step to `securedrop/bin/dev-deps` that uses maturin to build a wheel and install it into the securedrop-app-code virtualenv. maturin is only needed at build time, so it is pinned in a new `build-requirements.txt` Fixes #6814. Fixes #6816.
legoktm
added a commit
that referenced
this issue
Jun 2, 2023
We need to compile Rust code before we can launch the development environment and run tests. Add a build_redwood step to `securedrop/bin/dev-deps` that uses maturin to build a wheel and install it into the securedrop-app-code virtualenv. maturin is only needed at build time, so it is pinned in a new `build-requirements.txt` Fixes #6814. Fixes #6816.
legoktm
added a commit
that referenced
this issue
Jun 6, 2023
We need to compile Rust code before we can launch the development environment and run tests. Add a build_redwood step to `securedrop/bin/dev-deps` that uses maturin to build a wheel and install it into the securedrop-app-code virtualenv. maturin is only needed at build time, so it is pinned in a new `build-requirements.txt` Fixes #6814. Fixes #6816.
legoktm
added a commit
that referenced
this issue
Jun 6, 2023
We need to compile Rust code before we can launch the development environment and run tests. Add a build_redwood step to `securedrop/bin/dev-deps` that uses maturin to build a wheel and install it into the securedrop-app-code virtualenv. maturin is only needed at build time, so it is pinned in a new `build-requirements.txt` Fixes #6814. Fixes #6816.
legoktm
added a commit
that referenced
this issue
Jun 6, 2023
We need to compile Rust code before we can launch the development environment and run tests. Add a build_redwood step to `securedrop/bin/dev-deps` that uses maturin to build a wheel and install it into the securedrop-app-code virtualenv. maturin is only needed at build time, so it is pinned in a new `build-requirements.txt` Fixes #6814. Fixes #6816.
legoktm
added a commit
that referenced
this issue
Jun 6, 2023
We need to compile Rust code before we can launch the development environment and run tests. Add a build_redwood step to `securedrop/bin/dev-deps` that uses maturin to build a wheel and install it into the securedrop-app-code virtualenv. maturin is only needed at build time, so it is pinned in a new `build-requirements.txt` Fixes #6814. Fixes #6816.
github-project-automation
bot
moved this from Under Review
to Done
in SecureDrop dev cycle
Jun 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Once the Sequoia migration introduces Rust code, we need to pre-compile that code and install it in the venv before launching the dev flask servers. This has been done in the oxidize branch already.
It would be nice if live-reload worked so that changing a Rust file would recompile the Rust code, install the wheel, and then trigger reload of the flask dev servers. But I could easily see this being more complicated than its worth and also I personally rarely use live reload functionality when developing my own Rust projects.
Blocked by:
The text was updated successfully, but these errors were encountered: