This shows you the differences between two versions of the page.
wiki:development:nxlibs-repository [2011/11/13 08:49] rt created |
wiki:development:nxlibs-repository [2013/03/08 13:31] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== The nx-libs repository ====== | ||
- | |||
- | This page explains how the branches of the '' | ||
- | |||
- | Links: | ||
- | |||
- | * http:// | ||
- | |||
- | |||
- | ===== Importing the old sources ===== | ||
- | |||
- | The old sources were downloaded by brute force from the nomachine download server: | ||
- | |||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | wget http:// | ||
- | |||
- | |||
- | These sources are then unpacked in a temporary directory '' | ||
- | |||
- | mkdir t; cd t; | ||
- | for p in nxcomp{, | ||
- | for f in ../ | ||
- | done | ||
- | |||
- | Now clone the nx-libs repo: | ||
- | |||
- | git clone git:// | ||
- | |||
- | there, for each new submodule, create a new branch. as an example, here for the nxcomp branch: | ||
- | |||
- | git checkout -b nxcomp a840692edc9c6d19cd7c057f68e39c7d95eb767d | ||
- | | ||
- | NB: the commit a840692edc9c6d19cd7c057f68e39c7d95eb767d is the very first commit in the repository. It contains an empty tree as content and is common for all branches in '' | ||
- | |||
- | We now import the sources using the [[http:// | ||
- | |||
- | wc=../ | ||
- | l=`ls -d nxcomp-*(/ | ||
- | for f in $l; do (cd $wc; git reset --hard ; git clean -dfx); git_load_dirs -w $wc $f; done | ||
- | |||
- | Now the nxcomp sources have been imported in the ' | ||
- | |||
- | |||