hoaproject / Central

Hoa is a modular, extensible, and structured set of PHP libraries.
https://hoa-project.net/
Other
104 stars 8 forks source link

New library: Hoa\Devtools #15

Closed Hywan closed 9 years ago

Hywan commented 9 years ago

Hello :-),

I propose a new library: Hoa\Devtools. Here is the POC. You can read the README.md, all the informations are written inside. The goal is to provide a set of development tools, for developers or maintainers, not for users.

Thoughts?

I am asking a review of all @hoaproject/hoackers :-).

Hywan commented 9 years ago

If this PR is accepted, we need to update the documentation (for hoa core:paste for example) and some other README.md or stuff like that.

jubianchi commented 9 years ago

:+1:

stephpy commented 9 years ago

What kind of tools would you provide in this library ?

Hywan commented 9 years ago

@stephpy According to the README, some tools present in Hoa\Core would move into Hoa\Devtools, in addition to new tools for maintainers and developers. For instance: hoa devtools:requiresnapshot is very helpful to know whether a library requires a new snapshot or not (with a summary). We can also imagine, as referenced in https://github.com/hoaproject/Core/issues/61, to have a hoa devtools:checkconfiguration or something like that to check the configuration of the environment. Thoughts?

shouze commented 9 years ago

why not

thehawk970 commented 9 years ago

Hello,

When I test the Ruler library i found an misconfig in my git config, this misconfig are related to the option autocrlf, maybe it will be good to talk about it in installation process and an check in devtools And a link to https://help.github.com/articles/dealing-with-line-endings/#platform-all

(Sorry for the english xD) Any idea about it ?

thehawk970 commented 9 years ago

for remember autocrlf transform the lineending in the repository, and when you use isIdenticalTo asserter (in test), it fails because the source use \n line ending and the test \r\n :dancers:

Hywan commented 9 years ago

@camael24 +1 to detect it while checking the configuration.

thehawk970 commented 9 years ago

:+1:

Hywan commented 9 years ago

Library is deployed: https://github.com/hoaproject/Devtools/.

Hywan commented 9 years ago

Everything we said here have been transformed as issues in https://github.com/hoaproject/Devtools/. I am closing this issue.

Thanks!

Hywan commented 9 years ago

(now you can contribute to Hoa\Devtools ;-)).