[gsoc] DUB - Ideas
Joseph Rushton Wakeling
joseph.wakeling at webdrake.net
Sun Mar 3 17:03:20 UTC 2019
On Thursday, 28 February 2019 at 15:50:49 UTC, Seb wrote:
> @community: what features do you miss the most from DUB?
(1) Support for library maintainers' test requirements
Specifically: when a library has dependencies of its own, one
wants to be sure the library stays compatible with the stated
minimum supported version, because changing that could be a
breaking change for downstreams.
With this in mind it would be useful to have:
* a command to downgrade all dependencies in dub.selections.json
to the minimum supported (including dependencies of
dependencies)
* a flag for build and test commands to request that the minimum
versions of all dependencies be used
* a flag to specify the maximum kind of version change `dub
upgrade`
can perform: patch, minor, or major.
(2) Cleanly and clearly separate between test options and build
options
Specifically, this involves fixing the problems with `dub test`
when the `--build` flag is used.
Example: if one runs `dub test --build=release` then intuitively
one would expect (unit)tests to be run with release flags and
optimizations enabled. In fact no unittests are run, because
`--build=release` mandates a specific set of D flags that does
not include `-unittest`.
More information about the Digitalmars-d
mailing list