News for hackers. Stuff that matters.
Re:Rust required to build Gecko by datalist on Friday December 16, 2016 @05:32AM (#13192305)
> if you have outdated dependency artifacts, it doesn't make sense to compile without fetching them

I am sorry, I'd contest that. There are often cases where one might not want to use the most current version of some library (incompatibility, undesired features, etc.).

This entire forced update approach is already unpleasant enough in the context of applications (most notably on Android and IOS) but becomes unbearable for software development. While one might argue it could still make some sense for the former, as average users might stay forever with old versions and potential security issues, that argument should not be valid in a "professional" context - where the "users" know about the implications - as it should be given with software engineering.

Re:Rust required to build Gecko by berdario on Friday December 16, 2016 @07:33AM (#13192801)
> I am sorry, I'd contest that. There are often cases where one might not want to use the most current version of some library (incompatibility, undesired features, etc.)

I think we're misunderstanding each other.

What I meant is that if you have foo-1.2 in your dependencies.conf, and you have previously downloaded foo-1.1 it doesn't make sense to compile, because the result of the compilation will most likely not be what you want

Re:Rust required to build Gecko by aninhumer on Friday December 16, 2016 @09:10AM (#13193299)
Sure, but that doesn't mean you need to combine downloading and building.

You can just have the build say "foo-1.2 not found. Latest version is foo-1.1", and the developer can decide how to respond.

Re:Rust required to build Gecko by berdario on Friday December 16, 2016 @09:26AM (#13193410)
Well, there are 3 cases:

- "usual" case (if you agree): dependencies will be downloaded from the Internet, single command download+build is useful

- in a bank/SC environment: the developer configured a proxy/local mirror of the package repositories, and the dependencies will be downloaded automatically, single command download+build is useful

- in a bank/SC environment: manual process to obtain and add locally the dependencies, the build/dev system has limited networking: automatically download fails, single command download+build is not useful but not harmful either

Having a "prefetch" and "offline-build" commands are perfectly fine, but I don't see the reason why the default shouldn't be a "build" command that does prefetch+offline-build