Test::S...mArchive(3)

πŸ“¦
version 1.84 Β· 2 versions
, in fedora 43

πŸ’– Test::Smoke::App::RepostFromArchive β€” the tsrepostjsn.pl application πŸ’–

okay so bestie, this is the page for Test::Smoke::App::RepostFromArchive, from the Test::Smoke family, living its best life in the perl docs. Think of it as the lil re-post girlie whose whole job is grabbing smoke reports that didn't make it to the server and yeeting them back where they belong. no cap. 🫢


✨ SYNOPSIS ✨

Interactive mode, the cozy way:

$ tsrepostjsn.pl -c smokecurrent
 Show the last 10 reports:
   1 jsn7a29e8d2c80588346422b4b6b936e6f8b56a3af4.jsn (2022-09-04 05:16:49 +0200)
   2 jsn69bc7167fa24b1e8d3f810ce465d84bdddf413f6.jsn (2022-09-03 05:15:11 +0200)
   3 jsncd55125d69f5f698ef7cbdd650cda7d2e59fc388.jsn (2022-09-02 05:14:42 +0200)
   4 jsn0c33882a943825845dde164b60900bf224b131cc.jsn (2022-09-01 05:15:05 +0200)
   5 jsnb885e42dc2078e29df142cfcefaa86725199d15b.jsn (2022-08-31 05:15:16 +0200)
   6 jsne772cf349a3609ba583f441d10e1e92c5e338377.jsn (2022-08-30 05:15:01 +0200)
   7 jsnf603e191e0bea582034a16f05909a56bcc05a564.jsn (2022-08-29 05:15:14 +0200)
   8 jsn51634b463845a03d4f22b9d23f6c5e2fb98af9c8.jsn (2022-08-28 05:15:47 +0200)
   9 jsn305697f3995f7ddfba2e200c5deb2e274e1136c0.jsn (2022-08-27 05:15:34 +0200)
  10 jsn18fa8a6f818cbe2838cfe9b1bfa0c5d9c311930c.jsn (2022-08-26 05:15:41 +0200)
Type the numbers (with white space inbetween): 1 2 3

Or you can be all decisive and go direct, no menu scrolling energy:

$ tsrepostjsn.pl -c smokecurrent --sha 7a29e8d2c8058 --sha 69bc7167fa2 --sha cd55125d69f5f698ef7cbdd6

πŸŽ€ OPTIONS πŸŽ€

  • --max-reports <cnt> β€” how many reports you want to be offered as choices. Default is 10, bestie. πŸ‘‘
  • --sha <commit-sha> β€” the commit SHA of the smoke you wanna re-post. Drop it more than once if you've got more reports to send, she's not picky.
  • --jsonreport <filename> β€” the actual json-file that's getting re-posted. the real one. the whole point. 🌸

And now, the config-override section, where you can just tell her to do it differently:

  • --adir <dir> β€” the archive directory.
  • --smokedb_url <url> β€” where to POST to for CoreSmokeDB.
  • --poster <poster> β€” use a different poster, if you're feeling spicy.

πŸ’… DESCRIPTION πŸ’…

Test::Smoke::App::RepostFromArchive->new()

Makes a fresh new attribute called poster, and that attribute is of class Test::Smoke::Poster. she's got a whole personality, slay.

$reposter->run()

Grabs a list of jsn<commit-sha>.jsn filenames out of the adir archive directory, and then tries once again to send them to the report server sitting at smokedb_url. like, second-chance energy, we love to see it. πŸ”

$reposter->pick_reports()

First thing she does is check whether reports were handed over on the command line with --sha <commit-sha>. If none came through, she fetches the latest reports β€” --max-reports of them β€” from the archive directory adir, and then lets you pick 1 or more. choose wisely, or don't, it's your moment. πŸ™ˆ

Returns

A list of filenames β€” the json files from the archive. periodt. πŸ’–


Β© 2002-2022, Abe Timmerman <abeltje@cpan.org> All rights reserved.

With contributions from Jarkko Hietaniemi, Merijn Brand, Campo Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop, Rich Rauenzahn, David Cantrell. iconic lineup fr fr 🫢

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See:

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. yeah, no promises, she's doing her best. 😭


πŸ’€ quick reminder bestie: everything above is exactly what the docs say β€” don't go inventing extra behaviour, she said what she said.

and that's the whole page!! πŸŽ€βœ¨ written up for perl v5.42.0, dated 2025-07-25, and yes the docs really do abbreviate her as Test::S...mArchive(3) because apparently even the title bar has a character limit. stay hydrated, go re-post some smoke reports, mwah πŸ’œπŸ¦‹

πŸ“¦ where this page comes from