On 2015-11-20 18:43, Martin Nowak wrote:
Because we already have the code for Travis-CI and Heroku.
DVM was already available before that ;)
Also an intransparent binary is yet another hurdle trying to convince
someone to try out D.
Not sure how much difference that is compared to the othe
On Thursday, 19 November 2015 at 07:58:52 UTC, Jacob Carlborg
wrote:
DVM already does all this. Why reinvent the wheel?
Because we already have the code for Travis-CI and Heroku.
Also an intransparent binary is yet another hurdle trying to
convince someone to try out D.
BTW, I hust tried to
On 2015-11-11 11:24, Martin Nowak wrote:
Yes, such an installer would be helpful and I already wrote it twice.
https://github.com/travis-ci/travis-build/blob/master/lib/travis/build/script/d.rb
https://github.com/MartinNowak/heroku-buildpack-d/blob/master/bin/compile
This would be fairly simpl
On Wednesday, 11 November 2015 at 10:26:09 UTC, Martin Nowak
wrote:
For the necessary env changes we could adopt something like
virtualenv's
activate/deactive, i.e. `source ~/.dlang/dmd-2.069.0/activate`
to use
dmd-2.069.0. And of course we can activate the env after the
download.
There is a
On Friday, 13 November 2015 at 21:30:35 UTC, Rory McGuire wrote:
On Tue, Nov 10, 2015 at 6:56 PM, Steven Schveighoffer via
Digitalmars-d < digitalmars-d@puremagic.com> wrote:
To install a new compiler I just download the latest .tar.xz
and place in /usr/local/dmd/; and then rename "dmd2" direc
On Tue, Nov 10, 2015 at 6:56 PM, Steven Schveighoffer via Digitalmars-d <
digitalmars-d@puremagic.com> wrote:
>
> I've been using dvm, and do like it a lot. But I couple issues:
>
> 1. Every time I type dvm use, my path adds another directory. Couldn't you
> just replace the existing dvm path?
> 2
On 2015-11-11 10:57, Chris wrote:
I see, but if you're going to rewrite DVM anyway, we might as well start
brainstorming now and see what needs to be done, how a possible
toolchain integration could / should like and so on. Are there any
additional features you or anyone else would like?
I'm p
On Wednesday, 11 November 2015 at 10:26:09 UTC, Martin Nowak
wrote:
Disclaimer: I did not just volunteer to write the script but
I'm glad to help anyone doing so.
Nice effect an installer script that makes working with tarballs
a snap, would allows us to easily distribute nightlies.
http://fo
On 11/10/2015 12:07 AM, Andrei Alexandrescu wrote:
> Rust has a nice way to download at
> https://www.rust-lang.org/downloads.html for Posix:
>
> $ curl -sSf https://static.rust-lang.org/rustup.sh | sh -s --
>
> The method is simple and transparent. An optional --channel=beta or
> --channel=night
On 11/10/2015 02:12 PM, Márcio Martins wrote:
>
> I also think curl | sh is bad, but the idea to have a quick no-brain
> "just works" installation is great. One good step would be providing
> packages for all major distros and providing a wget | pkginstall command
> which effectively does the same
On Wednesday, 11 November 2015 at 09:57:26 UTC, Chris wrote:
I see, but if you're going to rewrite DVM anyway, we might as
well start brainstorming now and see what needs to be done, how
a possible toolchain integration could / should like and so on.
Are there any additional features you or
On Wednesday, 11 November 2015 at 09:48:14 UTC, Jacob Carlborg
wrote:
The issue is that they (the core developers) don't want Tango
in any of the core tools and I don't feel like replacing Tango
with Phobos for something that is working perfectly fine as it
is. It's even working better, bec
On 2015-11-10 23:30, Chris wrote:
I too use dvm all the time and I wonder, if we could integrate it with
dub one day and extend it to cater for LDC and GDC as well. In fact,
without dvm life would be a lot harder and I think it's high time it
became part of an official D toolchain alongside dub.
On 11/10/2015 08:12 AM, Márcio Martins wrote:
> On Monday, 9 November 2015 at 23:07:57 UTC, Andrei Alexandrescu wrote:
>> Rust has a nice way to download at https://www.rust-lang.org/downloads.html
>> for Posix:
>>
>> $ curl -sSf https://static.rust-lang.org/rustup.sh | sh -s --
>>
>> The method i
On Tuesday, 10 November 2015 at 22:30:48 UTC, Chris wrote:
I too use dvm all the time and I wonder, if we could integrate
it with dub one day and extend it to cater for LDC and GDC as
well. In fact, without dvm life would be a lot harder and I
think it's high time it became part of an officia
On Tuesday, 10 November 2015 at 16:56:50 UTC, Steven
Schveighoffer wrote:
I've been using dvm, and do like it a lot. But I couple issues:
1. Every time I type dvm use, my path adds another directory.
Couldn't you just replace the existing dvm path?
2. Every incorrect command given to dvm resul
On 2015-11-10 20:00, Steven Schveighoffer wrote:
Though I don't know if I could go back to using tango. Perhaps for a
minor bugfix such as this...
You're free to use Phobos if you prefer. I've started to modernized the
code in a few places when I fixed some bug.
--
/Jacob Carlborg
On 11/10/15 1:52 PM, Jacob Carlborg wrote:
On 2015-11-10 17:56, Steven Schveighoffer wrote:
I've been using dvm, and do like it a lot. But I couple issues:
1. Every time I type dvm use, my path adds another directory. Couldn't
you just replace the existing dvm path?
I guess. It was just easi
On 2015-11-10 17:56, Steven Schveighoffer wrote:
I've been using dvm, and do like it a lot. But I couple issues:
1. Every time I type dvm use, my path adds another directory. Couldn't
you just replace the existing dvm path?
I guess. It was just easier this way.
2. Every incorrect command gi
On 10.11.2015 14:12, Márcio Martins wrote:
Could then combine this with OS detection through user-agent on the
website and show the user the most likely option and command-line
suggestion.
Relevant PR that detects the OS and adds a direct download link to the
right file to the homepage:
https
On 11/10/15 7:50 AM, Jacob Carlborg wrote:
On 2015-11-10 00:07, Andrei Alexandrescu wrote:
Rust has a nice way to download at
https://www.rust-lang.org/downloads.html for Posix:
$ curl -sSf https://static.rust-lang.org/rustup.sh | sh -s --
The method is simple and transparent. An optional --ch
On Monday, 9 November 2015 at 23:15:56 UTC, Dicebot wrote:
- teaches people `curl X | sh` is fine and normal and not
security abomination
There is even a tumblr for that :)
http://curlpipesh.tumblr.com/
On Tuesday, 10 November 2015 at 13:39:02 UTC, Márcio Martins
wrote:
Well, you already use D so obviously it works good enough for
you. However, there might be a million people out there that
would love D, but they don't even give it chance because they
don't have the skill or the patience to fi
On Tuesday, 10 November 2015 at 14:53:54 UTC, qznc wrote:
From sandstorm.io I know the trick to wrap everything into a
function and call it in the end. An EOF will result in a syntax
error then.
yeah, I guess that combined with https (assuming the user hasn't
disabled the annoying ssl checks
On Tuesday, 10 November 2015 at 00:46:39 UTC, Adam D. Ruppe wrote:
Not necessarily. At least a separate download gives you a
chance to verify the download was completed too. Piping direct
into shell could deliver an end-of-file in the middle of a file
(e.g. in the case of a network error) which
On Tuesday, 10 November 2015 at 04:43:18 UTC, Zekereth wrote:
...
I agree completely. Please NO! What's wrong with the current
system? It seems to work just fine for me.
Well, you already use D so obviously it works good enough for
you. However, there might be a million people out there that
On Monday, 9 November 2015 at 23:07:57 UTC, Andrei Alexandrescu
wrote:
Rust has a nice way to download at
https://www.rust-lang.org/downloads.html for Posix:
$ curl -sSf https://static.rust-lang.org/rustup.sh | sh -s --
The method is simple and transparent. An optional
--channel=beta or --cha
On 2015-11-10 00:07, Andrei Alexandrescu wrote:
Rust has a nice way to download at
https://www.rust-lang.org/downloads.html for Posix:
$ curl -sSf https://static.rust-lang.org/rustup.sh | sh -s --
The method is simple and transparent. An optional --channel=beta or
--channel=nightly parameter ch
On Tuesday, 10 November 2015 at 02:52:11 UTC, rcorre wrote:
On Monday, 9 November 2015 at 23:13:03 UTC, H. S. Teoh wrote:
... though I have to admit that the idea of running a shell
script downloaded from some random remote server (and that, as
root, as otherwise it probably wouldn't work) scar
On Monday, 9 November 2015 at 23:13:03 UTC, H. S. Teoh wrote:
On Mon, Nov 09, 2015 at 06:07:57PM -0500, Andrei Alexandrescu
via Digitalmars-d wrote:
Rust has a nice way to download at
https://www.rust-lang.org/downloads.html for Posix:
$ curl -sSf https://static.rust-lang.org/rustup.sh | sh -s
On Monday, 9 November 2015 at 23:13:03 UTC, H. S. Teoh wrote:
... though I have to admit that the idea of running a shell
script downloaded from some random remote server (and that, as
root, as otherwise it probably wouldn't work) scares me. A lot.
T
They've already been called out for it:
On Tuesday, 10 November 2015 at 00:46:39 UTC, Adam D. Ruppe wrote:
With a separate download you can at least verify the whole
thing was there before running it.
Not to mention checksumming it.
On 11/09/2015 07:46 PM, Adam D. Ruppe wrote:
On Tuesday, 10 November 2015 at 00:42:24 UTC, Andrei Alexandrescu wrote:
Piping through less would be a natural first thing to do. Also, let's
not forget that installing from the same site carries the same risks.
-- Andrei
Not necessarily. At least
On Tuesday, 10 November 2015 at 00:42:24 UTC, Andrei Alexandrescu
wrote:
Piping through less would be a natural first thing to do. Also,
let's not forget that installing from the same site carries the
same risks. -- Andrei
Not necessarily. At least a separate download gives you a chance
to ve
On 11/09/2015 06:09 PM, H. S. Teoh via Digitalmars-d wrote:
On Mon, Nov 09, 2015 at 06:07:57PM -0500, Andrei Alexandrescu via Digitalmars-d
wrote:
Rust has a nice way to download at
https://www.rust-lang.org/downloads.html for Posix:
$ curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -
On Monday, 9 November 2015 at 23:19:18 UTC, Vladimir Panteleev
wrote:
It doesn't have to be run as root, as it can just download and
unpack a portable installation (essentially what we have in the
zip files).
when I suggested this to my newbie friend, she found the PATH
problem to be a hassle
On Monday, 9 November 2015 at 23:15:56 UTC, Dicebot wrote:
- teaches people `curl X | sh` is fine and normal and not
security abomination
Well, to be fair, a LOT of users blindly copy/paste anyway...
But that script is a whopping 1400 lines too. Yikes, I wouldn't
run that just because it is t
On Monday, 9 November 2015 at 23:07:57 UTC, Andrei Alexandrescu
wrote:
Rust has a nice way to download at
https://www.rust-lang.org/downloads.html for Posix:
I actually wrote one for a friend who was having a very hard time
getting started:
http://arsdnet.net/dcode/install-d.sh
Please don't
On Monday, 9 November 2015 at 23:13:03 UTC, H. S. Teoh wrote:
On Mon, Nov 09, 2015 at 06:07:57PM -0500, Andrei Alexandrescu
via Digitalmars-d wrote:
Rust has a nice way to download at
https://www.rust-lang.org/downloads.html for Posix:
$ curl -sSf https://static.rust-lang.org/rustup.sh | sh -s
On Monday, 9 November 2015 at 23:07:57 UTC, Andrei Alexandrescu
wrote:
Rust has a nice way to download at
https://www.rust-lang.org/downloads.html for Posix:
$ curl -sSf https://static.rust-lang.org/rustup.sh | sh -s --
The method is simple and transparent. An optional
--channel=beta or --cha
On Mon, Nov 09, 2015 at 06:07:57PM -0500, Andrei Alexandrescu via Digitalmars-d
wrote:
> Rust has a nice way to download at
> https://www.rust-lang.org/downloads.html for Posix:
>
> $ curl -sSf https://static.rust-lang.org/rustup.sh | sh -s --
>
> The method is simple and transparent. An optiona
Rust has a nice way to download at
https://www.rust-lang.org/downloads.html for Posix:
$ curl -sSf https://static.rust-lang.org/rustup.sh | sh -s --
The method is simple and transparent. An optional --channel=beta or
--channel=nightly parameter chooses between a stable release (default),
beta
42 matches
Mail list logo