Skip to content

feat(hub): Init hub apps directory & dev tools#6762

Open
yan-gao-GY wants to merge 6 commits intomainfrom
add-hub-apps-dir
Open

feat(hub): Init hub apps directory & dev tools#6762
yan-gao-GY wants to merge 6 commits intomainfrom
add-hub-apps-dir

Conversation

@yan-gao-GY
Copy link
Member

Issue

Description

When apps in the examples repository are updated (for example, during each flwr release), the corresponding apps on the Flower Hub under the flwrlabs account must also be updated to stay in sync.

Proposal

Create symlinks in hub/apps/ pointing to the examples that are already published on the Hub.

Add helper scripts under hub/dev/:

  • bump_app_versions.py: Used to bump the app versions for Flower Hub apps.
  • publish_apps.sh: Used to publish updated apps to the Hub.

Copilot AI review requested due to automatic review settings March 13, 2026 13:14
@yan-gao-GY yan-gao-GY changed the title Init hup apps dir & dev tools feat(hub): Init hup apps directory & dev tools Mar 13, 2026
@yan-gao-GY yan-gao-GY changed the title feat(hub): Init hup apps directory & dev tools feat(hub): Init hub apps directory & dev tools Mar 13, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Initializes hub/apps/ to track Flower Hub apps via symlinks to the examples/ repository and adds developer tooling to bump versions and publish apps to the Hub.

Changes:

  • Added hub/dev/publish_apps.sh to publish one/all hub apps via flwr app publish.
  • Added hub/dev/bump_app_versions.py to bump project.version in app pyproject.toml files.
  • Added many hub/apps/* entries intended as symlinks to corresponding examples/* apps.

Reviewed changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
hub/dev/publish_apps.sh Adds a CLI helper to publish selected/all Hub apps via flwr.
hub/dev/bump_app_versions.py Adds a helper to bump project.version in app pyproject.toml files.
hub/apps/supernode-authentication Adds a link to the corresponding examples/ app.
hub/apps/quickstart-xgboost Adds a link to the corresponding examples/ app.
hub/apps/quickstart-tensorflow Adds a link to the corresponding examples/ app.
hub/apps/quickstart-sklearn Adds a link to the corresponding examples/ app.
hub/apps/quickstart-pytorch-lightning Adds a link to the corresponding examples/ app.
hub/apps/quickstart-pytorch Adds a link to the corresponding examples/ app.
hub/apps/quickstart-pennylane Adds a link to the corresponding examples/ app.
hub/apps/quickstart-pandas Adds a link to the corresponding examples/ app.
hub/apps/quickstart-numpy Adds a link to the corresponding examples/ app.
hub/apps/quickstart-monai Adds a link to the corresponding examples/ app.
hub/apps/quickstart-mlx Adds a link to the corresponding examples/ app.
hub/apps/quickstart-jax Adds a link to the corresponding examples/ app.
hub/apps/quickstart-huggingface Adds a link to the corresponding examples/ app.
hub/apps/quickstart-fastai Adds a link to the corresponding examples/ app.
hub/apps/quickstart-catboost Adds a link to the corresponding examples/ app.
hub/apps/opacus Adds a link to the corresponding examples/ app.
hub/apps/flowertune-llm-medical Adds a link to the corresponding examples/ app.
hub/apps/flowertune-llm-general-nlp Adds a link to the corresponding examples/ app.
hub/apps/flowertune-llm-finance Adds a link to the corresponding examples/ app.
hub/apps/flowertune-llm-code Adds a link to the corresponding examples/ app.
hub/apps/flower-secure-aggregation Adds a link to the corresponding examples/ app.
hub/apps/fl-tabular Adds a link to the corresponding examples/ app.
hub/apps/fl-dp-sa Adds a link to the corresponding examples/ app.
hub/apps/custom-mods Adds a link to the corresponding examples/ app.
Comments suppressed due to low confidence (1)

hub/apps/quickstart-xgboost:1

  • These hub/apps/* link targets are absolute paths on a specific machine. That will break for other developers/CI and also leaks local filesystem details into the repo. If these entries are meant to be symlinks, they should point to a repo-relative location (e.g., ../../examples/<app> from within hub/apps/) so the links resolve anywhere the repo is checked out. (Same issue appears to apply to the other newly added hub/apps/* entries in this PR.)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

yan-gao-GY and others added 3 commits March 13, 2026 21:20
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@github-actions github-actions bot added the Maintainer Used to determine what PRs (mainly) come from Flower maintainers. label Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maintainer Used to determine what PRs (mainly) come from Flower maintainers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants