8000 Refactor yaml format by PaulPickhardt · Pull Request #2 · tud-cs/oss-collection · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Refactor yaml format #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Sep 17, 2024
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
83 changes: 50 additions & 33 deletions README-template.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,61 @@
# TU Dresden - Computer Science: Open Source Projects
# Open Source Projects of the Faculty of Computer Science at TU Dresden

This repository contains functionality to generate a HTML and markdown site of all projects entered in `projects.yaml`.
This repository contains scripts and data to generate HTML and markdown files presenting open source software projects of the [Faculty of Computer Science](https://cs.tu-dresden.de) at [TU Dresden](https://www.tu-dresden.de). The sources of information are `oss-projects.yaml`, which describes the projects, and `cs-groups.yaml`, which describes the research groups involved.

Run `init_site.py` to generate a static HTML page with an overview of all projects.

Run `init_readme.py` to generate README of this repository containing all projects.
Run `init_readme.py` to generate the README of this repository containing all projects.

## Add a new project

Keys in `projects.yaml`
| Name | Type | Required? |
|------|------|------|
| `To which Chair do you belong to at the Faculty of Computer Science?` | `string` | ✅ |
| `Name of the open source project` | `string` | ✅ |
| `Your role in the open source project? [Founder]` | `boolean` | ✅ |
| `Your role in the open source project? [Maintainer]` | `boolean` | ✅ |
| `Your role in the open source project? [Contributor]` | `boolean` | ✅ |
| `Are you still involved?` | `boolean` | ✅ |
| `Anything else you want to let us know?` | `string` | ✅ |
| `License under which the open source project is available` | `string` | Optional |
| `URL of the open source project` | `string` | Optional |
| `URL of the public repository` | `string` | Optional |
| `URL to the chair` | `string` | Optional |
| `image` | `string` | Optional |

Append this template to `projcets.yaml` and fill in your data:
Keys in `oss-projects.yaml`
| Name | Type | Required? | Description |
|------|------|------|-----|
| `name` | `string` | ✅ | The name of the project |
| `groups` | `string[]` | ✅ | The handles of the research groups that are part of the project (see `cs-groups.yaml`) |
| `founder` | `boolean` | ✅ | If you are the founder of the project |
| `maintainer` | `boolean` | ✅ | If you are a maintainer of the project |
| `contributor` | `boolean` | ✅ | If you are a contributor of the project |
| `involved` | `boolean` | ✅ | If you are still involved |
| `description` | `string` | Optional | A short description of the project |
| `website` | `string` | Optional | A link to the website of the project |
| `repository` | `string` | Optional | URL of the public repository |
| `license` | `string` | Optional | The license under which the project is available |
| `logo` | `string` | Optional | The relative path to the logo of your project in the `projects` directory (place your logo in `/website/images/projects`) |

Keys in `cs-groups.yaml`
| Name | Type | Required? | Description |
|------|------|------|-----|
| `name` | `string` | ✅ | The name of the research group |
| `handle` | `string` | ✅ | The handle of the research group |
| `website` | `string` | Optional | URL to the website of the research group |

Append this template to `oss-projects.yaml` and fill in your data:
```yaml
- To which Chair do you belong to at the Faculty of Computer Science?:
URL to the chair:
Name of the open source project:
URL of the open source project:
URL of the public repository:
Your role in the open source project? [Founder]:
Your role in the open source project? [Maintainer]:
Your role in the open source project? [Contributor]:
License under which the open source project is available:
Are you still involved?:
Anything else you want to let us know?:
image:
- name:
groups: []
founder:
maintainer:
contributor:
involved:
description:
website:
repository:
license:
logo:
```

For the image, upload the image to the `images` folder and enter the relative URL to the image in the `images` folder.
For the logo, upload the logo to the `website/images/projects` folder and enter the relative URL to the logo in the `website/images/projects` folder.

For the groups, add the handle of your research group to the list.

If your research group does not exist yet, append this template to `cs-groups.yaml` and fill in your data:
```yaml
- name:
handle:
website:
```

# Projects

The following list presents open source software projects in which members of the Faculty of Computer Science at TU Dresden are involved.
Loading
Loading
0