git migration

This commit is contained in:
2022-12-23 10:58:29 +01:00
commit 68657ba764
4 changed files with 65 additions and 0 deletions

17
libs.txt Normal file
View File

@@ -0,0 +1,17 @@
libs/Accelstepper
libs/ADS_ADS1x15
libs/BatterySense
libs/ESP8266Audio
libs/JCButton
libs/LittleFS_esp32
libs/MC34933
libs/OLEDDisplay
libs/PWMFrequency
libs/Radiohead
libs/rc-radio
libs/RF24
libs/rfid.C95HF
libs/RFID.MFRC522
libs/rfid.PN532
libs/rfid.PN523_SPI
libs/rfid.NDEF

25
migrate.sh Executable file
View File

@@ -0,0 +1,25 @@
#!/bin/bash
# Usage:
# Create the repo in Github, and then give the repo name as the argument:
# ./migrate-git-repos.sh repo-name
#(Optional) Mass migration
#To do this in mass, I put each repo name on its own line in a file named repo-list, and looped through them with:
# for repo in $(cat repo-list); do ./migrate-git-repos.sh $repo; done
# Echo commands as they're run, and expand variables
set -o xtrace
REPO="$1"
git clone --mirror http://192.168.2.3:3000/$REPO.git old_repo
cd old_repo
git remote set-url origin http://debianVM.local:3000/$REPO.git
git push --mirror
cd ..
rm -rf old_repo

19
projects.txt Normal file
View File

@@ -0,0 +1,19 @@
projects/lamatrix
projects/UDM_tmobile
projects/Smartknob
projects/VW_bus_firmware
projects/AQS-FW
projects/rc-micro-car
projects/rtl_433_esp
projects/reflowplate
projects/P1-wifi-esp12e
projects/mailboxcheckerMQTT
projects/lvgl_test_esp32
projects/evDash
projects/esp-weather-station
projects/esp32Nixie
projects/esp32_camera
projects/digitalTubes
projects/clockclock
projects/rc-transmitter
projects/RX5808-pro-OSD

4
projects_leo Normal file
View File

@@ -0,0 +1,4 @@
projects_leo/muziekdoos
projects_leo/Leo-led-truck
projects_leo/headphones
projects_leo/ttgo_smartwatch_prox