diff --git a/PGBuild/WebTxn.pm b/PGBuild/WebTxn.pm index 47f81d3..b9f0e01 100644 --- a/PGBuild/WebTxn.pm +++ b/PGBuild/WebTxn.pm @@ -122,7 +122,7 @@ sub run_web_txn my $sig = '.256h.' . hmac_sha256_hex($content, $secret); my $ua = LWP::UserAgent->new; - $ua->agent("Postgres Build Farm Reporter"); + $ua->agent("Postgres Build Farm Reporter/$VERSION"); if (my $proxy = $ENV{BF_PROXY}) { my $targetURI = URI->new($target); diff --git a/manage_alerts.pl b/manage_alerts.pl index 9780b06..64ed79d 100755 --- a/manage_alerts.pl +++ b/manage_alerts.pl @@ -86,7 +86,7 @@ BEGIN } my $ua = LWP::UserAgent->new; -$ua->agent("Postgres Build Farm Reporter"); +$ua->agent("Postgres Build Farm Reporter/$VERSION"); if (my $proxy = $ENV{BF_PROXY}) { my $targetURI = URI->new($target); diff --git a/run_branches.pl b/run_branches.pl index e79ddd0..58f1730 100755 --- a/run_branches.pl +++ b/run_branches.pl @@ -307,7 +307,7 @@ sub get_branches_of_interest # make sure we have https protocol support if it's required require LWP::Protocol::https if $url =~ /^https:/; my $ua = LWP::UserAgent->new; - $ua->agent("Postgres Build Farm Reporter"); + $ua->agent("Postgres Build Farm Reporter/$VERSION"); if (my $proxy = $ENV{BF_PROXY}) { my $targetURI = URI->new($url); diff --git a/setnotes.pl b/setnotes.pl index b0f318d..81b5713 100755 --- a/setnotes.pl +++ b/setnotes.pl @@ -89,7 +89,7 @@ BEGIN } my $ua = LWP::UserAgent->new; -$ua->agent("Postgres Build Farm Reporter"); +$ua->agent("Postgres Build Farm Reporter/$VERSION"); if (my $proxy = $ENV{BF_PROXY}) { my $targetURI = URI->new($target); diff --git a/update_personality.pl b/update_personality.pl index 4cb67d1..7dfdd42 100755 --- a/update_personality.pl +++ b/update_personality.pl @@ -100,7 +100,7 @@ BEGIN } my $ua = LWP::UserAgent->new; -$ua->agent("Postgres Build Farm Reporter"); +$ua->agent("Postgres Build Farm Reporter/$VERSION"); if (my $proxy = $ENV{BF_PROXY}) { my $targetURI = URI->new($upgrade_target);