Changeset 82395 in spip-zone


Ignore:
Timestamp:
May 15, 2014, 2:11:25 PM (5 years ago)
Author:
cam.lafit@…
Message:

Lister les projets SVN disponibles

  • On boucle sur les racines projets et on extraie tous les plugins disponibles
File:
1 edited

Legend:

Unmodified
Added
Removed
  • _outils_/svn2git/trunk/svn2git_checksvn.sh

    r82394 r82395  
    1212GIT_DIRECTORY="/srv/gitosis/repositories/"
    1313SUBGIT_MODEL="subgit.conf"
     14
     15#Parcourir les projets
     16for root in ${SVN_ROOTS[@]}; do
     17    project_list=$(svn ls svn://$SVN_REPOSITORY/$root)
     18    for project in ${project_list}; do
     19        if [ ${project: -1:1} = "/" ]; then
     20            echo $root/$project
     21        fi
     22    done
     23done
Note: See TracChangeset for help on using the changeset viewer.