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      => "2011-04-17 13:41:14 +01",
        git_id          => "1f656fcf060e343780f7a91a2ce567e8a9de9414",
        git_describe    => "5.13.11-452-g1f656fc",
        perl_id         => "5.14.0",
        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. "1f656fcf060e343780f7a91a2ce567e8a9de941"

git_describe

This item describes the string that git describe hash would give for the perl checkout that is being smoked.

e.g. "5.13.11-452-g1f656fc"

perl_id

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

e.g. "5.14.0"

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-2011 by H.Merijn Brand

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