Skip to content

Commit

Permalink
v1.0.0-rc.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mobileoverlord committed Apr 30, 2018
1 parent 5ff0b47 commit 92b6e5a
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 2 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## v1.0.0-rc.2

This version renames the module `Nerves.Artifact.Provider` to
`Nerves.Artifact.BuildRunner`. This change should only affect custom systems
and host tools that override the defaults in `nerves_package` config.

* Enhancements
* Allow specifying multiple rootfs_overlay directories in the config.
* Automatically remove corrupt files from the download directory.
* Updated System documentation.
* Bug Fixes
* Check the download directory before attempting to download the artifact.
* Changed the host tool check to use `System.find_executable("command")` instead of
calling out to `System.cmd("which", ["command"])`. This addressed an issue with
NodeJS breaking anything that called into `which` resulting in an obscure error.

## v1.0.0-rc.1

This rc contains documentation cleanup and updates through out.
Expand Down
24 changes: 24 additions & 0 deletions docs/Updating Projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,3 +291,27 @@ is invoked by setting `MIX_TARGET` to value other then `host`. Update your
end

```

## Updating from v1.0.0-rc.0 to v1.0.0-rc.2

### Updating Provider to BuildRunner

**This only applies to custom systems and host tools**

Nerves v1.0.0-rc.2 renames the module `Nerves.Artifact.Provider` to
`Nerves.Artifact.BuildRunner`.

The `nerves_package` config allowed the package to override
`provider` and `provider_opts`. These keys have been renamed to
`build_runner` and `build_runner_opts`

For example:
```elixir
def nerves_package do
[
# ..
build_runner: Nerves.Artifact.BuildRunner.Docker,
# ..
]
end
```
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule Nerves.Mixfile do
name: "Nerves",
source_url: "https://github.com/nerves-project/nerves",
homepage_url: "http://nerves-project.org/",
version: "1.0.0-rc.1",
version: "1.0.0-rc.2",
elixir: "~> 1.4",
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps(),
Expand Down
2 changes: 1 addition & 1 deletion mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"ex_doc": {:hex, :ex_doc, "0.18.3", "f4b0e4a2ec6f333dccf761838a4b253d75e11f714b85ae271c9ae361367897b7", [:mix], [{:earmark, "~> 1.1", [hex: :earmark, repo: "hexpm", optional: false]}], "hexpm"},
"jason": {:hex, :jason, "1.0.0", "0f7cfa9bdb23fed721ec05419bcee2b2c21a77e926bce0deda029b5adc716fe2", [:mix], [{:decimal, "~> 1.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm"},
"mime": {:hex, :mime, "1.2.0", "78adaa84832b3680de06f88f0997e3ead3b451a440d183d688085be2d709b534", [:mix], [], "hexpm"},
"nerves_bootstrap": {:hex, :nerves_bootstrap, "1.0.0-rc.2", "6a99fd84614d928addc557bf938e538f7598c0cde78dbb6047057c59c6a7a780", [:mix], [], "hexpm"},
"nerves_bootstrap": {:hex, :nerves_bootstrap, "1.0.0-rc.4", "1f5405810530ad8dd9a3ae44649197ca6e5c84be5bd47f7bb10098ef8c2c7dd6", [:mix], [], "hexpm"},
"plug": {:hex, :plug, "1.5.0", "224b25b4039bedc1eac149fb52ed456770b9678bbf0349cdd810460e1e09195b", [:mix], [{:cowboy, "~> 1.0.1 or ~> 1.1 or ~> 2.1", [hex: :cowboy, repo: "hexpm", optional: true]}, {:mime, "~> 1.0", [hex: :mime, repo: "hexpm", optional: false]}], "hexpm"},
"ranch": {:hex, :ranch, "1.3.2", "e4965a144dc9fbe70e5c077c65e73c57165416a901bd02ea899cfd95aa890986", [:rebar3], [], "hexpm"},
}

0 comments on commit 92b6e5a

Please sign in to comment.