From 55c4856170113146229217fa0597c3bc7ec497ab Mon Sep 17 00:00:00 2001 From: Lucas Kanashiro Date: Thu, 7 Jan 2016 17:51:14 -0200 Subject: [PATCH] Draft of lib/PackagingStatus.pm --- lib/PackagingStatus.pm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+), 0 deletions(-) create mode 100644 lib/PackagingStatus.pm diff --git a/lib/PackagingStatus.pm b/lib/PackagingStatus.pm new file mode 100644 index 0000000..9a1cb78 --- /dev/null +++ b/lib/PackagingStatus.pm @@ -0,0 +1,27 @@ +use warnings; +use strict; + +package PackagingStatus; + +# Data structure + +# { repo => +# latest_packaging_ref => +# tag => +# value +# commit => value +# commit => value +# latest_devel_ref => +# tag => +# value +# commit => value +# commit => value +# } + +# Methods + +# get_last_tag($repo) +# get_last_commit($repo, $branch) +# set_package_ref($repo, $tag_value, $tag_commit, $commit) +# get_devel_ref($repo) +# update_package_ref() -- libgit2 0.21.2