Page MenuHomePhabricator

Make the DeadlinkChecker package versioned
Closed, ResolvedPublic1 Estimated Story Points

Description

To prevent accidental breakages, we should version the DeadlinkChecker package.

Event Timeline

DannyH triaged this task as Medium priority.Sep 6 2016, 10:46 PM
DannyH set the point value for this task to 1.
DannyH moved this task from Needs Discussion to Up Next (June 3-21) on the Community-Tech board.

There are some good tips on https://www.mediawiki.org/wiki/Manual:Developing_libraries#Tagging_a_release

  • Use semantic versioning
  • GPG sign the version tag by adding -s to the git tag command if you have a GPG/PGP key
  • You may also want to provide a changelog in the annotated tag notes

Example https://github.com/wikimedia/composer-merge-plugin/releases/tag/v1.3.0

Niharika edited projects, added Community-Tech-Sprint; removed Community-Tech.
Niharika subscribed.

Created first release: https://github.com/wikimedia/DeadlinkChecker/releases/tag/v1.0.0
Created (not entirely technical, since that's already on Github and linked as well) documentation at: https://www.mediawiki.org/wiki/User:NKohli_(WMF)/DeadlinkChecker (where should I move this page to?)

Created (not entirely technical, since that's already on Github and linked as well) documentation at: https://www.mediawiki.org/wiki/User:NKohli_(WMF)/DeadlinkChecker (where should I move this page to?)

I would recommend moving to the main namespace and adding the https://www.mediawiki.org/wiki/Category:PHP_libraries category.

Can we get the packagist package updated as well: https://packagist.org/packages/niharika29/deadlinkchecker or maybe create a new one and delete that one?

Can we get the packagist package updated as well: https://packagist.org/packages/niharika29/deadlinkchecker or maybe create a new one and delete that one?

The package name according to the composer.json is still "niharika29/deadlinkchecker". The right way to change this is to:

"replace": {
    "niharika29/deadlinkchecker": "*"
}
  • submit the library to the packagist with the new repo location and name
  • mark the old "niharika29/deadlinkchecker" library entry in packagist as "abandoned"

@kaldari Looks like you'll have to add the package to Packagist from Wikimedia's account on it, for example: https://packagist.org/packages/wikimedia/utfnormal (complains about no rights when I try to add it from my account)

Meanwhile I updated my version of the packagist repo: https://packagist.org/packages/niharika29/deadlinkchecker

@kaldari Looks like you'll have to add the package to Packagist from Wikimedia's account on it, for example: https://packagist.org/packages/wikimedia/utfnormal (complains about no rights when I try to add it from my account)

{{done}} https://packagist.org/packages/wikimedia/deadlinkchecker