Skip to content

Commit c4af1cb

Browse files
docs: Add service documentation links and expand contributing guide
- Added clickable links to service documentation (Keycloak, Elastic Search, nginx) - Expanded 'Making a Code Changes' section with workflow, testing, and PR process details - Removed TODO comments - Improves onboarding for new contributors
1 parent e9840ed commit c4af1cb

File tree

2 files changed

+36
-9
lines changed

2 files changed

+36
-9
lines changed

docs/contributing.md

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,40 @@ This will install some hooks to run before a commit can be made, these hooks wil
9696
These hooks help make sure formatting is more homogeneous across the project, and that no breaking changes are accidentally committed.
9797

9898
## Making a Code Changes
99+
99100
See the ["Developer Documentation"](developer/index.md) for the technical documentation of this project.
100-
More to be added.
101101

102-
Note that when using our convenience scripts to launch docker containers (see ["Shorthands"](hosting/index.md#shorthands)),
102+
### Code Change Workflow
103+
104+
1. Create a branch from the latest `main` branch for your changes.
105+
2. Make your changes following the project's code style and conventions.
106+
3. Test locally using the development setup as described above.
107+
4. Commit your changes with clear, descriptive commit messages.
108+
5. Push your branch to your fork and create a Pull Request against the `main` branch.
109+
110+
### Testing Requirements
111+
112+
Before submitting a Pull Request, ensure:
113+
114+
- All unit tests pass: Run the test suite locally with `pytest`
115+
- Pre-commit hooks pass: These are configured automatically with `pre-commit install` and will run:
116+
- Code formatter (to ensure consistent style)
117+
- Linter (to catch common issues)
118+
- File validation
119+
- Unit tests
120+
- Your code changes do not break existing functionality
121+
- For new features, consider adding tests to verify the functionality
122+
123+
### Pull Request Process
124+
125+
- Create a Pull Request with a clear title and description explaining what your changes do
126+
- Reference any related issues (e.g., "Closes #123")
127+
- Ensure all CI checks pass before requesting review
128+
- Be responsive to any feedback during the review process
129+
- The core team will review your contribution and provide feedback
130+
131+
### Important Notes
132+
133+
When using our convenience scripts to launch docker containers (see ["Shorthands"](hosting/index.md#shorthands)),
103134
local code changes are not mounted to the docker containers unless `USE_LOCAL_DEV` is set to `true`. You should configure this
104135
variable in your `override.env`.
105-
106-
[//]: # (## Setting up a pull request)

docs/hosting/index.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,13 @@ From the root of the project directory (i.e., the directory with the `docker-com
5252
This will start a number of services running within one docker network:
5353

5454
* Database: a [MySQL](https://dev.mysql.com) database that contains the metadata.
55-
* Keycloak: an authentication service, provides login functionality.
55+
* [Keycloak](authentication.md): an authentication service, provides login functionality.
5656
* Metadata Catalogue REST API: The main API service for managing and accessing metadata.
57-
* Elastic Search: indexes metadata catalogue data for faster keyword searches.
58-
* Logstash: Loads data into Elastic Search.
57+
* [Elastic Search & Logstash](elastic_search.md): Indexes metadata catalogue data for faster keyword searches.
5958
* Deletion: Takes care of cleaning up deleted data.
60-
* nginx: Redirects network traffic within the docker network.
59+
* [nginx](proxy.md): Redirects network traffic within the docker network and handles proxying.
6160
* es_logstash_setup: Generates scripts for Logstash and creates Elastic Search indices.
6261

63-
[//]: # (TODO: Make list items link to dedicated pages.)
6462
These services are described in more detail in their dedicated pages.
6563
After the previous command was executed successfully, you can navigate to [localhost](http://localhost.com)
6664
and see the REST API documentation. This should look similar to the [api.aiod.eu](https://api.aiod.eu) page,

0 commit comments

Comments
 (0)