From df247dd049bd3ccc99c6c57dde5e98f3613f53b4 Mon Sep 17 00:00:00 2001 From: NicK4rT Date: Sat, 23 Nov 2024 19:35:58 +0000 Subject: [PATCH 01/60] Render README.qmd files to Markdown [skip ci] --- README.md | 43 +++++++++++++++++++------ docs/README.md | 4 +-- firmware/README.md | 4 +-- hardware/README.md | 4 +-- overleaf/README.md | 4 +-- rstudio/README.md | 4 +-- software/README.md | 5 +-- software/applications/README.md | 47 +++++++++++++++++++++------ software/libraries/README.md | 26 ++++++++++++--- software/networking/README.md | 56 +++++++++++++++++++++++++++------ 10 files changed, 151 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index ee746c1..899d246 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,17 @@ - +--- +editor: visual +editor_options: + chunk_output_type: console +execute: + echo: false + message: false + warning: false +toc-title: Table of contents +--- # Smart System Education Platform -## Location: /README.qmd +## Location: /work/Smart-System-Platform/Smart-System-Platform/README.qmd ### Description @@ -12,6 +21,8 @@ This is the main directory. The repository has the following directory tree. +:::: cell +::: {.cell-output .cell-output-stdout} . ├── LICENSE ├── README.md @@ -24,14 +35,26 @@ The repository has the following directory tree. ├── project.Rproj ├── rstudio └── software +::: +:::: A short description of the directories can be found below. -| name | description | contribution | -|----|----|----| -| docs | This directory hosts the files for the website | Nick | -| firmware | This directory hosts the firmware | Nick | -| hardware | This directory hosts files and information about the hardware | Nick | -| software | This directory includes libraries, custom libraries and example code, such as the for example the networking library | Nick | -| overleaf | Latex Report Code | Nick | -| rstudio | R Code | Nick | + ------------------------------------------------------------------------------------- + name description contribution + ---------- ----------------------------------------------------------- -------------- + docs This directory hosts the files for the website Nick + + firmware This directory hosts the firmware Nick + + hardware This directory hosts files and information about the Nick + hardware + + software This directory includes libraries, custom libraries and Nick + example code, such as the for example the networking + library + + overleaf Latex Report Code Nick + + rstudio R Code Nick + ------------------------------------------------------------------------------------- diff --git a/docs/README.md b/docs/README.md index 5cf5c68..1799c30 100644 --- a/docs/README.md +++ b/docs/README.md @@ -21,7 +21,7 @@ This directory hosts the website. The repository has the following directory tree. -::: cell +:::: cell ::: {.cell-output .cell-output-stdout} . ├── README.md @@ -35,7 +35,7 @@ The repository has the following directory tree. ├── technology.html └── tools.html ::: -::: +:::: A short description of the directories can be found below. diff --git a/firmware/README.md b/firmware/README.md index 2a9b208..958aa06 100644 --- a/firmware/README.md +++ b/firmware/README.md @@ -21,14 +21,14 @@ This directory will host the custom firmware. The repository has the following directory tree. -::: cell +:::: cell ::: {.cell-output .cell-output-stdout} . ├── README.md ├── README.qmd └── README.rmarkdown ::: -::: +:::: A short description of the directories can be found below. diff --git a/hardware/README.md b/hardware/README.md index e052599..0992794 100644 --- a/hardware/README.md +++ b/hardware/README.md @@ -21,14 +21,14 @@ This directory will host files about the smart system hardware. The repository has the following directory tree. -::: cell +:::: cell ::: {.cell-output .cell-output-stdout} . ├── README.md ├── README.qmd └── README.rmarkdown ::: -::: +:::: A short description of the directories can be found below. diff --git a/overleaf/README.md b/overleaf/README.md index bebe73a..8992e12 100644 --- a/overleaf/README.md +++ b/overleaf/README.md @@ -21,14 +21,14 @@ This directory hosts the latex thesis report. The repository has the following directory tree. -::: cell +:::: cell ::: {.cell-output .cell-output-stdout} . ├── README.md ├── README.qmd └── README.rmarkdown ::: -::: +:::: A short description of the directories can be found below. diff --git a/rstudio/README.md b/rstudio/README.md index de41211..af79de5 100644 --- a/rstudio/README.md +++ b/rstudio/README.md @@ -21,7 +21,7 @@ This directory hosts the rstudio files. The repository has the following directory tree. -::: cell +:::: cell ::: {.cell-output .cell-output-stdout} . ├── README.md @@ -29,7 +29,7 @@ The repository has the following directory tree. ├── README.rmarkdown └── exampleREADME.qmd ::: -::: +:::: A short description of the directories can be found below. diff --git a/software/README.md b/software/README.md index e9d2ee0..4c8a59e 100644 --- a/software/README.md +++ b/software/README.md @@ -21,7 +21,7 @@ This directory hosts code for the smart modules. The repository has the following directory tree. -::: cell +:::: cell ::: {.cell-output .cell-output-stdout} . ├── README.md @@ -33,6 +33,7 @@ The repository has the following directory tree. │ ├── README.qmd │ ├── boop-o-meters │ ├── display + │ ├── githubfiledownload │ ├── p2p │ └── ping ├── archive @@ -58,7 +59,7 @@ The repository has the following directory tree. ├── examples └── networking.py ::: -::: +:::: A short description of the directories can be found below. diff --git a/software/applications/README.md b/software/applications/README.md index 332f049..4000a00 100644 --- a/software/applications/README.md +++ b/software/applications/README.md @@ -1,8 +1,17 @@ - +--- +editor: visual +editor_options: + chunk_output_type: console +execute: + echo: false + message: false + warning: false +toc-title: Table of contents +--- # -#### Location: /software/tools/README.qmd +#### Location: /work/Smart-System-Platform/Smart-System-Platform/software/applications/README.qmd ##### Description @@ -12,6 +21,8 @@ This directory hosts the code. The repository has the following directory tree. +:::: cell +::: {.cell-output .cell-output-stdout} . ├── MnS │ ├── master.py @@ -26,20 +37,38 @@ The repository has the following directory tree. ├── display │ ├── display.py │ └── networking_display.py + ├── githubfiledownload + │ └── filedownload.py ├── p2p │ └── main.py └── ping ├── echo.py └── shout.py +::: +:::: A short description of the directories can be found below. A short description of the directories can be found below. -| name | description | contribution | -|----|----|----| -| boop-o-meters | This code will allow you to send “boops” to any discovered mac address (i.e. every running smart motor that has networking.py initialised). It counts how many “boops” were sent and received. | Nick | -| display | Displays discovered smart modules with networking enabled. | Nick | -| MnS | This uses the networking code to control multiple smart motor using the sensor inputs of a “master” smart motor. The MAC is hard-coded. | Nick | -| p2p | This uses the networking code to have smart motors use their partners sensor inputs. The MAC is hard-coded. If there is no stream of sensor data received from the partner, the smart motor reverts back and uses their own inputs. | Nick | -| ping | Example code for pings and for returning pings (echo) | Nick | + ---------------------------------------------------------------------------------------------- + name description contribution + --------------- --------------------------------------------------------------- -------------- + boop-o-meters This code will allow you to send "boops" to any discovered mac Nick + address (i.e. every running smart motor that has networking.py + initialised). It counts how many "boops" were sent and + received. + + display Displays discovered smart modules with networking enabled. Nick + + MnS This uses the networking code to control multiple smart motor Nick + using the sensor inputs of a "master" smart motor. The MAC is + hard-coded. + + p2p This uses the networking code to have smart motors use their Nick + partners sensor inputs. The MAC is hard-coded. If there is no + stream of sensor data received from the partner, the smart + motor reverts back and uses their own inputs. + + ping Example code for pings and for returning pings (echo) Nick + ---------------------------------------------------------------------------------------------- diff --git a/software/libraries/README.md b/software/libraries/README.md index 663d340..c0e4187 100644 --- a/software/libraries/README.md +++ b/software/libraries/README.md @@ -1,8 +1,17 @@ - +--- +editor: visual +editor_options: + chunk_output_type: console +execute: + echo: false + message: false + warning: false +toc-title: Table of contents +--- # Smart System Education Platform -## Location: /software/libraries/README.qmd +## Location: /work/Smart-System-Platform/Smart-System-Platform/software/libraries/README.qmd ### Description @@ -12,14 +21,21 @@ This directory hosts used and useful libraries. The repository has the following directory tree. +:::: cell +::: {.cell-output .cell-output-stdout} . ├── README.md ├── README.qmd ├── README.rmarkdown └── variableLED.py +::: +:::: A short description of the directories can be found below. -| name | description | contribution | -|----------------|-------------------------------------------|--------------| -| variableLED.py | Library that powers the variable LED grid | Sophie | + ------------------------------------------------------------------------- + name description contribution + ---------------- ----------------------------------------- -------------- + variableLED.py Library that powers the variable LED grid Sophie + + ------------------------------------------------------------------------- diff --git a/software/networking/README.md b/software/networking/README.md index 2b5db9b..972f4aa 100644 --- a/software/networking/README.md +++ b/software/networking/README.md @@ -1,8 +1,17 @@ - +--- +editor: visual +editor_options: + chunk_output_type: console +execute: + echo: false + message: false + warning: false +toc-title: Table of contents +--- # Smart System Education Platform -## Location: /software/networking/README.qmd +## Location: /work/Smart-System-Platform/Smart-System-Platform/software/networking/README.qmd ### Description @@ -22,22 +31,49 @@ Channels: 14 The repository has the following directory tree. +:::: cell +::: {.cell-output .cell-output-stdout} . ├── README.md ├── README.qmd ├── README.rmarkdown ├── config.py ├── examples + │ ├── default_main.py │ ├── example.py - │ └── long_message_example.py + │ ├── long_message_example.py + │ └── pyscript_main.py └── networking.py +::: +:::: A short description of the directories can be found below. -| name | description | contribution | -|----|----|----| -| config.py | This file hosts configurations and secrets, such as the board name, WiFi name and password, as well as handshake keys which is used by some of the legacy networking code. | Nick | -| examples | This directory hosts example code | Nick | -| examples/example.py | This is some basic example code on how to use my networking library | Nick | -| examples/long_message_example.py | This code showcases the long message capabilities built into my code. By sending multiple messages that are then stitched back together by the recipient the max payload can be increased from 241 bytes to 256 x 238 = 60928 bytes, although in reality the ESP32 boards will start running out of memory with messages above 30 kilobytes. | Nick | -| networking.py | This is the main networking code that builds on ESP-NOW. There are many prepared functionalities (and some more that I am working on), such as long message support, sending of various variable types (bytes, bytearray, dicts, lists, int, float, char, string), as well as different types of messages such as ping, echo and more. There are also various features in place to make the networking more robust. It needs config.py to function. | Nick | + ----------------------------------------------------------------------------------------------------------------- + name description contribution + ---------------------------------- --------------------------------------------------------------- -------------- + config.py This file hosts configurations and secrets, such as the board Nick + name, WiFi name and password, as well as handshake keys which + is used by some of the legacy networking code. + + examples This directory hosts example code Nick + + examples/example.py This is some basic example code on how to use my networking Nick + library + + examples/long_message_example.py This code showcases the long message capabilities built into my Nick + code. By sending multiple messages that are then stitched back + together by the recipient the max payload can be increased from + 241 bytes to 256 x 238 = 60928 bytes, although in reality the + ESP32 boards will start running out of memory with messages + above 30 kilobytes. + + networking.py This is the main networking code that builds on ESP-NOW. There Nick + are many prepared functionalities (and some more that I am + working on), such as long message support, sending of various + variable types (bytes, bytearray, dicts, lists, int, float, + char, string), as well as different types of messages such as + ping, echo and more. There are also various features in place + to make the networking more robust. It needs config.py to + function. + ----------------------------------------------------------------------------------------------------------------- From 38bd53ba29ac852eb35690d8afc7014535d5e1fc Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 14:46:08 -0500 Subject: [PATCH 02/60] Update render-README.yml --- .github/workflows/render-README.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/render-README.yml b/.github/workflows/render-README.yml index 6abe60e..38f6b38 100644 --- a/.github/workflows/render-README.yml +++ b/.github/workflows/render-README.yml @@ -13,8 +13,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 with: - persist-credentials: false # Prevents GitHub token reuse - + persist-credentials: false - name: Set up R uses: r-lib/actions/setup-r@v2 @@ -26,10 +25,10 @@ jobs: - name: Set up Quarto uses: quarto-dev/quarto-actions/setup@v2 - - name: Find and Render README.qmd Files + - name: Find and Render README.qmd Files # quarto render "$qmd_file" --to markdown run: | find . -name "README.qmd" | while read qmd_file; do - quarto render "$qmd_file" --to markdown + rmarkdown::render(qmd_file) done - name: Commit and Push Rendered Files From 0d8974729636c3a452e379e0ab3554d725a8a58a Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 14:48:05 -0500 Subject: [PATCH 03/60] Update render-README.yml --- .github/workflows/render-README.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/render-README.yml b/.github/workflows/render-README.yml index 38f6b38..7857b09 100644 --- a/.github/workflows/render-README.yml +++ b/.github/workflows/render-README.yml @@ -3,7 +3,7 @@ name: Render README.qmd to Markdown on: push: branches: - - dev/nick + - stage jobs: render: @@ -25,9 +25,10 @@ jobs: - name: Set up Quarto uses: quarto-dev/quarto-actions/setup@v2 - - name: Find and Render README.qmd Files # quarto render "$qmd_file" --to markdown + - name: Find and Render README.qmd Files run: | find . -name "README.qmd" | while read qmd_file; do + # quarto render "$qmd_file" --to markdown rmarkdown::render(qmd_file) done @@ -39,9 +40,11 @@ jobs: git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com" git add . git commit -m "Render README.qmd files to Markdown [skip ci]" || echo "No changes to commit" + + git fetch origin + git checkout stage || git checkout -b stage - # Set up authentication for git push git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git - git push origin main + git push origin stage From cc595a14e9ab3d982ad24546d8e341e78b1af907 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 14:48:38 -0500 Subject: [PATCH 04/60] Update render-README.yml --- .github/workflows/render-README.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/render-README.yml b/.github/workflows/render-README.yml index 50c5c92..f3c5048 100644 --- a/.github/workflows/render-README.yml +++ b/.github/workflows/render-README.yml @@ -13,8 +13,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 with: - persist-credentials: false # Prevents GitHub token reuse - + persist-credentials: false - name: Set up R uses: r-lib/actions/setup-r@v2 @@ -26,10 +25,11 @@ jobs: - name: Set up Quarto uses: quarto-dev/quarto-actions/setup@v2 - - name: Find and Render README.qmd Files + - name: Find and Render README.qmd Files run: | find . -name "README.qmd" | while read qmd_file; do - quarto render "$qmd_file" --to markdown + # quarto render "$qmd_file" --to markdown + rmarkdown::render(qmd_file) done - name: Commit and Push Rendered Files @@ -40,11 +40,10 @@ jobs: git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com" git add . git commit -m "Render README.qmd files to Markdown [skip ci]" || echo "No changes to commit" - + git fetch origin git checkout stage || git checkout -b stage git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git git push origin stage - From 563feefb3d7a86f24bc58e3d5ff18943542453f1 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 16:55:32 -0500 Subject: [PATCH 05/60] Update render-README.yml --- .github/workflows/render-README.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/render-README.yml b/.github/workflows/render-README.yml index f3c5048..1d2041e 100644 --- a/.github/workflows/render-README.yml +++ b/.github/workflows/render-README.yml @@ -28,8 +28,8 @@ jobs: - name: Find and Render README.qmd Files run: | find . -name "README.qmd" | while read qmd_file; do - # quarto render "$qmd_file" --to markdown - rmarkdown::render(qmd_file) + quarto render "$qmd_file" --to markdown + # rmarkdown::render(qmd_file) done - name: Commit and Push Rendered Files From b2fca8f3cf2e2f45d5fa49ed8969063dc19b1e6c Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 17:03:57 -0500 Subject: [PATCH 06/60] Update README.qmd --- README.qmd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.qmd b/README.qmd index 9780d76..d1eb3c3 100644 --- a/README.qmd +++ b/README.qmd @@ -14,7 +14,8 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] -shortened_path <- fs::path_join(path_components[-c(2, 3)]) +shortened_path <- fs::path_join(path_components[-(1:4)]) + ``` ## Location: `r shortened_path` From 815058657e18a2b5afbd96c4011b1538f4f6595a Mon Sep 17 00:00:00 2001 From: NicK4rT Date: Sat, 23 Nov 2024 22:07:54 +0000 Subject: [PATCH 07/60] Render README.qmd files to Markdown [skip ci] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 899d246..8c5ffbe 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ toc-title: Table of contents # Smart System Education Platform -## Location: /work/Smart-System-Platform/Smart-System-Platform/README.qmd +## Location: Smart-System-Platform/Smart-System-Platform/README.qmd ### Description From 9528b2c558cec804aeeaf030f3b9bf41779df5b8 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 17:09:39 -0500 Subject: [PATCH 08/60] Update README.qmd --- README.qmd | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.qmd b/README.qmd index d1eb3c3..3be69fe 100644 --- a/README.qmd +++ b/README.qmd @@ -14,7 +14,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] -shortened_path <- fs::path_join(path_components[-(1:4)]) +shortened_path <- fs::path_join(path_components[-(1:3)]) ``` @@ -28,12 +28,12 @@ This is the main directory. The repository has the following directory tree. -```{r} -fs::dir_tree(recurse = FALSE) +```{r echo=FALSE} +cat(fs::dir_tree(recurse = FALSE)) ``` A short description of the directories can be found below. - +```{r echo=FALSE} | name | description | contribution | |----------|----------------------------------------------------------------------------------------------------------------------|--------------| | docs | This directory hosts the files for the website | Nick | @@ -42,3 +42,4 @@ A short description of the directories can be found below. | software | This directory includes libraries, custom libraries and example code, such as the for example the networking library | Nick | | overleaf | Latex Report Code | Nick | | rstudio | R Code | Nick | +``` From 88c1e1927d6e74ae9b481304f5645aa9c58695c5 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 17:17:44 -0500 Subject: [PATCH 09/60] Update README.qmd --- README.qmd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.qmd b/README.qmd index 3be69fe..8f45f3c 100644 --- a/README.qmd +++ b/README.qmd @@ -33,7 +33,7 @@ cat(fs::dir_tree(recurse = FALSE)) ``` A short description of the directories can be found below. -```{r echo=FALSE} + | name | description | contribution | |----------|----------------------------------------------------------------------------------------------------------------------|--------------| | docs | This directory hosts the files for the website | Nick | @@ -42,4 +42,3 @@ A short description of the directories can be found below. | software | This directory includes libraries, custom libraries and example code, such as the for example the networking library | Nick | | overleaf | Latex Report Code | Nick | | rstudio | R Code | Nick | -``` From a4aa5aa6d53aa4cd64c520283aff75ef3de8a6bf Mon Sep 17 00:00:00 2001 From: NicK4rT Date: Sat, 23 Nov 2024 22:22:27 +0000 Subject: [PATCH 10/60] Render README.qmd files to Markdown [skip ci] --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8c5ffbe..c66a3cd 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ toc-title: Table of contents # Smart System Education Platform -## Location: Smart-System-Platform/Smart-System-Platform/README.qmd +## Location: work/Smart-System-Platform/Smart-System-Platform/README.qmd ### Description @@ -35,6 +35,7 @@ The repository has the following directory tree. ├── project.Rproj ├── rstudio └── software + LICENSE README.md README.qmd README.rmarkdown docs firmware hardware overleaf project.Rproj rstudio software ::: :::: From 7cf6bb30c15c77ec1abe99175a36450720d3f051 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 17:26:08 -0500 Subject: [PATCH 11/60] Update README.qmd --- README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.qmd b/README.qmd index 8f45f3c..d2e36ab 100644 --- a/README.qmd +++ b/README.qmd @@ -28,7 +28,7 @@ This is the main directory. The repository has the following directory tree. -```{r echo=FALSE} +```{r echo=FALSE, results='asis'} cat(fs::dir_tree(recurse = FALSE)) ``` From 6d849fd88dc65664b8fba7ddf85ac0a0a8539af1 Mon Sep 17 00:00:00 2001 From: NicK4rT Date: Sat, 23 Nov 2024 22:30:02 +0000 Subject: [PATCH 12/60] Render README.qmd files to Markdown [skip ci] --- README.md | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index c66a3cd..ba1f37c 100644 --- a/README.md +++ b/README.md @@ -21,23 +21,10 @@ This is the main directory. The repository has the following directory tree. -:::: cell -::: {.cell-output .cell-output-stdout} - . - ├── LICENSE - ├── README.md - ├── README.qmd - ├── README.rmarkdown - ├── docs - ├── firmware - ├── hardware - ├── overleaf - ├── project.Rproj - ├── rstudio - └── software - LICENSE README.md README.qmd README.rmarkdown docs firmware hardware overleaf project.Rproj rstudio software -::: -:::: +. ├── LICENSE ├── README.md ├── README.qmd ├── README.rmarkdown ├── docs +├── firmware ├── hardware ├── overleaf ├── project.Rproj ├── rstudio └── +software LICENSE README.md README.qmd README.rmarkdown docs firmware +hardware overleaf project.Rproj rstudio software A short description of the directories can be found below. From 3d84f2cf5fcae35aa2f3471ca48caa0f4da92d4b Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 22:42:35 -0500 Subject: [PATCH 13/60] Update README.qmd --- README.qmd | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.qmd b/README.qmd index d2e36ab..c09fac6 100644 --- a/README.qmd +++ b/README.qmd @@ -4,9 +4,8 @@ execute: echo: false message: false warning: false -editor: visual editor_options: - chunk_output_type: console + chunk_output_type: inline --- # Smart System Education Platform @@ -15,7 +14,6 @@ editor_options: file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] shortened_path <- fs::path_join(path_components[-(1:3)]) - ``` ## Location: `r shortened_path` @@ -29,7 +27,7 @@ This is the main directory. The repository has the following directory tree. ```{r echo=FALSE, results='asis'} -cat(fs::dir_tree(recurse = FALSE)) +print(cat(fs::dir_tree(recurse = FALSE))) ``` A short description of the directories can be found below. From b081b64972d70a9c8e83b14ac12c95962acb300d Mon Sep 17 00:00:00 2001 From: NicK4rT Date: Sun, 24 Nov 2024 03:46:39 +0000 Subject: [PATCH 14/60] Render README.qmd files to Markdown [skip ci] --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ba1f37c..9e1fa3c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ --- -editor: visual editor_options: - chunk_output_type: console + chunk_output_type: inline execute: echo: false message: false @@ -24,7 +23,7 @@ The repository has the following directory tree. . ├── LICENSE ├── README.md ├── README.qmd ├── README.rmarkdown ├── docs ├── firmware ├── hardware ├── overleaf ├── project.Rproj ├── rstudio └── software LICENSE README.md README.qmd README.rmarkdown docs firmware -hardware overleaf project.Rproj rstudio software +hardware overleaf project.Rproj rstudio softwareNULL A short description of the directories can be found below. From c60559588a98c675412946801f2ddefa45c70541 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 22:47:46 -0500 Subject: [PATCH 15/60] Update render-README.yml --- .github/workflows/render-README.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/render-README.yml b/.github/workflows/render-README.yml index 1d2041e..467709d 100644 --- a/.github/workflows/render-README.yml +++ b/.github/workflows/render-README.yml @@ -28,7 +28,7 @@ jobs: - name: Find and Render README.qmd Files run: | find . -name "README.qmd" | while read qmd_file; do - quarto render "$qmd_file" --to markdown + quarto render "$qmd_file" --to gfm # rmarkdown::render(qmd_file) done From 48e43c84e23cc0bb86186423d08ad293534b1762 Mon Sep 17 00:00:00 2001 From: NicK4rT Date: Sun, 24 Nov 2024 03:52:36 +0000 Subject: [PATCH 16/60] Render README.qmd files to Markdown [skip ci] --- README.md | 36 ++++++------------------ docs/README.md | 31 ++++++-------------- firmware/README.md | 21 +++----------- hardware/README.md | 21 +++----------- overleaf/README.md | 21 +++----------- rstudio/README.md | 25 +++-------------- software/README.md | 36 ++++++------------------ software/applications/README.md | 43 ++++++---------------------- software/libraries/README.md | 24 +++------------- software/networking/README.md | 50 ++++++--------------------------- 10 files changed, 63 insertions(+), 245 deletions(-) diff --git a/README.md b/README.md index 9e1fa3c..3fb2507 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,4 @@ ---- -editor_options: - chunk_output_type: inline -execute: - echo: false - message: false - warning: false -toc-title: Table of contents ---- + # Smart System Education Platform @@ -27,21 +19,11 @@ hardware overleaf project.Rproj rstudio softwareNULL A short description of the directories can be found below. - ------------------------------------------------------------------------------------- - name description contribution - ---------- ----------------------------------------------------------- -------------- - docs This directory hosts the files for the website Nick - - firmware This directory hosts the firmware Nick - - hardware This directory hosts files and information about the Nick - hardware - - software This directory includes libraries, custom libraries and Nick - example code, such as the for example the networking - library - - overleaf Latex Report Code Nick - - rstudio R Code Nick - ------------------------------------------------------------------------------------- +| name | description | contribution | +|----|----|----| +| docs | This directory hosts the files for the website | Nick | +| firmware | This directory hosts the firmware | Nick | +| hardware | This directory hosts files and information about the hardware | Nick | +| software | This directory includes libraries, custom libraries and example code, such as the for example the networking library | Nick | +| overleaf | Latex Report Code | Nick | +| rstudio | R Code | Nick | diff --git a/docs/README.md b/docs/README.md index 1799c30..8337693 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,13 +1,4 @@ ---- -editor: visual -editor_options: - chunk_output_type: console -execute: - echo: false - message: false - warning: false -toc-title: Table of contents ---- + # Smart System Education Platform @@ -21,8 +12,6 @@ This directory hosts the website. The repository has the following directory tree. -:::: cell -::: {.cell-output .cell-output-stdout} . ├── README.md ├── README.qmd @@ -34,16 +23,14 @@ The repository has the following directory tree. ├── start.html ├── technology.html └── tools.html -::: -:::: A short description of the directories can be found below. - name description contribution - ----------------- ------------------------ -------------- - index.html Main page Nick - mission.html Mission statement Nick - technology.html Technology explanation Nick - tools.html Tool links Nick - community.html Community Nick - start.html ... Nick +| name | description | contribution | +|-----------------|------------------------|--------------| +| index.html | Main page | Nick | +| mission.html | Mission statement | Nick | +| technology.html | Technology explanation | Nick | +| tools.html | Tool links | Nick | +| community.html | Community | Nick | +| start.html | … | Nick | diff --git a/firmware/README.md b/firmware/README.md index 958aa06..b415979 100644 --- a/firmware/README.md +++ b/firmware/README.md @@ -1,13 +1,4 @@ ---- -editor: visual -editor_options: - chunk_output_type: console -execute: - echo: false - message: false - warning: false -toc-title: Table of contents ---- + # Smart System Education Platform @@ -21,17 +12,13 @@ This directory will host the custom firmware. The repository has the following directory tree. -:::: cell -::: {.cell-output .cell-output-stdout} . ├── README.md ├── README.qmd └── README.rmarkdown -::: -:::: A short description of the directories can be found below. - name description contribution - ------ ------------- -------------- - NA NA Nick +| name | description | contribution | +|------|-------------|--------------| +| NA | NA | Nick | diff --git a/hardware/README.md b/hardware/README.md index 0992794..8016b1a 100644 --- a/hardware/README.md +++ b/hardware/README.md @@ -1,13 +1,4 @@ ---- -editor: visual -editor_options: - chunk_output_type: console -execute: - echo: false - message: false - warning: false -toc-title: Table of contents ---- + # Smart System Education Platform @@ -21,17 +12,13 @@ This directory will host files about the smart system hardware. The repository has the following directory tree. -:::: cell -::: {.cell-output .cell-output-stdout} . ├── README.md ├── README.qmd └── README.rmarkdown -::: -:::: A short description of the directories can be found below. - name description contribution - ------ ------------- -------------- - NA NA Nick +| name | description | contribution | +|------|-------------|--------------| +| NA | NA | Nick | diff --git a/overleaf/README.md b/overleaf/README.md index 8992e12..a0d0f52 100644 --- a/overleaf/README.md +++ b/overleaf/README.md @@ -1,13 +1,4 @@ ---- -editor: visual -editor_options: - chunk_output_type: console -execute: - echo: false - message: false - warning: false -toc-title: Table of contents ---- + # Smart System Education Platform @@ -21,17 +12,13 @@ This directory hosts the latex thesis report. The repository has the following directory tree. -:::: cell -::: {.cell-output .cell-output-stdout} . ├── README.md ├── README.qmd └── README.rmarkdown -::: -:::: A short description of the directories can be found below. - name description contribution - ------ ------------- -------------- - NA NA Nick +| name | description | contribution | +|------|-------------|--------------| +| NA | NA | Nick | diff --git a/rstudio/README.md b/rstudio/README.md index af79de5..d9b85f6 100644 --- a/rstudio/README.md +++ b/rstudio/README.md @@ -1,13 +1,4 @@ ---- -editor: visual -editor_options: - chunk_output_type: console -execute: - echo: false - message: false - warning: false -toc-title: Table of contents ---- + # Smart System Education Platform @@ -21,22 +12,14 @@ This directory hosts the rstudio files. The repository has the following directory tree. -:::: cell -::: {.cell-output .cell-output-stdout} . ├── README.md ├── README.qmd ├── README.rmarkdown └── exampleREADME.qmd -::: -:::: A short description of the directories can be found below. - --------------------------------------------------------------------------------- - name description contribution - ------------------- ---------------------------------------------- -------------- - exampleREADME.qmd This is the example README used to generate Nick - all the README.md - - --------------------------------------------------------------------------------- +| name | description | contribution | +|----|----|----| +| exampleREADME.qmd | This is the example README used to generate all the README.md | Nick | diff --git a/software/README.md b/software/README.md index 4c8a59e..2708039 100644 --- a/software/README.md +++ b/software/README.md @@ -1,13 +1,4 @@ ---- -editor: visual -editor_options: - chunk_output_type: console -execute: - echo: false - message: false - warning: false -toc-title: Table of contents ---- + # Smart System Education Platform @@ -21,8 +12,6 @@ This directory hosts code for the smart modules. The repository has the following directory tree. -:::: cell -::: {.cell-output .cell-output-stdout} . ├── README.md ├── README.qmd @@ -58,28 +47,21 @@ The repository has the following directory tree. ├── config.py ├── examples └── networking.py -::: -:::: A short description of the directories can be found below. - ------------------------------------------------------------------------ - name description contribution - -------------- ------------------------------------------ -------------- - libraries Useful libraries for inputs and outputs Nick - - networking Smart Module Networking library Nick - - applications Various coding tools and applications Nick - - archive Old or outdated code or examples Nick - ------------------------------------------------------------------------ +| name | description | contribution | +|--------------|-----------------------------------------|--------------| +| libraries | Useful libraries for inputs and outputs | Nick | +| networking | Smart Module Networking library | Nick | +| applications | Various coding tools and applications | Nick | +| archive | Old or outdated code or examples | Nick | ### Helpful links: -ESP-NOW \ +ESP-NOW Networking -\ + AP / WiFi diff --git a/software/applications/README.md b/software/applications/README.md index 4000a00..91d769f 100644 --- a/software/applications/README.md +++ b/software/applications/README.md @@ -1,13 +1,4 @@ ---- -editor: visual -editor_options: - chunk_output_type: console -execute: - echo: false - message: false - warning: false -toc-title: Table of contents ---- + # @@ -21,8 +12,6 @@ This directory hosts the code. The repository has the following directory tree. -:::: cell -::: {.cell-output .cell-output-stdout} . ├── MnS │ ├── master.py @@ -44,31 +33,15 @@ The repository has the following directory tree. └── ping ├── echo.py └── shout.py -::: -:::: A short description of the directories can be found below. A short description of the directories can be found below. - ---------------------------------------------------------------------------------------------- - name description contribution - --------------- --------------------------------------------------------------- -------------- - boop-o-meters This code will allow you to send "boops" to any discovered mac Nick - address (i.e. every running smart motor that has networking.py - initialised). It counts how many "boops" were sent and - received. - - display Displays discovered smart modules with networking enabled. Nick - - MnS This uses the networking code to control multiple smart motor Nick - using the sensor inputs of a "master" smart motor. The MAC is - hard-coded. - - p2p This uses the networking code to have smart motors use their Nick - partners sensor inputs. The MAC is hard-coded. If there is no - stream of sensor data received from the partner, the smart - motor reverts back and uses their own inputs. - - ping Example code for pings and for returning pings (echo) Nick - ---------------------------------------------------------------------------------------------- +| name | description | contribution | +|----|----|----| +| boop-o-meters | This code will allow you to send “boops” to any discovered mac address (i.e. every running smart motor that has networking.py initialised). It counts how many “boops” were sent and received. | Nick | +| display | Displays discovered smart modules with networking enabled. | Nick | +| MnS | This uses the networking code to control multiple smart motor using the sensor inputs of a “master” smart motor. The MAC is hard-coded. | Nick | +| p2p | This uses the networking code to have smart motors use their partners sensor inputs. The MAC is hard-coded. If there is no stream of sensor data received from the partner, the smart motor reverts back and uses their own inputs. | Nick | +| ping | Example code for pings and for returning pings (echo) | Nick | diff --git a/software/libraries/README.md b/software/libraries/README.md index c0e4187..3f4d8e0 100644 --- a/software/libraries/README.md +++ b/software/libraries/README.md @@ -1,13 +1,4 @@ ---- -editor: visual -editor_options: - chunk_output_type: console -execute: - echo: false - message: false - warning: false -toc-title: Table of contents ---- + # Smart System Education Platform @@ -21,21 +12,14 @@ This directory hosts used and useful libraries. The repository has the following directory tree. -:::: cell -::: {.cell-output .cell-output-stdout} . ├── README.md ├── README.qmd ├── README.rmarkdown └── variableLED.py -::: -:::: A short description of the directories can be found below. - ------------------------------------------------------------------------- - name description contribution - ---------------- ----------------------------------------- -------------- - variableLED.py Library that powers the variable LED grid Sophie - - ------------------------------------------------------------------------- +| name | description | contribution | +|----------------|-------------------------------------------|--------------| +| variableLED.py | Library that powers the variable LED grid | Sophie | diff --git a/software/networking/README.md b/software/networking/README.md index 972f4aa..8cc14dd 100644 --- a/software/networking/README.md +++ b/software/networking/README.md @@ -1,13 +1,4 @@ ---- -editor: visual -editor_options: - chunk_output_type: console -execute: - echo: false - message: false - warning: false -toc-title: Table of contents ---- + # Smart System Education Platform @@ -31,8 +22,6 @@ Channels: 14 The repository has the following directory tree. -:::: cell -::: {.cell-output .cell-output-stdout} . ├── README.md ├── README.qmd @@ -44,36 +33,13 @@ The repository has the following directory tree. │ ├── long_message_example.py │ └── pyscript_main.py └── networking.py -::: -:::: A short description of the directories can be found below. - ----------------------------------------------------------------------------------------------------------------- - name description contribution - ---------------------------------- --------------------------------------------------------------- -------------- - config.py This file hosts configurations and secrets, such as the board Nick - name, WiFi name and password, as well as handshake keys which - is used by some of the legacy networking code. - - examples This directory hosts example code Nick - - examples/example.py This is some basic example code on how to use my networking Nick - library - - examples/long_message_example.py This code showcases the long message capabilities built into my Nick - code. By sending multiple messages that are then stitched back - together by the recipient the max payload can be increased from - 241 bytes to 256 x 238 = 60928 bytes, although in reality the - ESP32 boards will start running out of memory with messages - above 30 kilobytes. - - networking.py This is the main networking code that builds on ESP-NOW. There Nick - are many prepared functionalities (and some more that I am - working on), such as long message support, sending of various - variable types (bytes, bytearray, dicts, lists, int, float, - char, string), as well as different types of messages such as - ping, echo and more. There are also various features in place - to make the networking more robust. It needs config.py to - function. - ----------------------------------------------------------------------------------------------------------------- +| name | description | contribution | +|----|----|----| +| config.py | This file hosts configurations and secrets, such as the board name, WiFi name and password, as well as handshake keys which is used by some of the legacy networking code. | Nick | +| examples | This directory hosts example code | Nick | +| examples/example.py | This is some basic example code on how to use my networking library | Nick | +| examples/long_message_example.py | This code showcases the long message capabilities built into my code. By sending multiple messages that are then stitched back together by the recipient the max payload can be increased from 241 bytes to 256 x 238 = 60928 bytes, although in reality the ESP32 boards will start running out of memory with messages above 30 kilobytes. | Nick | +| networking.py | This is the main networking code that builds on ESP-NOW. There are many prepared functionalities (and some more that I am working on), such as long message support, sending of various variable types (bytes, bytearray, dicts, lists, int, float, char, string), as well as different types of messages such as ping, echo and more. There are also various features in place to make the networking more robust. It needs config.py to function. | Nick | From 3722e4786fde716eb52be7572ca87307579208be Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 22:56:28 -0500 Subject: [PATCH 17/60] Update README.qmd --- README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.qmd b/README.qmd index c09fac6..e4eaedf 100644 --- a/README.qmd +++ b/README.qmd @@ -27,7 +27,7 @@ This is the main directory. The repository has the following directory tree. ```{r echo=FALSE, results='asis'} -print(cat(fs::dir_tree(recurse = FALSE))) +fs::dir_tree(recurse = FALSE) ``` A short description of the directories can be found below. From 94ac7dbfd5d5c0fd20cd298eea3453dde4feae1c Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 22:58:39 -0500 Subject: [PATCH 18/60] Update README.qmd --- README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.qmd b/README.qmd index e4eaedf..9aee97a 100644 --- a/README.qmd +++ b/README.qmd @@ -12,7 +12,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") -path_components <- strsplit(file_path, "/")[[1]] +path_components <- strsplit(as.character(file_path), "/")[[1]] shortened_path <- fs::path_join(path_components[-(1:3)]) ``` From 6a7c74952be1b87ed8e173d8cb13819d9172815f Mon Sep 17 00:00:00 2001 From: NicK4rT Date: Sun, 24 Nov 2024 04:02:30 +0000 Subject: [PATCH 19/60] Render README.qmd files to Markdown [skip ci] --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 3fb2507..0e3cb6f 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,7 @@ The repository has the following directory tree. . ├── LICENSE ├── README.md ├── README.qmd ├── README.rmarkdown ├── docs ├── firmware ├── hardware ├── overleaf ├── project.Rproj ├── rstudio └── -software LICENSE README.md README.qmd README.rmarkdown docs firmware -hardware overleaf project.Rproj rstudio softwareNULL +software A short description of the directories can be found below. From 1636b3962e54785fa67f3ef33bc5e5f0a64507f0 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:08:10 -0500 Subject: [PATCH 20/60] Update README.qmd --- README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.qmd b/README.qmd index 9aee97a..c4551c6 100644 --- a/README.qmd +++ b/README.qmd @@ -27,7 +27,7 @@ This is the main directory. The repository has the following directory tree. ```{r echo=FALSE, results='asis'} -fs::dir_tree(recurse = FALSE) +cat(fs::dir_tree(recurse = FALSE), sep = "\n") ``` A short description of the directories can be found below. From 5755e1335d399c86943b60ffafa28c6eee160144 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:10:51 -0500 Subject: [PATCH 21/60] Update render-README.yml --- .github/workflows/render-README.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/render-README.yml b/.github/workflows/render-README.yml index 467709d..7b90122 100644 --- a/.github/workflows/render-README.yml +++ b/.github/workflows/render-README.yml @@ -29,7 +29,6 @@ jobs: run: | find . -name "README.qmd" | while read qmd_file; do quarto render "$qmd_file" --to gfm - # rmarkdown::render(qmd_file) done - name: Commit and Push Rendered Files @@ -39,7 +38,7 @@ jobs: git config --local user.name "$GITHUB_ACTOR" git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com" git add . - git commit -m "Render README.qmd files to Markdown [skip ci]" || echo "No changes to commit" + git commit -m "Render README.qmd files to gfm" || echo "No changes to commit" git fetch origin git checkout stage || git checkout -b stage From dbb1577fec7a0fd236d33b9a5d844d076623c64e Mon Sep 17 00:00:00 2001 From: NicK4rT Date: Sun, 24 Nov 2024 04:14:51 +0000 Subject: [PATCH 22/60] Render README.qmd files to gfm --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0e3cb6f..2b76e89 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,8 @@ The repository has the following directory tree. . ├── LICENSE ├── README.md ├── README.qmd ├── README.rmarkdown ├── docs ├── firmware ├── hardware ├── overleaf ├── project.Rproj ├── rstudio └── -software +software LICENSE README.md README.qmd README.rmarkdown docs firmware +hardware overleaf project.Rproj rstudio software A short description of the directories can be found below. From deea413fe2e6c5f154ad1a16b5944ba748710135 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:18:57 -0500 Subject: [PATCH 23/60] Update README.qmd --- README.qmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.qmd b/README.qmd index c4551c6..1672585 100644 --- a/README.qmd +++ b/README.qmd @@ -5,7 +5,7 @@ execute: message: false warning: false editor_options: - chunk_output_type: inline + chunk_output_type: console --- # Smart System Education Platform @@ -26,7 +26,7 @@ This is the main directory. The repository has the following directory tree. -```{r echo=FALSE, results='asis'} +```{r echo=FALSE} cat(fs::dir_tree(recurse = FALSE), sep = "\n") ``` From c01ad045b34a6c44b5f080238fe7f051a8a02cb6 Mon Sep 17 00:00:00 2001 From: NicK4rT Date: Sun, 24 Nov 2024 04:23:05 +0000 Subject: [PATCH 24/60] Render README.qmd files to gfm --- README.md | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2b76e89..9e31dcd 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,29 @@ This is the main directory. The repository has the following directory tree. -. ├── LICENSE ├── README.md ├── README.qmd ├── README.rmarkdown ├── docs -├── firmware ├── hardware ├── overleaf ├── project.Rproj ├── rstudio └── -software LICENSE README.md README.qmd README.rmarkdown docs firmware -hardware overleaf project.Rproj rstudio software + . + ├── LICENSE + ├── README.md + ├── README.qmd + ├── README.rmarkdown + ├── docs + ├── firmware + ├── hardware + ├── overleaf + ├── project.Rproj + ├── rstudio + └── software + LICENSE + README.md + README.qmd + README.rmarkdown + docs + firmware + hardware + overleaf + project.Rproj + rstudio + software A short description of the directories can be found below. From 18b7b9b2101cc96c9904757b10cc38ba911808ed Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:24:29 -0500 Subject: [PATCH 25/60] Update README.qmd --- README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.qmd b/README.qmd index 1672585..72d13a4 100644 --- a/README.qmd +++ b/README.qmd @@ -27,7 +27,7 @@ This is the main directory. The repository has the following directory tree. ```{r echo=FALSE} -cat(fs::dir_tree(recurse = FALSE), sep = "\n") +fs::dir_tree(recurse = FALSE) ``` A short description of the directories can be found below. From cfb413402103a9715fc17fe8d2a1008b774a4271 Mon Sep 17 00:00:00 2001 From: NicK4rT Date: Sun, 24 Nov 2024 04:28:28 +0000 Subject: [PATCH 26/60] Render README.qmd files to gfm --- README.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/README.md b/README.md index 9e31dcd..59d2ff7 100644 --- a/README.md +++ b/README.md @@ -24,17 +24,6 @@ The repository has the following directory tree. ├── project.Rproj ├── rstudio └── software - LICENSE - README.md - README.qmd - README.rmarkdown - docs - firmware - hardware - overleaf - project.Rproj - rstudio - software A short description of the directories can be found below. From 9494069c9b922484b983676a7f3d4e4652c7332f Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:32:38 -0500 Subject: [PATCH 27/60] Update README.qmd --- README.qmd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.qmd b/README.qmd index 72d13a4..10eebc2 100644 --- a/README.qmd +++ b/README.qmd @@ -15,6 +15,8 @@ file_path <- fs::path_real("README.qmd") path_components <- strsplit(as.character(file_path), "/")[[1]] shortened_path <- fs::path_join(path_components[-(1:3)]) ``` +`r file_path` +`r path_components` ## Location: `r shortened_path` From eea7f473e6d655ae8498dcac04a6b44e36c5c0e6 Mon Sep 17 00:00:00 2001 From: NicK4rT Date: Sun, 24 Nov 2024 04:36:43 +0000 Subject: [PATCH 28/60] Render README.qmd files to gfm --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 59d2ff7..6237aed 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ # Smart System Education Platform +/home/runner/work/Smart-System-Platform/Smart-System-Platform/README.qmd +, home, runner, work, Smart-System-Platform, Smart-System-Platform, +README.qmd + ## Location: work/Smart-System-Platform/Smart-System-Platform/README.qmd ### Description From 509873d59bb314eb673fb3fb46dea3d64c995120 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:39:40 -0500 Subject: [PATCH 29/60] Update README.qmd --- README.qmd | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.qmd b/README.qmd index 10eebc2..9d12ca2 100644 --- a/README.qmd +++ b/README.qmd @@ -13,10 +13,8 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(as.character(file_path), "/")[[1]] -shortened_path <- fs::path_join(path_components[-(1:3)]) +shortened_path <- fs::path_join(path_components[-(1:6)]) ``` -`r file_path` -`r path_components` ## Location: `r shortened_path` From bc64fa7554302ecf42657becc08fc209a0cd5ecc Mon Sep 17 00:00:00 2001 From: NicK4rT Date: Sun, 24 Nov 2024 04:43:37 +0000 Subject: [PATCH 30/60] Render README.qmd files to gfm --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 6237aed..30dff73 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,7 @@ # Smart System Education Platform -/home/runner/work/Smart-System-Platform/Smart-System-Platform/README.qmd -, home, runner, work, Smart-System-Platform, Smart-System-Platform, -README.qmd - -## Location: work/Smart-System-Platform/Smart-System-Platform/README.qmd +## Location: README.qmd ### Description From 5a89500aa21de76f376886f46f833c74533e8033 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:46:05 -0500 Subject: [PATCH 31/60] Update README.qmd --- README.qmd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.qmd b/README.qmd index 9d12ca2..433fcd1 100644 --- a/README.qmd +++ b/README.qmd @@ -14,6 +14,9 @@ editor_options: file_path <- fs::path_real("README.qmd") path_components <- strsplit(as.character(file_path), "/")[[1]] shortened_path <- fs::path_join(path_components[-(1:6)]) +if (!startsWith(shortened_path, "/")) { + shortened_path <- paste0("/", shortened_path) +} ``` ## Location: `r shortened_path` From b6e6d1f120056bbbcd4ea322306e78ba6bb409a8 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:48:50 -0500 Subject: [PATCH 32/60] Update README.qmd --- software/README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/README.qmd b/software/README.qmd index dbb8ed5..65bbcdc 100644 --- a/software/README.qmd +++ b/software/README.qmd @@ -14,7 +14,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] -shortened_path <- fs::path_join(path_components[-c(2, 3)]) +shortened_path <- fs::path_join(path_components[-c(2, 6)]) ``` ## Location: `r shortened_path` From 666896f67532d69932c3b6bdec3cbb2932653c74 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:49:29 -0500 Subject: [PATCH 33/60] Update README.qmd --- rstudio/README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rstudio/README.qmd b/rstudio/README.qmd index 32b5513..c7f054d 100644 --- a/rstudio/README.qmd +++ b/rstudio/README.qmd @@ -14,7 +14,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] -shortened_path <- fs::path_join(path_components[-c(2, 3)]) +shortened_path <- fs::path_join(path_components[-c(2, 6)]) ``` ## Location: `r shortened_path` From c18852e62e9f8722e755b9391143b4bba6750b4f Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:49:44 -0500 Subject: [PATCH 34/60] Update exampleREADME.qmd --- rstudio/exampleREADME.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rstudio/exampleREADME.qmd b/rstudio/exampleREADME.qmd index 104cadd..2679880 100644 --- a/rstudio/exampleREADME.qmd +++ b/rstudio/exampleREADME.qmd @@ -14,7 +14,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] -shortened_path <- fs::path_join(path_components[-c(2, 3)]) +shortened_path <- fs::path_join(path_components[-c(2, 6)]) ``` ## Location: `r shortened_path` From 8343168c7e9adc7adfb4d54afb0694b561193512 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:50:04 -0500 Subject: [PATCH 35/60] Update README.qmd --- README.qmd | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.qmd b/README.qmd index 433fcd1..e947d7b 100644 --- a/README.qmd +++ b/README.qmd @@ -13,10 +13,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(as.character(file_path), "/")[[1]] -shortened_path <- fs::path_join(path_components[-(1:6)]) -if (!startsWith(shortened_path, "/")) { - shortened_path <- paste0("/", shortened_path) -} +shortened_path <- fs::path_join(path_components[-c(2, 6)]) ``` ## Location: `r shortened_path` From d140f90b1228e53aebe799fe7a2b3e473687e96b Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:50:18 -0500 Subject: [PATCH 36/60] Update README.qmd --- overleaf/README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overleaf/README.qmd b/overleaf/README.qmd index 809edaa..08fbc32 100644 --- a/overleaf/README.qmd +++ b/overleaf/README.qmd @@ -14,7 +14,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] -shortened_path <- fs::path_join(path_components[-c(2, 3)]) +shortened_path <- fs::path_join(path_components[-c(2, 6)]) ``` ## Location: `r shortened_path` From 0ef37261fa2dabc0fb08c417d5d50651a3984a02 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:50:33 -0500 Subject: [PATCH 37/60] Update README.qmd --- hardware/README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/README.qmd b/hardware/README.qmd index 1ce6c76..b9c1d1b 100644 --- a/hardware/README.qmd +++ b/hardware/README.qmd @@ -14,7 +14,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] -shortened_path <- fs::path_join(path_components[-c(2, 3)]) +shortened_path <- fs::path_join(path_components[-c(2, 6)]) ``` ## Location: `r shortened_path` From 889a9d38780a33ca4706196dbb212a1e342dcbb4 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:50:48 -0500 Subject: [PATCH 38/60] Update README.qmd --- firmware/README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/README.qmd b/firmware/README.qmd index dc81d47..81b1cd4 100644 --- a/firmware/README.qmd +++ b/firmware/README.qmd @@ -14,7 +14,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] -shortened_path <- fs::path_join(path_components[-c(2, 3)]) +shortened_path <- fs::path_join(path_components[-c(2, 6)]) ``` ## Location: `r shortened_path` From ef63ea64ae915a93ef85b6f40a80cf1ee0f59d3f Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:51:16 -0500 Subject: [PATCH 39/60] Update README.qmd --- docs/README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/README.qmd b/docs/README.qmd index 077b38e..5d48a9f 100644 --- a/docs/README.qmd +++ b/docs/README.qmd @@ -14,7 +14,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] -shortened_path <- fs::path_join(path_components[-c(2, 3)]) +shortened_path <- fs::path_join(path_components[-c(2, 6)]) ``` ## Location: `r shortened_path` From 74c22da8b2093ba6a0d7e6cb3555decbe6fc41c5 Mon Sep 17 00:00:00 2001 From: NicK4rT Date: Sun, 24 Nov 2024 04:55:17 +0000 Subject: [PATCH 40/60] Render README.qmd files to gfm --- README.md | 2 +- docs/README.md | 2 +- firmware/README.md | 2 +- hardware/README.md | 2 +- overleaf/README.md | 2 +- rstudio/README.md | 2 +- software/README.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 30dff73..be2de51 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # Smart System Education Platform -## Location: README.qmd +## Location: /runner/work/Smart-System-Platform/README.qmd ### Description diff --git a/docs/README.md b/docs/README.md index 8337693..1352d6c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2,7 +2,7 @@ # Smart System Education Platform -## Location: /work/Smart-System-Platform/Smart-System-Platform/docs/README.qmd +## Location: /runner/work/Smart-System-Platform/docs/README.qmd ### Description diff --git a/firmware/README.md b/firmware/README.md index b415979..8e577f1 100644 --- a/firmware/README.md +++ b/firmware/README.md @@ -2,7 +2,7 @@ # Smart System Education Platform -## Location: /work/Smart-System-Platform/Smart-System-Platform/firmware/README.qmd +## Location: /runner/work/Smart-System-Platform/firmware/README.qmd ### Description diff --git a/hardware/README.md b/hardware/README.md index 8016b1a..3e873fd 100644 --- a/hardware/README.md +++ b/hardware/README.md @@ -2,7 +2,7 @@ # Smart System Education Platform -## Location: /work/Smart-System-Platform/Smart-System-Platform/hardware/README.qmd +## Location: /runner/work/Smart-System-Platform/hardware/README.qmd ### Description diff --git a/overleaf/README.md b/overleaf/README.md index a0d0f52..9be1963 100644 --- a/overleaf/README.md +++ b/overleaf/README.md @@ -2,7 +2,7 @@ # Smart System Education Platform -## Location: /work/Smart-System-Platform/Smart-System-Platform/overleaf/README.qmd +## Location: /runner/work/Smart-System-Platform/overleaf/README.qmd ### Description diff --git a/rstudio/README.md b/rstudio/README.md index d9b85f6..1993b71 100644 --- a/rstudio/README.md +++ b/rstudio/README.md @@ -2,7 +2,7 @@ # Smart System Education Platform -## Location: /work/Smart-System-Platform/Smart-System-Platform/rstudio/README.qmd +## Location: /runner/work/Smart-System-Platform/rstudio/README.qmd ### Description diff --git a/software/README.md b/software/README.md index 2708039..5890c9b 100644 --- a/software/README.md +++ b/software/README.md @@ -2,7 +2,7 @@ # Smart System Education Platform -## Location: /work/Smart-System-Platform/Smart-System-Platform/software/README.qmd +## Location: /runner/work/Smart-System-Platform/software/README.qmd ### Description From 1b822a495bb67ad391ddf20798aa06b361cc969c Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:58:21 -0500 Subject: [PATCH 41/60] Update render-README.yml switched to run on main --- .github/workflows/render-README.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/render-README.yml b/.github/workflows/render-README.yml index 7b90122..098bc12 100644 --- a/.github/workflows/render-README.yml +++ b/.github/workflows/render-README.yml @@ -3,7 +3,7 @@ name: Render README.qmd to Markdown on: push: branches: - - stage + - main jobs: render: @@ -41,8 +41,8 @@ jobs: git commit -m "Render README.qmd files to gfm" || echo "No changes to commit" git fetch origin - git checkout stage || git checkout -b stage + #git checkout stage || git checkout -b stage git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git - git push origin stage + git push origin main From d13dd1eb569f814c454c408b857cc97ecf6bb483 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:58:37 -0500 Subject: [PATCH 42/60] Update README.qmd --- README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.qmd b/README.qmd index e947d7b..8e9063c 100644 --- a/README.qmd +++ b/README.qmd @@ -13,7 +13,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(as.character(file_path), "/")[[1]] -shortened_path <- fs::path_join(path_components[-c(2, 6)]) +shortened_path <- fs::path_join(path_components[-c(2:6)]) ``` ## Location: `r shortened_path` From 9a69f6ad0933938fb0972969ff9f1afb63316ee5 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:58:50 -0500 Subject: [PATCH 43/60] Update README.qmd --- software/README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/README.qmd b/software/README.qmd index 65bbcdc..de7b542 100644 --- a/software/README.qmd +++ b/software/README.qmd @@ -14,7 +14,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] -shortened_path <- fs::path_join(path_components[-c(2, 6)]) +shortened_path <- fs::path_join(path_components[-c(2:6)]) ``` ## Location: `r shortened_path` From 25aa15c875fe5b8c2c4e606f586a53bf42cbb43c Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:59:32 -0500 Subject: [PATCH 44/60] Update README.qmd --- software/networking/README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/networking/README.qmd b/software/networking/README.qmd index 4ce844b..ae6ee9e 100644 --- a/software/networking/README.qmd +++ b/software/networking/README.qmd @@ -14,7 +14,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] -shortened_path <- fs::path_join(path_components[-c(2, 3)]) +shortened_path <- fs::path_join(path_components[-c(2:6)]) ``` ## Location: `r shortened_path` From ddcf410d3ac20d375ee24d6696d4ab0bc6840e2c Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:59:49 -0500 Subject: [PATCH 45/60] Update README.qmd --- software/libraries/README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/libraries/README.qmd b/software/libraries/README.qmd index 624d807..498ac84 100644 --- a/software/libraries/README.qmd +++ b/software/libraries/README.qmd @@ -14,7 +14,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] -shortened_path <- fs::path_join(path_components[-c(2, 3)]) +shortened_path <- fs::path_join(path_components[-c(2:6)]) ``` ## Location: `r shortened_path` From 1001171200b8421e162d4b0c0d3de63757ccf20e Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sun, 24 Nov 2024 00:00:09 -0500 Subject: [PATCH 46/60] Update README.qmd --- software/applications/README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/applications/README.qmd b/software/applications/README.qmd index 4ec3ef4..ba31f9e 100644 --- a/software/applications/README.qmd +++ b/software/applications/README.qmd @@ -14,7 +14,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] -shortened_path <- fs::path_join(path_components[-c(2, 3)]) +shortened_path <- fs::path_join(path_components[-c(2:6)]) ``` #### Location: `r shortened_path` From 5d69e9657ad586adecae996e37a758b5ab2d1248 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sun, 24 Nov 2024 00:00:28 -0500 Subject: [PATCH 47/60] Update README.qmd --- rstudio/README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rstudio/README.qmd b/rstudio/README.qmd index c7f054d..150cff0 100644 --- a/rstudio/README.qmd +++ b/rstudio/README.qmd @@ -14,7 +14,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] -shortened_path <- fs::path_join(path_components[-c(2, 6)]) +shortened_path <- fs::path_join(path_components[-c(2:6)]) ``` ## Location: `r shortened_path` From 6c647267956feacc6df0468c6e6e019ebf921536 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sun, 24 Nov 2024 00:00:38 -0500 Subject: [PATCH 48/60] Update exampleREADME.qmd --- rstudio/exampleREADME.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rstudio/exampleREADME.qmd b/rstudio/exampleREADME.qmd index 2679880..687985e 100644 --- a/rstudio/exampleREADME.qmd +++ b/rstudio/exampleREADME.qmd @@ -14,7 +14,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] -shortened_path <- fs::path_join(path_components[-c(2, 6)]) +shortened_path <- fs::path_join(path_components[-c(2:6)]) ``` ## Location: `r shortened_path` From 8cb9f39dcf55578c68684c0d6e2bc10c4af0eb56 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sun, 24 Nov 2024 00:00:53 -0500 Subject: [PATCH 49/60] Update README.qmd --- overleaf/README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overleaf/README.qmd b/overleaf/README.qmd index 08fbc32..086f091 100644 --- a/overleaf/README.qmd +++ b/overleaf/README.qmd @@ -14,7 +14,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] -shortened_path <- fs::path_join(path_components[-c(2, 6)]) +shortened_path <- fs::path_join(path_components[-c(2:6)]) ``` ## Location: `r shortened_path` From d5fa448b1406f1787db6d47999ad7049f3689d84 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sun, 24 Nov 2024 00:01:08 -0500 Subject: [PATCH 50/60] Update README.qmd --- hardware/README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/README.qmd b/hardware/README.qmd index b9c1d1b..fa9e965 100644 --- a/hardware/README.qmd +++ b/hardware/README.qmd @@ -14,7 +14,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] -shortened_path <- fs::path_join(path_components[-c(2, 6)]) +shortened_path <- fs::path_join(path_components[-c(2:6)]) ``` ## Location: `r shortened_path` From df2548122ef5ec443943d391c453b5f1aa4421a2 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sun, 24 Nov 2024 00:01:22 -0500 Subject: [PATCH 51/60] Update README.qmd --- firmware/README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/README.qmd b/firmware/README.qmd index 81b1cd4..38ea293 100644 --- a/firmware/README.qmd +++ b/firmware/README.qmd @@ -14,7 +14,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] -shortened_path <- fs::path_join(path_components[-c(2, 6)]) +shortened_path <- fs::path_join(path_components[-c(2:6)]) ``` ## Location: `r shortened_path` From 14c5e63b592c95a87320e9efc69a1e5e0cbb36cd Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sun, 24 Nov 2024 00:01:37 -0500 Subject: [PATCH 52/60] Update README.qmd --- docs/README.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/README.qmd b/docs/README.qmd index 5d48a9f..cba7775 100644 --- a/docs/README.qmd +++ b/docs/README.qmd @@ -14,7 +14,7 @@ editor_options: ```{r setup, include=FALSE} file_path <- fs::path_real("README.qmd") path_components <- strsplit(file_path, "/")[[1]] -shortened_path <- fs::path_join(path_components[-c(2, 6)]) +shortened_path <- fs::path_join(path_components[-c(2:6)]) ``` ## Location: `r shortened_path` From 291b064027b9dd8a409c2d9076b9611e371864ea Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sun, 24 Nov 2024 17:00:43 -0500 Subject: [PATCH 53/60] Update render-README.yml --- .github/workflows/render-README.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/render-README.yml b/.github/workflows/render-README.yml index 098bc12..c66a302 100644 --- a/.github/workflows/render-README.yml +++ b/.github/workflows/render-README.yml @@ -13,6 +13,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 with: + ssh-key: ${{ secrets.RENDER_KEY }} persist-credentials: false - name: Set up R uses: r-lib/actions/setup-r@v2 @@ -32,8 +33,6 @@ jobs: done - name: Commit and Push Rendered Files - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git config --local user.name "$GITHUB_ACTOR" git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com" From 680456f8fec48dba632face4986bcbcbcc241510 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sun, 24 Nov 2024 17:12:27 -0500 Subject: [PATCH 54/60] Update render-README.yml From 238e5fd16eae5f64dd41af6a396f427922227a20 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sun, 24 Nov 2024 17:24:29 -0500 Subject: [PATCH 55/60] Update render-README.yml --- .github/workflows/render-README.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/render-README.yml b/.github/workflows/render-README.yml index c66a302..04e9909 100644 --- a/.github/workflows/render-README.yml +++ b/.github/workflows/render-README.yml @@ -11,10 +11,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ssh-key: ${{ secrets.RENDER_KEY }} - persist-credentials: false + #persist-credentials: false - name: Set up R uses: r-lib/actions/setup-r@v2 From 0943191363ed9bad4e3660e3a3fc93bb5e240c22 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Tue, 26 Nov 2024 15:28:15 -0500 Subject: [PATCH 56/60] Create release-pipeline.yml --- .github/workflows/release-pipeline.yml | 72 ++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 .github/workflows/release-pipeline.yml diff --git a/.github/workflows/release-pipeline.yml b/.github/workflows/release-pipeline.yml new file mode 100644 index 0000000..26a22e6 --- /dev/null +++ b/.github/workflows/release-pipeline.yml @@ -0,0 +1,72 @@ +name: Check and Copy Updated Files + +on: + push: + branches: + - main + +jobs: + check-and-copy: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Parse File List from software/release/README.qmd + id: parse + run: | + cd software + cd release + + # Extract the table section and parse the file paths + raw_file_list=$(awk '/\| name/ {f=1; next} /\|----/ {next} f && /\|/ {print $2}' README.qmd | tr -d ' ') + + # Add the software/ prefix to each file path + file_list=$(echo "$raw_file_list" | sed 's/^/software\//') + + # Output the file list + echo "Files to monitor:" + echo "$file_list" + + # Save to an environment variable for later use + echo "file_list=$file_list" >> $GITHUB_ENV + + - name: Identify Changed Files + id: changes + run: | + # Identify changed files in this push + changed_files=$(git diff --name-only ${{ github.event.before }} HEAD) + + # Filter to include only monitored files + updated_files=() + for file in $file_list; do + if echo "$changed_files" | grep -q "^$file$"; then + updated_files+=("$file") + fi + done + + # Save the list of updated files to an output file + if [ ${#updated_files[@]} -eq 0 ]; then + echo "No monitored files were updated." + echo "updated_files=" >> $GITHUB_ENV + else + echo "The following monitored files were updated:" + printf "%s\n" "${updated_files[@]}" + printf "%s\n" "${updated_files[@]}" > updated_files.txt + echo "updated_files=$(printf "%s " "${updated_files[@]}")" >> $GITHUB_ENV + fi + + - name: Copy Updated Files to Release Folder + if: env.updated_files != "" + run: | + mkdir -p release # Ensure the release folder exists + while read file; do + cp "$file" release/ # Copy files directly to the root of the release folder + done < updated_files.txt + + - name: List Files in Release Folder + if: env.updated_files != "" + run: | + echo "Files copied to the release folder:" + find release -type f From f3269b6faa4c74a8e4124b32f086beaeffeb4081 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Tue, 26 Nov 2024 15:30:37 -0500 Subject: [PATCH 57/60] Update release-pipeline.yml --- .github/workflows/release-pipeline.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-pipeline.yml b/.github/workflows/release-pipeline.yml index 26a22e6..88330b0 100644 --- a/.github/workflows/release-pipeline.yml +++ b/.github/workflows/release-pipeline.yml @@ -21,7 +21,7 @@ jobs: # Extract the table section and parse the file paths raw_file_list=$(awk '/\| name/ {f=1; next} /\|----/ {next} f && /\|/ {print $2}' README.qmd | tr -d ' ') - + # Add the software/ prefix to each file path file_list=$(echo "$raw_file_list" | sed 's/^/software\//') @@ -58,7 +58,7 @@ jobs: fi - name: Copy Updated Files to Release Folder - if: env.updated_files != "" + if: ${{ env.updated_files != '' }} run: | mkdir -p release # Ensure the release folder exists while read file; do @@ -66,7 +66,7 @@ jobs: done < updated_files.txt - name: List Files in Release Folder - if: env.updated_files != "" + if: ${{ env.updated_files != '' }} run: | echo "Files copied to the release folder:" find release -type f From 243f3b7bde7d01f66cb3e3b348fd76115e2e516d Mon Sep 17 00:00:00 2001 From: Nick Art Date: Tue, 26 Nov 2024 15:44:00 -0500 Subject: [PATCH 58/60] insightful commit message --- .DS_Store | Bin 12292 -> 12292 bytes .github/.DS_Store | Bin 0 -> 6148 bytes .github/workflows/render-README.yml | 2 +- .gitignore | 2 ++ 4 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .github/.DS_Store diff --git a/.DS_Store b/.DS_Store index 9720e53693e55910db9e6ab8b2da07d7d25842ad..b8ea25efcc4985c828b7725e0e41115ecd9632c6 100644 GIT binary patch delta 559 zcmZokXi1ph&uF?aUAg1tpl-HnVfEa4@P(7GM4w3{`MCu^F&Kc$<>tG%K<(fVGj4qGy7HJKP!W=R3SRkw3=Ff` z8GJT-33;&+f$wlIYOzaaj zKNWw-#>h9BM?tb)YAZL`U3v`Z44Dii$nH+BE84mr=5Dw=!rj>9QQYlz0TeFm3{brc z84RTiNh!t2IZ65XIgDUyCwD4XF(StTFyINr0%Pao8bv9l#h#mIC~jtDd%+|$SFU1m apn4t)&`40=Xl!QD_{y^Rfl4+LHdz3iPLHYp delta 282 zcmZokXi1phpKUF(;+%9Og)&RpHg8ni%sRP6U1V~FdctHDNfn@DCu>P6Y-ZK? S!ZP{4V#4Mk)lZC=3giK*!%fcs diff --git a/.github/.DS_Store b/.github/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..36b372c72cba58418798b30534145e40b446efdb GIT binary patch literal 6148 zcmeHKJ5EC}5S)b+K{P2TeTCe>ioyxF0D>q@p7bOlMEfevm7_8HDTp3)NfXUV>#^56 zwmik#w*YMOxmyD(086?fzI~XR@4L_Jt|CUH^Nc+PjQGNFcbsMa9dPag86!S$_|1PG z-o|n8ZJ8910#ZN7!Kn+ zdI@6l0I?TNiHy)Jsl=pOwHTIk##`m}!YMK7uxdW6Zno-BENN(xAUn^M3Q+n4QzPpaBFdz{zWMt`My&WY~Ec~Ce+IVMIq=EBSI dQzT_x^Evl>;glG3#)D4O&w%S9lLFUP;0L2O71{s* literal 0 HcmV?d00001 diff --git a/.github/workflows/render-README.yml b/.github/workflows/render-README.yml index 04e9909..7702980 100644 --- a/.github/workflows/render-README.yml +++ b/.github/workflows/render-README.yml @@ -44,4 +44,4 @@ jobs: git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git - git push origin main + git push origin main \ No newline at end of file diff --git a/.gitignore b/.gitignore index 5b6a065..bbc19dc 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ .Rhistory .RData .Ruserdata +keys/ACTIONS_RENDER +keys/ACTIONS_RENDER.pub From 5f7b0ef1f6e83334aa9adbd1156af6ceed4b77b9 Mon Sep 17 00:00:00 2001 From: Nick Art Date: Tue, 26 Nov 2024 15:53:46 -0500 Subject: [PATCH 59/60] cries even harder --- .github/.DS_Store | Bin 6148 -> 15121 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/.github/.DS_Store b/.github/.DS_Store index 36b372c72cba58418798b30534145e40b446efdb..ea04a6a0d9dbebe8ed8700153d9b0485b6316ac1 100644 GIT binary patch literal 15121 zcmeHOd2`!D6yN8jjjVK1we(O;DW;(VgplSikU|SN%LIB&k~Zl#$LDcVE3?>+6lL;Lo5BZQ#&jxj03gb+eO;!-<`?2q4m z6{5O1qTWa6dZ^-z~6@|5|^`K zDR&Fp!i}7}@c>s~)jlGqOcpTmX zs^u;&hFnkpg8TIEzqC;>FLN|ouJIS3(=nGS4_Fb~QgX%~5)4MUw+u7bubm7t^V>s) z8K{@YFbBP_3^UMuWH=z62va;0UdH;Q>}VK8=4QcT{S2`VTxO?tcVTIlrO{1(IyEy^ zo%y)-idGlTDlMt>jFa*?JsmUW8ER~0F^!~k?FW~ZiG0_fxGt8(f>;ta#j03JOQwVu z0qUdp&2dHIDu{4)AU~jisNgNKGgMa|x^HqPT%_9P6x+ zra*52E{PV`CBB-$|Dg{BVC+j{5OeV`i;gg`*1MVa2iSY*Vg~m$)5Of|(t0?=UO@&T zse@0!xr7epAYW+U{*Ylxw0oxkO%V!Y%M6gQ@po(f3t4=!M0C&)zpYMUozlj92AH6Afqp z9{ml zvugclZfeIoMCX?Ac)M+O5tUnSx^}1Kc$?bsX5DUf?7DBx*){`v8@~C}=h}VGZTkxn za8uJdp1EQI&gzV1Uz9N&6une970%ka1F)xDe9~~arw7XNi7YPPL|G=Dgj4Ikw3o?b4XT7AEHQFWf(Ir?ew+D%C)c5^z4;f(UK6W+h!5^x=+TD*O|avVZ6#iM&5#%14sNVDnq?v@1~rSrYN5$aQ0h=Yk?B zx1$KMFpr9>;6TBFf&&Ey4hJll;ONKFe*b(@u&Urd!GYJ912nL>x;T#sM*HIITuW%E zB7KL%FxU$q=L=5~2^j4^Y833B& BD8c{$ From 2bf00fae395620820344a8e01397d59e4cc645ac Mon Sep 17 00:00:00 2001 From: Nick Art Date: Tue, 26 Nov 2024 15:59:55 -0500 Subject: [PATCH 60/60] cries even harder --- .DS_Store | Bin 12292 -> 12292 bytes .github/workflows/render-README.yml | 2 +- .gitignore | 2 ++ 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.DS_Store b/.DS_Store index b8ea25efcc4985c828b7725e0e41115ecd9632c6..9720e53693e55910db9e6ab8b2da07d7d25842ad 100644 GIT binary patch delta 282 zcmZokXi1phpKUF(;+%9Og)&RpHg8ni%sRP6U1V~FdctHDNfn@DCu>P6Y-ZK? S!ZP{4V#4Mk)lZC=3giK*!%fcs delta 559 zcmZokXi1ph&uF?aUAg1tpl-HnVfEa4@P(7GM4w3{`MCu^F&Kc$<>tG%K<(fVGj4qGy7HJKP!W=R3SRkw3=Ff` z8GJT-33;&+f$wlIYOzaaj zKNWw-#>h9BM?tb)YAZL`U3v`Z44Dii$nH+BE84mr=5Dw=!rj>9QQYlz0TeFm3{brc z84RTiNh!t2IZ65XIgDUyCwD4XF(StTFyINr0%Pao8bv9l#h#mIC~jtDd%+|$SFU1m apn4t)&`40=Xl!QD_{y^Rfl4+LHdz3iPLHYp diff --git a/.github/workflows/render-README.yml b/.github/workflows/render-README.yml index 7702980..04e9909 100644 --- a/.github/workflows/render-README.yml +++ b/.github/workflows/render-README.yml @@ -44,4 +44,4 @@ jobs: git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git - git push origin main \ No newline at end of file + git push origin main diff --git a/.gitignore b/.gitignore index bbc19dc..f5e8672 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ .Ruserdata keys/ACTIONS_RENDER keys/ACTIONS_RENDER.pub +.github/.DS_Store +.DS_Store