This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Official repo DB scripts". The branch, master has been updated via e810a1b0b48b1dd95b0847e716b76011f1d323a2 (commit) via 876da50e3f06d134d45043f1372543b4dc93a1ec (commit) via 685bba9fff21b7d6902fd484384223ce966b24f8 (commit) via 7628525156110022fa70ad91e4bc13ee8a3cceb0 (commit) via e0ee502955948e980c711112cdb0c3eb249d0c7b (commit) via c39624b25a16ed260b420d5689f0a73378fa1372 (commit) via 3c1a10948081da550fdf59c519a57489ec774c69 (commit) via 76f95dd139094dc2985b6733f23fcb098f07c64e (commit) via 7767d890385219cee6b7243e224861b547151ac8 (commit) via b1c039e2d2a63fa305eb7f16130bdb7273bd88e2 (commit) via a53b874b6ed85097382d8d4889dc50cc98fbfdc6 (commit) via 4751408429ba67625d8a54c6758e979cd20b4c5f (commit) via 59d495b55f52253518fe1a184627e7259034f978 (commit) via 60f0691a945b69b4ede50a18a642c8df1bdc3559 (commit) via 73082d2dde58ed8c7bc74de8e3ee58375ac88fc4 (commit) via d0b808b5a58023899c7e76958cdae732bbdfc08e (commit) via f57490022949d94eccc2b7caab79e99c050918cc (commit) via cc328dca993b52c2266d3c18f8b6321db037c618 (commit) via f3cf9ff346afc960ccad843e44c1c71334cc84ee (commit) via 51aa6217229ad9164122e904b184c673db190216 (commit) via 625fa02f6ae5642be95f20e4ed482cf07fa75420 (commit) via 1e8a10b3c8cef45513eb76c557f35dc8dd918334 (commit) via 114a8817003e582555a0a51fe5742ceeb207a6ed (commit) via c33e9409cbec408222875f8a71d324362b9cb043 (commit) via 32d99fb5c287d2dc3bb35b41aa471e9f48ea7910 (commit) via e84b36059f82edb6d5f9eec1c99695cc80e6fb82 (commit) via 961c9407982315ba52f5fa4371b20e0db95e7cdb (commit) via ec7d4fdced1aac8116d68427a8606c9f27b06b41 (commit) via 41f4b54c56702610e23ba9130b2022c3f0fe5961 (commit) via 5d8d01bef27b358c09267a66411c643bfc78503b (commit) via 10439da698c8eb723b1637b803cb37370245a2f8 (commit) via 46dd607da7cf84a6f1d0dfcf5104d481c8651665 (commit) via 64ae83ea4004e82c0d1faa9f2e8e4d62332991ef (commit) via 1f2a8069ee8a352061adbb317249af2fb04e549a (commit) via 5156ce59a6fc730a92153bec83603f97939ded3a (commit) via 62fab76a3ec1ee9caf3abab5eb2c73b8f06fe4ce (commit) via 96fdd934bed3dda6feade4a9a2f4f718ce5bcfc6 (commit) from 4c83281eedf2a27d088f2b1f3a31919983417a74 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit e810a1b0b48b1dd95b0847e716b76011f1d323a2 Author: Pierre Schmitz <pierre@archlinux.de> Date: Sun Apr 23 13:36:06 2017 +0200 Add initial README file commit 876da50e3f06d134d45043f1372543b4dc93a1ec Author: Pierre Schmitz <pierre@archlinux.de> Date: Sun Apr 23 13:23:58 2017 +0200 Document test cases in a more readable format commit 685bba9fff21b7d6902fd484384223ce966b24f8 Author: Pierre Schmitz <pierre@archlinux.de> Date: Sun Apr 23 12:19:35 2017 +0200 Move test cases and fixtures to more meaningful directories commit 7628525156110022fa70ad91e4bc13ee8a3cceb0 Author: Pierre Schmitz <pierre@archlinux.de> Date: Sun Apr 23 12:05:43 2017 +0200 Move package and db checks from test cases to library commit e0ee502955948e980c711112cdb0c3eb249d0c7b Author: Pierre Schmitz <pierre@archlinux.de> Date: Fri Apr 21 08:12:18 2017 +0200 Correctly use checkRemovedPackage commit c39624b25a16ed260b420d5689f0a73378fa1372 Author: Pierre Schmitz <pierre@archlinux.de> Date: Thu Apr 20 23:15:34 2017 +0200 Reduce test dependencies commit 3c1a10948081da550fdf59c519a57489ec774c69 Author: Pierre Schmitz <pierre@archlinux.de> Date: Thu Apr 20 23:04:06 2017 +0200 Remove dependency on devtools commit 76f95dd139094dc2985b6733f23fcb098f07c64e Author: Pierre Schmitz <pierre@archlinux.de> Date: Thu Apr 20 21:55:23 2017 +0200 Allways build packages for all supported architectures commit 7767d890385219cee6b7243e224861b547151ac8 Author: Pierre Schmitz <pierre@archlinux.de> Date: Thu Apr 20 15:24:02 2017 +0200 Use tmpfs as build dir commit b1c039e2d2a63fa305eb7f16130bdb7273bd88e2 Author: Pierre Schmitz <pierre@archlinux.de> Date: Thu Apr 20 13:32:18 2017 +0200 Remove useless code commit a53b874b6ed85097382d8d4889dc50cc98fbfdc6 Author: Pierre Schmitz <pierre@archlinux.de> Date: Thu Apr 20 13:11:47 2017 +0200 Move common checks to functions commit 4751408429ba67625d8a54c6758e979cd20b4c5f Author: Pierre Schmitz <pierre@archlinux.de> Date: Thu Apr 20 12:10:34 2017 +0200 Extend check functions to handle 'any' packages as well commit 59d495b55f52253518fe1a184627e7259034f978 Author: Pierre Schmitz <pierre@archlinux.de> Date: Wed Apr 19 17:23:59 2017 +0200 Cache already built packages commit 60f0691a945b69b4ede50a18a642c8df1bdc3559 Author: Pierre Schmitz <pierre@archlinux.de> Date: Wed Apr 19 12:48:37 2017 +0200 Disable docker terminal to avoid issues with the CI system commit 73082d2dde58ed8c7bc74de8e3ee58375ac88fc4 Author: Pierre Schmitz <pierre@archlinux.de> Date: Wed Apr 19 12:38:44 2017 +0200 Re-add docker image dependency commit d0b808b5a58023899c7e76958cdae732bbdfc08e Author: Pierre Schmitz <pierre@archlinux.de> Date: Wed Apr 19 12:33:57 2017 +0200 Switch from shuint2 to bats testing framework commit f57490022949d94eccc2b7caab79e99c050918cc Author: Pierre Schmitz <pierre@archlinux.de> Date: Tue Apr 18 23:15:14 2017 +0200 Set PATH outside the test environment commit cc328dca993b52c2266d3c18f8b6321db037c618 Author: Pierre Schmitz <pierre@archlinux.de> Date: Tue Apr 18 22:50:12 2017 +0200 Mark private test functions commit f3cf9ff346afc960ccad843e44c1c71334cc84ee Author: Pierre Schmitz <pierre@archlinux.de> Date: Tue Apr 18 22:39:31 2017 +0200 Remove test for file database as this feature was moved to pacman/repo-add a long time ago commit 51aa6217229ad9164122e904b184c673db190216 Author: Pierre Schmitz <pierre@archlinux.de> Date: Tue Apr 18 22:25:36 2017 +0200 Move package build and update functions to common library commit 625fa02f6ae5642be95f20e4ed482cf07fa75420 Author: Pierre Schmitz <pierre@archlinux.de> Date: Tue Apr 18 20:20:49 2017 +0200 use makepkg library instead of local function copies commit 1e8a10b3c8cef45513eb76c557f35dc8dd918334 Author: Pierre Schmitz <pierre@archlinux.de> Date: Tue Apr 18 19:11:19 2017 +0200 Avoid replacing the temporary dir by accident commit 114a8817003e582555a0a51fe5742ceeb207a6ed Author: Pierre Schmitz <pierre@archlinux.de> Date: Tue Apr 18 19:01:08 2017 +0200 Make coverage folder writeable to the test user commit c33e9409cbec408222875f8a71d324362b9cb043 Author: Pierre Schmitz <pierre@archlinux.de> Date: Tue Apr 18 18:49:23 2017 +0200 db-update: Test package validation commit 32d99fb5c287d2dc3bb35b41aa471e9f48ea7910 Author: Pierre Schmitz <pierre@archlinux.de> Date: Tue Apr 18 18:23:17 2017 +0200 db-update: Test if package cannot be added if svn is inconsistent commit e84b36059f82edb6d5f9eec1c99695cc80e6fb82 Author: Pierre Schmitz <pierre@archlinux.de> Date: Tue Apr 18 18:13:01 2017 +0200 db-update: Disallow invalid package names commit 961c9407982315ba52f5fa4371b20e0db95e7cdb Author: Pierre Schmitz <pierre@archlinux.de> Date: Tue Apr 18 17:45:27 2017 +0200 ftpdir-cleanup: Test removal of old packages commit ec7d4fdced1aac8116d68427a8606c9f27b06b41 Author: Pierre Schmitz <pierre@archlinux.de> Date: Tue Apr 18 17:20:28 2017 +0200 Signing packages is no longer optional commit 41f4b54c56702610e23ba9130b2022c3f0fe5961 Author: Pierre Schmitz <pierre@archlinux.de> Date: Tue Apr 18 17:09:21 2017 +0200 db-update: Check that packages with invalid signatures wont get added commit 5d8d01bef27b358c09267a66411c643bfc78503b Author: Pierre Schmitz <pierre@archlinux.de> Date: Tue Apr 18 16:58:41 2017 +0200 db-repo-remove: Test removal of 'any' packages commit 10439da698c8eb723b1637b803cb37370245a2f8 Author: Pierre Schmitz <pierre@archlinux.de> Date: Tue Apr 18 16:33:21 2017 +0200 db-repo-add: Fix adding of 'any' packages commit 46dd607da7cf84a6f1d0dfcf5104d481c8651665 Author: Pierre Schmitz <pierre@archlinux.de> Date: Tue Apr 18 16:05:52 2017 +0200 Make test suite independent from code under test commit 64ae83ea4004e82c0d1faa9f2e8e4d62332991ef Author: Pierre Schmitz <pierre@archlinux.de> Date: Tue Apr 18 12:56:54 2017 +0200 Replace bash script with Makefile commit 1f2a8069ee8a352061adbb317249af2fb04e549a Author: Pierre Schmitz <pierre@archlinux.de> Date: Tue Apr 18 12:20:37 2017 +0200 Add ability to generate test coverage commit 5156ce59a6fc730a92153bec83603f97939ded3a Author: Pierre Schmitz <pierre@archlinux.de> Date: Sat Apr 15 20:26:27 2017 +0200 Fix test package dependency commit 62fab76a3ec1ee9caf3abab5eb2c73b8f06fe4ce Author: Pierre Schmitz <pierre@archlinux.de> Date: Sat Apr 15 20:19:15 2017 +0200 Fix package test namcap does not return a non-zero code on error commit 96fdd934bed3dda6feade4a9a2f4f718ce5bcfc6 Author: Pierre Schmitz <mail@pierre-schmitz.com> Date: Sat Apr 15 19:40:55 2017 +0200 testSuite is a simple file ----------------------------------------------------------------------- Summary of changes: .gitignore | 2 +- Makefile | 14 +- README.md | 9 + config | 2 - db-functions | 75 +- db-move | 4 +- db-repo-add | 4 +- db-update | 2 +- test/Dockerfile | 11 +- test/Makefile | 11 + test/cases/db-move.bats | 92 ++ test/{test.d/db-remove.sh => cases/db-remove.bats} | 40 +- test/cases/db-repo-add.bats | 82 ++ test/cases/db-repo-remove.bats | 64 ++ test/cases/db-update.bats | 239 +++++ test/cases/ftpdir-cleanup.bats | 151 +++ test/cases/sourceballs.bats | 83 ++ test/cases/testing2x.bats | 16 + test/{packages => fixtures}/pkg-any-a/PKGBUILD | 1 + test/{packages => fixtures}/pkg-any-b/PKGBUILD | 1 + test/{packages => fixtures}/pkg-simple-a/PKGBUILD | 2 + test/{packages => fixtures}/pkg-simple-b/PKGBUILD | 2 + .../pkg-simple-epoch/PKGBUILD | 2 + .../pkg-single-arch}/PKGBUILD | 7 +- .../pkg-single-epoch}/PKGBUILD | 6 +- test/{packages => fixtures}/pkg-split-a/PKGBUILD | 2 + test/{packages => fixtures}/pkg-split-b/PKGBUILD | 2 + test/lib/common.bash | 276 ++++++ test/lib/common.sh | 259 ----- test/lib/shunit2 | 1048 -------------------- test/runTest | 12 - test/test.d/create-filelists.sh | 98 -- test/test.d/db-move.sh | 115 --- test/test.d/db-repo-add.sh | 47 - test/test.d/db-repo-remove.sh | 51 - test/test.d/db-update.sh | 168 ---- test/test.d/ftpdir-cleanup.sh | 114 --- test/test.d/packages.sh | 4 - test/test.d/signed-packages.sh | 29 - test/test.d/sourceballs.sh | 77 -- test/test.d/testing2x.sh | 20 - 41 files changed, 1088 insertions(+), 2156 deletions(-) create mode 100644 README.md create mode 100644 test/Makefile create mode 100644 test/cases/db-move.bats rename test/{test.d/db-remove.sh => cases/db-remove.bats} (53%) mode change 100755 => 100644 create mode 100644 test/cases/db-repo-add.bats create mode 100644 test/cases/db-repo-remove.bats create mode 100644 test/cases/db-update.bats create mode 100644 test/cases/ftpdir-cleanup.bats create mode 100644 test/cases/sourceballs.bats create mode 100644 test/cases/testing2x.bats rename test/{packages => fixtures}/pkg-any-a/PKGBUILD (93%) rename test/{packages => fixtures}/pkg-any-b/PKGBUILD (93%) rename test/{packages => fixtures}/pkg-simple-a/PKGBUILD (86%) rename test/{packages => fixtures}/pkg-simple-b/PKGBUILD (86%) copy test/{packages => fixtures}/pkg-simple-epoch/PKGBUILD (86%) copy test/{packages/pkg-simple-epoch => fixtures/pkg-single-arch}/PKGBUILD (70%) rename test/{packages/pkg-simple-epoch => fixtures/pkg-single-epoch}/PKGBUILD (70%) rename test/{packages => fixtures}/pkg-split-a/PKGBUILD (91%) rename test/{packages => fixtures}/pkg-split-b/PKGBUILD (91%) create mode 100644 test/lib/common.bash delete mode 100644 test/lib/common.sh delete mode 100755 test/lib/shunit2 delete mode 100755 test/runTest delete mode 100755 test/test.d/create-filelists.sh delete mode 100755 test/test.d/db-move.sh delete mode 100755 test/test.d/db-repo-add.sh delete mode 100755 test/test.d/db-repo-remove.sh delete mode 100755 test/test.d/db-update.sh delete mode 100755 test/test.d/ftpdir-cleanup.sh delete mode 100755 test/test.d/packages.sh delete mode 100755 test/test.d/signed-packages.sh delete mode 100755 test/test.d/sourceballs.sh delete mode 100755 test/test.d/testing2x.sh hooks/post-receive -- Official repo DB scripts