Commit Graph

155 Commits

Author SHA1 Message Date
Adriaan de Groot
697ee6f65f CI: accept clang-format90 (FreeBSD naming style) 2020-10-23 17:16:37 +02:00
Adriaan de Groot
f44dd73993 i18n: Friulian exceeds expectations 2020-10-16 15:01:30 +02:00
Adriaan de Groot
032ed49cc4 i18n: for this release only, ignore Friulian, since they only just showed up today 2020-10-15 12:52:40 +02:00
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
2020-09-21 16:15:51 +02:00
Adriaan de Groot
8b4ae1d687 i18n: Don't compile the Python translations as part of fetching TX 2020-08-27 13:38:45 +02:00
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.
2020-08-26 02:28:38 +02:00
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
2020-08-26 02:05:46 +02:00
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)
2020-08-26 00:31:16 +02:00
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.
2020-08-09 21:10:24 +02:00
Adriaan de Groot
4c8a624c0b ci: update the GPG key ID used for signing 2020-08-09 21:03:58 +02:00
Adriaan de Groot
f07c6ed876 i18n: drop pythonqt translations from the tooling 2020-08-09 21:00:40 +02:00
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
2020-08-04 12:40:08 +02:00
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.
2020-07-31 23:21:23 +02:00
Adriaan de Groot
5380f8062d i18n: when editing CMakeLists in-place, be a little more verbose 2020-07-31 12:46:52 +02:00
Adriaan de Groot
1a87879f9b i18n: enable updating stats-in-place 2020-07-31 12:44:55 +02:00
Adriaan de Groot
dacd236f6a i18n: factor out output method for txstats 2020-07-31 12:22:40 +02:00
Adriaan de Groot
a66eabe9ef i18n: support bogus TX data for testing 2020-07-31 12:17:07 +02:00
Adriaan de Groot
3762d4df05 i18n: refactoring txstats 2020-07-31 12:07:01 +02:00
Adriaan de Groot
fad364993c i18n: use modern argument-handling in the TX statistics script 2020-07-31 10:46:54 +02:00
Adriaan de Groot
14df032803 CI: build verbose the first time, too 2020-07-29 22:32:52 +02:00
Adriaan de Groot
e8282f27a3 Docs: update RELEASE.md with some GPG-info and remove old steps 2020-07-20 14:06:21 +02:00
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.
2020-06-23 17:17:45 +02:00
Adriaan de Groot
6365b7a362 Merge branch 'calamares' into issue-1287 2020-06-17 18:10:33 +02:00
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)
2020-06-17 07:53:40 -04:00
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.
2020-06-16 17:36:59 +02:00
Adriaan de Groot
a0d56acabe CI: verbose schema-failure diagnostics 2020-06-16 15:56:01 +02:00
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.
2020-06-16 12:45:29 +02:00
Adriaan de Groot
713774ab40 i18n: adjust tooling to renamed resource 2020-06-12 14:50:12 +02:00
Adriaan de Groot
a9ec592185 CI: change of default branch 2020-06-12 13:12:50 +02:00
Adriaan de Groot
4c65b8cc63 CI: remove outdated comment-crud 2020-06-11 12:26:32 +02:00
Adriaan de Groot
2490884b78 CI: Simple tool to help with source size of TZ files 2020-04-29 21:22:14 +02:00
Adriaan de Groot
24d0ca6f8e CI: don't be so chatty while looking for clang-format 2020-04-15 11:54:27 +02:00
Adriaan de Groot
0f8751497e CI: give tooling a standard LANG environment 2020-03-03 14:23:48 +01:00
Adriaan de Groot
a7b0b03bde Changes: post-release housekeeping 2020-02-21 22:07:15 +01:00
Adriaan de Groot
dd33cbfa36 Docs: update RELEASE.md procedure 2020-02-11 12:55:53 +01:00
Adriaan de Groot
cc17898da8 Docs: remove references to HACKING.md (moved to wiki) 2020-02-10 11:56:24 +01:00
Adriaan de Groot
0dde233c51 Docs: move HACKING to the wiki 2020-02-10 11:41:38 +01:00
Adriaan de Groot
dec30d70fd CI: tidy up scripts
- Add SPDX headers
 - Indent consistently (tabs, not a mix of 2-space, 4-space, and tabs)

The scripts were originally added without a license header.
Since they are simple, and re-usable, and not particularly
interesting, I've made the license explicitly 2-clause BSD.
This is unlike the rest of Calamares, which is GPLv3+; the
build system and support scripts are not the software itself.
2020-02-06 13:11:23 +01:00
Adriaan de Groot
44489d3d7b CI: tidy up license header in txcheck.sh 2020-02-06 12:51:06 +01:00
Adriaan de Groot
b8505dc621 CI: tidy up txcheck.sh
- Add license header with SPDX info
 - Add usage header
 - Support --help
 - Document internals a little more
2020-02-06 12:45:40 +01:00
Adriaan de Groot
6db4d2ed37 CI: more BSD-compatibility, and remove typo 2020-01-28 15:21:17 +01:00
Adriaan de Groot
ede7d94b40 CI: handle differences in date(1) better 2020-01-28 15:18:54 +01:00
Adriaan de Groot
bf0515d188 CI: handle FreeBSD version of date(1) 2020-01-28 14:52:34 +01:00
Adriaan de Groot
cd845475f0 CI: wrangle txstats.py
- This script is used to figure out which languages are included in a
   Calamares release; it fetches translation statistics from Transifex.
 - Document Esperanto better.
 - Add a -v option to see the actual translation numbers.
2020-01-27 16:37:43 +01:00
Adriaan de Groot
c18d40f61b CI: switch lupdate-versions checked for
- look for the more-specific lupdate-qt5 first, then the generic one
 - in practice this is moot, though, since the only person running
   this script is me, on one of my development VMs

Reported by Kevin Kofler (who rightly points out that lupdate *might*
be a Qt4 or even Qt3-era executable).
2020-01-26 00:43:21 +01:00
Adriaan de Groot
48dec91606 CI: fix-up txpull
- canonicalize the files fetched from TX after import
2020-01-25 23:26:40 +01:00
Adriaan de Groot
6eb52c2989 CI: fix-up txpush
- need to force-push the translation tag (since there's only one,
   and it moves through history whenever TX is pushed)
 - xmllint canonicalization removes the DOCTYPE, so hack in
   a pipeline stage that re-inserts it.
2020-01-25 23:05:36 +01:00
Adriaan de Groot
397440539f CI: explanations after txcheck fails 2020-01-25 17:37:05 +01:00
Adriaan de Groot
fa466b447c CI: Canonicalize XML first
- Do XML processing / canonicalisation in txpush only
 - Run the *HEAD* version of txpush in both worktrees
2020-01-25 17:34:44 +01:00
Adriaan de Groot
64b56664de CI: use explicit encoding in XML tidy 2020-01-25 17:13:49 +01:00