Hi,

On Thu, Aug 10, 2017 at 08:19:20AM +0200, Michael Stapelberg wrote:
> On Thu, Aug 10, 2017 at 6:50 AM, Osamu Aoki <os...@debian.org> wrote:
> 
> The functionality in the tool is exactly what was already communicated in the
> bug :).
> 
> If you need any help with that bug, just let me know.

#1: exact use case example URL.  (Project which hopefully exists after 4
years.)

#2 Yes, I see ... but backticks .... I think I need to do it slightly
different

backticks("git", "clone", "--quiet", "--bare", "--depth=1", $url,
    $dest);

my $commit_data = backticks("git", "--git-dir=$dest", "log", "-1",
    "--date=format:%Y%m%d", "--format=%h %cd");

chomp($commit_data);
$commit_data =~ /^([0-9a-z]{7}) ([0-9]{8})$/m
    or die("Invalid git response: $commit_data");
return ($1, $2);

Thank

Osamu

_______________________________________________
devscripts-devel mailing list
devscripts-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to