Configure post_commit_to per repository

Bug #309560 reported by .:. brainsik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr email commit hook
Triaged
Medium
Unassigned

Bug Description

Feature Request: a way to set post_commit_to on a per repository basis

The reason I'd like this feature is because I will be committing code to a couple of different projects with bazaar branches. Each of these projects has their own commit list and there doesn't seem to be a way to send commit messages to the right project list for each repository.

Possibly a configure option could be set in .bzr/branch/branch.conf, however you aren't supposed to manually edit files in the .bzr directory and it's unclear if there is a way to "properly" add options to that file (e.g., bzr set --branch "<email address hidden>"). Also, it's unclear whether this could even work in a central server workflow (e.g., bzr+ssh) where the post_commit_to options are set on the server. This is the workflow we use.

An ugly hack for the central server model could be to make a separate ssh account for each project, each with it's own bazaar.conf. However, this would mean everyone is sending commit messages with the same from address. Which is undesirable.

Related branches

Revision history for this message
danigm (danigm) wrote :
Jelmer Vernooij (jelmer)
Changed in bzr-email:
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.