mbug: download bugs mailboxes

[ debian, gpl, library, program ] [ Propose Tags ]

See readme at https://gitlab.com/iu-guest/mbug

[Skip to Readme]
Versions [RSS] [faq] 1.0, 1.1, 1.2, 1.3, 1.3.1, 1.3.2
Dependencies base (==4.10.*), bytestring (==0.10.*), directory (==1.3.*), extra (==1.6.*), http-client (==0.5.*), http-client-tls (==0.3.*), mbug, optparse-applicative (==0.14.*), process (==1.6.*), scalpel-core (==0.5.*), tagsoup (==0.14.*), text (==1.2.*), th-printf (==0.5.*), time (==1.8.0.*), xdg-basedir (==0.2.*) [details]
License GPL-3.0-only
Copyright 2018 Dmitry Bogatov
Author Dmitry Bogatov
Maintainer KAction@gnu.org
Category Debian
Home page https://gitlab.com/iu-guest/mbug
Uploaded by DmitryBogatov at 2018-06-02T21:04:38Z
Distributions NixOS:1.3.2
Executables mbug
Downloads 2511 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2018-06-02 [all 2 reports]


  • Data
    • Maybe
      • Data.Maybe.Extended
  • MBug
    • MBug.Cache
    • Data
      • MBug.Data.Bug
      • MBug.Data.FolderMH
    • MBug.MH
    • MBug.Main
    • MBug.Options
    • MBug.Scrape
  • Text
    • HTML
      • Scalpel
        • Core
          • Text.HTML.Scalpel.Core.Extended

Manual Flags


Enable -Werror GHC flag. Use only during development!

Automatic Flags

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees


Readme for mbug-1.0

[back to package description]



This program makes working with old Debian bugs much more pleasant. Sometimes I want to have personal bug-squashing party, so you open [https://bugs.debian.org/kaction@gnu.org] in web-browser, and get nice list of bugs that require my attention.

Browsing is great, but when I want to do something with those bugs -- close, add tags, discuss, I have to copy bug number, launch mail client in another terminal and compose email to [mailto:nnn@bugs.debian.org].

Should I need to quote some previous message, more distracting actions are to be done -- download whole bug as mbox, incorporate that mbox into my mail system (I prefer MH), and only after that real work could start.

DebBugs has also email interface -- you can request sending to you bugs you want, but reply is also optimized for reading, not for manipulating. Honestly, it looks like corresponding web page, filtered by lynx.


mbug [--into <folder>] <query>

It will download mbox of every bug, listed at https://bugs.debian.org/<query> and create +<folder> MH folder. In that folder subfolder for every bug is created. By default, <folder> is debbugs.

Folder +<folder> is volatile, every new invocation of mbox will overwrite its previous content. This way you can focus on bugs you are interested in right now.