How to add a message to an issue via roundup-admin?

Dan Tenenbaum <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
Hi,

I'd like to be able to create a new message and add it to an issue via roundup-admin.

I have issue1 and I was able to do this:

$ roundup-admin -i . create msg     
Files (Multilink): 
Inreplyto (String): 
Recipients (Multilink): 
Author (Link): 
Summary (String): summary
Content (String): content
Messageid (String): 
Date (Date): 
Type (String): 
5
 
But I didn't see how to link the message to issue1. I did see a new entry in the _msg table but not in the issue_messages table. How do I do that? Do I need to create some other class that links the message to the issue? If so I'm not sure what that class is. Is there a way to list the available classes? Because then I could explore much more easily with 'roundup-admin list'.

It seems that if I knew how to generate a Messageid I could do this in one go (maybe) by setting the messageid to something like: <[email protected]> but I am not sure how to generate that id.

So another more roundabout way is, now that I have created that new message (5) I can add it to issue1 by doing this:

first get the existing messages for the issue:

$ roundup-admin -i . display issue1|grep messages
messages: ['1', '3', '4']

Then I can add to that:

roundup-admin -i . set issue1 messages="1,3,4,5"  

But that seems awfully roundabout. I'd like to automate this. Is there a one-line command to create a message and add it to an issue?

Thanks,
Dan

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.