All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- The release files are now copied recursively instead of calling the OS command
cp -r
. This is because we are now calculating a hash of all the deployed files to generate a software release unique identifier. - The deploy command now generate a MANIFEST files that contains information about the deployed software in a term file that can be read with file:consult/1.
- The pack command now validates the firmware by creating an image, writing the firmware and trying to mount it. If the firmware contains a software build manifest, it will also be included in the update manifest.
2.7.1 - 2024-10-11
- Insert key to normalize toolchain maps result in package command
2.7.0 - 2024-09-06
- Exposed previously private function
grisp_tools_util:read_file/2
: #25 - Utility functions
grisp_tools_util:make_relative/[1,2]
to convert a path to relative: #25 - Utility functions
grisp_tools_util:maybe_relative/[2,3]
to convert a path to relative with a maximum number of double-dots: #26 - Add iteration function to iterate over a list that behave nicely with
pipe
andweave
functions. - Add optional cleanup actions to
weave
andpipe
functions that will be called if any exception is raised while performing the actions, and that will receive the last know state before the exception was raised. The cleanup actions will NOT be called if the actions do not raise any exception. #25 - Add a firmware command to generate GRiSP 2 binary firmwares: #26
- Add a pack command to generate a GRiSP 2 software update package: #28
- The deploy command is now supporting multiple distribution specifications.
as such, the
copy
argument is changed todistribute
, and is now a list of tuple{Tag, DistArgs}
. The distribution now supports bundling in tarball archives. Thescripts
argument is moved inside the distribution argument, as you can have different scripts for the different distributions. #25
2.6.1 - 2024-06-21
- Some prompts of the
configure
command have been improved: #24 - For some choices, the prompts are explained by hints for
configure
: #24 - Coloring is used to display the prompts using ANSI escape codes for
configure
: #24
- The token provided by the user is trimmed to avoid spaces and uncessary quotes: #24
- Unused function warning for function
say/2
ingrisp_tools_io.erl
: #24
2.6.0 - 2024-05-07
- Implementation of the
configure
command: #21
- CI update to only test OTP 24 and 25: #22
2.5.0 - 2023-04-21
2.4.0 - 2022-07-18
- Support for OTP 24
- Log Git remote listing command output in case of failure
- Do not attempt to download if using OTP package cache
2.3.0 - 2022-06-07
- Exact OTP version selection, e.g. '=23.3'
- Toolchain validation before building
- The OTP Git repository is more thoroughly checked for consistency
- Deploy and build tasks now work offline
- Extracted packages are cached globally instead of per project
2.2.2 - 2022-03-01
- Fix processing of already downloaded OTP packages
2.2.1 - 2022-03-01
grisp_tools_package:list/1
can now return toolchain packages. In addition, it returns more meta data about packages than before.
- Git cloning now uses
--depth 1
to avoid downloading all of OTP history, effectively halving the clone time and making the source size six times smaller
2.2.0 - 2022-02-16
grisp_tools_package:list/1
now returns a list of versions with hashes- Deploying without custom build will resolve the OTP version from existing packages instead of Git versions
- Fixed a formatting issue when the correct OTP version is not found
2.1.0 - 2022-02-14
grisp_tools_package:list/1
that lists pre-built OTP package versions
- Template rendering no longer crashes when environment variables contain unicode
2.0.0 - 2022-02-01
- All files can now be templates (fa5f09d)
- Path to toolchain no longer requires the
rtems/5
postfix (3601c4a)
configure
is forced if source is downloaded or cleaned (de19f96)- File overlays create necessary directories if missing (559f8c6)
- Files overlays are copied over the final release (58a08c0)
0.2.6 - 2019-09-27
0.2.5 - 2019-09-27
0.2.4 - 2018-09-13
0.2.3 - 2018-09-12
0.2.2 - 2018-09-12
0.2.1 - 2018-09-11
- Use correct application name for getting environment variables #1