Open
Conversation
Collaborator
Author
|
FYI @prokoudine @chennes |
a054541 to
bd2206d
Compare
|
Thanks, that's definitely an improvement, but commit messages or PR titles alone are rarely enough. There's a lot of context in PR descriptions, and to get to them, I would need a link to each merged PR. Could you please add that to the script? |
886cb9a to
1bced08
Compare
Collaborator
Author
|
OK, so the script now:
|
77de122 to
ccf793f
Compare
- Add Python3 script to generate WIP Wednesday articles in Markdown
ccf793f to
7d3ab34
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Python3 script to fetch
FreeCAD/FreeCADrepository activity for the past week, classify Pull Requests and other data, and generate a boilerplate WIP Wednesday article in Markdown with front matter for use in Hugo here.Interactive mode to confirm selected time and date (Wednesday 12:00 UTC as default target).
Class PRs into total, backport, feature, fix, and others by git branch (please check as it may not be accurate), then group PRs by workbench. The PR titles are as is. They deserves some human prose before publication...
Output the
index.mdin correct/content/en/newsdirectory with slug based on date.Basic ReadMe for the
/toolsdir.May not work:
How to use
From repository root
Optional arguments:
--time <timestamp>: optional date input like ISO 8601 (2026-01-01T12:00:00) or RFC 2822 (Thu, 01 Jan 2026 12:00:00 GMT)--author <name>: optional article authors field in front matter--root <path>: optional path to directory of website Hugo project (default: current working dir)--ci: optional non-interactive mode with automatically most recent Wednesday--token <github_token>: optional GitHub token or PAT (recommended to avoid rate limits)Output example
Example Markdown output
PR Checklist