Re: Test Data for DigiKam
Steven Robbins <[email protected]> Wed, 28 Sep 2022 21:27:12 -0500
| Newsgroups | gmane.comp.kde.digikam.devel |
|---|---|
| Message-ID | <1927595.usQuhbGJ8B@riemann> |
On Wednesday, September 28, 2022 12:43:44 A.M. CDT Gilles Caulier wrote: Hello ... just had a moment to try the script. > To checkout source and doc, developers will use the "download-repos" > script, which is called "gits" script. This last one will parse the > .gitslave configuration file to process multiple checkouts locally. > Note that developers need to patch previously the .bashrc > configuration with "export GITSLAVE=.gitslave" definition, else it > will not work. Is that still accurate? I didn't set GITSLAVE, yet it appears to work: steve@riemann:~/projects/digikam$ echo $GITSLAVE steve@riemann:~/projects/digikam$ ./download-repos Cloning into 'doc'... remote: Enumerating objects: 6914, done. remote: Counting objects: 100% (28/28), done. remote: Compressing objects: 100% (22/22), done. remote: Total 6914 (delta 9), reused 21 (delta 6), pack-reused 6886 Receiving objects: 100% (6914/6914), 141.89 MiB | 2.55 MiB/s, done. Resolving deltas: 100% (3015/3015), done. However, it does NOT work if on a feature branch: steve@riemann:~/projects/digikam$ git checkout feature-qtav-testing steve@riemann:~/projects/digikam$ ./download-repos Cloning into 'doc'... [...] Resolving deltas: 100% (3015/3015), done. Switching "" to branch "feature-qtav-testing" fatal: 'origin/feature-qtav-testing' is not a commit and a branch 'feature- qtav-testing' cannot be created from it Branch inconsistency, branch feature-qtav-testing does not exist for doc - Failed to populate gits repositories, aborting. > And if we append the url to .gitslave, this repo will be downloaded > automatically with source code. > > So: can we devise a mechanism where we run lower-frequency (once per day?) > > test jobs to get this coverage? Turns out that is very easy [1]. One can even set up variables. We could set a variable to mean "run the expensive tests" and use that in the cmake script to trigger running "download-repos". [1] https://invent.kde.org/help/ci/pipelines/schedules.md > > That would require the CI "checkout" > > mechanism to pull down this second repo in some fashion. Is that do-able? > > Certainly, but all the in-deep CI settings must be configured in a > special place managed by system admin. Are you referring to CI settings to make sure perl (and whatever else "download-repos" needs) ? Or something else? -Steve
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEy89k8fa3rclNjyokyeVeL63I9LkFAmM1AoAACgkQyeVeL63I 9Lkddg//UH0u3M5eyJddg7OeikD0lm6Nhu+II6v15Zo/xM9gO1q6gRZNuQxJ0tOE AxjiAd1Nz1gHQA2DhtB2MJTOmiW+Yqm4zICd+AwYu/dnw/qOQfeEadj8cZ9OPSKf izzBpU1ppXIiwNksmTrgayhLYPCK7WxvQiw5bn2is9JpQm4zBhfTX2lodytvC7Vw 4OoXH4SMR2v+p0XgVF7SX+kp3PWblhLIKvOstuqGSrmPkOHhfk3daJKfPqziPIUE +1U8TWqi4IRLoV3u3NTlxx380Ilmw6LvFtMvqJS/uPxoJBTiEu6QETv+DTvBEJrz xey1LxkvLpbosq05+a2R/xN465CsvOEEo1oAJpEPNXnAn5tTOGjm2wbSk6LMG2pY 1oWAShl2XsFh7F0UMQp7yepZ+hehn28syH6aLRa8cAj/HfXqQYVw2nOvRgDzTNLg 2RCAH8H2iVm+xXB/Za87KrzcI6+6sTEaNOr3OEAJ9LZj8TYiIHXrYCyQD125oAW0 ZiQmQg7qTVGcQcbYoCe645LjO8Ty+irNX9lmbgztyeoKzjM/Z0KBuoqcXyA5vDiL Uv8qojiRjXzXeeeB4H9T1APY8982JBpwZFtPyqitEBj3anpQCy/3xjTM0YeD3ZRt OBOtszCj6gF6QbpFRLiu7MGeMaMKnM2w4R0HuRCdEIq9pJNYpDI= =u5MZ -----END PGP SIGNATURE-----