[MacPorts] #52941: Deleting tags causes webhook to fail with HTTP 500 because trac-github-update hook crashes

MacPorts noreply at macports.org
Tue Nov 29 01:50:25 CET 2016


#52941: Deleting tags causes webhook to fail with HTTP 500 because trac-github-
update hook crashes
-----------------------------+---------------------
  Reporter:  neverpanic      |      Owner:  admin@…
      Type:  defect          |     Status:  closed
  Priority:  Normal          |  Milestone:
 Component:  server/hosting  |    Version:  2.3.5
Resolution:  fixed           |   Keywords:  trac
      Port:                  |
-----------------------------+---------------------
Changes (by raimue):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"26b29228d1171ac015b0973b5451b5da06f20f8d/trac.macports.org"
 26b2922/trac.macports.org]:
 {{{
 #!ConfigurableCommitTicketReference repository="trac.macports.org"
 revision="26b29228d1171ac015b0973b5451b5da06f20f8d"
 trac-github-update: fix run error on tag deletions

 GitHub will indicate a tag deletion with the special value of
 "0000000000000000000000000000000000000000" as new revision. Whenever the
 change does not reference a valid new SHA1 hash, use the current
 timestamp as fallback.

 Closes: https://trac.macports.org/ticket/52941
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/52941#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list