summaryrefslogtreecommitdiff
path: root/.cz.json
Commit message (Collapse)AuthorAgeFilesLines
* refactor(hooks): replace cz-conventional-changelog with cz-commitlintChris Kay2022-01-241-840/+1
| | | | | | | | | | | | | | | This change replaces cz-conventional-changelog with cz-commitlint, which automatically configures Commitizen using our commitlint configuration file. Currently, we use some manual Javascript magic to load our Commitizen configuration into commitlint (the opposite of what's introduced by this change), which can be removed. With this change, we also move our commitlint configuration into a new `changelog.yaml` file. This file holds the same data as `.cz.json` previously did. Change-Id: I14ff2308f1a0b2b293c2128b28ca2df578ce9c1c Signed-off-by: Chris Kay <chris.kay@arm.com>
* style(commitlint): reorder header/body max line length fieldsChris Kay2022-01-101-0/+4
| | | | | | | | | This change simply reorders the `body-max-line-length` and `header-max-line-length` fields to be in the order that most people mentally expect. This has no actual function impact. Change-Id: Ice0db951e4049baaf4de9372255407adc4e3bf66 Signed-off-by: Chris Kay <chris.kay@arm.com>
* fix(fiptool): avoid packing the zero size images in the FIPManish V Badarkhe2021-12-201-0/+4
| | | | | | | | | | Updated the fiptool to avoid packing the zero size images in the FIP. Also, updated the commitlint-json file to cover the fiptool changes under a separate scope. Change-Id: Id7ac3dcff0c7318546e49308d0f17b6cbd5eb24b Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
* fix(docs): update the v2.6 change-logManish V Badarkhe2021-12-071-2/+6
| | | | | | | | | Updated the v2.6 change-log for below: 1. Moved ETE/ETM related changes under separate scope 2. Added manually commit log for Demeter CPU Change-Id: Ib5b5f994f603af6c82b1400256752581a7931268 Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
* feat(mt8186): initialize platform for MediaTek MT8186Rex-BC Chen2021-12-011-0/+4
| | | | | | | | | | | | | - Add basic platform setup. - Add MT8186 documentation at docs/plat/. - Add generic CPU helper functions. - Add basic register address. TEST=build pass BUG=b:202871018 Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Change-Id: Id3e2f46a8c3ab2f3e29137e508d4c671e8f4aad5
* docs(changelog): categorize scopesChris Kay2021-11-171-1/+755
| | | | | | | | | | | | | | | This change makes a best-effort attempt to categorize the various Conventional Commits scopes that have been used over the past year into their relevant changelog sections. No scopes were formalized for the v2.5 release so it varies dramatically, but the output does not look totally awful. Nonetheless, it will need some manual tweaking. For every section with one or more potential scopes, the first scope represents the "blessed" scope. That is, the scope that new commits that belong to this category should use. Change-Id: I8b5594a62238c4f392dc71b187e73c3da988e443 Signed-off-by: Chris Kay <chris.kay@arm.com>
* build(docs): introduce release scriptChris Kay2021-11-171-2/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change introduces a new NPM run script to automatically generate the release changelog, as well as bump version numbers across the code-base and create the release tag. This script runs [Standard Version] to execute this, which is a tool designed around automating substantial parts of the release process. This can be done by running: npm run release -- [<standard-version args>] Standard Version expects the project to adhere to the [Semantic Versioning] convention which TF-A does not, so you may need to specify the version manually, e.g.: npm run release -- --release-as 2.6.0 Individual steps of the release process may also be skipped at-will, which may be necessary when, for example, tweaking the changelog: npm run release -- --skip.commit --skip.tag Standard Version is configured by the `.versionrc.js` file, which contains information about the Conventional Commits types and scopes used by the project, and how they map to the changelog. To maintain continuity with the existing changelog style - at least to the extent possible in the move from manual to automatic creation - a customized changelog template has been introduced, based on the Conventional Commits template provided by Standard Version. This template package extends the Conventional Commits template package by introducing support for parsing the Conventional Commits scopes into changelog sections, similarly to how they were previously organized. [Standard Version]: https://github.com/conventional-changelog/standard-version [Semantic Versioning]: https://semver.org Change-Id: I5bafa512daedc631baae951651c38c1c62046b0a Signed-off-by: Chris Kay <chris.kay@arm.com>
* build(hooks): add Commitizen hookChris Kay2021-04-191-0/+5
This change adds Commitizen, an interactive tool for writing commit messages, to the package.json file. This installs Commitizen within the `node_modules` directory automatically when developers invoke `npm install` from the root repository directory. Additionally, this change adds a prepare-commit-msg Git hook which invokes Commitizen prior to generation of the default commit message. It may be exited with the standard ^C signal without terminating the commit process for those who desperately want to avoid using it, but otherwise should encourage developers to conform to the new commit style without running into post-commit linting errors. Change-Id: I8a1e268ed40b61af38519d13d62b116fce76a494 Signed-off-by: Chris Kay <chris.kay@arm.com>