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

Convert Google Doc Meeting Minutes to Markdown #241

Merged
merged 9 commits into from
Dec 29, 2023

Conversation

jsoref
Copy link
Contributor

@jsoref jsoref commented Dec 29, 2023

Requested https://openssf.slack.com/archives/C01AAV2TTEG/p1703799986181569

Meeting minutes sourced from:
https://docs.google.com/document/d/1706vJpuyq4NpHpVYsOTeU90j5RpoJREX7MRlhAo-CW4/edit

Contents were as of "December 29, 11:57 AM"

Markdown generated using:
https://workspace.google.com/marketplace/app/docs_to_markdown/700168918607

Markdown split using:

perl -ne '
if (/^# \*\*(\d{4}-\d\d-\d\d)/) {
    if ($file) {
        close $fh;
    }
    $file="$1.md";
    open $fh, ">", $file;
    s/\s*\\$/**/;
    print $fh $_;
} elsif ($file) {
    s/^# /## /;
    s/^Agenda$/## Agenda/;
    print $fh $_;
}
' 2022.md

Meeting minutes sourced from:
https://docs.google.com/document/d/1706vJpuyq4NpHpVYsOTeU90j5RpoJREX7MRlhAo-CW4/edit

Contents were as of "December 29, 11:57 AM"

Markdown generated using:
https://workspace.google.com/marketplace/app/docs_to_markdown/700168918607

Markdown split using:
perl -ne '
if (/^# \*\*(\d{4}-\d\d-\d\d)/) {
    if ($file) {
        close $fh;
    }
    $file="$1.md";
    open $fh, ">", $file;
    s/\s*\\$/**/;
    print $fh $_;
} elsif ($file) {
    s/^# /## /;
    s/^Agenda$/## Agenda/;
    print $fh $_;
}
' 2022.md

Signed-off-by: Josh Soref <[email protected]>
minutes/2022-11-29.md Outdated Show resolved Hide resolved
The Markdown export did not handle this particularly well.

I have manually adjusted the input to the perl script.

Signed-off-by: Josh Soref <[email protected]>
Copy link
Member

@hythloda hythloda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a ton!

The Markdown export did not handle this particularly well.
For unknown reasons it generated a `<strong>` instead of `**`.

I have manually adjusted the input to the perl script.

Signed-off-by: Josh Soref <[email protected]>
The Markdown export did not handle this particularly well.

I have manually adjusted the input to the perl script.

Signed-off-by: Josh Soref <[email protected]>
Revised perl (one additional line)
perl -ne '
if (/^# \*\*(\d{4}-\d\d-\d\d)/) {
    if ($file) {
        close $fh;
    }
    $file="$1.md";
    open $fh, ">", $file;
    s/\s*\\$/**/;
    print $fh $_;
} elsif ($file) {
    s/^# /## /;
    s/^Agenda$/## Agenda/;
    s/$/\*\*/ if /^\*\*Attendance/ && !/\*\*.*\*\*/;
    print $fh $_;
}
' 2022.md

Signed-off-by: Josh Soref <[email protected]>
Copy link
Member

@hythloda hythloda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor Author

@jsoref jsoref left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are the only problems we know about, and my understanding is that they aren't showstoppers.

Comment on lines 209 to 212
<p id="gdcalert7" ><span style="color: red; font-weight: bold">>>>>> gd2md-html alert: inline image link here (to images/image7.png). Store image on your image server and adjust path/filename/extension if necessary. </span><br>(<a href="#">Back to top</a>)(<a href="#gdcalert8">Next alert</a>)<br><span style="color: red; font-weight: bold">>>>>> </span></p>


![alt_text](images/image7.png "image_tooltip")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The image will need to be added later (@hythloda said that wouldn't be a problem)

Comment on lines 377 to 386
<p id="gdcalert5" ><span style="color: red; font-weight: bold">>>>>> gd2md-html alert: inline image link here (to images/image5.png). Store image on your image server and adjust path/filename/extension if necessary. </span><br>(<a href="#">Back to top</a>)(<a href="#gdcalert6">Next alert</a>)<br><span style="color: red; font-weight: bold">>>>>> </span></p>


![alt_text](images/image5.png "image_tooltip")


<p id="gdcalert6" ><span style="color: red; font-weight: bold">>>>>> gd2md-html alert: inline image link here (to images/image6.png). Store image on your image server and adjust path/filename/extension if necessary. </span><br>(<a href="#">Back to top</a>)(<a href="#gdcalert7">Next alert</a>)<br><span style="color: red; font-weight: bold">>>>>> </span></p>


![alt_text](images/image6.png "image_tooltip")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These images will need to be manually added later.

jsoref and others added 4 commits December 29, 2023 13:43
Signed-off-by: Amanda L Martin <[email protected]>
Signed-off-by: Amanda L Martin <[email protected]>
Signed-off-by: Amanda L Martin <[email protected]>
@hythloda hythloda merged commit c5ead41 into ossf:main Dec 29, 2023
4 checks passed
@jsoref jsoref deleted the convert-meeting-minutes-to-markdown branch December 29, 2023 19:02
@hythloda hythloda mentioned this pull request Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants