From 427da3ef60dbc1f90b0655651cb7749efa557f04 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 2 Jul 2021 15:48:00 +0200 Subject: [PATCH] Add 2 more repos --- Data/git-repos.csv | 46 +++++++++++++++++++++-------------------- Scripts/clone-repos.ps1 | 5 ++--- 2 files changed, 26 insertions(+), 25 deletions(-) diff --git a/Data/git-repos.csv b/Data/git-repos.csv index 2339747f..e23be8b9 100644 --- a/Data/git-repos.csv +++ b/Data/git-repos.csv @@ -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" diff --git a/Scripts/clone-repos.ps1 b/Scripts/clone-repos.ps1 index 11da2cbf..654ad009 100755 --- a/Scripts/clone-repos.ps1 +++ b/Scripts/clone-repos.ps1 @@ -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" }