Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mirmon export format is incorrect #62

poeml opened this issue Jun 5, 2015 · 0 comments

mirmon export format is incorrect #62

poeml opened this issue Jun 5, 2015 · 0 comments


Copy link

@poeml poeml commented Jun 5, 2015

                                                                                            [          ]

Issue migrated (2015-06-05) from old issue tracker

Title    mirmon export format is incorrect
 Priority   bug   Status    resolved
Superseder       Nosy List  fukawi2, poeml
Assigned To      Keywords

msg239 (view) Author: fukawi2 Date: 2010-09-17.11:24:51

mb export --format=mirmon currently produces 4 columns:
http us
ftp us
http fr
http se

The first column is not required for current version (2.3) of mirmon.

msg240 (view) Author: fukawi2 Date: 2010-09-17.11:25:49

Workaround is to do:
mb export --format=mirmon | /bin/awk '{ print $2, $3, $4 }' > mirrorlist

msg267 (view) Author: poeml Date: 2010-09-19.03:26:08

mb export can create two different formats now:

root@download # mb export --format=mirmon | tail -2
root@download # mb export --format=mirmon-apache | tail -2
http kz
ftp kz

Hey, and now that reading the man page of mirmon-2.3. Turns out that Henk had very similar
thoughts at some time :-) Look at this option:

     Two formats are supported :

     * plain : lines like
           us [email] ...
           nl [email] ...
           nl rsync:// [email] ...

     * apache : lines like those in the apache mirrors.list
           ftp  us ...
           http nl ...

     Note that in style 'plain' the third item is reserved for an optional email address :

the site's contact address.

     Specify the required format with 'list_style' (see below).  The default style is


So it turns out that mirmon can use two formats, and the default has changed recently.

Now the default matches again with the one of mb export.

The fix is in trunk, r8145.

         Date          User   Action             Args
                                     status: chatting -> resolved
2010-09-19 03:26:09 poeml   set    nosy: + poeml
                                     messages: + msg267
2010-09-17 11:25:49 fukawi2 set    status: unread -> chatting
                                     messages: + msg240
2010-09-17 11:24:52 fukawi2 create

(end of migrated issue)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant