Opened 5 years ago

Last modified 5 years ago

#3676 closed change

Set up the hg hook that references commits in issues — at Version 6

Reported by: fhd Assignee: fhd
Priority: P4 Milestone:
Module: Infrastructure Keywords:
Cc: matze, trev Blocked By: #3674
Blocking: #3678 Platform: Unknown / Cross platform
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

https://codereview.adblockplus.org/29337751/
https://codereview.adblockplus.org/29337790/

Description (last modified by fhd)

Background

#3674 adds a hook that references commits in the respective issues. Once that has landed, we need to set it up.

What to change

Since Trac doesn't have an API out of the box, we first need to set that up:

  1. Install XmlRpcPlugin.
  2. Because we're using AccountManagerPlugin, we also need to install HttpAuthPlugin and configure it for the `/login/xmlrpc` path.
  3. Set up a new abpbot Trac user and give it the XML_RPC permission.

Once that is done, we need to set up the new hook as a pretxnchangegroup hook (see #3679) in the hgrc of all repositories on hg1.

Change History (6)

comment:1 Changed 5 years ago by fhd

  • Blocked By 3674 added

comment:2 Changed 5 years ago by fhd

  • Description modified (diff)

comment:3 Changed 5 years ago by fhd

  • Blocking 3678 added

comment:4 Changed 5 years ago by fhd

  • Description modified (diff)

comment:5 Changed 5 years ago by fhd

  • Cc matze trev added
  • Owner set to fhd

I'll have a go at this. Largely manual work, unfortunately... (Edit: No actually, I mixed something up: The Trac changes, except for creating the API user, will go through Puppet how it looks. Just the hgrc changes not, but those aren't the tricky part.)

Last edited 5 years ago by fhd (previous) (diff)

comment:6 Changed 5 years ago by fhd

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

The reviewable part is under review now. I'll do the manual work once that has landed.

Note: See TracTickets for help on using tickets.