Skip to content

Commit 29512d3

Browse files
committed
Merge branch 'main' into fix-doc-hashs
2 parents 13b80c4 + f277e4e commit 29512d3

File tree

950 files changed

+62903
-17598
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

950 files changed

+62903
-17598
lines changed

.cargo/config.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1+
# Note: keep in mind that this file is completely ignored in several use-cases
2+
# like e.g. out-of-tree builds ( https://github.com/rust-lang/cargo/issues/2930 ).
3+
# For this reason this file should be avoided as much as possible when there are alternatives.
4+
15
[target.x86_64-unknown-redox]
26
linker = "x86_64-unknown-redox-gcc"
7+
[target.aarch64-unknown-linux-gnu]
8+
linker = "aarch64-linux-gnu-gcc"
39

410
[env]
5-
PROJECT_NAME_FOR_VERSION_STRING = "uutils coreutils"
11+
# See feat_external_libstdbuf in src/uu/stdbuf/Cargo.toml
12+
LIBSTDBUF_DIR = "/usr/local/libexec/coreutils"

.devcontainer/Dockerfile

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
FROM mcr.microsoft.com/devcontainers/base:ubuntu-24.04
2+
3+
# install gnu coreutils test dependencies
4+
RUN apt-get update \
5+
&& apt-get install -y --no-install-recommends \
6+
attr \
7+
autoconf \
8+
automake \
9+
autopoint \
10+
bison \
11+
g++ \
12+
gcc \
13+
gdb \
14+
gperf \
15+
jq \
16+
libacl1-dev \
17+
libattr1-dev \
18+
libcap-dev \
19+
libexpect-perl \
20+
libselinux1-dev \
21+
python3-pyinotify \
22+
quilt \
23+
texinfo \
24+
valgrind \
25+
&& rm -rf /var/lib/apt/lists/*
26+
27+
# install dependencies for uutils
28+
RUN apt-get update \
29+
&& apt-get install -y --no-install-recommends \
30+
clang \
31+
gdb \
32+
python3-pip \
33+
&& rm -rf /var/lib/apt/lists/*
34+
35+
# pre-commit
36+
RUN pip3 install --break-system-packages pre-commit

.devcontainer/devcontainer.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"name": "uutils-devcontainer",
3+
"build": {
4+
"dockerfile": "Dockerfile"
5+
},
6+
"features": {
7+
"ghcr.io/devcontainers/features/rust:1":
8+
{
9+
"version": "latest",
10+
"profile": "default",
11+
"components": "llvm-tools-preview"
12+
}
13+
},
14+
"onCreateCommand": {
15+
"install pre-commit hooks": "pre-commit install",
16+
"update permissions for gnu coreutils volume": "sudo chown vscode:vscode ${containerWorkspaceFolder}/../gnu"
17+
},
18+
"mounts": [
19+
{
20+
"source": "devcontainer-gnu-coreutils-${devcontainerId}",
21+
"target": "${containerWorkspaceFolder}/../gnu",
22+
"type": "volume"
23+
}
24+
],
25+
"customizations": {
26+
"vscode": {
27+
"extensions": [
28+
"streetsidesoftware.code-spell-checker",
29+
"foxundermoon.shell-format",
30+
"ms-vscode.cpptools"
31+
],
32+
"settings": {
33+
"rust-analyzer.check.command": "clippy",
34+
"rust-analyzer.debug.engine": "ms-vscode.cpptools",
35+
"rust-analyzer.debug.engineSettings": {
36+
"cppdbg": {
37+
"miDebuggerPath": "rust-gdb",
38+
"setupCommands": [
39+
{
40+
"description": "Enable pretty-printing for gdb",
41+
"text": "-enable-pretty-printing",
42+
"ignoreFailures": false
43+
}
44+
]
45+
}
46+
}
47+
}
48+
}
49+
}
50+
}

.github/fluent_linter_config.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
ID01:
3+
enabled: true
4+
exclusions:
5+
messages: []
6+
files: []
7+
ID02:
8+
enabled: true
9+
min_length: 7
10+
VC:
11+
disabled: true
12+
# Disable: # TE01: single quote instead of apostrophe for genitive (foo's)
13+
TE01:
14+
enabled: false
15+
# TE03: single quotes ('foo')
16+
TE03:
17+
enabled: false
18+
# TE04: Double-quoted strings should use Unicode " instead of "foo".
19+
TE04:
20+
enabled: false
21+
# Disable: TE05: 3 dots for ellipsis ("...")
22+
TE05:
23+
enabled: false
24+
# Should be fixed
25+
VC01:
26+
disabled: true
27+
ID03:
28+
enabled: true

0 commit comments

Comments
 (0)