Discussion:
[Be-devel] random attribute to the bug
Matěj Cepl
2013-10-30 23:58:03 UTC
Permalink
Is it possible in the command to add an additional property to bug
stored in BE repo?

I am thinking about possibility to somehow sync bugs between GitHub
issue tracker and BE repo (I have already history in similar endeavors
... see https://github.com/mcepl/github-issues-export). It would be
awesome if I could store somewhere in BE repo the number of the bug at
GitHub (and perhaps the last time GH issue tracker has been accessed or
something). Is there a way how to do it with libbe.bugs.Bug?

Thanks,

Mat?j

P.S.: The current code is at
https://gitorious.org/be/mcepl-be/source/pull-from-github
--
http://www.ceplovi.cz/matej/, Jabber: mcepl at ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC

Give your heartache to him. (1Pt 5,7; Mt 11:28-30)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 255 bytes
Desc: OpenPGP digital signature
URL: <http://void.printf.net/pipermail/be-devel/attachments/20131031/95cfca2f/attachment.pgp>
W. Trevor King
2013-10-31 00:26:56 UTC
Permalink
Post by Matěj Cepl
Is it possible in the command to add an additional property to bug
stored in BE repo?
Not without changing BE or monkey-patching, but?
Post by Matěj Cepl
It would be awesome if I could store somewhere in BE repo the number
of the bug at GitHub (and perhaps the last time GH issue tracker has
been accessed or something). Is there a way how to do it with
libbe.bugs.Bug?
This is what Bug.extra_strings is for. For a reasonably compact
example, see libbe/command/depend.py.

Cheers,
Trevor
--
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://void.printf.net/pipermail/be-devel/attachments/20131030/4ed1b104/attachment.pgp>
Loading...