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

Make it usable for other projects #90

Open
2 of 4 tasks
thenotsoft opened this issue Aug 27, 2020 · 4 comments
Open
2 of 4 tasks

Make it usable for other projects #90

thenotsoft opened this issue Aug 27, 2020 · 4 comments

Comments

@thenotsoft
Copy link
Member

thenotsoft commented Aug 27, 2020

Now this tool is used only for Yii 3, but it would be convenient to use it for developing other projects, for example, a project based on modules.

What needs to be changed/added:

  • Extract core files to yiisoft/dev-tool and add dependency it to yii-dev-tool

  • Make configuration of repositories possible, decouple from yii

  • Add a command that creates a package from a template

  • Add a command to run unit tests in packages

@samdark samdark changed the title Make it as a development tool that can be used for other projects Make it usable for other projects Aug 27, 2020
@samdark
Copy link
Member

samdark commented Aug 27, 2020

Make configuration of repositories possible, decouple from yii

Isn't it there? https://github.com/yiisoft/yii-dev-tool/blob/master/packages.local.php.example

Add a command that creates a package from a template

That is easy to do via GitHub currently:

image

@thenotsoft
Copy link
Member Author

thenotsoft commented Aug 27, 2020

Make configuration of repositories possible, decouple from yii

Isn't it there? https://github.com/yiisoft/yii-dev-tool/blob/master/packages.local.php.example

Add a command that creates a package from a template

That is easy to do via GitHub currently:

image

  1. I'm talking about this https://github.com/yiisoft/yii-dev-tool/blob/master/src/Command/InstallCommand.php#L107 there is still
    where it is tied.
    Make the default repository address so that you can simply specify test/test, not the full path to the repository.

  2. It is possible to do with the help of github, but it is not as convenient as ./dev-tool package/create yiisoft/test
    Make a template folder that you can change if needed for yourself, make automatic insertion of the package name into
    composer.json, etc.
    And someone uses gitlab or bitbucket, it's easier to specify the repository and then the script will do everything

@samdark
Copy link
Member

samdark commented Aug 27, 2020

Alright. Makes sense but not a priority at this stage.

@thenotsoft
Copy link
Member Author

Alright. Makes sense but not a priority at this stage.

Of course, this is not a priority now, I created iusse so as not to forget, and so I have already forgotten some ideas)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants