Use a Linux machine with Docker.
-
Create rootfs/root/.hgrc based on .hgrc-sample
-
Prepare a volume for repos
docker volume create repos
Volume structure:
/var/lib/docker/volumes └─ repos └─ _data ├─ 17_1 │ ├─ github │ └─ hg ├─ 17_2 │ ├─ github │ └─ hg ├─ ... └─ branches.txt
'github' dirs contain clones of DevExpress/DevExtreme
'hg' dirs contain clones of https://hg.corp.devexpress.com/mobile
(no need to checkout specific branches, the script will do it)'branches.txt' - list of active branches, one per line
-
build.sh
,start.sh
-
tail.sh
- check logs
docker stop syncer
- Make a copy of clones:
cp -r /var/lib/docker/volumes/repos/_data/XX_X /var/lib/docker/volumes/repos/_data/YY_Y
- Add a line to branches.txt
docker start syncer
- Check logs:
tail.sh
- Remove the line from 'branches.txt'