1Test::Smoke::App::ReposUtsFerromCAorncthriivbeu(t3e)d PeTrelstD:o:cSummoeknet:a:tAipopn::RepostFromArchive(3)
2
3
4

NAME

6       Test::Smoke::App::RepostFromArchive - The tsrepostjsn.pl application.
7

SYNOPSIS

9       Interactive:
10
11          $ tsrepostjsn.pl -c smokecurrent
12           Show the last 10 reports:
13             1 jsn7a29e8d2c80588346422b4b6b936e6f8b56a3af4.jsn (2022-09-04 05:16:49 +0200)
14             2 jsn69bc7167fa24b1e8d3f810ce465d84bdddf413f6.jsn (2022-09-03 05:15:11 +0200)
15             3 jsncd55125d69f5f698ef7cbdd650cda7d2e59fc388.jsn (2022-09-02 05:14:42 +0200)
16             4 jsn0c33882a943825845dde164b60900bf224b131cc.jsn (2022-09-01 05:15:05 +0200)
17             5 jsnb885e42dc2078e29df142cfcefaa86725199d15b.jsn (2022-08-31 05:15:16 +0200)
18             6 jsne772cf349a3609ba583f441d10e1e92c5e338377.jsn (2022-08-30 05:15:01 +0200)
19             7 jsnf603e191e0bea582034a16f05909a56bcc05a564.jsn (2022-08-29 05:15:14 +0200)
20             8 jsn51634b463845a03d4f22b9d23f6c5e2fb98af9c8.jsn (2022-08-28 05:15:47 +0200)
21             9 jsn305697f3995f7ddfba2e200c5deb2e274e1136c0.jsn (2022-08-27 05:15:34 +0200)
22            10 jsn18fa8a6f818cbe2838cfe9b1bfa0c5d9c311930c.jsn (2022-08-26 05:15:41 +0200)
23          Type the numbers (with white space inbetween): 1 2 3
24
25       Or direct:
26
27           $ tsrepostjsn.pl -c smokecurrent --sha 7a29e8d2c8058 --sha 69bc7167fa2 --sha cd55125d69f5f698ef7cbdd6
28

OPTIONS

30         --max-reports <cnt>     Number of reports to choose from (10)
31
32         --sha <commit-sha>      Commit SHA for the smoke (repeat for more reports)
33
34         --jsonreport <filename> The actual json-file to re-post
35
36       Override the config:
37
38         --adir <dir>         Archive directory
39         --smokedb_url <url>  Where to POST to for CoreSmokeDB
40         --poster <poster>    Use another poster
41

DESCRIPTION

43   Test::Smoke::App::RepostFromArchive->new()
44       Creates a new attribute "poster" of class Test::Smoke::Poster.
45
46   $reposter->run()
47       Get a list of "jsn<commit-sha>.jsn" filenames from the "adir" archive
48       directory an try to send them to the report server at "smokedb_url"
49       again.
50
51   $reposter->pick_reports()
52       First checks for reports passed on the command line with "--sha
53       <commit-sha>".  If none were passed it fetches the latest reports
54       "--max-reports" from the archive directory "adir" and lets you pick 1
55       or more.
56
57       Returns
58
59       A list of filenames representing the json files from the archive.
60
62       © 2002-2022, Abe Timmerman <abeltje@cpan.org> All rights reserved.
63
64       With contributions from Jarkko Hietaniemi, Merijn Brand, Campo
65       Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop,
66       Rich Rauenzahn, David Cantrell.
67
68       This library is free software; you can redistribute it and/or modify it
69       under the same terms as Perl itself.
70
71       See:
72
73       •   <http://www.perl.com/perl/misc/Artistic.html>
74
75       •   <http://www.gnu.org/copyleft/gpl.html>
76
77       This program is distributed in the hope that it will be useful, but
78       WITHOUT ANY WARRANTY; without even the implied warranty of
79       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
80
81
82
83perl v5.38.0                      2023-07T-e2s1t::Smoke::App::RepostFromArchive(3)
Impressum