Skip to content
  • Leigh B Stoller's avatar
    First working version of an email gateway to convert an email message · 5909e50c
    Leigh B Stoller authored
    into a gitlab issue comment. The wrinkle is in how we map the email
    address into a gitlab user. We have to search the user DB looking for
    a match against the username or email. You can guess what is going to
    happen, eh?
    
    I tested it with this data file:
    
    	From: Leigh Stoller <lbstoller@gmail.com>
    	To: lbstoller@gmail.com
    	Subject: gitlab issue: [emulab/emulab-devel] issue #10
    
    	This is another comment.
    
    running it like this:
    
    	gitlab> cat foo.txt | email2issue -c /git/gitmaild.conf
    
    and it add a new comment to:
    
    	#10
    5909e50c