[GitHub] dimidd commented on issue #447: Import from a local json file

2018-05-14 Thread GitBox
dimidd commented on issue #447: Import from a local json file URL: https://github.com/apache/incubator-ponymail/issues/447#issuecomment-388775302 I see, instead, would it be possible somehow to infer it from the existing code automagically? E.g. add an optional flag `--dump-json` to `im

[GitHub] dimidd commented on issue #447: Import from a local json file

2018-05-14 Thread GitBox
dimidd commented on issue #447: Import from a local json file URL: https://github.com/apache/incubator-ponymail/issues/447#issuecomment-388775302 I see, would it be possible somehow to infer it from the existing code automagically? E.g. add an optional flag `--dump-json` to `import-mbox.

[GitHub] dimidd commented on issue #447: Import from a local json file

2018-05-14 Thread GitBox
dimidd commented on issue #447: Import from a local json file URL: https://github.com/apache/incubator-ponymail/issues/447#issuecomment-388771950 Nothing, I just don't know what should be the exact format of the JSON. E.g. how to set the list-id that the emails belong to. 2018-05-

[GitHub] dimidd commented on issue #447: Import from a local json file

2018-05-14 Thread GitBox
dimidd commented on issue #447: Import from a local json file URL: https://github.com/apache/incubator-ponymail/issues/447#issuecomment-388768756 In my use case, I load a PST file, convert to json, do some processing, and would love to have an option to load a json directly. 2018-

[GitHub] dimidd commented on issue #447: Import from a local json file

2018-05-09 Thread GitBox
dimidd commented on issue #447: Import from a local json file URL: https://github.com/apache/incubator-ponymail/issues/447#issuecomment-387685478 I've thought about something like this, but not sure how to set the list id. ```import sys import os import configparser import a