RejectedSoftware Forums

Sign up

Pages: 1 2

Re: next dub release and some ideas..

Am 28.10.2013 15:49, schrieb Stephan Dilly:

On Mon, 28 Oct 2013 10:00:31 +0100, Sönke Ludwig wrote:

Am 28.10.2013 09:34, schrieb Stephan Dilly:

what the hell? it got posted twice ?!

The lack of editing is a side-effect of the newsgroup nature of the
forum. The NNTP protocol doesn't have a clean way to allow updating
existing posts.

What about the email notification? Should it work? Cause it does not, for me

No, it was an accident that the UI has already been included. I'll try
to implement it in the coming days, though.

Re: next dub release and some ideas..

Am 28.10.2013 15:35, schrieb Joseph Rushton Wakeling:

On Mon, 28 Oct 2013 09:00:40 +0100, Sönke Ludwig wrote:

As Jacob already said, there is some controversy about this topic. On
one hand it would be nice to have something like this, but on the other
hand it opens a lot of questions as soon as you want to go beyond a
single dub-bin directory that is added to PATH (things like resource and
configuration files, OS or distribution specific paths etc.).

I think that it may be a bullet that needs to be bitten at some point -- that dub needs to have some way of properly installing and uninstalling resources either locally or system-wide. There's got to be a way of doing it that will work on POSIX and Windows in 99% of cases.

An alternative might be to build in some way for dub to output .deb, .rpm, etc. packages ... ?

The package generation feature would be my favorite. There are a lot of
details that need to be right, including the big issue to specify system
(library) dependencies in a platform and distribution independent way.
PackageKit has been suggested as a starting
point, but that works only for some systems, so we'd have to build some
kind of mapping database for other systems on top.

The other possibility would be to offload all that responsibility to the
package creator, so that system dependencies must be specified per
distribution. That, on the other hand, will most probably reduce the
average number of platforms supported per package.

Re: next dub release and some ideas..

On 2013-10-28 09:00, Sönke Ludwig wrote:

As Jacob already said, there is some controversy about this topic. On
one hand it would be nice to have something like this, but on the other
hand it opens a lot of questions as soon as you want to go beyond a
single dub-bin directory that is added to PATH (things like resource and
configuration files, OS or distribution specific paths etc.).

I think it will be fairly clean if everything (all packages) is self
contained within a single directory.

/Jacob Carlborg

Re: next dub release and some ideas..

On Mon, 28 Oct 2013 18:54:46 +0100, Jacob Carlborg wrote:

I think it will be fairly clean if everything (all packages) is self
contained within a single directory.

On POSIX, I'd have thought it would work to have user-local installs in ~/.dub and system installs in /opt/dub (so executables in ~/.dub/bin or /opt/dub/bin, etc.), and installation of dub itself should ensure that these directories are added to PATH. No ... ?

Pages: 1 2