Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3730

Fix changelog.pl for backward compatibility

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.0.0
    • Build
    • None

    Description

      make asf-dist fails by error on changelog.pl

      $ cat /etc/redhat-release 
      CentOS release 6.6 (Final)
      $ make asf-dist
      ./changelog.pl 6.0.0 > CHANGELOG-6.0.0
      Can't use an undefined value as filehandle reference at ./changelog.pl line 54.
      make: *** [gen-changelog] Error 11
      

      probably it works apply patch like this:

      $ git diff -U1
      diff --git a/changelog.pl b/changelog.pl
      index c3d0173..977f9ff 100755
      --- a/changelog.pl
      +++ b/changelog.pl
      @@ -51,3 +51,4 @@ sub jira_search
         $curl->setopt(CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
      -  $curl->setopt(CURLOPT_WRITEDATA, \$resp_body);
      +  open(my $fileb, ">", \$resp_body);
      +  $curl->setopt(CURLOPT_WRITEDATA, \$fileb);
         $curl->setopt(CURLOPT_URL, $url . $endpoint);
      

      Attachments

        Activity

          People

            psudaemon Phil Sorber
            g-adachi Gota Adachi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: