Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions blog/2025-02-01-welcome/index.md

This file was deleted.

16 changes: 16 additions & 0 deletions blog/2026-01-06-welcome/index.md
Original file line number Diff line number Diff line change
@@ -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.

<!-- truncate -->
8 changes: 4 additions & 4 deletions blog/tags.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
documentation:
label: documentation
permalink: /documentation
description: Documentation of workflows
announcements:
label: announcements
permalink: /announcements
description: Announcements and updates about MPUSP
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const config = {
},
{
label: "MPUSP Home Page",
href: "https://mpusp.mpg.de",
href: "https://www.mpusp.mpg.de",
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/Members/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: " 👁️" },
Expand Down
16 changes: 10 additions & 6 deletions src/scripts/generate_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading