Re: Je commence avec GIT

pierre laszczak <[email protected]>
Newsgroups gmane.comp.web.spip.devel
Message-ID <CAKNND-2NG9WHLxKXSYMeEm9d0ajmC9JngvpGOZFf33=gk7WCmg@mail.gmail.com>
hello

Via spip-cli rejouer spip core:telecharger (alias dl) suffit pour mettre à
jour les dépots.

Le mer. 5 août 2020 à 15:50, [email protected] <
[email protected]> a écrit :

> Le 05/08/2020 à 15:26, Luis a écrit :
>
> On 03/08/2020 14:57, Bruno Bergot wrote:
>
> Hop,
>
> Le 03/08/2020 à 14:55, Luis a écrit :
>
> J'ai fait un clone de SPIP
> git clone https://git.spip.net/SPIP/spip.git
>
> mais je ne vois pas les plugins-dist
>
> Comment faire?
>
>
> Suivez le guide...
>
> https://blog.smellup.net/spip.php?article117
>
> ++
> b_b
>
>
> Finalement, ce n'était pas dramatique. Le checkout fonctionne à merveille.
>
> Au cas où ça pourrait aider, mois je l'installé (checkout sans le .php)
> dans
> local/spip et une fois déclaré dans le $PATH ça roule
>
> et pour les plugins j'ai pris un petit script
> dans le quel je déclare les plugins puis je fais
> clone dans le dossier plugins d'un SPIP
>
> Finalement, pour avoir l'équivalent git de svn update ./* (pull) sur tous
> les plugins à la fois, j'ai trouvé ça
>
> https://dev.to/rmpato/git-pull-multiple-repositories-at-once-4l68
>
> je fais multipull (avec ZSH) et basta
>
>
>
>
> Suit le script
>
> #!/bin/sh
>
> # Clone multiple repositories.
>
> echo "=== CLONENATOR ==="
>
> array=( "https://git.spip.net/spip-contrib-extensions/cache_cool.git"
> <https://git.spip.net/spip-contrib-extensions/cache_cool.git>
> "AUTRES PLUGINS"
> "https://git.spip.net/spip-contrib-extensions/z-core.git"
> <https://git.spip.net/spip-contrib-extensions/z-core.git>  )
>
> for element in ${array[@]}
> do
>     echo "clonning $element"
>     git clone $element
> done
>
> echo "=== DONE ==="
>
>
> yo avec l'aide de tous j'ai l’opération suivante (canal IRC)
> outils SPIP-Cli , puisque chekout est intégré a SPIP-Cli
>
>
> Récupérer SPIP-Cli, en exécutant la commande :
> git clone https://git.spip.net/spip-contrib-outils/spip-cli
>
> Installer SPIP + tous les plugins-dist + squelettes-dist
> spip dl -d /repertoire
>
>
> puis pour le pull
>
> dossier=($(ls -d *))
>     for i in "${dossier[@]}"
>     do
> #            if [ -d "$i/.svn" ];then svn up ./$i ;fi
>             if [ -d "$i/.git" ];then echo "Mise à jour de $i :"; cd $i;
> git pull; cd .. ; fi
>     done
>
>
> --
> spipfactory
>
> _______________________________________________
> liste: https://listes.rezo.net/mailman/listinfo/spip-dev
> doc: https://www.spip.net/
> dev: https://core.spip.net/
> irc://irc.freenode.net/spip
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.