- Retrieve mail
- For each patch in the proposed series:
- Save to local disk in rfc822 format
- Switch to console
- For each patch in the series:
- Apply to the local branch using git am
- Review and test
The process itself isn't overly time consuming, but given the frequency, I decided to set about automating it slightly using Claws Mail's Actions feature:
Configuration->Actions dialog |
- Enters my Samba source directory
- Runs git am with arguments corresponding to all selected messages (%F)
Action IO dialog, triggered via Tools->Actions->samba_patch_git |
I'm content with this approach, but readers should note that there are a number of pitfalls, namely:
- Patch mails must be in a format that git am can parse. E.g. git send-email
- The git repository needs to be in a state ready to accept the patches
No comments:
Post a Comment
Comments are moderated due to spammer abuse.