← Back to team overview

launchpad-dev team mailing list archive

Re: [ann] lp-attach: attach a file to a Launchpad bug from the command line

 

Martin,


> lp:hydrazine <http://launchpad.net/hydrazine> has a new tool
> lp-attach
> that will attach a file, read from stdin, to a given
> Launchpad bug,
> which is quite nice if you want to pipe the output of a
> command there.
>  Let me know what you think.  More could be done and
> patches are
> welcome.

Nice tool 
Maybe can be used to add from a manual 
lsb_release -a to a text to upload
and several other ls*** commands and
others very nice.
create a info collector script in 
a patch. 


> Martin
> 
> 
> # TODO: option to set the attachment name, and to set
> whether it's a patch
> #
> # TODO: option to open the bug after attaching
> #
> # TODO: option to add a comment as well as the attachment
> #
> # TODO: option to set the subject of the comment
> #
> # TODO: option to comment on a merge proposal or question
> rather than a bug
> #
> # TODO: option to add a comment rather than an attachment
> #
> # TODO: option to use staging -- for now use
> # export LAUNCHPAD_API=https://api.staging.launchpad.net/
> #
> # TODO: option to set mime type
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~launchpad-dev
> Post to     : launchpad-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~launchpad-dev
> More help   : https://help.launchpad.net/ListHelp
> 
Regards,
Leo Jackson



Follow ups

References