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

sources: add empty file to placate twoliter #4

Merged
merged 3 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ members = [
"packages/libkcapi",
"packages/shim",
]
exclude = ["sources"]
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ else
endif


export GO_MODULES = ecs-gpu-init host-ctr

all: build

prep:
Expand Down
7 changes: 7 additions & 0 deletions sources/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions sources/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[package]
name = "empty-lib"
version = "0.1.0"
publish = false
edition = "2021"
license = "Apache-2.0 OR MIT"
2 changes: 2 additions & 0 deletions sources/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This is a temporary workaround for twoliter who currently expects a sources
directory to exist in order for the docker volume mounts to work in buildkit
Comment on lines +1 to +2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a backlog issue in Twoliter to avoid needing this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll be adding it, we had a regression on a bug fix I did.

59 changes: 59 additions & 0 deletions sources/deny.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
[licenses]
version = 2

# We want really high confidence when inferring licenses from text
confidence-threshold = 0.93

# Commented license types are allowed but not currently used
allow = [
"Apache-2.0",
# "BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
# "CC0-1.0",
"ISC",
"MIT",
"OpenSSL",
"Unlicense",
"Zlib",
"MPL-2.0",
]

exceptions = [

]

[bans]
# Deny multiple versions or wildcard dependencies.
multiple-versions = "deny"
wildcards = "deny"

deny = []

skip = [

]

skip-tree = [

]

[bans.workspace-dependencies]
duplicates = "deny"
include-path-dependencies = true
unused = "deny"

[advisories]
# generational-arena is currently unmaintained.
ignore = [
"RUSTSEC-2024-0014",
]

[sources]
# Deny crates from unknown registries or git repositories.
unknown-registry = "deny"
unknown-git = "deny"

allow-git = [

]
1 change: 1 addition & 0 deletions sources/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@