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: NixOS/hydra
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 87317812a82e
Choose a base ref
...
head repository: NixOS/hydra
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d50f9a242ffb
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 2, 2020

  1. Remove Debug prints from GitLabStatus.pm

    These make the hydra-queue-runner logs very noisy even when not using the GitlabStatus plugin.
    Also, they shouldn't be necessary except when developing the plugin itself and should have been removed before release.
    Nathan van Doorn authored Nov 2, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2742fde View commit details
  2. Merge pull request #826 from Taneb/patch-2

    Remove Debug prints from GitLabStatus.pm
    edolstra authored Nov 2, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d50f9a2 View commit details
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/lib/Hydra/Plugin/GithubStatus.pm
2 changes: 0 additions & 2 deletions src/lib/Hydra/Plugin/GithubStatus.pm
Original file line number Diff line number Diff line change
@@ -37,7 +37,6 @@ sub common {
my $ua = LWP::UserAgent->new();

foreach my $conf (@config) {
print STDERR "GithubStatus_Debug job name $jobName\n";
next unless $jobName =~ /^$conf->{jobs}$/;
# Don't send out "pending" status updates if the build is already finished
next if !$finished && $b->finished == 1;
@@ -70,7 +69,6 @@ sub common {
my $owner = $1;
my $repo = $2;
my $url = "https://api.github.com/repos/$owner/$repo/statuses/$rev";
print STDERR "GithubStatus_Debug POSTing to '", $url, "'\n";
my $req = HTTP::Request->new('POST', $url);
$req->header('Content-Type' => 'application/json');
$req->header('Accept' => 'application/vnd.github.v3+json');