summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-03-20sync-github-mirror: only export git repos with git-daemon-export-okHEADmasterRay Strode1-1/+2
This is just a failsafe for when I manually run signal-github-mirror in the wrong directory.
2017-03-20tmpfiles.d: add github-mirror.confRay Strode1-0/+2
This just makes sure that /run/github-mirror gets created at startup, so the github-mirror service doesn't fail right away with invalid permissions.
2016-12-07new-git-repo.sh: mv update script to final nameRay Strode1-0/+1
it has the .sample extension by default these days.
2016-12-07add scripts to close github pull requestsRay Strode5-0/+183
github apparently has no way to opt out of pull requests. This script is just a copy and paste of sync-github-mirror changed to query open pull requests and close them. Also there's a systemd timer to make the script run on all repos once an hour (might be better to trigger from a github webhook, but that would mean opening up a webserver, bleh)
2016-12-07sync-github-mirror: strip off .git part of non-bare reposRay Strode1-0/+3
we're ending up with bin- instead of bin getting synced to github
2016-12-07clean-up-bad-named-entries.sh: script for mopping up a mess I madeRay Strode1-0/+11
When I first did the github mirroring I didn't handled nested repos in a namespaced way. This script goes in and deletes all the unnamespaced names.
2016-12-06sync-github-mirror: drop unused lineRay Strode1-1/+0
2016-12-06enable-github-mirror: add script for enabling github mirrorRay Strode1-0/+7
Just in case I need to do it again sometime.
2016-12-06sync-github-mirror: move config from /etc/github to /etc/github-mirrorRay Strode1-1/+1
It's more consistent this way.
2016-12-06post-receive-mirror-github: rename to sync-github-mirrorRay Strode3-2/+2
it's not longer a post-receive hook, so it's weird to call it one.
2016-12-06post-receive-mirror-github: write my name in the fileRay Strode1-0/+2
2016-12-06do github mirroring from dedicated userRay Strode5-1/+32
It's too iffy and fragile to have a private key shared between multiple users. This commit cobbles together a systemd service to farm off the syncing to a dedicated github user.
2016-12-05post-receive-mirror-github: handle .git in dupesRay Strode1-0/+2
2016-12-05set up github hooks by defaultRay Strode1-0/+2
2016-12-05set-up-post-receive-hooks: scripts to set up post-receive hooks to mirrorRay Strode2-0/+36
2016-12-05mirror-all-to-github: script to force full github syncRay Strode1-0/+12
2016-12-05post-receive-mirror-github: don't use --mirrorRay Strode1-1/+6
it's not fault tolerant enough, so do things manually.
2016-12-05post-receive-mirror-github: another nested repo fixRay Strode1-6/+14
This way we can handle namespaces with hyphens in them.
2016-12-03post-receive-mirror-github: handle nested repositories betterRay Strode1-4/+8
This commit changes dbus/dbus to dbus and spice/qemu to spice-qemu
2016-12-03post-receive-mirror-github: be more forgiving of descriptionRay Strode1-3/+4
Right now we're failing if the description has newlines in it!
2016-12-03add script for mirroring to githubRay Strode1-0/+138
2016-12-03add script for creating new git repoRay Strode1-0/+14