134 Commits (97bdb9b4f7014fafa4a7a9b171c68c9aff49614a)

Author SHA1 Message Date
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
Adriaan de Groot a7b0b03bde Changes: post-release housekeeping 5 years ago
Adriaan de Groot dd33cbfa36 Docs: update RELEASE.md procedure 5 years ago
Adriaan de Groot cc17898da8 Docs: remove references to HACKING.md (moved to wiki) 5 years ago
Adriaan de Groot 0dde233c51 Docs: move HACKING to the wiki 5 years ago
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.
5 years ago
Adriaan de Groot 44489d3d7b CI: tidy up license header in txcheck.sh 5 years ago
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
5 years ago
Adriaan de Groot 6db4d2ed37 CI: more BSD-compatibility, and remove typo 5 years ago
Adriaan de Groot ede7d94b40 CI: handle differences in date(1) better 5 years ago
Adriaan de Groot bf0515d188 CI: handle FreeBSD version of date(1) 5 years ago
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.
5 years ago
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).
5 years ago
Adriaan de Groot 48dec91606 CI: fix-up txpull
- canonicalize the files fetched from TX after import
5 years ago
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.
5 years ago
Adriaan de Groot 397440539f CI: explanations after txcheck fails 5 years ago
Adriaan de Groot fa466b447c CI: Canonicalize XML first
- Do XML processing / canonicalisation in txpush only
 - Run the *HEAD* version of txpush in both worktrees
5 years ago
Adriaan de Groot 64b56664de CI: use explicit encoding in XML tidy 5 years ago
Adriaan de Groot 053fa28b19 CI: improve TX consistency
- txpush
   - don't try to push TX for the timezone list
   - xmllint --format the .ts files to avoid inconsistency between
     TX tool versions
 - txcheck
   - xmllint --format
   - hard-code the list of files, it's not worth the hassle
   - don't apply XML cleanups to POT files
   - strip linenumbers from POT files for diffing
5 years ago
Adriaan de Groot 5dad5dae02 i18n: support Tumbleweed versioned-lupdate executables 5 years ago
Adriaan de Groot d86b6bddeb CI: when pushing TX, also push the tag 5 years ago
Adriaan de Groot a403f1e851 CI: allow plain clang-format (Tumbleweed) 5 years ago
Adriaan de Groot 93ae44e214 [libcalamares] Split translatable timezone data
- Hide the one file from lupdate by giving it a weird suffix
 - Call lupdate a second time for the timezone translations
 - While here, adjust so that the options precede the directories
   they are supposed to affect

I don't want to give the translation teams 444 new strings all
at once (about 90% of which don't need translation).
5 years ago
Adriaan de Groot ddc2f60768 Merge branch 'master' into zone-data 5 years ago
Adriaan de Groot 1fc31cde32 CI: make tag consistent between txpush and txcheck 5 years ago
Adriaan de Groot cb659555a2 CI: don't accidentally push lightweight translation tag 5 years ago
Adriaan de Groot b70e5d7e0f CI: allow cleaning up a string-freeze-check independently 5 years ago
Adriaan de Groot 3bf1fbba65 CI: ignore changes in location (e.g. source-line changes of strings) for string freeze 5 years ago
Adriaan de Groot fae1fdae1c CI: allow meaningful error messages
- Move set -e down in the script so that the error-handling
   at the top (which prints meaningful error messages) isn't
   short-circuited by the -e.
5 years ago
Adriaan de Groot f51111d0f3 CI: Make string-freeze checking part of release process 5 years ago
Adriaan de Groot d3cc4ec395 CI: silence git branch during cleanup of txcheck 5 years ago
Adriaan de Groot a0556d1dd7 CI: enforce 1 week of string freeze 5 years ago
Adriaan de Groot bf21e8a4f5 CI: clean up after tx checking 5 years ago
Adriaan de Groot e6a2384294 CI: do all tx checking in worktrees 5 years ago
Adriaan de Groot b5cca9aabf CI: Add tool to enforce the string freeze
- check for conventional translation tag
 - diff the generated translation files to enforce consistency
5 years ago
Adriaan de Groot 5fbae8213d CI: fix Qt version-selection for FreeBSD when calling lupdate 5 years ago
Adriaan de Groot 9f90ef6377 CI: when pushing translations, mark it with a git tag 5 years ago
Adriaan de Groot eb84c0488d CI: Polish release script when -B is used to skip build 5 years ago
Adriaan de Groot d68ff5f694 CI: add option handling (alongside env) to influence build 5 years ago