diff options
author | Julian Blake Kongslie <jblake@omgwallhack.org> | 2010-07-07 14:13:13 -0700 |
---|---|---|
committer | Julian Blake Kongslie <jblake@omgwallhack.org> | 2010-07-07 14:13:13 -0700 |
commit | d21b1c4b1b2f8725cab456041d31f57baf94be89 (patch) | |
tree | 64cad9686fbc8b9375ff3799a3f738dbad06c3ee /usr/src/libpiny/lib/Piny/Repo.pm | |
parent | 65fbfea3c86d774dd688a94ed4b094c8b923b743 (diff) | |
download | piny-code-d21b1c4b1b2f8725cab456041d31f57baf94be89.tar.gz piny-code-d21b1c4b1b2f8725cab456041d31f57baf94be89.zip |
Just a slight renaming.
Diffstat (limited to 'usr/src/libpiny/lib/Piny/Repo.pm')
-rw-r--r-- | usr/src/libpiny/lib/Piny/Repo.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/libpiny/lib/Piny/Repo.pm b/usr/src/libpiny/lib/Piny/Repo.pm index 0661f2b..55e8007 100644 --- a/usr/src/libpiny/lib/Piny/Repo.pm +++ b/usr/src/libpiny/lib/Piny/Repo.pm @@ -108,7 +108,7 @@ has 'ikiwiki_srcdir' => , init_arg => undef ); -has 'url' => +has 'ikiwiki_url' => ( is => 'ro' , isa => 'Str' , lazy_build => 1 @@ -181,7 +181,7 @@ sub _rename_repo { $s->clear_ikiwiki_setup; $s->clear_ikiwiki_destdir; $s->clear_ikiwiki_srcdir; - $s->clear_url; + $s->clear_ikiwiki_url; $s->clear_ikiwiki_cgiurl; $s->clear_ikiwiki_historyurl; $s->clear_ikiwiki_cgipath; @@ -305,7 +305,7 @@ sub _build_ikiwiki_setup { $config->{"adminemail"} = $s->owner->email; $config->{"srcdir"} = $s->ikiwiki_srcdir; $config->{"destdir"} = $s->ikiwiki_destdir; - $config->{"url"} = $s->url; + $config->{"url"} = $s->ikiwiki_url; $config->{"cgiurl"} = $s->ikiwiki_cgiurl; $config->{"historyurl"} = $s->ikiwiki_historyurl; $config->{"diffurl"} = $s->ikiwiki_diffurl; @@ -350,7 +350,7 @@ sub _build_ikiwiki_srcdir { }; }; -sub _build_url { +sub _build_ikiwiki_url { my ( $s ) = @_; return "http://piny.be/" . $s->name; |