NAME

Test::Smoke::Fact::SmokeID - The run environment for a Test::Smoke report

SYNOPSIS

  my $fact = Test::Smoke::Fact::SmokeID->new (
      resource => "http://perl5.git.perl.org/perl.git/8c576062",
      content  => {
	  smoke_date      => "2010-05-28 12:13:14 +01",
          git_id          => "8c57606294f48eb065dff03f7ffefc1e4e2cdce4",
	  perl_id         => "5.12.2-RC4",
	  applied_patches => "-",
	  },
      );

DESCRIPTION

These facts identify a smoke. With this ID, one should be able to find all other facts that belong to a single smoke run.

smoke_date

This item describes the date (and time), preferably in ISO norm.

e.g. "2010-05-28T12:13:14+01"

git_id

This item describes the long form of the git SHA1 hash id of the perl checkout that is being smoked.

e.g. "8c57606294f48eb065dff03f7ffefc1e4e2cdce4"

perl_id

This item describes the perl version (or tag) of the perl checkout that is being smoked.

e.g. "5.12.2-RC4"

smoke_id

This item should be a MD5 hash of the above items, but it is possible to pass one. Unless one is passed, it is automatically generated.

applied_patches

This optional item describes what additional patches have been applied before the smoke started.

SEE ALSO

Test::Smoke, Test::Smoke::Metabase, Metabase::Fact. Metabase::Fact::Hash.

AUTHOR

H.Merijn Brand

COPYRIGHT AND LICENSE

Copyright (c) 2010 by H.Merijn Brand

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