summaryrefslogtreecommitdiffstats
path: root/scripts (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | CI: add scripts/enable-repo.pyJakub Ružička2022-09-291-0/+132
|/ | | | | | | Requiring only python3-distro, it can be used to enable upstream repos on any supported system. Intended for CI.
* pgp: remove tkrizek, add amrazekTomas Krizek2022-03-081-1/+2
|
* spellingJosh Soref2021-11-193-5/+5
| | | | Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* scripts: remove ljezek from PGP keyblockTomas Krizek2021-10-131-1/+0
|
* scripts: fix scanbuild on debian 11Tomas Krizek2021-08-301-2/+1
|
* log: use log_level() lua APITomas Krizek2021-07-291-1/+1
| | | | | Using a single function to get/set values is more consistent with our existing lua API rather than having two separate set and get functions.
* treewide: avoid using the deprecated verbose()Vladimír Čunát2021-07-291-1/+1
| | | | It's mainly in tests.
* scripts: remove scripts obsoleted by apkgTomas Krizek2021-06-102-35/+0
|
* scripts: update OBS source creation scriptTomas Krizek2021-06-103-46/+67
|
* scripts/make-archive: allow creation of tagged archiveTomas Krizek2021-06-102-15/+17
|
* ci lint:scan-build: work around changes in mesonVladimír Čunát2021-01-181-3/+3
| | | | | | In 1f7678ea24 meson was updated and that broke our scan-build. Now we work around that. Quick analysis of why: https://github.com/mesonbuild/meson/pull/5918#issuecomment-762064902
* scrips: generate kresd PGP keyblockTomas Krizek2020-11-181-0/+38
|
* scripts: utility to get base64 url encoded query for DoH GETTomas Krizek2020-11-051-0/+26
|
* tests: improve process cleanup after config testsPetr Špaček2020-10-261-2/+7
| | | | | | | | | Previously exit trap executed command "kill -9" even if there were no leftover processes and this lead to clutter in logs because kill complained about missing arguments. As a bonus the cleanup routine now prints information about leftover processes.
* doc/info: create and install figuresSimon South2020-10-151-3/+20
|
* doc/meson: fix installation with missing info pageTomas Krizek2020-10-151-0/+2
|
* doc: generate Info manualSimon South2020-10-151-0/+6
| | | | | Check for makeinfo during configuration and if found, generate and install documentation in Info format.
* ci: remove obsolete Turris buildTomas Krizek2020-09-231-1/+1
| | | | | The turris build was never migrated to support meson and these files have been obsolete for far too long now.
* tests: kill background tasks when config test exitsPetr Špaček2020-08-241-0/+1
| | | | | In theory there should be no background task but we need cleanup in case kresd gets into infinite loop or something like that.
* scripts/bugreport-journals: pythonize the scriptTomas Krizek2020-08-141-110/+136
|
* script to gather data from systemd journalPetr Špaček2020-08-141-0/+168
|
* doc: default to ignoring warning during doc buildTomas Krizek2020-07-011-1/+1
| | | | | Add new target doc-strict for development to detect warnings, but avoid failing package builds due to documentation warnings.
* scripts: remove obsolete make-archive.shTomas Krizek2020-05-271-16/+0
|
* tests: Remove old packaging testsLukáš Ježek2020-05-271-253/+0
|
* packaging tests: remove unused filesLukáš Ježek2020-05-274-26/+0
|
* tests: pytest packaging tests for Debian 10 and Ubuntu DiscoLukáš Ježek2020-05-271-10/+0
|
* scripts/gen-cdefs.sh: adapt to changes in new gdbVladimír Čunát2020-05-131-2/+9
| | | | | | Now it works again with the latest gdb-9.1. As a side effect, some simplification was possible, so that some typedefs are newly defined at once with the underlying type.
* autogenerate AUTHORS file to get rid of outdated dataPetr Špaček2020-02-251-0/+41
| | | | | | | | | | The file can be re-generated using scripts/update-authors.sh. File .mailmap is used for name canonicalization and fresh list of authors replaces the old one in AUTHORS file automatically. Gitlab CI checks its content before release (on branches named release-*). Marek Vavruša is listed in .mailmap file twice intentionally, once as CZ.NIC employee and second time as external contributor.
* treewide: machine readable license for all the restPetr Špaček2020-02-2525-1/+29
| | | | | These files did not have GNU GPL v3 boilderplate in them so I've added machine readable tag with appropriate license.
* treewide: use --noninteractive instead of --forksVladimír Čunát2020-01-171-1/+1
|
* doc: restructure into smaller sectionsTomas Krizek2020-01-151-0/+1
|
* tests: packagingLukáš Ježek2019-11-207-0/+299
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Directory with subdirectory "packaging" is called "component". List all components: python3 tests/packaging-doc.py --list Run all tests/compoments: python3 tests/packaging-doc.py Run specific test/component: python3 tests/packaging-doc.py --test <component> The file structure for 1 component: daemon - dependencies for 1 component "kresd daemon" (default component, must always be there) scripts/distros - dependencies for 1 component for specific distro (must always be there) scripts/dockerfile_gen.py - test Dockerfile generator, see below tests/packaging.py - script to generate and build all combinations of Docker files for all components [component] - directory of component/test, see below (e.g. "client/packaging/", "modules/http/packaging/" etc.) The file structure of each component: [component] <distro>/<version> - package names - builddeps - list of build depedencies - rundeps - list of runtime depedencies - pre-build.sh - script called before build phase - post-build.sh - script called after build phase - pre-run.sh - script called before run phase - post-run.sh - script called after run phase - install.sh and build.sh script called during build phase test.config or test.sh - kresd config test or shell script note: content of "scripts/distroos" is same as "<distro>/<version>" of component. There are "build" and "run" phases. "build" phase precedes "run" phase. All script are called in this order: 1. pre-<phase>.sh 2. install packages specifed in the file "<phase>deps" 3a. for "build" phase: run build.sh and install.sh 3b. for "run" phase: run 'kresd -c [component]/test.config' or config.sh 4. remove packages specified in the file "<phase>deps" 5. post-<phase>.sh Each step above is combines base components with a component under test. E.g. component "scripts/distros" always precedes component "daemon/packaging" and it precedes the tested component e.g. "modules/http". In long term we might migrate this to py.test or some other well known framework.
* ci: fix obs:release jobTomas Krizek2019-08-051-1/+2
|
* modules, docs: omit casting parameters of lua layersVladimír Čunát2019-06-131-2/+0
| | | | | Thanks to changes in this branch the functions are called with correctly typed parameters already, so these weird casts can be deleted.
* scripts/make-distrofiles.sh: remove obsolete -s switchTomas Krizek2019-06-112-23/+4
|
* scripts/obs-build.sh: support build for different reposTomas Krizek2019-06-112-38/+22
|
* scripts: update obs-testbuild.shTomas Krizek2019-04-181-1/+1
|
* trust_anchors: remove syntactic sugar and duplicityTomas Krizek2019-04-041-2/+2
|
* scripts/launch-test-instance: remove obsolete scriptTomas Krizek2019-04-041-26/+0
|
* scripts nitpick: make them executableVladimír Čunát2019-03-121-0/+0
|
* gitlabci: unify pylint, flake8 and lua lintersTomas Krizek2019-03-121-0/+11
|
* gitlabci: fix scan-buildTomas Krizek2019-03-121-0/+51
|
* meson: generate doc with a run targetTomas Krizek2019-03-122-5/+15
|
* gitlabci: fix pkgbuild jobsTomas Krizek2019-03-121-3/+2
|
* gitlabci: fix pkg:srpmTomas Krizek2019-03-121-1/+1
|
* meson: scripts/make-distrofiles.sh - use new archive locationTomas Krizek2019-03-121-2/+6
|
* ci: merge unit and config tests into single jobTomas Krizek2019-03-121-1/+1
| | | | | Since these tests are very quick, it's not worth it to have a separate job for them, it only wastes CI resources.
* meson: daemon/kres-gen - fix lua file generationTomas Krizek2019-03-121-1/+3
|
* meson: scripts/make-archive.sh: rename to make-dev-archive.shTomas Krizek2019-03-121-0/+2
| | | | | make-dev-archive is only used for development version tarballs. For regular releases, use "ninja dist".
* meson: scripts/make-archive.sh - generate dev tarballTomas Krizek2019-03-121-37/+26
|