[tor-bugs] #33847 [Internal Services/Services Admin Team]: teach zwiebelbot about GitLab

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Apr 8 18:20:34 UTC 2020


#33847: teach zwiebelbot about GitLab
-------------------------------------------------+-------------------------
     Reporter:  anarcat                          |      Owner:  (none)
         Type:  task                             |     Status:  new
     Priority:  Medium                           |  Milestone:
    Component:  Internal Services/Services       |    Version:
  Admin Team                                     |   Keywords:  tickets-
     Severity:  Normal                           |  migration
Actual Points:                                   |  Parent ID:  #30857
       Points:                                   |   Reviewer:
      Sponsor:                                   |
-------------------------------------------------+-------------------------
 Part of the gitlab migration will require a change to the IRC bot telling
 us about issue titles (and statuses).

 Right now, when we say "#N" (e.g. #1234) in a tor channel, it fetches the
 bug #N title/status from Trac and displays it in the IRC channel, like so:

 {{{
 14:12:53 <+anarcat> #23933
 14:12:54 -zwiebelbot:#tor-project- tor#23933: Add a configuration
 framework - [closed] - https://bugs.torproject.org/23933
 }}}

 We would need to do something similar so that the bot could also talk to
 Trac.

 Since GitLab issues are project-specific (ie. you can have two different
 issue `1` in two different projects), we would need a prefix to make this
 work. So it would look something like:

 {{{
 <anarcat> tpo/web/community#105
 <zwiebelbot> Update link to Support portal (#105) -
 https://gitlab.torproject.org/torproject/web/community/-/issues/105
 }}}

 ie. it should match a `PATH#NUMBER` pattern which gets turned into
 `https://gitlab.torproject.org/PATH/-/issues/NUMBER`.

 Eventually, we would also retire the `#N` redirection we currently have
 pointed at Trac and have those pointing at the legacy project in GitLab
 instead. but that can be done later.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33847>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list