Florent 'Skia' Jacquet 9a94c9dea1 import-bug-from-debian: handle multipart messages
With multipart messages, like #1073996, `import-bug-from-debian` would
produce bug description with this:
```
[<email.message.Message object at 0x7fbe14096fa0>, <email.message.Message object at 0x7fbe15143820>]
```
For that kind of bug, it now produces a correct description with the
plain text parts concatenated in the description, the attachments added
as attachments, and the inline images converted to attachments with an
inline message placeholder.

See #981577 for a particularly weird case now gracefully handled.
If something weirder happens, then the tool will now abort with a clear
message instead of producing garbage.

Closes: #969510
2024-11-02 14:57:01 +01:00
..
2021-07-14 17:41:10 -04:00
2024-03-13 09:21:30 -07:00
2011-11-12 13:12:15 +02:00

Changelog generation and releasing
----------------------------------

The changelog is generated by the uploader using `gbp dch' from
`git-buildpackage'. To invoke, just run

  $ gbp dch

and then edit the changelog as appropriate - wrap lines, remove Signed-Off-By,
and so on. Then finalise the changelog, e.g.

  $ dch -D unstable --release ""

commit it

  $ git commit debian/changelog -m "Releasing 0.foo"

and tag/sign this commit

  $ gbp buildpackage --git-tag-only

then build using (for example)

  $ gbp buildpackage -S

and test/upload as normal.