User Tools

Site Tools


wiki:development:nxlibs-repository

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 ''nx-libs'' repository are managed 
- 
-Links: 
- 
-   * http://code.x2go.org/gitweb?p=nx-libs.git;a=summary 
- 
- 
-===== Importing the old sources ===== 
- 
-The old sources were downloaded by brute force from the nomachine download server: 
- 
-   wget http://64.34.161.181/download/3.5.0/sources/nxcomp-3.4.1-{1..10}.tar.gz 
-   wget http://64.34.161.181/download/3.5.0/sources/nxcomp-3.4.2-{1..10}.tar.gz 
-   wget http://64.34.161.181/download/3.5.0/sources/nxcomp-3.4.0-{1..10}.tar.gz 
-   wget http://64.34.161.181/download/3.4.0/sources/nxcomp-3.4.0-{1..10}.tar.gz 
-   wget http://64.34.161.181/download/3.3.0/sources/nxcomp-3.3.0-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.2.0/sources/nxcomp-3.2.0-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.1.0/sources/nxcomp-3.1.0-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.0.0/sources/nxcomp-3.0.0-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.5.0/sources/nxcompext-3.5.0-1.tar.gz 
-   wget http://64.34.161.181/download/3.4.0/sources/nxcompext-3.4.0-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.3.0/sources/nxcompext-3.3.0-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.2.0/sources/nxcompext-3.2.0-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.1.0/sources/nxcompext-3.1.0-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.0.0/sources/nxcompext-3.0.0-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.5.0/sources/nxproxy-3.5.0-1.tar.gz 
-   wget http://64.34.161.181/download/3.4.0/sources/nxproxy-3.4.0-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.4.1/sources/nxproxy-3.4.1-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.3.0/sources/nxproxy-3.3.0-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.2.0/sources/nxproxy-3.2.0-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.1.0/sources/nxproxy-3.1.0-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.0.0/sources/nxproxy-3.0.0-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.5.0/sources/nxcompshad-3.5.0-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.4.0/sources/nxcompshad-3.4.0-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.3.0/sources/nxcompshad-3.3.0-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.2.0/sources/nxcompshad-3.2.0-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.1.0/sources/nxcompshad-3.1.0-{1..15}.tar.gz 
-   wget http://64.34.161.181/download/3.0.0/sources/nxcompshad-3.0.0-{1..15}.tar.gz 
- 
- 
-These sources are then unpacked in a temporary directory ''t/'': 
- 
-   mkdir t; cd t; 
-   for p in nxcomp{,shad,ext} nxproxy; do 
-     for f in ../$p*.tar.gz; do b=`basename $f`; mkdir $b; ( cd $b; tar xvf ../$f; ); done 
-   done 
-    
-Now clone the nx-libs repo: 
- 
-   git clone git://code.x2go.org/nx-libs.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 ''nx-libs''. This faciliates the merging step later. 
- 
-We now import the sources using the [[http://packages.debian.org/squeeze/git-load-dirs | git_load_dirs]] tool. It is run in the temporary directory ''t/'': 
- 
-  wc=../nx-libs 
-  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 'nxcomp' branch. 
- 
- 
  
wiki/development/nxlibs-repository.txt ยท Last modified: 2013/03/08 13:31 (external edit)