To prevent accidental breakages, we should version the DeadlinkChecker package.
Description
Event Timeline
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
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?)
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?
The package name according to the composer.json is still "niharika29/deadlinkchecker". The right way to change this is to:
- rename the package in composer.json to "wikimedia/deadlinkchecker"
- add a [[https://getcomposer.org/doc/04-schema.md#replace|replace directive]] for the old "niharika29/deadlinkchecker" package name
"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