Thread overview | |||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
September 22, 2014 DUB 0.9.22 released | ||||
---|---|---|---|---|
| ||||
After again a longer-than-anticipated wait, the next release of the DUB package and build manager is finally ready. This is a major milestone with some important changes in the way dependency versions are handled, making it more robust for a rapidly growing ecosystem. The number of available packages is now well above the 300 mark and keeps growing steadily: http://vibed.org/temp/dub-packages.png But even more important, I'm pleased to announce that DUB is now officially developed as part of the D language ecosystem! Based on the decision back during this year's DConf, the repository has been migrated to the D-Programming-Language organization on GitHub [1], and we are now working towards a 1.0.0 milestone [2] that is supposed to be ready for inclusion into the official DMD installation package. If you can think of any potentially important and especially backwards-incompatible changes/additions, please mention them (ideally as GitHub tickets), so that we can include them before the 1.0.0 release. Major changes and additions in 0.9.22 include: - Improved dependency version handling scheme. Version upgrades are now explicit, with the current snapshot being stored in the "dub.selections.json" file. This is similar to how other popular systems, such as Bundler [3], work, but built into the core system. Committing "dub.selections.json" to the repository ensures that everyone gets the same (working) combination of dependency versions. - Branch based dependencies (e.g. "~master") have been deprecated due to their destructive influence on the package ecosystem. See the wiki [4] for more information, including on the alternative approaches that are now supported. - Simple DustMite [5] integration. Using the "dub dustmite" command it is now possible to reduce bugs in DUB packages with ease, even in complex package hierarchies. The condition used for reduction can be specified in terms of exit code or as a regular expression on the output of either the compiler, linker, or final executable. - Added BASH and FISH shell completion scripts. - Added general support for single-file compilation mode, as well as separate compile/link mode for GDC. - Platform detection now also works when cross-compiling. - Added the "*" version specifier to match any version, and path based dependencies don't need to specify an explicit version anymore. As always, find the full list of changes in the change log [6] and download at: http://code.dlang.org/download [1]: https://github.com/D-Programming-Language/dub/ [2]: https://github.com/D-Programming-Language/dub/issues?q=is%3Aopen+is%3Aissue+milestone%3A1.0.0 [3]: http://bundler.io/ [4]: https://github.com/D-Programming-Language/dub/wiki/Version-management [5]: https://github.com/CyberShadow/DustMite/wiki [6]: https://github.com/D-Programming-Language/dub/blob/master/CHANGELOG.md |
September 22, 2014 Re: DUB 0.9.22 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sönke Ludwig Attachments:
| Awesome :) Thanks for the time you put in dub, it has become a vital part in D now. 2014-09-22 11:33 GMT+02:00 Sönke Ludwig < digitalmars-d-announce@puremagic.com>: > > If you can think of any potentially important and especially backwards-incompatible changes/additions, please mention them (ideally as GitHub tickets), so that we can include them before the 1.0.0 release. > > Full shared library support (building them, and as dependency). Aside from that, any plan to move the auto-tester to puremagic ? Currently, Travis works under linux (IIRC OSX is not activated), so dub is not auto-tested on windows. Also, the test cases are very basic. |
September 22, 2014 Re: DUB 0.9.22 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sönke Ludwig | I thought that new version of DUB will bring SDL instead json ... |
September 22, 2014 Re: DUB 0.9.22 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | Am 22.09.2014 12:26, schrieb Suliman:
> I thought that new version of DUB will bring SDL instead json ...
That's planned for 1.0.0 (or a possible intermediate release). The major reason for this release is to get the new version management out as soon as possible, because it is a "breaking" change (not breaking in practice, because it only adds deprecation warnings).
|
September 22, 2014 Re: DUB 0.9.22 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sönke Ludwig | On Monday, 22 September 2014 at 10:34:29 UTC, Sönke Ludwig wrote:
> Am 22.09.2014 12:26, schrieb Suliman:
>> I thought that new version of DUB will bring SDL instead json ...
>
> That's planned for 1.0.0 (or a possible intermediate release). The major reason for this release is to get the new version management out as soon as possible, because it is a "breaking" change (not breaking in practice, because it only adds deprecation warnings).
So what config format format you decided to introduce in 1.0?
|
September 22, 2014 Re: DUB 0.9.22 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mathias Lang | Am 22.09.2014 12:24, schrieb Mathias Lang via Digitalmars-d-announce: > Awesome :) > Thanks for the time you put in dub, it has become a vital part in D now. > > 2014-09-22 11:33 GMT+02:00 Sönke Ludwig > <digitalmars-d-announce@puremagic.com > <mailto:digitalmars-d-announce@puremagic.com>>: > > > If you can think of any potentially important and especially > backwards-incompatible changes/additions, please mention them > (ideally as GitHub tickets), so that we can include them before the > 1.0.0 release. > > > Full shared library support (building them, and as dependency). Sounds like a good candidate. Fortunately this would be a fully backwards compatible change, so that it wouldn't be a blocker per-se. > > Aside from that, any plan to move the auto-tester to puremagic ? > Currently, Travis works under linux (IIRC OSX is not activated), so dub > is not auto-tested on windows. Also, the test cases are very basic. That would be a good thing - with more tests (and that is definitely something that needs to be worked on, especially high level tests) it will be more important to have a Windows tester, too, but so far Travis/Linux has generally been sufficient, so there is no need for hurry. |
September 22, 2014 Re: DUB 0.9.22 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | Am 22.09.2014 12:43, schrieb Suliman: > On Monday, 22 September 2014 at 10:34:29 UTC, Sönke Ludwig wrote: >> Am 22.09.2014 12:26, schrieb Suliman: >>> I thought that new version of DUB will bring SDL instead json ... >> >> That's planned for 1.0.0 (or a possible intermediate release). The >> major reason for this release is to get the new version management out >> as soon as possible, because it is a "breaking" change (not breaking >> in practice, because it only adds deprecation warnings). > > So what config format format you decided to introduce in 1.0? The implementation of an SDL based parser has already been started by Jonathan Marler [1], so this is still the plan. [1]: https://github.com/D-Programming-Language/dub/pull/392 |
September 22, 2014 Re: DUB 0.9.22 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sönke Ludwig | Now also on reddit: http://www.reddit.com/r/programming/comments/2h492i/as_of_0922_dub_is_now_ds_official_package_manager/ |
September 22, 2014 Re: DUB 0.9.22 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sönke Ludwig | Great news ! I have a suggestion, not so important: add the subConfigurations field in the complex variant of dependencies.If you have an issue with a package, you will have to look in one place instead of two. See the github issue for details: https://github.com/D-Programming-Language/dub/issues/422 |
September 22, 2014 Re: DUB 0.9.22 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sönke Ludwig | On 22/09/14 11:33, Sönke Ludwig wrote: > - Improved dependency version handling scheme. Version upgrades are > now explicit, with the current snapshot being stored in the > "dub.selections.json" file. This is similar to how other popular > systems, such as Bundler [3], work, but built into the core system. > Committing "dub.selections.json" to the repository ensures that > everyone gets the same (working) combination of dependency versions. Awesome :D -- /Jacob Carlborg |
Copyright © 1999-2021 by the D Language Foundation