¿ªÔÆÌåÓý

Getting at the raw email text


 

I can view a message using the web UI pretty simply:

/g/somegroup/message/15512

My "owners" can view the source:

/g/somegroup/original/15512

Is there a way for my owners to also see the raw email text? This
would be handy if they wanted to retrieve a patch sent to the list in
plain text and apply that patch using git-am, for example.

Perhaps there are other better ways to do this as well. I'm open to
whatever works.

Cheers,
Stephano


 

Stephano,

My "owners" can view the source:

/g/somegroup/original/15512

Is there a way for my owners to also see the raw email text?
The View Source item in the More menu is the way to see the raw message header and body text.

It sounds like you're looking for something else, but I'm not sure what. Can you elaborate on what you're hoping to see?

Shal


--
Help: /static/help
More Help: /g/GroupManagersForum/wiki
Even More Help: Search button at the top of Messages list


 

Hey Shal,

Sorry for the slow responses. I'm working with folks in the UK so the
timezone shift with questions is fun. :)

Here is the the process my owners are trying to reproduce (how they
work with GNU Mailman):

(1) download the compressed mailbox file for the month I'm interested
in, such as
(2) decompress the file: gunzip 2019-February.txt.gz
(3) make sure that my INBOX is currently empty
(4) use the "mb2md" utility to split the mailbox into individual
message files, and place them in my local $HOME/Maildir directory:
mb2md -s 2019-February.txt
(5) Now my INBOX is filled with the edk2-devel messages & threads from
February 2019. I use the normal Thunderbird functionality to delete
everything that I don't want.
(6) The remaining messages are what I'm interested in. For example, I
can save individual patches or series of patches to local *.eml files,
with Ctrl+S.
(7) Once I have the *.eml files, I can apply them to my local edk2
clone with "git-am".

Let me know if you have any questions on that workflow. It is very
helpful when trying to retrieve old patches that aren't in your
personal archive somewhere.

Cheers,
Stephano

On Tue, Mar 12, 2019 at 10:17 PM Shal Farley <shals2nd@...> wrote:

Stephano,

> My "owners" can view the source:
>
> /g/somegroup/original/15512
>
> Is there a way for my owners to also see the raw email text?

The View Source item in the More menu is the way to see the raw message
header and body text.

It sounds like you're looking for something else, but I'm not sure what.
Can you elaborate on what you're hoping to see?

Shal


--
Help: /static/help
More Help: /g/GroupManagersForum/wiki
Even More Help: Search button at the top of Messages list



 

Ah, one more important thing to note:

Ultimately what we need are individual patch mbox files that we can
apply with "git-am", that is, step (7).

If groups.io allows us to download the "raw" variant of each email
that they display on the WebUI, we could likely jump to step (7) at
once. The rest of the steps are really just working around gnu
mailman.

Cheers,
Stephano

On Thu, Mar 14, 2019 at 7:39 AM Stephano Cetola <stephanoc@...> wrote:

Hey Shal,

Sorry for the slow responses. I'm working with folks in the UK so the
timezone shift with questions is fun. :)

Here is the the process my owners are trying to reproduce (how they
work with GNU Mailman):

(1) download the compressed mailbox file for the month I'm interested
in, such as
(2) decompress the file: gunzip 2019-February.txt.gz
(3) make sure that my INBOX is currently empty
(4) use the "mb2md" utility to split the mailbox into individual
message files, and place them in my local $HOME/Maildir directory:
mb2md -s 2019-February.txt
(5) Now my INBOX is filled with the edk2-devel messages & threads from
February 2019. I use the normal Thunderbird functionality to delete
everything that I don't want.
(6) The remaining messages are what I'm interested in. For example, I
can save individual patches or series of patches to local *.eml files,
with Ctrl+S.
(7) Once I have the *.eml files, I can apply them to my local edk2
clone with "git-am".

Let me know if you have any questions on that workflow. It is very
helpful when trying to retrieve old patches that aren't in your
personal archive somewhere.

Cheers,
Stephano

On Tue, Mar 12, 2019 at 10:17 PM Shal Farley <shals2nd@...> wrote:

Stephano,

> My "owners" can view the source:
>
> /g/somegroup/original/15512
>
> Is there a way for my owners to also see the raw email text?

The View Source item in the More menu is the way to see the raw message
header and body text.

It sounds like you're looking for something else, but I'm not sure what.
Can you elaborate on what you're hoping to see?

Shal


--
Help: /static/help
More Help: /g/GroupManagersForum/wiki
Even More Help: Search button at the top of Messages list



 

Stephano,

Sorry for the slow responses. I'm working with folks in the UK so the
timezone shift with questions is fun. :)
My turn to be sorry. You now have also the fun of dealing with a guy who does most of this fun stuff on the weekend...

(1) download the compressed mailbox file for the month I'm interested
in, ...
This the group mods/owners can do, except that there's no filter for time range - the export will have the group's entire message content.

On the group's Settings page there's an Export Group Data button. That will take them to a form where they can choose what content. There is a checkbox for Messages, they would select that one alone.

I'm not certain about the rest of the steps in your workflow, but what the group mod/owner will get is a zipped .mbox file with all of the group's messages. If you have a means to open that and prune it down to what you need then you're probably set.

I'd use Thunderbird for the task, but that's just because it is the tool I know, I'm not familiar with the unix tools you mention, nor am I familiar with git. I use Fossil for version control and ticket tracking.
(software)

Some projects at work are using git, but fortunately I'm not on those projects. I hear a lot of cursing from those who are, but git is only one part of the problem. Also fun is the Atlassian ecosystem, but I'm drifting off-topic here (must be late). I start a new (to me) project next week, which means a deep dive into a couple years' of collected project notes in Confluence and Jira. Tools I've not used before. Oh fun!

Shal


--
Help: /static/help
More Help: /g/GroupManagersForum/wiki
Even More Help: Search button at the top of Messages list


 

On Sun, Mar 17, 2019 at 1:19 AM Shal Farley <shals2nd@...> wrote:

My turn to be sorry. You now have also the fun of dealing with a guy who
does most of this fun stuff on the weekend...
No worries. I appreciate your help.


> (1) download the compressed mailbox file for the month I'm interested
> in, ...

This the group mods/owners can do, except that there's no filter for
time range - the export will have the group's entire message content.
Interesting. This can certainly work though our mbox archives will get
large since we do patch review on our mailing list.

As a side note here, who do I talk to about getting our current mbox
archive uploaded to groups.io? I was planning on sending an email to
[email protected], but perhaps there is a more appropriate route.

drifting off-topic here (must be late). I start a new (to me) project
next week, which means a deep dive into a couple years' of collected
project notes in Confluence and Jira. Tools I've not used before. Oh fun!
Best of luck in your new project! I've used Jira and Confluence before
and have enjoyed using those tools. That being said, like any tool,
companies often find a way to misuse them to the detriment of the
users. Hope that's not the case for you. :)

Cheers,
Stephano


 

Stephano,

As a side note here, who do I talk to about getting our current mbox
archive uploaded to groups.io? I was planning on sending an email to
[email protected], but perhaps there is a more appropriate route.
Nope, you've got the right place.

Shal


--
Help: /static/help
More Help: /g/GroupManagersForum/wiki
Even More Help: Search button at the top of Messages list