From e6387d4d5aedecfa0b1790f703c60dc3d513f22c Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Mon, 18 Aug 2025 18:34:26 -0600 Subject: [PATCH] awooo --- .gitignore | 4 --- scratch.txt | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++ todo.txt | 7 +++++ 3 files changed, 83 insertions(+), 4 deletions(-) create mode 100644 scratch.txt create mode 100644 todo.txt diff --git a/.gitignore b/.gitignore index e7e0020..f49f42e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,4 @@ -todo.txt -scratch.txt -test-scratch.sh *.bak *.old old -scratch .vscode diff --git a/scratch.txt b/scratch.txt new file mode 100644 index 0000000..874909a --- /dev/null +++ b/scratch.txt @@ -0,0 +1,76 @@ +nuke: + no --single-branch + Git clone completed in 566 seconds + Installer completed in 251 seconds + Extra tools installer completed in 138 seconds + reinstall completed in 957 seconds + with --single-branch + Git CLONE completed in 398 seconds # markedly faster + Installer completed in 277 seconds # slightly slower + Extra tools installer completed in 169 seconds # slighly slower + reinstall completed in 846 seconds # still a bit faster + +further study is required + + +exportCatChk +pkgInstallChk # doesnt always runnn +gitChk # is set by eithr clone or pull +installChk +toolsInstallChk # usually errors~ +exportSedReturnChk +exportSedVersionChk +exportSedDateChk +exportSedHashChk +aliasRunEspReinstallChk +aliasEspMonitorchk +aliasEspLogsChk +aliasInstallDirChk + +x warnChk // after loop of warning users +x logoutChk // after loop of logging out users +x gitLogChk // after apppending the git log to $versionData +x gitHashChk // on get git hash +x rmIdfDirChk // on delete esp-idf dir +x rmEspressifChk // on delete .espressif dir +x mkInstallDirChk // on create install dir +x restoreExportScriptChk // on restoring the export.sh.bak +x rmExportScriptCh // on deleting export script +x backupExportScriptChk // on backing up the new export.sh.bak +x customBinExecChk // on making custom scripts executable +x cpCustomBinChk // copying the new custom scripts +x rmCustomBinChk // on delete custom bins dir +sleepChk // on wake from sleep\ + +# default values for retcodes +exportCatChk=0 +pkgInstallChk=0 +gitChk=0 +installChk=0 +toolsInstallChk=0 +exportSedReturnChk=0 +exportSedVersionChk=0 +exportSedDateChk=0 +exportSedHashChk=0 +aliasRunEspReinstallChk=0 +aliasEspMonitorchk=0 +aliasEspLogsChk=0 +aliasInstallDirChk=0 +warnChk=0 +logoutChk=0 +gitLogChk=0 +gitHashChk=0 +rmIdfDirChk=0 +rmEspressifChk=0 +mkInstallDirChk=0 +restoreExportScriptChk=0 +rmExportScriptChk=0 +backupExportScriptChk=0 +customBinExecChk=0 +cpCustomBinChk=0 +rmCustomBinChk=0 +sleepChk=0 +rmExportBackupChk=0 + + +shutdown -k "message" // send out warning and disable logins, but do not shutdown \ No newline at end of file diff --git a/todo.txt b/todo.txt new file mode 100644 index 0000000..59aef86 --- /dev/null +++ b/todo.txt @@ -0,0 +1,7 @@ +add an "\n# esp-idf-tools" comment to rcfile if none present before appending aliases and shit +get a list of branches to view when inputting branch name in interactive/install/i +install.sh for curl -s github/install.sh | "$SHELL" installation +interactive/install/i seems to not work properly. variable scope? +get update properly workan frong +option on the other two repos +test da shit proper in bash finafrickingly lmfao \ No newline at end of file