From 2ff27daa50f06dc0092c89770402f6d5e7518bc3 Mon Sep 17 00:00:00 2001 From: m-jahn Date: Tue, 6 Jan 2026 11:12:04 +0100 Subject: [PATCH 1/3] fix: link to official MPUSP page --- docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 6765b49..14ce680 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -118,7 +118,7 @@ const config = { }, { label: "MPUSP Home Page", - href: "https://mpusp.mpg.de", + href: "https://www.mpusp.mpg.de", }, ], }, From e647f5ac4677c01c4f919c80f8da563c05889cef Mon Sep 17 00:00:00 2001 From: m-jahn Date: Tue, 6 Jan 2026 14:04:21 +0100 Subject: [PATCH 2/3] fix: changed number of repos from personal to mpusp, closes #4 --- src/components/Members/index.jsx | 2 +- src/scripts/generate_page.py | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/components/Members/index.jsx b/src/components/Members/index.jsx index 38d1b4e..11835af 100644 --- a/src/components/Members/index.jsx +++ b/src/components/Members/index.jsx @@ -4,7 +4,7 @@ import styles from "./styles.module.css"; import statsJson from "@site/static/data/member_stats.json"; const statsKeys = [ - { label: "Public repos", key: "public_repos", symbol: " 📦" }, + { label: "MPUSP repos", key: "mpusp_repos", symbol: " 📦" }, { label: "Followers", key: "followers", symbol: " 👥" }, { label: "Starred", key: "starred", symbol: " ⭐" }, { label: "Watched", key: "watched", symbol: " 👁️" }, diff --git a/src/scripts/generate_page.py b/src/scripts/generate_page.py index a1afac8..d939c35 100644 --- a/src/scripts/generate_page.py +++ b/src/scripts/generate_page.py @@ -131,7 +131,9 @@ def get_config_readme(repo_name): if repo.get_releases().totalCount > 0 else None ), - "contributors": repo.get_contributors().totalCount, + "contributors": [ + i.login for i in repo.get_contributors() if not i.login.endswith("[bot]") + ], "deployments": get_total_deployments(repo), "downloads": sum( asset.download_count @@ -165,11 +167,7 @@ def get_config_readme(repo_name): ), "topics": repo.get_topics(), "readme": get_config_readme(repo.full_name), - "authors": [ - i.login - for i in repo.get_contributors() - if not i.login.endswith("[bot]") - ], + "authors": repos[repo.name]["contributors"], "bg_value": round( int(hashlib.md5(repo.name.encode()).hexdigest()[:6], 16) % 360 @@ -179,7 +177,13 @@ def get_config_readme(repo_name): } ) +# add count of repos a member contributed to +for member in members: + member["mpusp_repos"] = sum( + 1 for repo in repos.values() if member["github_name"] in repo["contributors"] + ) +# logging logger.info("collected stats for %s repositories", len(repos)) # create summary data for org From 98b7e47078a945c9da3cb364ed9d2bad3a1fdcd3 Mon Sep 17 00:00:00 2001 From: m-jahn Date: Tue, 6 Jan 2026 14:36:52 +0100 Subject: [PATCH 3/3] feat: initial blog post --- blog/2025-02-01-welcome/index.md | 10 ---------- blog/2026-01-06-welcome/index.md | 16 ++++++++++++++++ blog/tags.yml | 8 ++++---- 3 files changed, 20 insertions(+), 14 deletions(-) delete mode 100644 blog/2025-02-01-welcome/index.md create mode 100644 blog/2026-01-06-welcome/index.md diff --git a/blog/2025-02-01-welcome/index.md b/blog/2025-02-01-welcome/index.md deleted file mode 100644 index 6cfcb15..0000000 --- a/blog/2025-02-01-welcome/index.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -slug: welcome -title: Welcome -authors: [michael] -tags: [documentation] ---- - -Content to be added. - - diff --git a/blog/2026-01-06-welcome/index.md b/blog/2026-01-06-welcome/index.md new file mode 100644 index 0000000..84e67c5 --- /dev/null +++ b/blog/2026-01-06-welcome/index.md @@ -0,0 +1,16 @@ +--- +slug: newpage +title: New MPUSP Github page released +authors: [michael] +tags: [announcements] +--- + +The bioinformatics platform of the MPUSP has a **new Github page**! + +The page is hosted on our institutional Github account, and provides basic information about our projects, members, and activities. +The page is regularly updated by fetching the latest stats from Github automatically, and presenting overview figures. +We will also try to make regular announcements about new tools, publications and other activities. + +If you like to get in touch with us, please write to bioinformatics@mpusp.mpg.de. + + diff --git a/blog/tags.yml b/blog/tags.yml index 8b41aaa..be24d5e 100644 --- a/blog/tags.yml +++ b/blog/tags.yml @@ -1,4 +1,4 @@ -documentation: - label: documentation - permalink: /documentation - description: Documentation of workflows +announcements: + label: announcements + permalink: /announcements + description: Announcements and updates about MPUSP