Why std_data_json is not default in phobos
Jonathan M Davis
newsgroup.d at jmdavisprog.com
Thu Feb 22 10:40:11 UTC 2018
On Thursday, February 22, 2018 10:32:34 JN via Digitalmars-d wrote:
> On Thursday, 22 February 2018 at 09:45:25 UTC, Jonathan M Davis
>
> wrote:
> > Well, while that's definitely a problem, it really has nothing
> > to do with why it's not in Phobos (no attempt to get it into
> > Phobos has occurred since well before 2.077.1 was released),
> > and if it _were_ in Phobos, then the regression would have been
> > caught by the autotester, and the code that caused it would
> > never have been merged - which is one advantage to having
> > something be in Phobos rather than on code.dlang.org.
> >
> > - Jonathan M Davis
>
> I believe it's a common practice in other languages to do
> something like testing the compiler against top 20 (or more) most
> popular packages, while I doubt this package would make it to top
> 20 (do we even have such metrics from dub?), do you know if
> something like this is being done for D too?
There is some testing that is done against a set of projects on
code.dlang.org, though I get the impression that it's not very reliable (it
frequently seems to fail due to reasons unrelated to the PRs being tested),
and for better or worse, it doesn't have to pass for something to be merged.
So, even if std_data_json is on the list of projects being tested, I'm not
sure that it would have helped much. I don't know if std_data_json is on the
list though.
CI stuff like that has been improving, but there's still work to be done on
that front.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list