Page MenuHomePhabricator

Add missing extensions to extensions.git
Open, Needs TriagePublic

Description

On T224191 we detected again missing submodules missing from rMEXT MediaWiki Extensions. While I used to take care of this manually, I am unable to do this right now. Having rMEXT updated is essential for some monitoring tools. I have been doing this manually for months, fetching the mediawiki page where new repositories are requested, checking the repo and adding the missing ones.

Since I have been on a break for a couple of months already, the list is tad large looking only at mediawiki.org. However I am sure we've got repository creations outside the mediawiki page.

rMEXT has some scripts to update the listings. I've been able to run none of them with success (either they don't work or add each and every mediawiki/extensions/$extensioname.git repo irrespective if it is archived or not -- archived extensions are not to be listed in there).

@Umherirrender helped us in the past doing this. I am not sure if he'd be interested to help us again in this (*).

We should also maybe find a way to automate or semiautomate this process (perhaps other task is needed for this).

Thank you.

(*) Addenda: I cannot find the task right now. Apologies if I missatributed you here.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 30 2019, 10:42 AM
Reedy added a subscriber: Reedy.

I have been doing this manually for months, fetching the mediawiki page where new repositories are requested, checking the repo and adding the missing ones.

That's whats sync-with-gerrit.py is for... update-extensions.sh too...

https://github.com/wikimedia/mediawiki-extensions/blob/master/sync-with-gerrit.py#L35 skips repos with certain keywords

To get a list of all repos you can use https://gerrit.wikimedia.org/r/projects/?d&format=json&p=mediawiki%2F (That includes skin and extension, you can change p= to get only extensions)

I am going to add some repos:
BlueSpiceCategoryCheck
BlueSpiceExpiry
BlueSpiceFilterableTables
BlueSpiceReadConfirmation
BlueSpiceReminder
BlueSpiceSocial
BlueSpiceSocialArticleActions
BlueSpiceSocialBlog
BlueSpiceSocialComments
BlueSpiceSocialMicroBlog
BlueSpiceSocialProfile
BlueSpiceSocialRating
BlueSpiceSocialResolve
BlueSpiceSocialTags
BlueSpiceSocialTimelineUpdate
BlueSpiceSocialTopics
BlueSpiceSocialWatch
BlueSpiceSocialWikiPage
BlueSpiceUEModuleDOCX
BlueSpiceUEModuleHTML
BlueSpiceVisualDiff

Now all missing one are added, some are in process of cleanup or rename

And needs a status update

That's whats sync-with-gerrit.py is for... update-extensions.sh too...

"I've been able to run none of them with success"

https://github.com/wikimedia/mediawiki-extensions/blob/master/sync-with-gerrit.py#L35 skips repos with certain keywords

There are archived repos which are Read Only but not prefixed in their descriptions by "archived", "inactive" or "obsolete". The scripts should be able to exclude Read Only or Hidden repos if that is doable.

See also T194318: Please rewrite sync-with-gerrit.py to use Gerrit REST API.

Now all missing one are added [...]

Thank you!

I've looking through the list and found the following needs adding as well:

  • BlueSpiceNSFileRepoConnector
  • BlueSpicePageFormsConnector
  • BlueSpiceUEModulePDFRecursive
  • BlueSpiceUEModulePDFSubpages
  • BlueSpiceUEModuleTable2Excel
  • BlueSpiceUserInfo
  • BlueSpiceWikiExplorer
  • LDAPGroups

The BlueSpice ones are new creations. As for LDAPGroups your question at T200736#4806886 remains unanswered and I see work on both repos, so I guess we could be adding both? I'm adding the BlueSpice ones now though.

BlueSpice repos added at bb804557f0a2. Still undecided about LDAP/LdapGroups.

Adding both would break the repo for windows user, as there cannot the same name in different cases exists as folder on windows