Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Composer plugin #1

Open
4 tasks
2martens opened this issue Feb 24, 2015 · 0 comments
Open
4 tasks

Implement Composer plugin #1

2martens opened this issue Feb 24, 2015 · 0 comments
Labels

Comments

@2martens
Copy link
Member

This task is about implementing the Composer plugin.

The goal of the Composer plugin is to hook into the post-package-install script event, extract the composer ID of the installed package (e.g. 2martens/composer-plugin) and create a file in the plugin directory (cooperate with the AppKernel issue to find out where it will be). The filename will be composed of an integer, which is received from the index file in said directory, an underscore and then the composer ID (slash replaced with underscore). An example for the filename: 0_2martens_composer-plugin. The file contains the PHP code necessary to instantiate an object of the Bundle class of the package (WIP).

This task contains a list of TODOs, each representing a logical sub exercise that can be tackled one at a time. They stand in the chronological order in which they should be worked on. In parentheses you can find the estimated net work amount required. This is a rough estimate and can be quite a bit off (in either direction). When you work on the issue, please update the text with the actual net work time you needed. This can then be used for improvements in upcoming estimations.

  • define public API of class (estimated 1 hour amount of work)
  • write test class (estimated 1.5 to 2 hours amount of work)
  • implement class including test iterations (estimated 1 to 1.5 hours amount of work)
  • write documentation in docs repository (estimated 1 hour amount of work)
@2martens 2martens added the todo label Feb 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant