summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjrayhawk+piny.be@omgwallhack.org <jrayhawk+piny.be@omgwallhack.org>2011-04-27 19:54:34 -0700
committerjrayhawk+piny.be@omgwallhack.org <jrayhawk+piny.be@omgwallhack.org>2011-04-27 19:54:34 -0700
commit33315ba67aaa322178936870feb3db3789a281bf (patch)
tree6d5002486cacb60f7ee001a27353594f3a62b160
parent9d3d3f9fee502dcd150717a44bdc71b045c8fcc9 (diff)
downloadpiny-code-33315ba67aaa322178936870feb3db3789a281bf.tar.gz
piny-code-33315ba67aaa322178936870feb3db3789a281bf.zip
Renaming piny.newuseremail to piny.adminemail
-rw-r--r--docs/issues/notification.mdwn5
-rw-r--r--libpiny/lib/Piny/Config.pm2
-rwxr-xr-xpinyadmin/sbin/newrepo2
-rwxr-xr-xpinyadmin/sbin/newuser2
-rwxr-xr-xpinyadmin/sbin/rmrepo2
5 files changed, 8 insertions, 5 deletions
diff --git a/docs/issues/notification.mdwn b/docs/issues/notification.mdwn
index 2db60dd..c100a27 100644
--- a/docs/issues/notification.mdwn
+++ b/docs/issues/notification.mdwn
@@ -1,7 +1,10 @@
-* Status: [[!taglink open]] <!-- Choose one: open, closed -->
+* Status: [[!taglink closed]] <!-- Choose one: open, closed -->
* Assigned to: [[!taglink jrayhawk]], [[!taglink jblake]] <!-- Choose one or more: jrayhawk, jblake -->
* Priority: [[!taglink now]] <!-- Choose one: now, soon, later -->
* Opened by: jrayhawk
### Discussion
newuser and newrepo events should be sent to, for now, jrayhawk+piny.be@omgwallhack.org.
+
+### 20110427 jrayhawk
+closing
diff --git a/libpiny/lib/Piny/Config.pm b/libpiny/lib/Piny/Config.pm
index a715024..ef18541 100644
--- a/libpiny/lib/Piny/Config.pm
+++ b/libpiny/lib/Piny/Config.pm
@@ -209,7 +209,7 @@ sub tweakable {
# The tweakables
# Global tweakables, which only make sense in the global config file.
-tweakable "piny_newuseremail" => "jrayhawk\@omgwallhack.org", 'Str';
+tweakable "piny_adminemail" => "jrayhawk\@omgwallhack.org", 'Str';
# Repo-specific tweakables, in the repos' .git/config files.
tweakable "piny_ikiwikidestdir" => "/srv/www/piny.be/", 'PathDir';
diff --git a/pinyadmin/sbin/newrepo b/pinyadmin/sbin/newrepo
index a63d96a..0a6cdf0 100755
--- a/pinyadmin/sbin/newrepo
+++ b/pinyadmin/sbin/newrepo
@@ -45,7 +45,7 @@ while( 1 ) {
};
my $config = Piny::Config->new( );
-my $dest = $config->piny_newuseremail;
+my $dest = $config->piny_adminemail;
unless( open( MAIL, "|/usr/lib/sendmail -t" ) ) {
die "Couldn't execute sendmail: $!\n";
diff --git a/pinyadmin/sbin/newuser b/pinyadmin/sbin/newuser
index eeb5617..e6dd785 100755
--- a/pinyadmin/sbin/newuser
+++ b/pinyadmin/sbin/newuser
@@ -127,7 +127,7 @@ if ( not defined $password or $password eq "" ) { print "Password is undefi
# Here on down is the actual creation code.
my $config = Piny::Config->new( );
-my $dest = $config->piny_newuseremail;
+my $dest = $config->piny_adminemail;
unless( open( MAIL, "|/usr/lib/sendmail -t" ) ) {
die "Couldn't execute sendmail: $!\n";
diff --git a/pinyadmin/sbin/rmrepo b/pinyadmin/sbin/rmrepo
index 82df04f..a65146d 100755
--- a/pinyadmin/sbin/rmrepo
+++ b/pinyadmin/sbin/rmrepo
@@ -8,7 +8,7 @@ use Piny;
my $env = Piny::Environment->instance( );
my $config = Piny::Config->new( );
-my $dest = $config->piny_newuseremail;
+my $dest = $config->piny_adminemail;
foreach my $reponame ( @ARGV ) {