Closed alec-hs closed 1 year ago
Good question. I just tried to reproduce it, but it works for me anyway.
@alec-hs Can you provide your full transcript? Post it in a comment or in a gist if it's really long.
Pure speculation:
Ok so after a long time of ignoring this I think I've worked part of it out - it was due to me have both username
and token_file
in the config. When I removed the username
it correctly started cloning all my own repos.
However now it won't clone the included orgs :(
source:
github:
- token_file: token.txt
ssh: false
user: alec-hs
includeorgs:
- kestrel-studios
- seraph-ai
- stratos-sh
- stormworks-cc
wiki: true
starred: true
destination:
local:
- path: /backups/
structured: true
cron: '*/5 * * * *'
log: # optional
timeformat: 2006-08-22 15:04:05
file-logging: # optional
dir: /gickup # directory to log into
file: gickup.log # file to log into
maxage: 7 # keep logs for 7 days
Fixed - I'm just an idiot and had the path to the token wrong.
Config file is below - if I remove the 'user' line in the config then all the repos in my orgs get cloned but when I add the 'user' line back in then nothing gets clone. Any ideas?