Skip to content

Add import tool and split 2026 notes - #6

Open
iccir wants to merge 4 commits into
matplotlib:masterfrom
iccir:master
Open

Add import tool and split 2026 notes#6
iccir wants to merge 4 commits into
matplotlib:masterfrom
iccir:master

Conversation

@iccir

@iccir iccir commented Aug 18, 2026

Copy link
Copy Markdown

I wrote a tool to import the current .md file from the hackmd.io page, extract the meetings, and then append them to the appropriate spot in the "meeting_notes" directory.

This tool operates one year at a time and will warn if you try to import a file that contains both January and December meetings. It will also warn if it cannot parse a single-# heading into a date.

I removed the 2026 meeting notes from "meeting_notes/2025/q2.md".

Let me know if we want a different format for the output files. I chose {year}_{month}_{month_name}.md.

@story645

Copy link
Copy Markdown
Member

I wrote a tool to import the current .md file from the hackmd.io page, extract the meetings, and then append them to the appropriate spot in the "meeting_notes" directory.

Yay! I just use the push button, but this seems like a nice way to get around API limits.

@story645 story645 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

cool, I can keep the current notes logged to a current file (not in a folder) so it gets synced but doesn't break the archive

@iccir

iccir commented Aug 19, 2026

Copy link
Copy Markdown
Author

I thought a lot about "how can I double-check and verify that I'm not accidentally altering the archive as I clean it up."

Here's what I came up with:

  1. I wrote another tool called "diff_meeting_notes.py". This takes two git commits, concatenates the contents of all files in the "meetings_notes" directory, sorts the lines in the concatenation, and then uses difflib to show the diffs.
  2. The resulting diff shouldn't contain any actual meeting notes.

For example:

python tools/diff_meeting_notes.py e66bcba6 7ac7dc2c

Outputs:

--- 
+++ 
+---

Since I moved around a horizontal rule when I extracted the 2026 notes.

python tools/diff_meeting_notes.py e66bcba6 750cf231

Outputs:

diff of e66bcba to 750cf23
--- 
+++ 
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-    
-    
-    
-     
-# April 16th
+# April 16, 2026
+# April 2, 2026
-# April 23rd
+# April 23, 2026
-# April 2nd
-# April 30th
+# April 30, 2026
-# April 9th
+# April 9, 2026
-# August 13th
+# August 13, 2026
-# August 20th
+# August 20, 2026
-# August 6th
+# August 6, 2026
-# Feb 05
-# Feb 12
-# Feb 19
-# Feb 26
+# February 12, 2026
+# February 19, 2026
+# February 26, 2026
+# February 5, 2026
-# Jan 15
-# Jan 22
-# Jan 29
-# Jan 8
+# January 15, 2026
+# January 22, 2026
+# January 29, 2026
+# January 8, 2026
-# July 16th
+# July 16, 2026
+# July 2, 2026
-# July 23rd
+# July 23, 2026
-# July 2nd
-# July 30th
+# July 30, 2026
-# July 9th
+# July 9, 2026
-# June 11th
+# June 11, 2026
-# June 18th
+# June 18, 2026
-# June 25th
+# June 25, 2026
-# June 4th
+# June 4, 2026
-# March 12th
+# March 12, 2026
-# March 19th
+# March 19, 2026
-# March 26th
+# March 26, 2026
-# March 5th
+# March 5, 2026
+# Matplotlib Weekly Meeting: April 2026
+# Matplotlib Weekly Meeting: August 2026
+# Matplotlib Weekly Meeting: February 2026
+# Matplotlib Weekly Meeting: January 2026
+# Matplotlib Weekly Meeting: July 2026
+# Matplotlib Weekly Meeting: June 2026
+# Matplotlib Weekly Meeting: March 2026
+# Matplotlib Weekly Meeting: May 2026
-# May 14th
+# May 14, 2026
-# May 21st
+# May 21, 2026
-# May 28th
+# May 28, 2026
-# May 7th
+# May 7, 2026
-# Month 5th
-## Agenda
-## Notes
+###### tags: `2026 dev call`
+###### tags: `2026 dev call`
+###### tags: `2026 dev call`
+###### tags: `2026 dev call`
+###### tags: `2026 dev call`
+###### tags: `2026 dev call`
+###### tags: `2026 dev call`
+###### tags: `2026 dev call`
-- 
-- [ ] [name=username] - Agenda Item
+---
+---
+---
+---
+---
+---
+---
+---
+---
+---
+---
+---
+---
+---
+---
+---
+---
+---
+---
+---
+---
+---
+---
+---
+---
--->
-<!-- Template for weekly meeting for quick copy/paste
-_attending_:

Mostly dates and the HTML <!-- template --> that I added.


Going forward, this should allow me to preserve all meetings notes and split them into the correct files while also verifying that no meeting content was modified.

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