Add 2 more repos

This commit is contained in:
Markus Fleschutz 2021-07-02 15:48:00 +02:00
parent f012228245
commit 427da3ef60
2 changed files with 26 additions and 25 deletions

View File

@ -1,22 +1,24 @@
AppName,FolderName,Branch,Shallow,URL Category,FolderName,Branch,Shallow,URL
B256U, base256unicode, master, no, "https://github.com/fleschutz/base256unicode" Dev, base256unicode,master, no, "https://github.com/fleschutz/base256unicode"
Bazel, bazel, master, yes, "https://github.com/bazelbuild/bazel" Dev, bazel, master, yes, "https://github.com/bazelbuild/bazel"
CMake, cmake, master, yes, "https://github.com/Kitware/CMake" Dev, cmake, master, yes, "https://github.com/Kitware/CMake"
CMatrix, cmatrix, master, yes, "https://github.com/abishekvashok/cmatrix" Fun, cmatrix, master, yes, "https://github.com/abishekvashok/cmatrix"
CMark, cmark, master, yes, "https://github.com/commonmark/cmark" Tool, cmark, master, yes, "https://github.com/commonmark/cmark"
CWTS, CWTS, master, no, "https://github.com/fleschutz/CWTS" Dev, CWTS, master, no, "https://github.com/fleschutz/CWTS"
ElasticSearch, elasticsearch, master, yes, "https://github.com/elastic/elasticsearch" Tool, elasticsearch, master, yes, "https://github.com/elastic/elasticsearch"
Grafana, grafana, main, yes, "https://github.com/grafana/grafana" Tool, go-ipfs, master, yes, "https://github.com/ipfs/go-ipfs"
LLVM, llvm, master, yes, "https://github.com/llvm/llvm-project" Tool, grafana, main, yes, "https://github.com/grafana/grafana"
Ninja, ninja, master, yes, "git://github.com/ninja-build/ninja.git" Dev, llvm, master, yes, "https://github.com/llvm/llvm-project"
OpenCV, opencv, master, yes, "https://github.com/opencv/opencv" Dev, ninja, master, yes, "git://github.com/ninja-build/ninja.git"
OSMA, OSMA, master, no, "https://github.com/fleschutz/OSMA" Libs, opencv, master, yes, "https://github.com/opencv/opencv"
PowerShell, PowerShell, master, no, "https://github.com/fleschutz/PowerShell" Tool, OSMA, master, no, "https://github.com/fleschutz/OSMA"
LSS, LSS, master, yes, "https://github.com/fleschutz/LSS" Shell, PowerShell, master, no, "https://github.com/fleschutz/PowerShell"
ProtoBuf, protobuf, master, yes, "https://github.com/protocolbuffers/protobuf" Shell, pwsh, master, yes, "https://github.com/PowerShell/PowerShell"
SmartMonTools, smartmontools, master, yes, "https://github.com/smartmontools/smartmontools" Math, LSS, master, yes, "https://github.com/fleschutz/LSS"
Tensorflow, tensorflow, master, yes, "https://github.com/tensorflow/tensorflow" Dev, protobuf, master, yes, "https://github.com/protocolbuffers/protobuf"
Windows Terminal,terminal, main, yes, "https://github.com/microsoft/terminal" Tool, smartmontools, master, yes, "https://github.com/smartmontools/smartmontools"
TinyCC, tinycc, mob, yes, "https://github.com/TinyCC/tinycc" Tool, tensorflow, master, yes, "https://github.com/tensorflow/tensorflow"
Voice2Json, voice2json, master, yes, "https://github.com/synesthesiam/voice2json" Tool, terminal, main, yes, "https://github.com/microsoft/terminal"
ZFS, zfs, master, yes, "https://github.com/openzfs/zfs" Dev, tinycc, mob, yes, "https://github.com/TinyCC/tinycc"
Tool, voice2json, master, yes, "https://github.com/synesthesiam/voice2json"
Tool, zfs, master, yes, "https://github.com/openzfs/zfs"

Can't render this file because it has a wrong number of fields in line 2.

View File

@ -19,7 +19,6 @@ try {
[int]$Count = 0 [int]$Count = 0
foreach($Row in $Table) { foreach($Row in $Table) {
[string]$AppName = $Row.AppName
[string]$FolderName = $Row.FolderName [string]$FolderName = $Row.FolderName
[string]$Branch = $Row.Branch [string]$Branch = $Row.Branch
[string]$Shallow = $Row.Shallow [string]$Shallow = $Row.Shallow
@ -30,10 +29,10 @@ try {
continue continue
} }
if ($Shallow -eq "yes") { if ($Shallow -eq "yes") {
"🢃 Cloning $AppName into 📂$FolderName, $Branch branch, shallow..." "🢃 Cloning to 📂$FolderName, $Branch branch, shallow..."
& git clone --branch "$Branch" --depth 1 --shallow-submodules --recurse-submodules "$URL" "$ParentDir/$FolderName" & git clone --branch "$Branch" --depth 1 --shallow-submodules --recurse-submodules "$URL" "$ParentDir/$FolderName"
} else { } else {
"🢃 Cloning $AppName into 📂$FolderName, $Branch branch, full history..." "🢃 Cloning to 📂$FolderName, $Branch branch, full history..."
& git clone --branch "$Branch" --recurse-submodules "$URL" "$ParentDir/$FolderName" & git clone --branch "$Branch" --recurse-submodules "$URL" "$ParentDir/$FolderName"
} }
if ($lastExitCode -ne "0") { throw "'git clone $URL' failed" } if ($lastExitCode -ne "0") { throw "'git clone $URL' failed" }