Mailing List Archive

Wikimedia MediaWiki configuration files are now in a public version control system
It has been requested for quite a while to have the Wikimedia site
configuration for MediaWiki in a public version control system [1]. This is
now done, and can be viewed using gitweb [2].



This essentially means you can do your own shell requests (mostly). This is
the same as with MediaWiki and the Operations Puppet repos, anyone with an
account can push changes to these repositories for review. When reviewed and
merged, they can be pulled onto site and deployed.



No history of these files have been imported.



There are probably a few more configuration files that are in the common
directory subtree that can be made public in the near future - for now, the
important ones (for most people), e.g. CommonSettings.php and
InitialiseSettings.php are there.







Sam



[1] https://bugzilla.wikimedia.org/show_bug.cgi?id=17517

[2] https://gerrit.wikimedia.org/r/gitweb?p=operations/mediawiki-config.git

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: Wikimedia MediaWiki configuration files are now in a public version control system [ In reply to ]
*Cheers*

That also allows us, poor mortals to directly provide patches to them,
which is awesome.



_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: Wikimedia MediaWiki configuration files are now in a public version control system [ In reply to ]
On Thu, May 10, 2012 at 8:14 AM, Sam Reed <reedy@wikimedia.org> wrote:
> No history of these files have been imported.

Any reason for this?

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: Wikimedia MediaWiki configuration files are now in a public version control system [ In reply to ]
On Wed, May 9, 2012 at 7:17 PM, K. Peachey <p858snake@gmail.com> wrote:
> On Thu, May 10, 2012 at 8:14 AM, Sam Reed <reedy@wikimedia.org> wrote:
>> No history of these files have been imported.
>
> Any reason for this?
>

Some of them have had private info in them in the past
(usually by accident).

-Chad

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: Wikimedia MediaWiki configuration files are now in a public version control system [ In reply to ]
We've got passwords in the repo.

https://gerrit.wikimedia.org/r/gitweb?p=operations/mediawiki-config.git;a=blob;f=wmf-config/CommonSettings.php;h=ad7c776905e6074a5f415339fdba146ae3f5788a;hb=d4c704fe499bdebf36877c1f3b8cee4a8e9014f7#l2260

— Patrick

On Wed, May 9, 2012 at 4:33 PM, Chad <innocentkiller@gmail.com> wrote:

> On Wed, May 9, 2012 at 7:17 PM, K. Peachey <p858snake@gmail.com> wrote:
> > On Thu, May 10, 2012 at 8:14 AM, Sam Reed <reedy@wikimedia.org> wrote:
> >> No history of these files have been imported.
> >
> > Any reason for this?
> >
>
> Some of them have had private info in them in the past
> (usually by accident).
>
> -Chad
>
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: Wikimedia MediaWiki configuration files are now in a public version control system [ In reply to ]
On Thu, May 10, 2012 at 9:44 AM, Patrick Reilly <preilly@wikimedia.org> wrote:
> We've got passwords in the repo.
>
> https://gerrit.wikimedia.org/r/gitweb?p=operations/mediawiki-config.git;a=blob;f=wmf-config/CommonSettings.php;h=ad7c776905e6074a5f415339fdba146ae3f5788a;hb=d4c704fe499bdebf36877c1f3b8cee4a8e9014f7#l2260

Use PrivateSettings.php (or whatever its called for that), and read
the headers next time " # WARNING: This file is publically viewable on
the web. Do not put private data here."

CommonSettings.php has been readable for a long time.

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: Wikimedia MediaWiki configuration files are now in a public version control system [ In reply to ]
It is fixed now.

— Patrick

On Wed, May 9, 2012 at 4:47 PM, K. Peachey <p858snake@gmail.com> wrote:

> On Thu, May 10, 2012 at 9:44 AM, Patrick Reilly <preilly@wikimedia.org>
> wrote:
> > We've got passwords in the repo.
> >
> >
> https://gerrit.wikimedia.org/r/gitweb?p=operations/mediawiki-config.git;a=blob;f=wmf-config/CommonSettings.php;h=ad7c776905e6074a5f415339fdba146ae3f5788a;hb=d4c704fe499bdebf36877c1f3b8cee4a8e9014f7#l2260
>
> Use PrivateSettings.php (or whatever its called for that), and read
> the headers next time " # WARNING: This file is publically viewable on
> the web. Do not put private data here."
>
> CommonSettings.php has been readable for a long time.
>
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: Wikimedia MediaWiki configuration files are now in a public version control system [ In reply to ]
Some of the ops that fullfill shell requests paste diffs into BugZilla comments,
which is awesome.

Hereby friendly request to those (and others!) to, from now on, paste links to
gerrit change sets (or gitweb commits) - for easy reference :)

-- Krinkle

On May 10, 2012, at 1:55 AM, Patrick Reilly wrote:

> It is fixed now.
>
> — Patrick
>
> On Wed, May 9, 2012 at 4:47 PM, K. Peachey <p858snake@gmail.com> wrote:
>
>> On Thu, May 10, 2012 at 9:44 AM, Patrick Reilly <preilly@wikimedia.org>
>> wrote:
>>> We've got passwords in the repo.
>>>
>>>
>> https://gerrit.wikimedia.org/r/gitweb?p=operations/mediawiki-config.git;a=blob;f=wmf-config/CommonSettings.php;h=ad7c776905e6074a5f415339fdba146ae3f5788a;hb=d4c704fe499bdebf36877c1f3b8cee4a8e9014f7#l2260
>>
>> Use PrivateSettings.php (or whatever its called for that), and read
>> the headers next time " # WARNING: This file is publically viewable on
>> the web. Do not put private data here."
>>
>> CommonSettings.php has been readable for a long time.
>>
>> _______________________________________________
>> Wikitech-l mailing list
>> Wikitech-l@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>>
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l


_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: Wikimedia MediaWiki configuration files are now in a public version control system [ In reply to ]
On Thu, May 10, 2012 at 10:41 AM, Krinkle <krinklemail@gmail.com> wrote:
> Some of the ops that fullfill shell requests paste diffs into BugZilla comments,
> which is awesome.
Wasn't that only Jeluf(spelling?) that did that, But yes, If you do a
request and then close it, Please link to the apprioate change set,
And mention that its ready for merging (and not pushed to the cluster)

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: Wikimedia MediaWiki configuration files are now in a public version control system [ In reply to ]
On Thu, May 10, 2012 at 8:45 AM, K. Peachey <p858snake@gmail.com> wrote:
> On Thu, May 10, 2012 at 10:41 AM, Krinkle <krinklemail@gmail.com> wrote:
>> Some of the ops that fullfill shell requests paste diffs into BugZilla comments,
>> which is awesome.
> Wasn't that only Jeluf(spelling?) that did that, But yes, If you do a
> request and then close it, Please link to the apprioate change set,
> And mention that its ready for merging (and not pushed to the cluster)

Will there by an easy way to track them? eg. a keyword in Bugzilla.

-Liangent

>
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: Wikimedia MediaWiki configuration files are now in a public version control system [ In reply to ]
On May 10, 2012, at 4:04 AM, Liangent wrote:

> On Thu, May 10, 2012 at 8:45 AM, K. Peachey <p858snake@gmail.com> wrote:
>> On Thu, May 10, 2012 at 10:41 AM, Krinkle <krinklemail@gmail.com> wrote:
>>> Some of the ops that fullfill shell requests paste diffs into BugZilla comments,
>>> which is awesome.
>> Wasn't that only Jeluf(spelling?) that did that, But yes, If you do a
>> request and then close it, Please link to the apprioate change set,
>> And mention that its ready for merging (and not pushed to the cluster)
>
> Will there by an easy way to track them? eg. a keyword in Bugzilla.
>
> -Liangent

As for the requests themselves, those have always been easily trackable in two ways:

* Product: Wikimedia; Component: Site requests
- Open:
https://bugzilla.wikimedia.org/buglist.cgi?product=Wikimedia&component=Site%20requests&resolution=---

- https://bugzilla.wikimedia.org/describecomponents.cgi?product=Wikimedia

* (cross-component) keyword: "shell"
- Open:
https://bugzilla.wikimedia.org/buglist.cgi?keywords=shell&resolution=---
- https://bugzilla.wikimedia.org/describekeywords.cgi

And now that the repository is public we can also track the actual changes:
* Commits pending review: (currently empty) https://gerrit.wikimedia.org/r/#/q/status:open+project:operations/mediawiki-config,n,z
* Actual commit history (accepted changes that are live): https://gerrit.wikimedia.org/r/gitweb?p=operations/mediawiki-config.git;a=shortlog;hb=master

-- Krinkle

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: Wikimedia MediaWiki configuration files are now in a public version control system [ In reply to ]
K. Peachey wrote:
> Krinkle <krinklemail@gmail.com> wrote:
>> Some of the ops that fullfill shell requests paste diffs into BugZilla comments,
>> which is awesome.
> Wasn't that only Jeluf(spelling?) that did that, But yes, If you do a
> request and then close it, Please link to the apprioate change set,
> And mention that its ready for merging (and not pushed to the cluster)

That was JeLuF, he has a nice script to do the svn diff and then send a
nice message using a python bugzilla bot :-D Very smart.

Nowaday, it will be just git-review :-D We could probably manage to
setup a post commit hook to notify the bug automatically.

--
Antoine "hashar" Musso


_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: Wikimedia MediaWiki configuration files are now in a public version control system [ In reply to ]
On Wed, May 9, 2012 at 6:14 PM, Sam Reed <reedy@wikimedia.org> wrote:
> It has been requested for quite a while to have the Wikimedia site
> configuration for MediaWiki in a public version control system [1]. This is
> now done, and can be viewed using gitweb [2].

I assume that https://noc.wikimedia.org/conf/ still has the latest
changes that have been deployed?

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: Wikimedia MediaWiki configuration files are now in a public version control system [ In reply to ]
On Fri, May 11, 2012 at 6:27 AM, [[w:en:User:Madman]]
<madman.enwiki@gmail.com> wrote:
> I assume that https://noc.wikimedia.org/conf/ still has the latest
> changes that have been deployed?

Yes

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