Comments (6)
i'll start on this to get a feel for the code if you want
from aurae.
Thinking about the approach to this, I'm not sure about using deny
to fail the build. It makes it more difficult to differentiate normal errors from lint based ones. I'm also concerned about discouraging contributions since not everyone is fully comfortable with rust yet.
An alternate approach is to use warn
for any lints we want (that are default-allow). Then, we can alter the cargo clippy
to cargo clippy -- -D warnings
in the GitHub checks. The hope is that we don't discourage contributors from opening a PR, where those who need it can get a review/help in fixing the warnings.
from aurae.
ok, that's fair. i think we'd also want to add this to the Makefile
, not just the github checks.
i can start by adding the warnings to the Makefile and fixing anything, then we can audit any default-allow warnings we want to add?
from aurae.
I'm fine with whatever the decision is, but the reason I didn't want to suggest adding it to the makefile was to let people open PR's with the warnings. cargo clippy -- -D warnings
will make all the warnings show as errors.
Maybe we can have an additional makefile command that is strict and people could be encouraged to run it prior to the PR, but wouldn't be part of the normal dev flow.
from aurae.
at work we have below and it works pretty good
install: deps
@cargo install --path .
## Lint code
lint: deps
@rustup component add clippy 2> /dev/null
@cargo clippy --all-features --all -- -D clippy::all -D warnings
from aurae.
i think it's ok to close this. we have some more to enable but it doesn't need an issue to track :)
from aurae.
Related Issues (20)
- Cargo.nix Why does it need to live here? HOT 12
- Execution Authentication HOT 1
- Concerns About CPU Quota Implementation HOT 3
- What does "Pod Sandbox" mean to Aurae? HOT 14
- Utilize `deno_runtime::MainWorker` to enable more Deno features when running AuraeScript files HOT 1
- Create "Container Service" HOT 7
- Refactor "Pod Sandbox" to use Virtualization HOT 10
- Implement the VmsService HOT 2
- TAP devices and virtio sock for guest auraed HOT 8
- RUSTSEC-2023-0018 - Package remove_dir_all vulnerable
- Generate New TLS Material for Secure Communication with Nested Auraed Cells HOT 1
- Cargo check deny (Security Advisories)
- Inefficient Builds (15 mins) HOT 5
- libcontainer dependency was updated and our cargo.toml is only pinned to the branch, not the commit HOT 4
- SPDX License Identifiers in the Source Code HOT 5
- buf update breaks many things HOT 3
- Create integration test that starts a mastodon instance using auraed HOT 1
- Create high level typescript API alongside auraescript but in its own repo HOT 4
- multiple versions of nix in the dependency tree HOT 2
- Upgrading deno_core to latest version 0.296.0 breaks the build HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aurae.