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
B256U, base256unicode, master, no, "https://github.com/fleschutz/base256unicode"
Bazel, bazel, master, yes, "https://github.com/bazelbuild/bazel"
CMake, cmake, master, yes, "https://github.com/Kitware/CMake"
CMatrix, cmatrix, master, yes, "https://github.com/abishekvashok/cmatrix"
CMark, cmark, master, yes, "https://github.com/commonmark/cmark"
CWTS, CWTS, master, no, "https://github.com/fleschutz/CWTS"
ElasticSearch, elasticsearch, master, yes, "https://github.com/elastic/elasticsearch"
Grafana, grafana, main, yes, "https://github.com/grafana/grafana"
LLVM, llvm, master, yes, "https://github.com/llvm/llvm-project"
Ninja, ninja, master, yes, "git://github.com/ninja-build/ninja.git"
OpenCV, opencv, master, yes, "https://github.com/opencv/opencv"
OSMA, OSMA, master, no, "https://github.com/fleschutz/OSMA"
PowerShell, PowerShell, master, no, "https://github.com/fleschutz/PowerShell"
LSS, LSS, master, yes, "https://github.com/fleschutz/LSS"
ProtoBuf, protobuf, master, yes, "https://github.com/protocolbuffers/protobuf"
SmartMonTools, smartmontools, master, yes, "https://github.com/smartmontools/smartmontools"
Tensorflow, tensorflow, master, yes, "https://github.com/tensorflow/tensorflow"
Windows Terminal,terminal, main, yes, "https://github.com/microsoft/terminal"
TinyCC, tinycc, mob, yes, "https://github.com/TinyCC/tinycc"
Voice2Json, voice2json, master, yes, "https://github.com/synesthesiam/voice2json"
ZFS, zfs, master, yes, "https://github.com/openzfs/zfs"
Category,FolderName,Branch,Shallow,URL
Dev, base256unicode,master, no, "https://github.com/fleschutz/base256unicode"
Dev, bazel, master, yes, "https://github.com/bazelbuild/bazel"
Dev, cmake, master, yes, "https://github.com/Kitware/CMake"
Fun, cmatrix, master, yes, "https://github.com/abishekvashok/cmatrix"
Tool, cmark, master, yes, "https://github.com/commonmark/cmark"
Dev, CWTS, master, no, "https://github.com/fleschutz/CWTS"
Tool, elasticsearch, master, yes, "https://github.com/elastic/elasticsearch"
Tool, go-ipfs, master, yes, "https://github.com/ipfs/go-ipfs"
Tool, grafana, main, yes, "https://github.com/grafana/grafana"
Dev, llvm, master, yes, "https://github.com/llvm/llvm-project"
Dev, ninja, master, yes, "git://github.com/ninja-build/ninja.git"
Libs, opencv, master, yes, "https://github.com/opencv/opencv"
Tool, OSMA, master, no, "https://github.com/fleschutz/OSMA"
Shell, PowerShell, master, no, "https://github.com/fleschutz/PowerShell"
Shell, pwsh, master, yes, "https://github.com/PowerShell/PowerShell"
Math, LSS, master, yes, "https://github.com/fleschutz/LSS"
Dev, protobuf, master, yes, "https://github.com/protocolbuffers/protobuf"
Tool, smartmontools, master, yes, "https://github.com/smartmontools/smartmontools"
Tool, tensorflow, master, yes, "https://github.com/tensorflow/tensorflow"
Tool, terminal, main, yes, "https://github.com/microsoft/terminal"
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
foreach($Row in $Table) {
[string]$AppName = $Row.AppName
[string]$FolderName = $Row.FolderName
[string]$Branch = $Row.Branch
[string]$Shallow = $Row.Shallow
@ -30,10 +29,10 @@ try {
continue
}
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"
} 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"
}
if ($lastExitCode -ne "0") { throw "'git clone $URL' failed" }