Skip to content
Permalink
Browse files

removed bin/obj/.vs folders

  • Loading branch information...
p3root committed Mar 11, 2019
1 parent 16a08c1 commit ed84f551ce15fca9575ce988f5812fc54c2d49f7
Showing with 223 additions and 0 deletions.
  1. BIN bin/splitsh-lite
  2. +13 −0 bin/subtree-release
  3. +105 −0 bin/subtree-split
  4. +105 −0 bin/subtree-split-ci
BIN +3.33 MB bin/splitsh-lite
Binary file not shown.
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

set -e
set -x

CURRENT_BRANCH=`git rev-parse --abbrev-ref HEAD`
LAST_TAG=`git tag -l --sort=committerdate | tail -n1`

function split()
{
SHA1_TAG=`./bin/splitsh-lite --prefix=$1 --target=tags/$LAST_TAG`
git push $2 "$SHA1_TAG:$CURRENT_BRANCH" $LAST_TAG
}
@@ -0,0 +1,105 @@
#!/usr/bin/env bash

set -e
set -x

CURRENT_BRANCH=`git rev-parse --abbrev-ref HEAD`

function split()
{

#split_new_repo $1 $2

SHA1=`./bin/splitsh-lite --prefix=$1`

echo $SHA1
git push $2 "$SHA1:$CURRENT_BRANCH" -f

# Use this to split a new branch
#git push $2 "$SHA1:refs/heads/$CURRENT_BRANCH"
}

function split_new_repo()
{
TMP_DIR="/tmp/enqueue-repo"
REMOTE_URL=`git remote get-url $2`

rm -rf $TMP_DIR;
mkdir $TMP_DIR;

(
cd $TMP_DIR;
git clone $REMOTE_URL .;
git checkout master;
touch foobar;
git add foobar;
git commit -m "foo";
git push origin master -f;
);

SHA1=`./bin/splitsh-lite --prefix=$1`
git fetch $2
git push $2 "$SHA1:master" -f
}


function remote()
{
git remote add $1 $2 || true
}

remote automatica.driver.automatica.remote git@github.com:automatica-core/automatica.driver.automatica.remote.git
remote automatica.driver.constants git@github.com:automatica-core/automatica.driver.constants.git
remote automatica.driver.enocean git@github.com:automatica-core/automatica.driver.enocean.git
remote automatica.driver.froniussymo git@github.com:automatica-core/automatica.driver.froniussymo.git
remote automatica.driver.homekit git@github.com:automatica-core/automatica.driver.homekit.git
remote automatica.driver.huebridgesimulator git@github.com:automatica-core/automatica.driver.huebridgesimulator.git
remote automatica.driver.ikeatradfri git@github.com:automatica-core/automatica.driver.ikeatradfri.git
remote automatica.driver.knx git@github.com:automatica-core/automatica.driver.knx.git
remote automatica.driver.loxone.miniserver git@github.com:automatica-core/automatica.driver.loxone.miniserver.git
remote automatica.driver.machineflags git@github.com:automatica-core/automatica.driver.machineflags.git
remote automatica.driver.mbus git@github.com:automatica-core/automatica.driver.mbus.git
remote automatica.driver.modbus git@github.com:automatica-core/automatica.driver.modbus.git
remote automatica.driver.openweathermap.driver git@github.com:automatica-core/automatica.driver.openweathermap.driver.git
remote automatica.driver.times git@github.com:automatica-core/automatica.driver.times.git
remote automatica.driver.wakeonlan git@github.com:automatica-core/automatica.driver.wakeonlan.git
remote automatica.driver.zwave git@github.com:automatica-core/automatica.driver.zwave.git

remote automatica.logic.compare.baseoperations git@github.com:automatica-core/automatica.logic.compare.baseoperations.git
remote automatica.logic.digitaltoanalog git@github.com:automatica-core/automatica.logic.digitaltoanalog.git
remote automatica.logic.enocean git@github.com:automatica-core/automatica.logic.enocean.git
remote automatica.logic.logic.baseoperations git@github.com:automatica-core/automatica.logic.logic.baseoperations.git
remote automatica.logic.math.basicoperations git@github.com:automatica-core/automatica.logic.math.basicoperations.git
remote automatica.logic.messenger git@github.com:automatica-core/automatica.logic.messenger.git
remote automatica.logic.surveillance git@github.com:automatica-core/automatica.logic.surveillance.git
remote automatica.logic.time git@github.com:automatica-core/automatica.logic.time.git


split src/automatica.drivers/automatica.driver.automatica.remote automatica.driver.automatica.remote
split src/automatica.drivers/automatica.driver.constants automatica.driver.constants
split src/automatica.drivers/automatica.driver.enocean automatica.driver.enocean
split src/automatica.drivers/automatica.driver.froniussymo automatica.driver.froniussymo
split src/automatica.drivers/automatica.driver.homekit automatica.driver.homekit
split src/automatica.drivers/automatica.driver.huebridgesimulator automatica.driver.huebridgesimulator
split src/automatica.drivers/automatica.driver.ikeatradfri automatica.driver.ikeatradfri
split src/automatica.drivers/automatica.driver.knx automatica.driver.knx
split src/automatica.drivers/automatica.driver.loxone.miniserver automatica.driver.loxone.miniserver
split src/automatica.drivers/automatica.driver.machineflags automatica.driver.machineflags
split src/automatica.drivers/automatica.driver.mbus automatica.driver.mbus
split src/automatica.drivers/automatica.driver.modbus automatica.driver.modbus
split src/automatica.drivers/automatica.driver.openweathermap.driver automatica.driver.openweathermap.driver
split src/automatica.drivers/automatica.driver.times automatica.driver.times
split src/automatica.drivers/automatica.driver.wakeonlan automatica.driver.wakeonlan
split src/automatica.drivers/automatica.driver.zwave automatica.driver.zwave

split src/automatica.logics/automatica.logic.compare.baseoperations automatica.logic.compare.baseoperations
split src/automatica.logics/automatica.logic.digitaltoanalog automatica.logic.digitaltoanalog
split src/automatica.logics/automatica.logic.enocean automatica.logic.enocean
split src/automatica.logics/automatica.logic.logic.baseoperations automatica.logic.logic.baseoperations
split src/automatica.logics/automatica.logic.math.basicoperations automatica.logic.math.basicoperations
split src/automatica.logics/automatica.logic.messenger automatica.logic.messenger
split src/automatica.logics/automatica.logic.surveillance automatica.logic.surveillance
split src/automatica.logics/automatica.logic.time automatica.logic.time



@@ -0,0 +1,105 @@
#!/usr/bin/env bash

set -e
set -x

CURRENT_BRANCH=$1

function split()
{

#split_new_repo $1 $2

SHA1=`./bin/splitsh-lite --prefix=$1`

echo $SHA1
git push $2 "$SHA1:$CURRENT_BRANCH" -f

# Use this to split a new branch
#git push $2 "$SHA1:refs/heads/$CURRENT_BRANCH"
}

function split_new_repo()
{
TMP_DIR="/tmp/enqueue-repo"
REMOTE_URL=`git remote get-url $2`

rm -rf $TMP_DIR;
mkdir $TMP_DIR;

(
cd $TMP_DIR;
git clone $REMOTE_URL .;
git checkout master;
touch foobar;
git add foobar;
git commit -m "foo";
git push origin master -f;
);

SHA1=`./bin/splitsh-lite --prefix=$1`
git fetch $2
git push $2 "$SHA1:master" -f
}


function remote()
{
git remote add $1 $2 || true
}

remote automatica.driver.automatica.remote git@github.com:automatica-core/automatica.driver.automatica.remote.git
remote automatica.driver.constants git@github.com:automatica-core/automatica.driver.constants.git
remote automatica.driver.enocean git@github.com:automatica-core/automatica.driver.enocean.git
remote automatica.driver.froniussymo git@github.com:automatica-core/automatica.driver.froniussymo.git
remote automatica.driver.homekit git@github.com:automatica-core/automatica.driver.homekit.git
remote automatica.driver.huebridgesimulator git@github.com:automatica-core/automatica.driver.huebridgesimulator.git
remote automatica.driver.ikeatradfri git@github.com:automatica-core/automatica.driver.ikeatradfri.git
remote automatica.driver.knx git@github.com:automatica-core/automatica.driver.knx.git
remote automatica.driver.loxone.miniserver git@github.com:automatica-core/automatica.driver.loxone.miniserver.git
remote automatica.driver.machineflags git@github.com:automatica-core/automatica.driver.machineflags.git
remote automatica.driver.mbus git@github.com:automatica-core/automatica.driver.mbus.git
remote automatica.driver.modbus git@github.com:automatica-core/automatica.driver.modbus.git
remote automatica.driver.openweathermap.driver git@github.com:automatica-core/automatica.driver.openweathermap.driver.git
remote automatica.driver.times git@github.com:automatica-core/automatica.driver.times.git
remote automatica.driver.wakeonlan git@github.com:automatica-core/automatica.driver.wakeonlan.git
remote automatica.driver.zwave git@github.com:automatica-core/automatica.driver.zwave.git

remote automatica.logic.compare.baseoperations git@github.com:automatica-core/automatica.logic.compare.baseoperations.git
remote automatica.logic.digitaltoanalog git@github.com:automatica-core/automatica.logic.digitaltoanalog.git
remote automatica.logic.enocean git@github.com:automatica-core/automatica.logic.enocean.git
remote automatica.logic.logic.baseoperations git@github.com:automatica-core/automatica.logic.logic.baseoperations.git
remote automatica.logic.math.basicoperations git@github.com:automatica-core/automatica.logic.math.basicoperations.git
remote automatica.logic.messenger git@github.com:automatica-core/automatica.logic.messenger.git
remote automatica.logic.surveillance git@github.com:automatica-core/automatica.logic.surveillance.git
remote automatica.logic.time git@github.com:automatica-core/automatica.logic.time.git


split src/automatica.drivers/automatica.driver.automatica.remote automatica.driver.automatica.remote
split src/automatica.drivers/automatica.driver.constants automatica.driver.constants
split src/automatica.drivers/automatica.driver.enocean automatica.driver.enocean
split src/automatica.drivers/automatica.driver.froniussymo automatica.driver.froniussymo
split src/automatica.drivers/automatica.driver.homekit automatica.driver.homekit
split src/automatica.drivers/automatica.driver.huebridgesimulator automatica.driver.huebridgesimulator
split src/automatica.drivers/automatica.driver.ikeatradfri automatica.driver.ikeatradfri
split src/automatica.drivers/automatica.driver.knx automatica.driver.knx
split src/automatica.drivers/automatica.driver.loxone.miniserver automatica.driver.loxone.miniserver
split src/automatica.drivers/automatica.driver.machineflags automatica.driver.machineflags
split src/automatica.drivers/automatica.driver.mbus automatica.driver.mbus
split src/automatica.drivers/automatica.driver.modbus automatica.driver.modbus
split src/automatica.drivers/automatica.driver.openweathermap.driver automatica.driver.openweathermap.driver
split src/automatica.drivers/automatica.driver.times automatica.driver.times
split src/automatica.drivers/automatica.driver.wakeonlan automatica.driver.wakeonlan
split src/automatica.drivers/automatica.driver.zwave automatica.driver.zwave

split src/automatica.logics/automatica.logic.compare.baseoperations automatica.logic.compare.baseoperations
split src/automatica.logics/automatica.logic.digitaltoanalog automatica.logic.digitaltoanalog
split src/automatica.logics/automatica.logic.enocean automatica.logic.enocean
split src/automatica.logics/automatica.logic.logic.baseoperations automatica.logic.logic.baseoperations
split src/automatica.logics/automatica.logic.math.basicoperations automatica.logic.math.basicoperations
split src/automatica.logics/automatica.logic.messenger automatica.logic.messenger
split src/automatica.logics/automatica.logic.surveillance automatica.logic.surveillance
split src/automatica.logics/automatica.logic.time automatica.logic.time



0 comments on commit ed84f55

Please sign in to comment.
You can’t perform that action at this time.