Skip to content

Improve .gitignore, remove library crate Cargo.locks #111

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

Merged
merged 2 commits into from
Apr 24, 2023

Conversation

tchebb
Copy link
Contributor

@tchebb tchebb commented Apr 23, 2023

Just a couple minor fixes. Split out of #110 since that'll need some revision before it gets merged.

tchebb added 2 commits April 23, 2023 13:10
Several of the patterns match files when they should only match
directories, match anywhere in the repo when they should only match at
the root, start with an unneeded `**/`, or a combination of all three.
Fix all such issues as per the .gitignore documentation[1].

[1] https://git-scm.com/docs/gitignore
As per Cargo's documentation[1], only binary crates should check in
Cargo.lock. Library crates should not, since dependents will do their
own version resolution anyway.

This mostly reverts commit 0438ca9 ("Add Cargo.lock for optee-utee
and optee-teec").

[1] https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
@DemesneGH DemesneGH merged commit 61b22c5 into apache:master Apr 24, 2023
@tchebb tchebb deleted the gitignore-fixes branch April 24, 2023 14:43
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.

2 participants