git checkout of all extensions

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

git checkout of all extensions

Florian Effenberger-3
Hello,

is there an easy way of checking out all extensions with git? It seems
to be possible with SVN, but git only allows checkout of individual
extensions.

Thanks,
Florian

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: git checkout of all extensions

Alex Monk
I'm using a slightly customised (I changed it to update extension repos) version ofthis  <http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/code-utils/clone-all.php?view=markup>.

Krenair

On 24/04/12 19:09, Florian Effenberger wrote:

> Hello,
>
> is there an easy way of checking out all extensions with git? It seems
> to be possible with SVN, but git only allows checkout of individual
> extensions.
>
> Thanks,
> Florian
>
> _______________________________________________
> MediaWiki-l mailing list
> [hidden email]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: git checkout of all extensions

Florian Effenberger-3
Hi Krenair,

2012/4/24 Krenair <[hidden email]>:

> I'm using a slightly customised (I changed it to update extension repos)
> version ofthis
>  <http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/code-utils/clone-all.php?view=markup>.

thanks a lot, this seems to work! Just a quick question: How do you
update the repo then? Re-running the script? git pull doesn't seem to
work.

Thanks,
Florian

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: git checkout of all extensions

Alex Monk
I have it run "git remote update" in existing extension repositories.

Krenair

On 25/04/12 19:10, Florian Effenberger wrote:

> Hi Krenair,
>
> 2012/4/24 Krenair<[hidden email]>:
>
>> I'm using a slightly customised (I changed it to update extension repos)
>> version ofthis
>>   <http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/code-utils/clone-all.php?view=markup>.
> thanks a lot, this seems to work! Just a quick question: How do you
> update the repo then? Re-running the script? git pull doesn't seem to
> work.
>
> Thanks,
> Florian
>
> _______________________________________________
> MediaWiki-l mailing list
> [hidden email]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: git checkout of all extensions

Platonides
In reply to this post by Florian Effenberger-3
On 25/04/12 20:10, Florian Effenberger wrote:
> thanks a lot, this seems to work! Just a quick question: How do you
> update the repo then? Re-running the script? git pull doesn't seem to
> work.

In the same folder there is
 http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/code-utils/subgits?view=markup

Which performs a command on all git repos on a subtree.
So you just go to the folder where you cloned them and run:
 subgits pull


_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l