Page MenuHomePhabricator

ExtensionDistributor: Support custom tags for extensions
Open, LowPublicFeature

Description

Suggested by Jeroen: http://lists.wikimedia.org/pipermail/wikitech-l/2014-July/077888.html

We currently have a whitelist in https://github.com/wikimedia/operations-mediawiki-config/blob/499aad5daa15b0eac8c6d5144f4e4216ee87e911/wmf-config/CommonSettings.php#L791

I'm wondering if we should just turn the whitelist into a blacklist, and then blacklist all wmf/* branches, and use a regex to remove non-supported REL1_* branches.

Also the code is currently fetching only branches, we'll need to expand it to also fetch tags.


Version: unspecified
Severity: enhancement

Details

Reference
bz68939

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:41 AM
bzimport set Reference to bz68939.
bzimport added a subscriber: Unknown Object (MLST).

Swapping whitelist for blacklist would probably work yeah. But I'm curious how we would know if a given branch/tag (that's not a REL1_nn) could be specified as being unsupported?

Eg: My extension has a 1.0.1 and a 1.0.2 tag, but how would I be able to tell users the 1.0.1 is obsolete and shouldn't be used?

My extension has a 1.0.1 and a 1.0.2 tag, but how would I be able to tell users the 1.0.1 is obsolete and shouldn't be used?

If you follow semver, that can be automatically deduced no?

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM
Aklapper removed a subscriber: wikibugs-l-list.