From 2d7c59694a261c7b7bf4836711ad3f890954e642 Mon Sep 17 00:00:00 2001 From: Mercier Pierre-Olivier Date: Sat, 26 Oct 2013 17:46:46 +0200 Subject: [PATCH] Manual things --- hooks/gl-pre-git | 2 +- hooks/submissions.pl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hooks/gl-pre-git b/hooks/gl-pre-git index 1b616ee..5f6fd16 100755 --- a/hooks/gl-pre-git +++ b/hooks/gl-pre-git @@ -19,7 +19,7 @@ my $promo = qx(git config hooks.promo); my $id_project = qx(git config hooks.idproject); my $repo_login = qx(git config hooks.repologin); -my @habitent_loin = ("amed_m", "bellev_m", "faure_n", "freima_m", "ikouna_l", "simon_j"); +my @habitent_loin = ("abdeln_a", "amed_m", "bellev_m", "faure_n", "freima_m", "ikouna_l", "simon_j"); # First, check if the repository is in the YYYY/ directory exit 0 if (($promo && $id_project && $repo_login) || $ENV{GL_REPO} !~ /^2[0-9]{3}\/.+\/.+/); diff --git a/hooks/submissions.pl b/hooks/submissions.pl index 4fd4693..1a71310 100755 --- a/hooks/submissions.pl +++ b/hooks/submissions.pl @@ -64,6 +64,7 @@ if ($ref =~ m<^refs/tags/(.+)$>) my $close = DateTime::Format::ISO8601->parse_datetime($rendu->{period}{end}); # TODO: check exceptions by login/group + $open = DateTime::Format::ISO8601->parse_datetime("2013-10-16T16:00:00") if ($repo_login eq "ikouna_l"); say "Date courante : ", $glts->strftime("%d/%m/%Y %H:%M:%S");