From: Emil Williams Date: Tue, 19 Aug 2025 14:47:24 +0000 (+0000) Subject: It Technically *Works* X-Git-Url: https://git.xolatile.top/?a=commitdiff_plain;h=f0c71235a80d8d043132d8e3d9eb4b64a30f354a;p=gorillanest.git It Technically *Works* --- diff --git a/gorillanest b/gorillanest index cd294cb..9356c4d 100755 --- a/gorillanest +++ b/gorillanest @@ -11,6 +11,7 @@ use Sys::Syslog; use Template; use URI::Escape; +use Data::Dumper; sub info { syslog("info", join(' ', @_)); } @@ -53,6 +54,8 @@ sub GN::user { # /$username/ sub GN::repository { # /$username/$repository my ($root, $dataref) = @_; my %data = %$dataref; + $data{log} = Dumper(split(/\n/, qx(git log --pretty=format:\'%H | %an | %ad | %s%x0a\'))); # It technically works # | tac | tr -s \'\n\' + $data{found} = 1; return \%data; } diff --git a/template/index.tt b/template/index.tt index a2048a7..908e25d 100644 --- a/template/index.tt +++ b/template/index.tt @@ -5,7 +5,7 @@

[% title %]

[% description %]

- + [% INCLUDE foot.tt %] diff --git a/template/repository.tt b/template/repository.tt index 2877fa3..f11849a 100644 --- a/template/repository.tt +++ b/template/repository.tt @@ -3,6 +3,7 @@ [% INCLUDE head.tt %]

[% title %]

+

Eventually this page will have something on it, RIGHT?!

[% INCLUDE foot.tt %]