Skip to content

Instantly share code, notes, and snippets.

Ryan Dahlke SHREDDED-WHEAT

Block or report user

Report or block SHREDDED-WHEAT

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@SHREDDED-WHEAT
SHREDDED-WHEAT / sync-projects
Created May 8, 2019 — forked from JonasGroeger/sync-projects
Gitlab: Clone / Pull all projects in a group
View sync-projects
#!/usr/bin/env bash
# Documentation
# https://docs.gitlab.com/ce/api/projects.html#list-projects
NAMESPACE="YOUR_NAMESPACE"
BASE_PATH="https://gitlab.example.com/"
PROJECT_SEARCH_PARAM=""
PROJECT_SELECTION="select(.namespace.name == \"$NAMESPACE\")"
PROJECT_PROJECTION="{ "path": .path, "git": .ssh_url_to_repo }"
View module1.py
print('Hello module world!')
You can’t perform that action at this time.