Open-CMSIS-Pack/cpackget

View on GitHub
CHANGELOG.md

Summary

Maintainability
Test Coverage
# v1.0.0

This v1.0.0 release contains:

Bug fixes:

- Debug log level not working on some commands
- Use keil.com/pack/ as default address to fetch PDSC files, if index.pidx has been downloaded from keil.com/pack
- If PDSC file is no longer listed in index.pidx, it shall be removed from .Web folder
- touch pack.idx after init command
- refined --skip-touch option
  
New features:

- update-index: added option "-a" to download all missing PDSC files that are listed in index.pidx
- Encoded progress, when tool is called from other tools

# v0.9.4

This v0.9.4 release contains:

Bug fixes:

- MacOS tests failing

# v0.9.3

This v0.9.3 release contains:

Bug fixes:

- cpackget add -f packlist.txt throws an error when the file is empty
- Installing a local pack that does not exist triggers error message twice
- add -f packs.txt: does not check if the required/dependent pack is installed already
  
New features:

- added --skip-touch flag to not touch pack.idx

# v0.9.2

This v0.9.2 release contains:

Bug fixes:

- Install latest available version for pack dependencies if possible
- Use modern version notation when referring to pack dependencies
- Update copyright year

# v0.9.1

This v0.9.1 release contains:

New features:

- Install a pack's required packages by default
- "cpackget list required" to list installed packages with dependencies and their status

Bug fixes:

- Don't set "pack.idx" as read-only
- Fix pack name checking when installing, according to the current specification

# v0.9.0

This v0.9.0 release contains:

New features:

- Update to Go 1.19

Bug fixes:

- Fix concurrent pack installation when the number of packs is smaller than the set concurrency
- Fix progress bar repeatedly getting printed, setting it below the info message as not to break it when resizing
- Fix signature field version checking (for signature-create and signature-verify)

# v0.8.5

This v0.8.5 release contains:

New features:

- Don't fetch PDSC files from locally sourced packs

Bug fixes:

- Fix version handling on signature creation/verification

# v0.8.5-rc1

This v0.8.5-rc1 pre-release contains:

Bug fixes:

- Fix version handling on signature creation/verification

# v0.8.4

This v0.8.4 release contains:

Bug fixes

- Fix default pack root initialization

# v0.8.3

This v0.8.3 release contains:

New features

- cryptography module reworked to support X.509 and PGP schemes
- Default `CMSIS_PACK_ROOT` location
- Initialize public index if using the default pack root location

# v0.8.2

This v0.8.2 release contains:

- New features:
- `arm64 linux` build and support

# v0.8.1

This v0.8.1 release contains:

Bug fixes:

- Fix HTTP(S) proxy usage
- Hide non relevant global flags
- Clearer error message when initializing an invalid path like a directory or unexisting file

# v0.8.0

This v0.8.0 release contains:

New features:

- `cpackget signature-create`: creates and PGP signs a .checksum file
- `cpackget signature-verify`: verifies a .checksum file against its PGP signature
- `cpackget checksum-verify` infers checksum path from the pack's directory

# v0.7.2

This v0.7.2 release contains:

Bug fixes:

- `cpackget --version` outputs correct value
- Local paths are consistent on all systems, no more backslashes
- "local_repository.pidx" has a static `<vendor>` tag, matching the spec

New features:

- Using Go 1.18 and updated dependencies, slightly faster

# v0.7.1

This v0.7.1 release is dedicated to improving network capabilities. It contains:

Bug fixes:

- Timeout on broken downloads instead of getting stuck (via new timeout flag)

New features:

- `cpackget init --all-pdsc-files/-a`: Downloads all PDSC files listed in the initialized public index
- `--concurrent-downloads/-C`: global flag to enable concurrent/parallel downloads when downloading multiple files
- `--timeout/-T`: global flag setting a maximum timeout for all HTTP/HTTPS downloads

# v0.7.0

This v0.7 release contains:

Bug fixes:

- Not accepting a license is not considered an error

New features:

- Two new commands, `checksum-create` and `checksum-verify`. They are part of a new "cryptography" module,
 intended to provide advanced security measures for pack installation.
- "Pack root" is now read-only, with the exception of `local_repository.idx`. This measure prevents accidental
 environment corruption.

# v0.6.0

This release is more of a "symbolic" one, as the last one should've been a minor version bump. This release contains:

Bug fixes

- Update documentation on removing packs via PDSC file

New features

- Allow pack versions with leading zeros

# v0.5.1

This v0.5.1 release contains:

Bug fixes

- Install only minimum and major versions if available
- Fix intermittent testing on Windows

New features

- Filter packs when listing with --filter
- New update-index command

# v0.5.0

This v0.5 release contains:

Bug fixes

- Fix pack installation with semantic versioning

New features

- --force-reinstall flag to force pack installation
- Combine pack and psdc commands
- Make index-url mandatory
- List commands using Yaml naming standard

# v0.4.1

This v0.4.1 release contains a small bug fix that
prevents cpackget from raising an error when installing
a pack via PDSC file that is already installed

# v0.4.0

This v0.4 release contains:

Bug fixes

- Continue listing packs despite malformed pack names
- Do not raise error when installing a pack already installed
- Do not raise error when using non HTTPS url for updating index.pix

New features

- Avoid displaying progress bar on non-interactive terminals
- Remove extracted licenses when purging
- Add notes on how to configure cpackget behind a proxy
- Support YML pack notation e.g. "ARM::CMSIS@5.7.0"

# v0.3.1

This v0.3.1 release contains a tiny typo fix that prevented
cpackget's version from being injected to its binary, thus
causing it not to display the version of cpackget.

# v0.3.0

This v0.3.0 release makes cpackget more verbose by default. This will
show pack installation progress on both downloading and decompressing.

It also supports gracefully ending an installation when hitting CTRL+C.

Finally this release supports installing packs using only the pack name,
e.g. "ARM.CMSIS" or "ARM.CMSIS.5.7.0" in case a specific version is required.

# v0.2.0

This v0.2.0 release makes cpackget capable of replacing cp_init and cp_install
in cbuild. It:

- adds an "init" subcommand that allows creation of the pack root installation directory (replaces cp_init.sh)
- supports embedded license agreement step before installing packs
- supports updating the public index in .Web/index.pidx
- supports installing multiple packs at once specified via file (cp_install.sh)

# v0.1.3

This v0.1.3 release fixes a bug when writing the "local_repository.pidx"
without a proper XML header. Also it correctly prefixes local URL of
packs installed via PDSC file.

# v0.1.2

This v0.1.2 release of cpackget fixes a bug when installing
packs on Windows systems.

# v0.1.1

Initial release of cpackget