Jump to page: 1 2
Thread overview
DUB 0.9.21
Feb 22, 2014
Sönke Ludwig
Feb 22, 2014
simendsjo
Feb 22, 2014
Mike Parker
Feb 22, 2014
Puming
Feb 22, 2014
Dicebot
Feb 22, 2014
Paulo Pinto
Feb 22, 2014
Paulo Pinto
Feb 22, 2014
Sönke Ludwig
Feb 22, 2014
extrawurst
Feb 22, 2014
Paulo Pinto
Feb 22, 2014
Paulo Pinto
Feb 23, 2014
Paulo Pinto
Feb 22, 2014
Jordi Sayol
Feb 22, 2014
Kelet
Feb 26, 2014
Szymon Gatner
Feb 26, 2014
extrawurst
February 22, 2014
A new final release is ready. This one took a bit longer and has more changes than usual:

 - Finally properly obeys the difference between target types
   "library", "staticLibrary", "dynamicLibrary" and "sourceLibrary".
   By default, each "library" type dependency is now build as a static
   library. The building it combined with the parent package (as in
   previous versions) can be achieved using the --combined switch.

 - The preferred package description file name is now "dub.json"
   instead of the historically grown "package.json" to avoid
   ambiguities (NPM, for example, also uses "package.json").

 - A new "dub test" command can now be used to run the unit tests of
   any package. DUB will automatically replace the main() of the
   package with a custom one (if any, see also "mainSourceFile" [1]).

 - The "~>" "pessimistic" version operator as known from RubyGems [2] is
   now supported and recommended as the default operator to use.

 - Path based sub packages are now supported and recommended over the
   use of multiple sub packages per directory due to the potential
   pitfalls of overlapping import paths [3].

 - Revamped command line help - you can now run "dub <command> -h" to
   get more detailed, command specific help

 - All changes:

https://github.com/rejectedsoftware/dub/blob/master/CHANGELOG.md#v0921---2014-02-22

Download at http://code.dlang.org/download


Planned for the next release (which will be a much smaller one) is a major overhaul of how branch based (as opposed to tagged version based) dependencies are handled. Please see the corresponding thread and share your thoughts if you think anything should be improved [4].

The second feature planned is first class support for Dustmite - creating a reduced test case for an error in a multi-package project will then usually be as simple as invoking "dub dustmite" with a regular expression matched against the compiler/linker/program output. DUB will take care of copying together all sources and issuing the proper Dustmite command, calling itself in a special low overhead mode to speed up the process. This has already been used to great effect for reporting regressions during the DMD 2.065 beta phase, which would otherwise not have been possible due to a serious lack of time on my part (running Dustmite across multiple DUB packages otherwise requires some non-trivial preparation of of the source directory structure).


[1]: http://code.dlang.org/package-format#build-settings
[2]: http://robots.thoughtbot.com/rubys-pessimistic-operator
[3]: http://code.dlang.org/package-format#sub-packages
[4]: http://forum.rejectedsoftware.com/groups/rejectedsoftware.dub/thread/1020/

PS: The package registry now almost reached 200 available packages (191 as of this writing)
February 22, 2014
On 02/22/2014 10:44 AM, Sönke Ludwig wrote:
> A new final release is ready. This one took a bit longer and has more
> changes than usual:
(...)

Thanks for what looks like a great release!

> The second feature planned is first class support for Dustmite -
(...)

Mostly welcomed. Dustmite is really great, but every time I use it I have to
read the documentation and try/fail some.
February 22, 2014
On 2/22/2014 6:44 PM, Sönke Ludwig wrote:
> A new final release is ready. This one took a bit longer and has more
> changes than usual:
>

Great job! Thanks for all the work you're putting into this.

February 22, 2014
Thanks for the great work!

On Saturday, 22 February 2014 at 09:44:48 UTC, Sönke Ludwig wrote:
> A new final release is ready. This one took a bit longer and has more changes than usual
February 22, 2014
https://www.archlinux.org/packages/community/x86_64/dub/
February 22, 2014
Am 22.02.2014 10:44, schrieb Sönke Ludwig:
> A new final release is ready. This one took a bit longer and has more
> changes than usual:
>
>   - Finally properly obeys the difference between target types
>     "library", "staticLibrary", "dynamicLibrary" and "sourceLibrary".
>     By default, each "library" type dependency is now build as a static
>     library. The building it combined with the parent package (as in
>     previous versions) can be achieved using the --combined switch.
>
>   - The preferred package description file name is now "dub.json"
>     instead of the historically grown "package.json" to avoid
>     ambiguities (NPM, for example, also uses "package.json").
>
>   - A new "dub test" command can now be used to run the unit tests of
>     any package. DUB will automatically replace the main() of the
>     package with a custom one (if any, see also "mainSourceFile" [1]).
>
>   - The "~>" "pessimistic" version operator as known from RubyGems [2] is
>     now supported and recommended as the default operator to use.
>
>   - Path based sub packages are now supported and recommended over the
>     use of multiple sub packages per directory due to the potential
>     pitfalls of overlapping import paths [3].
>
>   - Revamped command line help - you can now run "dub <command> -h" to
>     get more detailed, command specific help
>
>   - All changes:
>
> https://github.com/rejectedsoftware/dub/blob/master/CHANGELOG.md#v0921---2014-02-22
>
>
> Download at http://code.dlang.org/download
>
>
> Planned for the next release (which will be a much smaller one) is a
> major overhaul of how branch based (as opposed to tagged version based)
> dependencies are handled. Please see the corresponding thread and share
> your thoughts if you think anything should be improved [4].
>
> The second feature planned is first class support for Dustmite -
> creating a reduced test case for an error in a multi-package project
> will then usually be as simple as invoking "dub dustmite" with a regular
> expression matched against the compiler/linker/program output. DUB will
> take care of copying together all sources and issuing the proper
> Dustmite command, calling itself in a special low overhead mode to speed
> up the process. This has already been used to great effect for reporting
> regressions during the DMD 2.065 beta phase, which would otherwise not
> have been possible due to a serious lack of time on my part (running
> Dustmite across multiple DUB packages otherwise requires some
> non-trivial preparation of of the source directory structure).
>
>
> [1]: http://code.dlang.org/package-format#build-settings
> [2]: http://robots.thoughtbot.com/rubys-pessimistic-operator
> [3]: http://code.dlang.org/package-format#sub-packages
> [4]:
> http://forum.rejectedsoftware.com/groups/rejectedsoftware.dub/thread/1020/
>
> PS: The package registry now almost reached 200 available packages (191
> as of this writing)

Great job, integrating it into my hobby projects.
February 22, 2014
Am 22.02.2014 10:44, schrieb Sönke Ludwig:
> A new final release is ready. This one took a bit longer and has more
> changes than usual:
>
>   - Finally properly obeys the difference between target types
>     "library", "staticLibrary", "dynamicLibrary" and "sourceLibrary".
>     By default, each "library" type dependency is now build as a static
>     library. The building it combined with the parent package (as in
>     previous versions) can be achieved using the --combined switch.
>
>   - The preferred package description file name is now "dub.json"
>     instead of the historically grown "package.json" to avoid
>     ambiguities (NPM, for example, also uses "package.json").
>
>   - A new "dub test" command can now be used to run the unit tests of
>     any package. DUB will automatically replace the main() of the
>     package with a custom one (if any, see also "mainSourceFile" [1]).
>
>   - The "~>" "pessimistic" version operator as known from RubyGems [2] is
>     now supported and recommended as the default operator to use.
>
>   - Path based sub packages are now supported and recommended over the
>     use of multiple sub packages per directory due to the potential
>     pitfalls of overlapping import paths [3].
>
>   - Revamped command line help - you can now run "dub <command> -h" to
>     get more detailed, command specific help
>
>   - All changes:
>
> https://github.com/rejectedsoftware/dub/blob/master/CHANGELOG.md#v0921---2014-02-22
>
>
> Download at http://code.dlang.org/download
>
>
> Planned for the next release (which will be a much smaller one) is a
> major overhaul of how branch based (as opposed to tagged version based)
> dependencies are handled. Please see the corresponding thread and share
> your thoughts if you think anything should be improved [4].
>
> The second feature planned is first class support for Dustmite -
> creating a reduced test case for an error in a multi-package project
> will then usually be as simple as invoking "dub dustmite" with a regular
> expression matched against the compiler/linker/program output. DUB will
> take care of copying together all sources and issuing the proper
> Dustmite command, calling itself in a special low overhead mode to speed
> up the process. This has already been used to great effect for reporting
> regressions during the DMD 2.065 beta phase, which would otherwise not
> have been possible due to a serious lack of time on my part (running
> Dustmite across multiple DUB packages otherwise requires some
> non-trivial preparation of of the source directory structure).
>
>
> [1]: http://code.dlang.org/package-format#build-settings
> [2]: http://robots.thoughtbot.com/rubys-pessimistic-operator
> [3]: http://code.dlang.org/package-format#sub-packages
> [4]:
> http://forum.rejectedsoftware.com/groups/rejectedsoftware.dub/thread/1020/
>
> PS: The package registry now almost reached 200 available packages (191
> as of this writing)

The Windows installer seems not to like being installed via UAC as the Administrator gets the PATH configured, not the user that started the installer.

--
Paulo
February 22, 2014
Congratulations for this new dub release.

Already uploaded new dub deb packages for this release at <http://d-apt.sourceforge.net/>

-- 
Jordi Sayol
February 22, 2014
Am 22.02.2014 12:24, schrieb Paulo Pinto:
> Am 22.02.2014 10:44, schrieb Sönke Ludwig:
>
> The Windows installer seems not to like being installed via UAC as the
> Administrator gets the PATH configured, not the user that started the
> installer.
>
> --
> Paulo

Going by the installer script, it should install to the global PATH (HKEY_LOCAL_MACHINE) variable, not to the user's (or Adminstrator's) one. Are you sure that the latter is the case for you?

There is also a ticket to enable per-user installation from unprivileged accounts. I'll try to look into that topic, too, for the next release (need to read up on the proper NSIS options/plugins).
February 22, 2014
On Saturday, 22 February 2014 at 12:07:39 UTC, Sönke Ludwig wrote:
> Am 22.02.2014 12:24, schrieb Paulo Pinto:
>> Am 22.02.2014 10:44, schrieb Sönke Ludwig:
>>
>> The Windows installer seems not to like being installed via UAC as the
>> Administrator gets the PATH configured, not the user that started the
>> installer.
>>
>> --
>> Paulo
>
> Going by the installer script, it should install to the global PATH (HKEY_LOCAL_MACHINE) variable, not to the user's (or Adminstrator's) one. Are you sure that the latter is the case for you?
>
> There is also a ticket to enable per-user installation from unprivileged accounts. I'll try to look into that topic, too, for the next release (need to read up on the proper NSIS options/plugins).

Just installed on my win7 machine without problems, on win8 on the other hand authorization was required... strange
« First   ‹ Prev
1 2