Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech

syncing .gitignore between repositories

 

 

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded


amir.aharoni at mail

Mar 31, 2012, 1:17 AM

Post #1 of 4 (79 views)
Permalink
syncing .gitignore between repositories

Hi,

We have dozens of repositories now. It's probably good that they are
separate, but many of them have similarities in configuration, that
should be synchronized.

One of these is .gitignore. The content of this file is probably very
similar in most repos. Did anybody think about synchronizing it
somehow?

--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
‪“We're living in pieces,
I want to live in peace.” – T. Moore‬

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


innocentkiller at gmail

Mar 31, 2012, 1:52 AM

Post #2 of 4 (78 views)
Permalink
Re: syncing .gitignore between repositories [In reply to]

I don't know of any easy way to do this.

-Chad
On Mar 31, 2012 4:17 AM, "Amir E. Aharoni" <amir.aharoni [at] mail>
wrote:

> Hi,
>
> We have dozens of repositories now. It's probably good that they are
> separate, but many of them have similarities in configuration, that
> should be synchronized.
>
> One of these is .gitignore. The content of this file is probably very
> similar in most repos. Did anybody think about synchronizing it
> somehow?
>
> --
> Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
> http://aharoni.wordpress.com
> ‪“We're living in pieces,
> I want to live in peace.” – T. Moore‬
>
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


hashar+wmf at free

Mar 31, 2012, 3:34 AM

Post #3 of 4 (73 views)
Permalink
Re: syncing .gitignore between repositories [In reply to]

Le 31/03/12 10:17, Amir E. Aharoni a écrit :
> Hi,
>
> We have dozens of repositories now. It's probably good that they are
> separate, but many of them have similarities in configuration, that
> should be synchronized.
>
> One of these is .gitignore. The content of this file is probably very
> similar in most repos. Did anybody think about synchronizing it
> somehow?

As a workaround, you could configure your git client to use a global
ignore list:

$ git config --global core.excludesfile ~/.gitignores

Then edit that file and add whatever you want :-D

--
Antoine "hashar" Musso


_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Platonides at gmail

Mar 31, 2012, 3:20 PM

Post #4 of 4 (73 views)
Permalink
Re: syncing .gitignore between repositories [In reply to]

On 31/03/12 12:34, Antoine Musso a écrit :
> As a workaround, you could configure your git client to use a global
> ignore list:
>
> $ git config --global core.excludesfile ~/.gitignores
>
> Then edit that file and add whatever you want :-D

Or if you are using the subgits command [1], you can configure just the
repositories in the tree with:
subgits config core.excludesfile ~/git-mediawiki/mediawiki-gitignores

1-
http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/code-utils/subgits?view=markup


_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.