1
0
Fork 0
dotfiles/common/.config/clonedev/config.yml

112 lines
2.9 KiB
YAML
Executable File

lookups:
- name: "gitea_owned_repos"
api_url: "https://git.snaile.de/api/v1"
endpoint: "repos"
url_field: "ssh_url"
token_cmd: "rbw get 'Gitea Snailed' -f 'Clonedev PAT'"
block_unsorted: false
targets:
- "orgs/snailed"
- "users/luca"
extra_headers:
- "Authorization: token ${TOKEN}"
- name: "github_starred_repos"
api_url: "https://api.github.com"
endpoint: "starred"
url_field: "ssh_url"
token_cmd: "rbw get 'Github' -f 'Clonedev PAT'"
block_unsorted: true
targets:
- "users/ssnailed"
extra_headers:
- "Authorization: Bearer ${TOKEN}"
- name: "tralios_gitlab"
api_url: "https://gitlab.tralios.de/api/v4"
targets:
- "groups/73" # infrastruktur
- "groups/197" # ansible-galaxy
- "groups/26" # kubernetes
- "groups/14" # docker
endpoint: "projects"
url_field: "ssh_url_to_repo"
token_cmd: "rbw get 'Gitlab Tralios' -f 'Clonedev PAT'"
block_unsorted: true
extra_headers:
- "Authorization: Bearer ${TOKEN}"
extra_urls:
# - "https://git.kernel.org/pub/scm/git/git.git"
clone_flags: "--recursive -j8"
pull_flags: "--recurse-submodules=yes -j8"
directories:
- path: "${XDG_DOCUMENTS_DIR}/dev/desktop"
repos:
- "luca/bootstrapper"
- "luca/dmenu-custom"
- "luca/dwm-custom"
- "luca/dwmblocks-custom"
- "luca/st-custom"
- "luca/tokyonight-icons"
- "luca/tokyonight-theme"
- path: "${XDG_DOCUMENTS_DIR}/dev/nvim"
repos:
- "snailed/taolf"
- path: "${XDG_DOCUMENTS_DIR}/dev/misc"
repos:
- "snailed/tidal-scraper"
- "b3nj5m1n/xdg-ninja"
- "jnweiger/led-name-badge-ls32"
- path: "${XDG_DOCUMENTS_DIR}/dev"
repos:
- "void-linux/void-packages"
- path: "${XDG_DOCUMENTS_DIR}/dev/server"
repos:
- "snailed/ansible-example"
- "snailed/ansible-homelab"
- "snailed/qbittorrent-natpmp-docker"
- "snailed/papermc-docker"
- "snailed/server-resources"
- "snailed/void-packages-custom"
- "snailed/xbps-builder"
- "luca/dotfiles-server"
- "spantaleev/matrix-docker-ansible-deploy"
- path: "${XDG_DOCUMENTS_DIR}/dev/tralios"
lookups:
- "tralios_gitlab"
repos:
- "kubernetes/helm"
- "infrastruktur/ansible"
- path: "${XDG_DOCUMENTS_DIR}/dev/tralios/docker"
lookups:
- "tralios_gitlab"
repos:
- "docker/phpldapadmin"
- "docker/nextcloud_mail_uploader"
- path: "${XDG_DOCUMENTS_DIR}/dev/tralios/ansible/collections_dev/ansible_collections/tralios"
lookups:
- "tralios_gitlab"
repos:
- "ansible-galaxy/kubernetes.*"
# Transforms the directory name that is cloned into (only the last part of the path)
path_transformations:
- match: "ansible-galaxy/kubernetes.*"
replace: "-"
with: "_"
unsorted_directory: "${XDG_DOCUMENTS_DIR}/dev/unsorted"
skip_repos:
- "luca/dotfiles"
- "luca/pinentry-dmenu-custom"
- "snailed/matrix-inventory"