You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ponymail.apache.org by GitBox <gi...@apache.org> on 2021/06/03 19:23:43 UTC
[GitHub] [incubator-ponymail] pachadotdev opened a new issue #535: how can I download a particular message as plan text?
pachadotdev opened a new issue #535:
URL: https://github.com/apache/incubator-ponymail/issues/535
Hi
I'm working in the Arrow project and I would like to create an archive of nightly builds results.
For example, I was trying to download this via CURL to save a TXT file
https://lists.apache.org/api/source.lua/rf80afab606bb6de300be490633f0a135ac26b139148bbb2c4ec25328@%3Cdev.arrow.apache.org%3E
But, I would like to know how "rf80afab606bb6de300be490633f0a135ac26b139148bbb2c4ec25328" is created there, as I would like to download for a search and create a function that
1. Gets a string such as "[NIGHTLY] Arrow Build Report for Job nightly-2021-05-24-0"
2. Based on the string, it gives me the URL with the form `/api/source.lua` and the TXT file with the contents
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-ponymail] sebbASF closed issue #535: how can I download a particular message as plan text?
Posted by GitBox <gi...@apache.org>.
sebbASF closed issue #535:
URL: https://github.com/apache/incubator-ponymail/issues/535
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-ponymail] sebbASF commented on issue #535: how can I download a particular message as plan text?
Posted by GitBox <gi...@apache.org>.
sebbASF commented on issue #535:
URL: https://github.com/apache/incubator-ponymail/issues/535#issuecomment-854242182
It looks like all the NIGHTLY build emails go to the builds@arrow list, and there are few/no other emails sent to it.
So one approach would be to download the monthly mbox files, e.g.
https://lists.apache.org/api/mbox.lua?list=builds@arrow.apache.org&date=2021-5
Otherwise, you will need to use the documented API [1] to do a search, something like
https://lists.apache.org/api/stats.lua?list=builds&domain=arrow.apache.org&emailsOnly&header_subject=NIGHTLY
Adjust the subject and add timespan restrictions as needed.
Then parse the JSON response to extract the id entries to use in the download.
[1]
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-ponymail] sebbASF closed issue #535: how can I download a particular message as plan text?
Posted by GitBox <gi...@apache.org>.
sebbASF closed issue #535:
URL: https://github.com/apache/incubator-ponymail/issues/535
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-ponymail] sebbASF commented on issue #535: how can I download a particular message as plan text?
Posted by GitBox <gi...@apache.org>.
sebbASF commented on issue #535:
URL: https://github.com/apache/incubator-ponymail/issues/535#issuecomment-854242182
It looks like all the NIGHTLY build emails go to the builds@arrow list, and there are few/no other emails sent to it.
So one approach would be to download the monthly mbox files, e.g.
https://lists.apache.org/api/mbox.lua?list=builds@arrow.apache.org&date=2021-5
Otherwise, you will need to use the documented API [1] to do a search, something like
https://lists.apache.org/api/stats.lua?list=builds&domain=arrow.apache.org&emailsOnly&header_subject=NIGHTLY
Adjust the subject and add timespan restrictions as needed.
Then parse the JSON response to extract the id entries to use in the download.
[1]
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org