Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yurug/get-gitlab-forks
Retrieve all the forks of a gitlab project
https://github.com/yurug/get-gitlab-forks
Last synced: 4 months ago
JSON representation
Retrieve all the forks of a gitlab project
- Host: GitHub
- URL: https://github.com/yurug/get-gitlab-forks
- Owner: yurug
- Created: 2020-07-03T11:35:36.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-12T10:32:14.000Z (about 4 years ago)
- Last Synced: 2024-08-21T21:27:38.551Z (5 months ago)
- Language: Shell
- Size: 21.5 KB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![Trigger: Push action](https://github.com/yurug/get-gitlab-forks/workflows/Trigger:%20Push%20action/badge.svg)
# Get Gitlab Forks
Do you want to retrieve all the forks of your gitlab project you have
access to? If so, this script could help you.To learn how to use it:
```
./get-gitlab-forks.sh -h
```## Dependencies
You will need:
- bash >= 5
- jq
- curl## Typical usage
If you are assigning programming projects to students, I found the following process sufficiently simple and efficient:
1. Create a public gitlab project containing the base source files, specifications and tests.
2. Ask students to fork the gitlab project with a *private* visibility and to make you a member of their gitlab project.
3. Use this script to retrieve all the forks.This process enjoys the following properties:
- It is easy for students to get updates from the base project.
- You do not have to collect students projects manually, everything is automated.
- The script alerts you if a student forgot to make its project private.
- You can post the list of forked projects to the course mailing list for students to know if they followed the instructions correctly.