CPAN-Reporter-Smoker-OpenBSD
view release on metacpan or search on metacpan
Change: 4143a4728a10487057b6571924617ea52471b371
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-06-16 11:54:34 +0000
fix: wrong useithreads config
Change: 6eaef5b4973cd37e266c020b15e4a8acdfe6491d
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-06-15 00:41:45 +0000
chore: updating distroprefs
Change: 76111f51f41a3a516abf17ac16fa5be07b014154
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-06-12 00:48:55 +0000
feat: new distroprefs
Change: 39d9d2309e3a45d59ff34c611d2c2814928fafa4
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-06-11 23:24:18 +0000
feat: using half of total memory for MFS
Change: 12e4719e145aafc4f4c9a5a6ef68fd8868aa6d5c
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-06-11 23:23:47 +0000
Change: 266120596331ed9bb4853d95d4e0ef321af1a1be
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-05-08 15:54:42 +0000
fix: block for all perls
Change: 1f3161258af3c64c9bc15c42618500403189f335
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-05-08 15:53:24 +0000
chore: new distroprefs
Change: 11b34eab59d2619c3a8d7ed095d7d8c8261a7411
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-05-08 15:09:58 +0000
refactor: script replaced with Ansible
Change: 47d784850503fe3483b1a0f6e4a033e993454748
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-05-08 14:35:16 +0000
Change: 619a364a6b4db74ee04a0b83c2e7fd74eedf76bd
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-05-07 00:49:52 +0000
refactor: filesystem config with Ansible
Change: 5c498fa4d0315de6633024a7483fb73f87a2f1c3
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-05-07 00:48:02 +0000
fix: distroprefs undef warning
Change: aab8b95d2e88169098f5dc1f0451944ef880a03e
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-05-03 21:54:21 +0000
Merge branch 'master' into ansible
Change: 91402ef1943c887e13bccd7d1c03eef75590328c
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-04-28 16:29:53 +0000
Change: 79fad392b6d80627d677cccf5f3ef7d531175574
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-04-28 16:29:42 +0000
refactor: avoiding STDERR message
Change: 7f113a164ab7ce727903b7b525b7647b8cb15546
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-04-28 16:29:12 +0000
fix: invalid distroprefs when undef
Change: fbe1c79b76f17f61e6d205f1c51aa62b2978ee23
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-04-28 13:01:29 +0000
fix: undef does not work
Change: b10aa6c44e06b917c4d1a9d472270e7a155d383e
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-04-22 20:18:20 +0000
Change: fba503b6dca74fec5ebd8c3ab75973b4678c453a
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-04-09 11:04:07 +0000
Merge branch 'master' into ansible
Change: 675967774644219001d0e9efadadf45f25f07899
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-04-06 14:20:35 +0000
chore: required distroprefs updates
Change: 8f543598d4d51dd49bd06d3fdd431144669ec783
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-04-04 00:39:19 +0000
Merge branch 'ansible' of github.com:glasswalk3r/cpan-openbsd-smoker
into ansible
Change: 6e45ba7ddc4459dca79e1422431cd4a682b1f72d
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Change: 2e24a6bc45f4784697df3e5f52280f86a7aa35f6
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-03-04 10:39:11 +0000
fix: all architectures affected
Change: f1336d9ddcffb6bd38077bc472349f468d533d4d
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-03-03 11:06:52 +0000
feat: new distroprefs
Change: 249d06f98f84d91a5e7c8398351c8675420c3e62
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-03-03 11:05:14 +0000
Merge branch 'master' into ansible
Change: f66a99bb3db182efb4b79169aa8c263b44e4dccd
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-03-03 11:04:57 +0000
fix: broken in all architectures
Change: 4cfa5d9c114bf5f58d657a3b11c905af03cd99cd
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-03-02 16:53:39 +0000
fix: handling distroprefs
Change: a51bde817f64c9adfa49c5859b5676bc4030df7f
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-03-02 00:33:15 +0000
fix: cannot test CPAN::Reporter::Smoker
Change: 374c02f7671341009fabb3cea9fd102510ac792f
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-03-02 00:25:35 +0000
Change: 1d4d9602fa3be143124f4d703b54b15a1957108f
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-02-25 16:48:34 +0000
fix: envs for testing only
Change: 93d868882728c7a4e483e763805b0253ed644bc1
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-02-25 16:24:20 +0000
feat: distroprefs for MariaDB e MySQL DBI tests
Change: 87c0e66e1dbff8a6dfd20f7a4361c130c80b34bb
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-02-25 16:22:26 +0000
fix: typo
Change: c8702751a927a4182aee1a90b82213dcbdc0a38c
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-02-25 15:54:10 +0000
Change: 244a58ea102abfa0e71f0ab0040ac27097ddd77c
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-02-25 15:53:51 +0000
fix: fine tunning for speed
Change: c14920309fa745057441327c85a3e7b993756190
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-02-25 15:53:31 +0000
refactor: moving env vars to distroprefs
Change: 39d90b451005e6387894bef149ae69d9f9c2df7e
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-02-25 15:53:14 +0000
feat: low privileges user for smoker
Change: 1f5c8db28be71ff900af52a73f9644f0abd5d3d8
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-02-25 12:32:12 +0000
Merge branch 'master' into ansible
Change: 0684aadd62b5d6c8432d44a18214b0f89e7079a5
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-02-25 12:04:36 +0000
Merge pull request #4 from glasswalk3r/feature/disto_prefs
Feature/disto prefs
Change: bfc0bffab52df7103428250d0658dc427ae53b0b
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-02-25 12:01:04 +0000
chore: updated files to ignore
Change: 31e108f1a6257b34640941534dc3de334cf10b49
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-02-25 11:59:12 +0000
new distroprefs
Change: e42044cda5d897bf66228a99d1d24de05e158aee
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-02-22 16:11:05 +0000
Merge branch 'ansible' of github.com:glasswalk3r/cpan-openbsd-smoker
into ansible
Change: 9a5ee08780311c48e66dec5f0739ac38902d7b23
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Change: 678d3a64381228c40acc0f62767e4adbbf76f9ec
Author: alceu.freitas <alceu.freitas@semantix.com.br>
Date : 2022-02-21 13:52:05 +0000
refactor: deprecated, single user
Change: 67019bceebe63da09d55c0ad30e40abdf5a469f5
Author: alceu.freitas <alceu.freitas@semantix.com.br>
Date : 2022-02-16 20:16:54 +0000
feat: new prefs
Change: 961dd1d4994ba0cccab2828f2a78536dfea253a9
Author: alceu.freitas <alceu.freitas@semantix.com.br>
Date : 2022-02-16 20:13:03 +0000
chore: all architectures affected
Change: 3596ca6bc1b3459b659bce176dc9423ba02a55c2
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2022-02-13 19:24:05 +0000
Change: 4094adbe2d2e0a333636d7a7c2846122af7791b5
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-09-01 03:42:06 +0000
Bug fixes
Change: 4cfa2f91e3615dc78b467272b8b505f341e9df68
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2018-08-01 14:00:51 +0000
Added new distroprefs
Change: 8c4a7665ac9bd61e3404b4108e042dd459fbe15d
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-07-29 22:32:07 +0000
Reduced number of info stored in distroprefs
Experience during smoking tests shows that most of the cases, a
distribution that blocks archtecture, OS version and some cases if
the perl was compiled with threads support or not. More than that, it
is just noise.
Change: 0a303addbd35a78bcbf2b113ead150ca8086991b
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2018-07-27 19:51:51 +0000
Updated list of blocked distros
Change: 515c675810e3626b23b0717fc91fe4aae6081ed9
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-07-22 11:25:46 +0000
Adding OS and architecture name to distroprefs
Adding minimum information to distroprefs files created with dblock.
Experiences show that distributions presenting issues on OpenBSD
occurs on all versions of the OS or perl version. Switching back the
version 0.017, since 0.016 is the last version available on Metacpan.
Change: 6ec399707cef43e601fb1662133672e0a88e3b3a
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2018-07-20 10:05:04 +0000
Updated comment in distro file
Change: 201364c6740491a02365d7fc7add1cc1529a898f
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2018-06-20 23:28:55 +0000
Generic blocking distributions
Change: ca4651719876cc1b7ca6dc43510537e4b65ff4b5
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2018-06-20 14:29:30 +0000
Added new prefs to block distro
Change: a113185b95b4a3e482b4510eb7e9f5d3df68f03c
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2018-06-18 15:58:45 +0000
Blocking distros for all OpenBSD versions
Change: 94d756ac233c090ba2f07514c229f33c7fc59a70
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-06-11 00:36:53 +0000
Change: 000305643101d9f10fe6cd47ece26c7b410d3ab5
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2018-06-02 13:39:48 +0000
Update LICENSE
Change: 2f868b41eb406e0ba767b64d9ec4db84acb4e66c
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2018-04-04 12:10:26 +0000
new distroprefs additions, keeping IPC-Cmd namespace safe
Change: c7001b1aaf7e2ee14f287eb8a49be9eb0451ad2e
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-03-31 18:11:58 +0000
Updated README.md with latest project changes.
Change: b68676b7dff347522c565ead94ee04bff5053084
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-03-31 16:59:52 +0000
files between the host and VM, which should help keeping track of
those files. Finished implementation of config_smoker.pl. Fixed bug
of config_smoker.pl. install_perl.sh was updated to use information
provided by the YAML file. Created read_yaml.pl to parse the YAML and
provide the required information in a format that parallel could use.
Change: 358b0453702d645e84735fc6b163c9aa2b492d83
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2018-03-21 11:44:13 +0000
Added new distroprefs
Change: d471cf3d70629209ae5ca16b0e0add3b44ca0118
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2018-03-12 15:37:10 +0000
Fixed a bunch of mistakes with distroprefs
A lot of distroprefs were inserted with non-valid YAML lines, those
are now fixed. Added a simple Perl program to validate all the YAML
distroprefs syntax.
Change: 9d49b3a775fb47a14dd3c3e1a7f6905dcfce1335
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-03-10 23:40:11 +0000
Enhancements for dblock
Made dblock create very specific distroprefs to disable distributions
to run over the smoker. Setup the proper umask to make the
distroprefs file to be created with write permissions for the group.
Fixed tests due those changes.
Change: 51e699f149a80b525c37c0ed08abaf1e793c5dff
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-03-10 23:00:33 +0000
Specifying more details to distroprefs
Added osname, osvers and archname (from Config module) to the
following distroprefs in order to make them more specific for
disabling distributions.
Change: 169347dc426a13d67282749d73cfb6428a68cdf5
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-03-10 22:23:25 +0000
Removed distroprefs disabling cperl
cperl is not officially supported by CPAN Testers, so removing those
specific distroprefs.
Change: 44d98b54083997c921de7f28b5f0196677a1e923
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2018-03-08 16:43:57 +0000
Using full perlconfig on distroprefs
Adding all options for perl installed using perlbrew to create more
specific filters for the distroprefs. Removing the unnecessary
generation of random strings for distro name. dblock now delegates
the YAML comment generation to the block_distro function. The
dblock.t tests now uses 100% mocked data for testing.
Change: 16044aa7c2c6a761aaa652d2527c5bfa5e8990e0
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2018-03-08 11:48:42 +0000
Added more distroprefs
Change: 343caa2fcff6ca7bba3ffc319a1ae88510cd3b27
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2018-03-07 18:29:34 +0000
Finished fixing the tests
Change: d5a18c6acf22e580fd1e249e90ab13d63925cecd
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2018-03-07 18:14:54 +0000
Fixing dblock clashing with existing distropres
Change: 4d915f4842dd71c4248945d8b4c1f4a2fbf477e7
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-03-05 14:16:18 +0000
Disable dblock testing with cpanplus
The cpanplus client doesn't use the concept of prefs_dir, so here we
are disabling the dblock tests with it.
Change: e2864f9749c7f514e56417f69f62276e4f50fb81
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-03-04 12:15:12 +0000
Fixed minor bug on dblock testing
Changed the requirement to have a readable/writeable prefs_dir for
testing dblock, which tests failed on some CPAN smokers.
Change: 12cc180ec726f61eb35ffbc7eed14181447941d6
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-03-03 14:54:05 +0000
More fixes added to the tests
Change: e367ba4f0a2825d1785a6bf4659e90af34e4bfdd
Author: Alceu Rodrigues de Freitas Junior <cin_afreitas@uolinc.com>
Bug fixes with dblock
Change: d95217af3824edec99d6d2b8e81356400bec8414
Author: Alceu Rodrigues de Freitas Junior <cin_afreitas@uolinc.com>
Date : 2018-02-28 13:58:25 +0000
Refactoring and more testing
Refactored the functionality of dblock into
CPAN::Reporter::Smoker::OpenBSD to make it easier for testing. Added
a tests and related distroprefs to validate everything is working
fine.
Change: b799298b0ed3ea12d56cb40c2140207af3589a26
Author: Alceu Rodrigues de Freitas Junior <cin_afreitas@uolinc.com>
Date : 2018-02-28 11:33:25 +0000
Fixed introduced bug with dblock
Change: 7ad9b861993ed12d46ada9828f782caa7d107d9d
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Enhancements for dblock
dblock now accepts custom comments. dblock now adds the PERBREW_PERL
environment variable to be matched against the perl version that was
identified some issue.
Change: be530ec91b76823f20d0eaea487e66e8b7ee3b27
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2018-02-21 19:25:38 +0000
Added distroprefs to disable distro smoking tests
Change: 6a78c834e5366de9462c7c9d7ac2d215d4d9a473
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2018-02-18 20:06:39 +0000
Merge pull request #2 from glasswalk3r/DBIx-Class-extended-tests
Enabled DBIx::Class module extended testing
Change: b21e26ebbb1da5d1f55c70a4f8301339590e9874
Change: 7290e851b014a2d52e11a37b1c09a8cba8e2de54
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-02-08 16:31:00 +0000
Small fixes
Change: 989913d54e176b70a2df825761cc8cb34af267b1
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-02-05 13:22:35 +0000
Added more distroprefs
Change: 6d5829361fc82b624ebbeb63f24aae8cf879379e
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-02-04 20:10:34 +0000
Set OpenBSD 6.2 as default
Change: 08d801680e64070fedbb72aed78829d4cc574eae
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-01-23 14:43:49 +0000
Date : 2018-01-21 12:59:34 +0000
Updated the README.md
Some information was outdated, some were missing.
Change: 929750b358f66b8f8a62390c009b8d7674a7873d
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-01-19 16:58:34 +0000
More distroprefs for blocking distributions
Change: 8d31890d2bddd213fb552443c6948d269b74db36
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-01-17 16:06:42 +0000
More distroprefs for blocking distributions
Change: 0de6ff32ae919a5c6ed897aaed36d564c410cdfb
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-01-12 12:26:37 +0000
New distroprefs files blocking distros on Smoker
Change: afe99b5c684cf47c8578d7b010e36f37d183b9ef
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-01-05 17:52:30 +0000
Added preference files for problematic distros
Change: b5a6b32bd6f78777906ea1995c0f5d15c4340e8b
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2018-01-04 07:20:44 +0000
Date : 2017-11-28 19:29:19 +0000
Added more preferences files to disable distributions smoking
Change: 25ef734b30376bb217dce9807f3b6f3bbf9fffca
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2017-11-27 09:07:10 +0000
Enhancements and bug fixes
Added configurable prefs_dir, since using it through /minicpan was
causing problems (minicpan erases all files when executed). Added
more comments in the Vagrantfile Now support to "perl-stable" and
"perl-blead" keywords are correctly supported.
Change: 5ad49ada795c8faa8f425903aa8633b056132ceb
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2017-11-26 10:59:28 +0000
Merge branch 'master' of github.com:glasswalk3r/cpan-openbsd-smoker
Change: 36373259f0a260a21e6737c3dfd4cba32027a605
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2017-11-14 08:25:25 +0000
Bug fixes
Fixed bug of not getting the full name from Vagrantfile of the test
results submitter. Fixed typo with with build_dir parameter, which
had an extra slash at the beginning of the string. Added commands to
make sure the test users can add preference files to /minicpan/prefs
as well.
Change: 1f0348e3abf5c39c3caba7217188b4dd73eb6e6b
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2017-11-12 11:12:09 +0000
Merge branch 'master' of
https://github.com/glasswalk3r/cpan-openbsd-smoker
Change: 96573d157a69a31226774768a7cb3b1ab4cc72d9
Bug fix on command line options
Fixed a bug with send_reports when passing --version and not getting
it Added the plug-in CPANFile to make it easier to install
dependencies
Change: 75a7567c0d091496b8de9a32a695c8124ec967f6
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2017-04-10 19:31:01 +0000
New distro prefs
Added two new distro prefs files. Also forcing update of
CPAN-Reporter-Smoker-OpenBSD distro
Change: 6171bae4c79508c9bfa74f6d4abf42747c55f87c
Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>
Date : 2017-04-09 17:14:20 +0000
Add on going usage and FAQ
Change: 1cb44419ba5780e9c0fdf5c5c1ad4dbbe94e7083
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Change: 9160ee6a87ab4bfaddea4cd21017b199f2b8c7b2
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2017-04-05 23:39:20 +0000
Merge remote-tracking branch 'refs/remotes/origin/master'
Change: ad4f4d21cd6fd08385e0ed02028c6d4518fbfdda
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2017-04-05 23:38:49 +0000
Added more prefs files
Change: 5873433dba8af694282bff8e5680c6e45cc32a20
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2017-04-05 23:35:13 +0000
Small bug fixes and Pod
- fixed a bug on the block help message - added basic command line
argument parsing for mirror_cleanup - added Pod for mirror_cleanup -
incremented distro version for release
Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
Date : 2016-09-20 16:32:49 +0000
Added platform independent path to save the distro pref file
Change: 0d8d6ac27d2a8d3fc4cef704d90eb8927facba4a
Author: Alceu Rodrigues de Freitas Junior
<arfreitas@ragadaz.spo.virtua.com.br>
Date : 2016-09-17 09:42:26 +0000
More prefs
Change: b64493e1d6b503ba7881147cf03f84d702a565d9
Author: Alceu Rodrigues de Freitas Junior
<arfreitas@ragadaz.spo.virtua.com.br>
Date : 2016-09-11 22:15:23 +0000
removed harcodes from send_reports.pl now send_reports.pl can select
to send only PASSed reports adding a new distro pref
Change: b0c34f9e038a34282750ebe966f969379ad36f1f
README
bin/dblock
bin/mirror_cleanup
bin/send_reports
cpanfile
dist.ini
lib/CPAN/Reporter/Smoker/OpenBSD.pm
lib/CPAN/Reporter/Smoker/OpenBSD/PerlConfig.pm
t/basic.t
t/dblock.t
t/distroprefs/ARFREITAS.Foo-Bar.yml
t/scripts.t
xt/001-pod.t
xt/002-pod-coverage.t
xt/kwalitee.t
my $perl_info = CPAN::Reporter::Smoker::OpenBSD::PerlConfig->new;
unless ( my $data_ref = block_distro( $distro, $perl_info->dump, $comment ) )
{
exit(1);
}
else {
my $path = delete( $data_ref->{full_path} );
# to make sure group can write to distroprefs
umask 002;
DumpFile( $path, $data_ref );
}
__END__
=head1 dblock
dblock - program to write a distribution preferences files to disable the smoker from testing it
This parameter expects a string describing the Perl distribution to be disabled regarding testing on the smoker.
The string must have the format <AUTHOR>/<DISTRIBUTION>.
This is a required parameter: not providing it will cause the program to abort with an error.
=item B<--help>
This help message.
=item B<--comment>
Addeds a customized comment to the distroprefs file. It's entirely optional, and if not given, the default text will
be the string C<Tests hang smoker>. Sometimes you want to add an distroprefs when, for example, the distribution uses
too much disk space, and an different message will help to identify that.
=item B<--version>
Prints the version number and exits.
=back
=head1 DESCRIPTION
This program creates a YAML file that describes a Perl distribution preferences specifically to disable L<CPAN::Reporter> to skip
trying to test the distribution itself.
Sometimes this is required to be included for CPAN Smokers (see L<CPAN::Reporter::Smoker>) because some distributions just cannot be tested
automatically and makes a smoker to hand during the tests, having the related processes to be terminated manually.
The YAML file will be created on the respective home directory of the user, followed by C<.cpan> and C<prefs>.
See L<CPAN::Reporter> Pod for details. You can check examples of those files on this project webpage at Github. Those preferences files were
created during several tests executed.
=head1 AUTHOR
Alceu Rodrigues de Freitas Junior, E<lt>arfreitas@cpan.orgE<gt>
=head1 COPYRIGHT AND LICENSE
lib/CPAN/Reporter/Smoker/OpenBSD.pm view on Meta::CPAN
warn "invalid string '$distro' in --distro!\n\n";
return 0;
}
else {
return 1;
}
}
=head2 block_distro
Blocks a distribution to be tested under the smoker by using a distroprefs file.
Expects as parameters:
=over
=item 1.
a distribution name (for example, "JOHNDOE/Some-Distro-Name").
=item 2.
The perl interpreter (which is in execution) configuration.
=item 3.
An comment to include in the distroprefs file.
=back
It returns a hash reference containing keys/values that could be directly
serialized to YAML (or other format) but the C<full_path> key, that contains
a suggest complete path to the distroprefs file (based on the L<CPAN> C<prefs_dir> configuration
client.
If there is an already file created as defined in C<full_path> key, it will C<warn> and return C<undef>.
=cut
sub block_distro {
my ( $distro, $perl_info, $comment ) = @_;
my $distribution = '^' . $distro;
my $filename = "$distro.yml";
lib/CPAN/Reporter/Smoker/OpenBSD.pm view on Meta::CPAN
my %data = (
comment => $comment || 'Tests hang smoker',
match => {
distribution => $distribution,
perlconfig => $perl_info
},
disabled => 1
);
CPAN::HandleConfig->load;
my $prefs_dir = $CPAN::Config->{prefs_dir};
die "$prefs_dir does not exist or it is not readable\n"
unless ( -d $prefs_dir );
my $full_path = File::Spec->catfile( $prefs_dir, $filename );
if ( -f $full_path ) {
warn "$full_path already exists, will not overwrite it.";
return;
}
else {
$data{full_path} = $full_path;
return \%data;
}
}
lib/CPAN/Reporter/Smoker/OpenBSD/PerlConfig.pm view on Meta::CPAN
use CPAN::Reporter::Smoker::OpenBSD::PerlConfig;
my $cfg = CPAN::Reporter::Smoker::OpenBSD::PerlConfig->new;
=head1 DESCRIPTION
This class represents a C<perl> configuration in a way that can be used by the
C<dblock> CLI.
It was created to handle the details of a distroprefs implementation, specially
regarding dealing with C<undef> values.
=head1 METHODS
=head2 new
Creates a new instance of this class.
Expects nothing, returns a new instance.
plan tests => $total_tests;
SKIP: {
skip
"Can only run those tests with cpan client, currently testing with cpanplus, version $ENV{PERL5_CPANPLUS_IS_VERSION}",
$total_tests
unless ( not( exists( $ENV{PERL5_CPANPLUS_IS_VERSION} ) ) );
CPAN::HandleConfig->load;
my $prefs_dir = $CPAN::Config->{prefs_dir};
skip "prefs_dir '$prefs_dir' is not available for reading/writing",
$total_tests
unless ( -d $prefs_dir && -r $prefs_dir && -w $prefs_dir );
my $distro_name = 'ARFREITAS/Foo-Bar';
my %perl_info = (
no_useithreads => 'define',
osname => 'openbsd',
archname => 'Openbsd.amd64-openbsd'
);
my $data_ref
= block_distro( $distro_name, \%perl_info, 'Tests hang smoker' );
# required to avoid issue with different paths
delete( $data_ref->{full_path} );
my $expected = LoadFile(
File::Spec->catfile( 't', 'distroprefs', 'ARFREITAS.Foo-Bar.yml' ) );
like( $data_ref->{match}->{distribution},
qr/^\^ARFREITAS/,
'the created distroprefs has the expected distro name' );
# to match the current running OS
update_per_env($expected);
my $perl_info = CPAN::Reporter::Smoker::OpenBSD::PerlConfig->new;
$data_ref
= block_distro( $distro_name, $perl_info->dump, 'Tests hang smoker' );
delete( $data_ref->{full_path} );
note('Testing with CPAN::Reporter::Smoker::OpenBSD::PerlConfig');
is_deeply( $data_ref, $expected, 'block_distro works as expected' )
or diag( explain($data_ref) );
( run in 1.553 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )