Enforcing projects have a composer.json

Visto 93 veces
Saltar al primer mensaje no leído

Tim Millwood

no leída,
30 jun 2015, 8:57:2630/6/15
a php...@googlegroups.com
Is there any scope for PSR to help enforcing all PHP projects have a composer.json file?

Alexander Makarov

no leída,
30 jun 2015, 9:55:2930/6/15
a php...@googlegroups.com
I doubt it... it can't be technically enforced.

Larry Garfield

no leída,
30 jun 2015, 14:40:0030/6/15
a php...@googlegroups.com
Not really. A composer.json file is a Composer thing, and FIG doesn't
run/manage/control Composer. Standards for "what dozen integration
files you should have in your project root" are too volatile for a PSR,
and tie into too many networks outside of our control.
> --
> You received this message because you are subscribed to the Google
> Groups "PHP Framework Interoperability Group" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to php-fig+u...@googlegroups.com
> <mailto:php-fig+u...@googlegroups.com>.
> To post to this group, send email to php...@googlegroups.com
> <mailto:php...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/php-fig/bca5cd55-1a12-4e73-a0ef-603ddc217130%40googlegroups.com
> <https://groups.google.com/d/msgid/php-fig/bca5cd55-1a12-4e73-a0ef-603ddc217130%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

--
--Larry Garfield

Korvin Szanto

no leída,
30 jun 2015, 14:50:1730/6/15
a php...@googlegroups.com
It could be worthwhile to define a standard file name and format for interop related values parallel to composer.json. Would it be helpful to have a standard option storage location like "fig.json"? For example, PSR-10 could define a format for storing the URI for your security disclosure atom feed.

To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+u...@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/5592E279.70908%40garfieldtech.com.

Bernhard Schussek

no leída,
1 jul 2015, 4:32:291/7/15
a php...@googlegroups.com
I think it would make more sense to add that to composer.json. There's no need to add another configuration file here. Also I don't think that a PSR needs to "enforce" projects to disclose their Atom feed in composer.json/fig.json/whatever. 

--

Korvin Szanto

no leída,
4 jul 2015, 0:25:124/7/15
a php...@googlegroups.com
Definitely didn't mean to suggest we enforce anything like that, just recommend a standard name and format with the idea that composer.json would instead try to migrate to this standard file.

Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos