zendframework / maintainers

Contributors and maintainers information for Zend Framework.
BSD 3-Clause "New" or "Revised" License
50 stars 26 forks source link

Added script to synchronize repositories with zf-component-list.json #22

Closed michalbundyra closed 6 years ago

michalbundyra commented 6 years ago

It synchronizes only repositories listed in file https://docs.zendframework.com/zf-mkdoc-theme/scripts/zf-component-list.json

It updates description, homepage (link to docs), disable wiki and projects tabs.

Usage:

$ php bin/sync-repos.php <github-token>

To generate github token please see: https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/#creating-a-token

froschdesign commented 6 years ago

@webimpress Nice idea! 👍

It would be great, if we can synchronize all descriptions:

michalbundyra commented 6 years ago

@froschdesign Totally agree that we should synchronize descriptions everywhere. Not sure if we can do it in README.md because the short description is not always specified there. Maybe it should be another script to update descriptions in repository files, because it needs create branch and PRs. I'll think about it. In that case we can also update a bit more composer.json to make it consistent across all repositories. Or maybe go even crazier and update also other files .... like license, .gitattributes, .... ?

Purpose of this PR was to change method of generating component list in zf3-web. See https://github.com/zendframework/zf3-web/pull/89