Commit 00ef437d authored by Philippe Gauron's avatar Philippe Gauron
Browse files

Configuration de Hggit et doc correspondante

parent 8d993093
......@@ -88,7 +88,14 @@
## * TANGO:
## + TANGO_DB tests should be completed
## + test GUI:
## - get IHM repo : `https://gitlab.in2p3.fr/CCThomX/IHM.git`
## - add
## ```
## [extensions]
## # Hg-Git plugin for Mercurial
## hgext.bookmarks =
## hggit =
## ``` into `~/.hgrc`
## - get IHM repo : `hg clone https://gitlab.in2p3.fr/CCThomX/IHM.git`
## - launch `jive`, and check that into Server panel,
## TangoTest/test/TangoTest the `sys/tg_test/1` object contains
## `Exported: true` with an accessible `port`
......@@ -98,7 +105,7 @@
## - ` cd IHM/RFCanon and launch `./RF_Canon.py`, a window should appear
## while data changes every second
## + configure SSH with a private key giving access to DS-LAL repo and get
## the repo `git clone git@gitlab.in2p3.fr:CCThomX/DS-LAL.git`
## the repo `hg clone git@gitlab.in2p3.fr:CCThomX/DS-LAL.git`
## Then build a DS.
## * ARCHIVING: to complete by JCM
##
......@@ -502,6 +509,11 @@ then
fi
pip download -d "${REPO_DIR}/pip-tmp" fandango==13.9.0 taurus==4.4.0 PyYAML==3.13 QtPy==1.2.1
## Hggit configuration
sudo apt install -d --assume-yes python-dulwich python-dev
mkdir -p ~/hgext && cd ~/hgext
hg clone https://bitbucket.org/durin42/hg-git
else
## Debian 8
if ! [ -e /etc/apt/sources.list.d/webupd8team-java.list ] \
......@@ -762,6 +774,21 @@ sudo sh -c 'echo "export TANGO_HOST" >> /etc/bash.bashrc'
## GUI pip packages
pip install --no-index --find-links="${REPO_DIR}/pip-tmp" fandango==13.9.0 taurus==4.4.0 PyYAML==3.13 QtPy==1.2.1
## Hggit configuration
sudo apt install -y python-dulwich python-dev
if [ ! -d "~/hgext" ]
then
mkdir -p ~/hgext
fi
cd ~/hgext
if [ -d "~/hgext/hg-git" ]
then
hg clone https://bitbucket.org/durin42/hg-git
fi
cd hg-git
sudo python setup.py install
cd ../..
else
# Debian 8 and -
echo "installation TANGO Debian 8-"
......@@ -896,6 +923,7 @@ APT_LISTCHANGES_FRONTEND=pager
## Cleaning unused packages
sudo apt-get autoremove --assume-yes
rm -rf "${REPO_DIR}/tmp" "${REPO_DIR}/pip-tmp"
rm -rf ~/hgext/hg-git
source /etc/bash.bashrc
source ~/.bashrc
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment