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

IDT init #29174

Merged
merged 41 commits into from
Oct 12, 2023
Merged

IDT init #29174

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
49256ff
IDT init
aBozowski Sep 12, 2023
7a7f706
Restyled by whitespace
restyled-commits Sep 12, 2023
f6aecb8
Restyled by prettier-markdown
restyled-commits Sep 12, 2023
542964f
Restyled by shellharden
restyled-commits Sep 12, 2023
a8f4abc
Restyled by shfmt
restyled-commits Sep 12, 2023
98c8b72
Restyled by isort
restyled-commits Sep 12, 2023
8d65f24
Remove f-strings with no placeholders
aBozowski Sep 12, 2023
2646dc8
Remove unknown Pygments lexer
aBozowski Sep 12, 2023
5dae712
Spelling
aBozowski Sep 12, 2023
eac303a
License headers
aBozowski Sep 12, 2023
f5fd494
Restyled by prettier-markdown
restyled-commits Sep 12, 2023
5ef1afc
First response to PR comments
aBozowski Sep 13, 2023
26244a2
Restyled by prettier-markdown
restyled-commits Sep 13, 2023
144c383
Respond Dockerfile and README comments
aBozowski Sep 18, 2023
006a285
ble nit, venv script
aBozowski Sep 18, 2023
dbe3c94
Make TXT logging better
aBozowski Sep 18, 2023
0f2c8e5
Respond comments
aBozowski Sep 19, 2023
bc08bca
Clarify single host installation
aBozowski Sep 19, 2023
d6da87f
Respond comments
aBozowski Sep 19, 2023
3894a05
Respond nits
aBozowski Sep 20, 2023
1abd344
Cleanup BashRunner
aBozowski Sep 20, 2023
3e0479b
Cleanup BashRunner usage
aBozowski Sep 20, 2023
651b21d
Respond comments, renames, opts
aBozowski Sep 20, 2023
54131d0
Nits
aBozowski Sep 20, 2023
2d3203d
Restyled by prettier-markdown
restyled-commits Sep 20, 2023
f14505c
Restyled by shellharden
restyled-commits Sep 20, 2023
7a391d0
Restyled by shfmt
restyled-commits Sep 20, 2023
0831eea
Restyled by isort
restyled-commits Sep 20, 2023
3f0648e
Spelling
aBozowski Sep 20, 2023
dcab047
Dynamic loading, comments
aBozowski Sep 22, 2023
e7c8e03
README nit
aBozowski Sep 22, 2023
b2cc196
Make README generic, add async, any interface
aBozowski Sep 25, 2023
01f49cb
Restyled by prettier-markdown
restyled-commits Sep 25, 2023
71b9b7d
Restyled by shellharden
restyled-commits Sep 25, 2023
b0514c1
Restyled by shfmt
restyled-commits Sep 25, 2023
f5afe6c
Restyled by isort
restyled-commits Sep 25, 2023
30b3986
Nits, workaround potential issue with shell input
aBozowski Sep 27, 2023
01a884c
Restyled by isort
restyled-commits Sep 27, 2023
24680ca
Docs CI
aBozowski Sep 28, 2023
31a2a7e
Merge branch 'master' into bozowski/idt_init
aBozowski Sep 28, 2023
f81a10a
Merge branch 'master' into bozowski/idt_init
aBozowski Oct 11, 2023
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
14 changes: 11 additions & 3 deletions .github/.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ connstring
conntype
const
ContentApp
ContentApp's
ContentAppPlatform
ContentApp's
ContentLaunch
ContentLauncher
continuousHinting
Expand Down Expand Up @@ -659,6 +659,8 @@ ICMP
IDF
IDL
IDLs
idt
IDT
idx
ifconfig
ifdef
Expand Down Expand Up @@ -926,6 +928,7 @@ nl
NLUnitTest
NLUnitTests
nmcli
nmtui
noc
NodeId
nongnu
Expand Down Expand Up @@ -1021,11 +1024,14 @@ params
PartNumber
PASE
Passcode
passRetained
passwd
PBKDF
pbuf
pbufs
pbxproj
PCA
pcap
pcaps
PDFs
PDK
Expand All @@ -1051,6 +1057,7 @@ PlatformManager
PlatformManagerImpl
plt
png
Podman
PollControl
pollInterval
polymorphism
Expand Down Expand Up @@ -1147,8 +1154,8 @@ REPL
repo
req
Requestor
Requestor's
RequestorCanConsent
Requestor's
Requestors
responder
RestrictedEvent
Expand All @@ -1167,6 +1174,7 @@ rootfs
RPC
RPCs
RPi
RPi's
RPis
RSA
rsn
Expand Down Expand Up @@ -1202,8 +1210,8 @@ SDB
SDC
SDHC
SDK
SDK's
sdkconfig
SDK's
SDKs
SDKTARGETSYSROOT
sdl
Expand Down
1 change: 1 addition & 0 deletions docs/tools/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Source files for these tools are located at `scripts/tools`.

../scripts/tools/memory/README
../scripts/tools/spake2p/README
../src/tools/interop/idt/README

```

Expand Down
9 changes: 9 additions & 0 deletions src/tools/interop/idt/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*~
aBozowski marked this conversation as resolved.
Show resolved Hide resolved
.DS_Store
.idea/
IDT_ARTIFACTS/
OUT/
__pycache__/
pycache/
venv/
.zip
48 changes: 48 additions & 0 deletions src/tools/interop/idt/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#
# Copyright (c) 2023 Project CHIP Authors
# All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

FROM debian:bookworm
aBozowski marked this conversation as resolved.
Show resolved Hide resolved
RUN apt-get update && \
apt-get install -y \
adb \
aircrack-ng \
apt-utils \
git \
glib-2.0 \
kmod \
libbluetooth-dev \
libboost-python-dev \
libboost-thread-dev \
libglib2.0-dev \
net-tools \
pciutils \
pkg-config \
python3-pip \
python3.11 \
python3.11-venv \
tcpdump \
usbutils \
wget && \
echo "wireshark-common wireshark-common/install-setuid boolean true" | debconf-set-selections && \
DEBIAN_FRONTEND=noninteractive apt-get -y install wireshark && \
rm -rf /var/lib/apt/lists/*
RUN usermod -aG plugdev $(whoami)
RUN git clone https://github.com/openthread/ot-br-posix
COPY requirements.txt /
RUN /bin/bash -c "python3 -m venv /env && source /env/bin/activate && pip install -r requirements.txt"
RUN echo "source /env/bin/activate; pip -V; source /idt/scripts/alias.sh;" >> /root/.bashrc
ENTRYPOINT ["/bin/bash"]
Loading
Loading