Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: haiku/infrastructure
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8d0c2183a8fe
Choose a base ref
...
head repository: haiku/infrastructure
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5996d3a6c643
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Aug 27, 2021

  1. Copy the full SHA
    5996d3a View commit details
Showing with 4 additions and 1 deletion.
  1. +4 −1 data/gerrit/hooks/receive-notify.pl
5 changes: 4 additions & 1 deletion data/gerrit/hooks/receive-notify.pl
Original file line number Diff line number Diff line change
@@ -54,6 +54,9 @@
# base URL of the cgit repository browser (can be set with the -u option)
my $cgit_url = git_config( "notify.baseurl" );

# irc channels to notify
my $irc_channels = git_config( "notify.irc" ) || "#haiku-dev";

# default repository name (can be changed with the -r option)
my $repos_name = git_config( "notify.repository" ) || get_repos_name();

@@ -192,7 +195,7 @@ sub irc_notification
my $req = HTTP::Request->new(POST => "https://build.haiku-os.org/irccat/send");
$req->header('Authorization' => "Bearer $password");
$req->header('Content-Type' => 'application/x-www-form-urlencoded');
$req->content($_);
$req->content("$irc_channels $_");
$ua->request($req);
}
}