Changeset 116254 in spip-zone


Ignore:
Timestamp:
Aug 6, 2019, 2:45:19 PM (14 months ago)
Author:
cam.lafit
Message:

Clone correct project source

  • Use correct naming
Location:
_outils_/importToGitea/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _outils_/importToGitea/trunk

    • Property subgit:lock:7d61b8d6111ba4583b814f3e3062ee886335325d deleted
    • Property subgit:lock:a5a9912f2e644eb19f00ee0b0be9f978705c5d1b set to 2019-08-06T17:18:00.657
  • _outils_/importToGitea/trunk/ImportToGitea.sh

    r116253 r116254  
    2222    ## IMPORT in gitea
    2323    curl -H "Authorization: token $GITEA_TOKEN" \
    24             --data "clone_addr=$repo_convert&uid=$GITEA_ORGA_ID&repo_name=$repo_name" \
     24            --data "clone_addr=$repo_source&uid=$GITEA_ORGA_ID&repo_name=$repo_name" \
    2525            http://$GITEA_HOST:$GITEA_PORT/api/v1/repos/migrate
    2626
     
    3030    fi
    3131       
    32     cp -bar $repo_convert/{subgit,svn,db,logs} $repo_target/
     32    cp -bar $repo_source/{subgit,svn,db,logs} $repo_target/
    3333    chown $GIT_UID:$GIT_GID -R $repo_target
    3434
    3535    #su -l $GIT_NAME -s /bin/bash -c "subgit install $repo_target"
    3636   
    37 done <   <(find "$GIT_REPO" -iname "*.git" -print0)
     37done <   <(find "$REPOS_SOURCE" -iname "*.git" -print0)
Note: See TracChangeset for help on using the changeset viewer.