Move getBaseUrl
[?]
Nov 17, 2015, 10:03 AM
I6QMKSIS7HFBPONWWSGXX2IIHEYHEPA4QU2SSM6QUTDK5NKK3VXQCDependencies
- [2]
KZ55DLPHFix UTF-8 handling of log files - [3]
RX5IIZMTUse Email::MIME instead of Email::Simple - [4]
AFTXA575* $HYDRA_DATA environment variable. - [5]
7DWCXNC7Use the new Nix Perl bindings - [6]
IN272KZW* Automatically keep all builds in the latest successful release in - [7]
TJK27WSBOpen the DB using Hydra::Model::DB->new - [8]
WQXF2T3Dhydra-evaluator: Don't require $HYDRA_CONFIG - [9]
A63IHCMX* Register GC roots properly. - [10]
AMFMXR52Provide a command ‘hydra-init’ to initialise/upgrade the database - [11]
BDSD2JLV* Speed up manifest generation. - [12]
6US6LEC7* Add a NarSize field to Hydra manifests. This allows nix-env - [13]
JAH3UPWASupport revision control systems via plugins - [14]
2EZZORR2Fix email sender address when notification_sender is not set - [*]
2GK5DOU7* Downloading closures. - [*]
LZO3C2KI* Hack around those SQLite timeouts: just retry the transaction.
Change contents
- replacement in src/lib/Hydra/Helper/Email.pm at line 4
use Exporter 'import';use Email::MIME; - replacement in src/lib/Hydra/Helper/Email.pm at line 6
use Email::MIME;use Exporter 'import'; - edit in src/lib/Hydra/Helper/Email.pm at line 8
use Hydra::Helper::Nix; - replacement in src/lib/Hydra/Helper/Email.pm at line 11
our @EXPORT = qw(sendEmail getBaseUrl);our @EXPORT = qw(sendEmail); - edit in src/lib/Hydra/Helper/Email.pm at line 43
}sub getBaseUrl {my ($config) = @_;return $config->{'base_uri'} // "http://" . hostname_long . ":3000"; - edit in src/lib/Hydra/Helper/Nix.pm at line 12
use Sys::Hostname::Long; - replacement in src/lib/Hydra/Helper/Nix.pm at line 16
getHydraHome getHydraConfig txn_dogetHydraHome getHydraConfig getBaseUrl txn_do - edit in src/lib/Hydra/Helper/Nix.pm at line 43[4.524][17.588]
sub getBaseUrl {my ($config) = @_;return $config->{'base_uri'} // "http://" . hostname_long . ":3000";}