Quickstart
This page walks you through a contribution from start to finish: from the issue to the pull request. It describes the overall workflow only. How to set up, run, and test a specific repository is described in the documentation of that repository, which this page links to.
1. Find or create an issue
Every change starts with an issue.
- Find an existing issue: search the issues of the repository you think is affected, for example in Frontends.
- Create a new issue if none exists, using the Bug report or Feature request template. An issue that affects several repositories belongs in FedLearnNet/.github.
Security vulnerabilities must not be reported as public issues. See Development workflow for how to report them privately.
2. Identify which repository needs to be changed
FL-Net is split over several repositories, and an issue is usually solved in one of them. To find the responsible repository, simply check the Fast path list of the Repository map for guidance on which repository to change.
3. Go to the documentation of that repository
Each repository has its own README, and the larger components have a section in this guide. Together they describe the prerequisites, the development setup, how to start the service, and how to test it:
| Repository | Guide in this documentation | README |
|---|---|---|
Frontends | Frontend | README |
Learning-APIs, Orchestration-API | Backend | Learning-APIs, Orchestration-API |
Federated-Learning-Communication-API | Federated communication layer | README |
Python-Tool-API, Tool-Build-Pipeline | Tool development, Pipeline integration and local testing | Python-Tool-API, Tool-Build-Pipeline |
FL-Net-CLI | – (how to use the CLI: Deployment) | README |
Documentation | Documentation workflow | README |
Set up and start the repository as described there before you change anything, so you know it works on your machine.
4. Create your branch from develop
All repositories use develop as the integration branch. Always start your work from the latest develop, never from main:
git checkout develop
git pull # get the latest develop
git checkout -b 5-fix-date-to-iso8601 # create your own branch from it
Name the branch after the issue: its number followed by a short description, as in the example above. Make all your changes on this branch.
5. Make and check your change
- Make the smallest change that solves the issue.
- Run the checks of the repository before you push. They are described in its documentation (step 3), and the checks run by CI are defined in
.github/workflows/ci.ymlof each repository.
IMPORTANT: update the documentation together with your change if it affects user-facing behavior or anything that is already documented. See When do I have to change the documentation? for details. This helps keep the system usable over time!
6. Open a pull request
Push your branch and open a pull request against develop, referencing the issue it solves (e.g. Fixes #5). The Development workflow describes the pull request rules and the CI checks.
Where to go next
Continue with the Development workflow, or go back to the Welcome page for the recommended reading order.