172 Commits (main)

Author SHA1 Message Date
Adriaan de Groot 154396f80a CI: drop support for clang-format10 and later
The only acceptable versions of clang-format are 8 and 9 for now
(until another round of big-churn-from-formatting, at which point
we'll update the required version).

clang-format-9 says:

    SpacesInSquareBrackets (bool)
      If true, spaces will be inserted after [ and before ]. Lambdas
      or unspecified size array declarations will not be affected.

clang-format-10 changes part of that to:

      Lambdas without arguments or unspecified size array
      declarations will not be affected.

This means that 9 will only allow `[name]` for captures, and 10
will only allow `[ name ]` for captures, so they ping-pong all
the lambda's in the codebase back and forth. Just don't.
4 years ago
Adriaan de Groot f3c57723df CI: make clang-format wrangling more flexible
Various clang-format versions have different defaults and
don't understand the same options, so adjust to having
files per-formatting-version to patch things up.
4 years ago
Adriaan de Groot 2107efdd75 CI: remove Matrix script (it's now a regular action) 4 years ago
Adriaan de Groot e773fb65a8 CI: migrate push notification to helper script 4 years ago
Adriaan de Groot ded7991dd6 CI: different tactic for notifications 4 years ago
Adriaan de Groot ea8f5afc3c CI: clang-format 7 is no longer supported 4 years ago
Adriaan de Groot c013036f31 CI: automate signing the tag and tarball
- Get a signature on CHANGES at the start, so that the key
  is cached by gpg; that way the tag-signing has the key, and
  will not time-out (which breaks tarball generation, and
  means that I need to **watch** the release script, rather
  than fire-and-forget).
4 years ago
Adriaan de Groot 2be9aece3f CMake: tweak version-handling
- separate out the version into a variable (again -- this was moved **into**
  project() long ago, but now there's a desire to have the value before
  reaching the project() command)
- rename CALAMARES_VERSION_RC to something more sensible.
4 years ago
Adriaan de Groot 3b9c0bdf91 CI: don't allow clang-format 7 any more 4 years ago
Adriaan de Groot a5091c8c3b Docs: massage the release-howto notes 4 years ago
Adriaan de Groot f62bb70b28 CI: add -m <module> shortcut to test individual modules 4 years ago
Adriaan de Groot b30bb7ae0b CI: note Linuxisms in the script 4 years ago
Jonas Strassel 58afa92298 refactor: move coverage and script steps into gh ci 4 years ago
Jonas Strassel 9dd58b9a22 refactor: move ci-config into workflow 4 years ago
Jonas Strassel 7c175f5005 ci(gh): add basic workflow installing dependencies 4 years ago
Adriaan de Groot a843f34177 CI: require a sufficiently-recent JSON-Schema 4 years ago
Adriaan de Groot 063fb24f3a i18n: add translations source for keyboards 4 years ago
Adriaan de Groot 697ee6f65f CI: accept clang-format90 (FreeBSD naming style) 4 years ago
Adriaan de Groot f44dd73993 i18n: Friulian exceeds expectations 4 years ago
Adriaan de Groot 032ed49cc4 i18n: for this release only, ignore Friulian, since they only just showed up today 4 years ago
Adriaan de Groot 17914b9cf9 CI: adjust to clang-format-10 automatically
- leave clang-format file alone, but dynamically
  modify it when clang-format 10 or later is present
- ignore the resulting .bak file
4 years ago
Adriaan de Groot 8b4ae1d687 i18n: Don't compile the Python translations as part of fetching TX 4 years ago
Adriaan de Groot 1cd9b93a22 REUSE: Giant boilerplate cleanup
- point to main Calamares site in the 'part of' headers instead
  of to github (this is the "this file is part of Calamares"
  opening line for most files).
- remove boilerplate from all source files, CMake modules and completions,
  this is the 3-paragraph summary of the GPL-3.0-or-later, which has
  a meaning entirely covered by the SPDX tag.
4 years ago
Adriaan de Groot 0ee0f40816 REUSE: license tags for the scripts and tools in ci/
- remove empty useless HACKING
- remove unused cppcheck.sh
- migrate the AppImage docs to the wiki (which doesn't moan about licensing)
- try a HTML-style comment in the RELEASE docs
4 years ago
Adriaan de Groot 4a45eb847d CI: fix edge cases for calamaresstyle
- no format-10
- skip empty directories (otherwise astyle gets no file-paramaters
  and then hangs on stdin)
4 years ago
Adriaan de Groot c1d7d3daa6 ci: put a space after directory names in user-visible messages
- this makes is much easier to double-click-select the directory,
  since the . isn't attached and won't be selected along with the
  directory anymore.
4 years ago
Adriaan de Groot 4c8a624c0b ci: update the GPG key ID used for signing 4 years ago
Adriaan de Groot f07c6ed876 i18n: drop pythonqt translations from the tooling 4 years ago
Adriaan de Groot 29cfcb01da i18n: suppress Interlingue
- like Esperanto before Qt 5.12, Interlingue does not
  seem to be supported by QLocale, so it gets turned into
  "C" locale, which then messes up the default language
  selection in the welcome page.

Move it to _incomplete until QLocale does support it.

FIXES #1475
4 years ago
Adriaan de Groot b1b81f27cc Merge branch 'issue-1297' into calamares
This does **not** result issue-1297, but brings in some
prep-work and pleasant clean-ups.
4 years ago
Adriaan de Groot 5380f8062d i18n: when editing CMakeLists in-place, be a little more verbose 4 years ago
Adriaan de Groot 1a87879f9b i18n: enable updating stats-in-place 4 years ago
Adriaan de Groot dacd236f6a i18n: factor out output method for txstats 4 years ago
Adriaan de Groot a66eabe9ef i18n: support bogus TX data for testing 4 years ago
Adriaan de Groot 3762d4df05 i18n: refactoring txstats 4 years ago
Adriaan de Groot fad364993c i18n: use modern argument-handling in the TX statistics script 4 years ago
Adriaan de Groot 14df032803 CI: build verbose the first time, too 4 years ago
Adriaan de Groot e8282f27a3 Docs: update RELEASE.md with some GPG-info and remove old steps 4 years ago
Adriaan de Groot a4f9ac9aea CI: update signing key
The signing key expired some time ago, and while I made a
new signing key, there's no indication that a different
key is being used. Update the ID for future signatures.
5 years ago
Adriaan de Groot 6365b7a362 Merge branch 'calamares' into issue-1287 5 years ago
Adriaan de Groot 45aac7db66 CI: update clang-format
In clang-format 10, SpaceInEmptyBlock is introduced, and defaults to
true .. which is different from the earlier formatting versions did.
For now, refuse clang-format 10, and search specifically also for
clang-format-9.0.1 because that's what I have on my laptop.

At some point, switch in the config option and then require
clang-format 10 or later (because earlier versions refuse to
run with an unknown config option)
5 years ago
Adriaan de Groot 635f53a804 CI: add a BUILD_SCHEMA_TESTING
- ON by default, so if tests are built and the script works,
  those tests will run as well.
- Check that the script works by invoking it once.
5 years ago
Adriaan de Groot a0d56acabe CI: verbose schema-failure diagnostics 5 years ago
Adriaan de Groot 71249866df CI: add tooling for schema validation
The config files have fairly extensive documentation but no
formal description; adding JSON-Schema into the mix makes it
possible to write a machine-checkable description.
5 years ago
Adriaan de Groot 713774ab40 i18n: adjust tooling to renamed resource 5 years ago
Adriaan de Groot a9ec592185 CI: change of default branch 5 years ago
Adriaan de Groot 4c65b8cc63 CI: remove outdated comment-crud 5 years ago
Adriaan de Groot 2490884b78 CI: Simple tool to help with source size of TZ files 5 years ago
Adriaan de Groot 24d0ca6f8e CI: don't be so chatty while looking for clang-format 5 years ago
Adriaan de Groot 0f8751497e CI: give tooling a standard LANG environment 5 years ago