Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
  1. Jan 24, 2022
    • Chris Kay's avatar
      refactor(hooks): replace cz-conventional-changelog with cz-commitlint · f64c5582
      Chris Kay authored
      
      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: default avatarChris Kay <chris.kay@arm.com>
      f64c5582
  2. Jan 10, 2022
  3. Dec 20, 2021
  4. Dec 07, 2021
  5. Dec 01, 2021
  6. Nov 17, 2021
    • Chris Kay's avatar
      docs(changelog): categorize scopes · 953910b0
      Chris Kay authored
      
      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: default avatarChris Kay <chris.kay@arm.com>
      953910b0
    • Chris Kay's avatar
      build(docs): introduce release script · c4e8edab
      Chris Kay authored
      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 ma...
      c4e8edab
  7. Apr 19, 2021
    • Chris Kay's avatar
      build(hooks): add Commitizen hook · c75ce067
      Chris Kay authored
      
      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: default avatarChris Kay <chris.kay@arm.com>
      c75ce067