Created
August 7, 2012 18:48
-
-
Save ralphbean/3288268 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| for repo in $(cat /srv/git/pkgs-git-repos-list); do | |
| if [ ! -e /srv/git/rpms/$repo/hooks/post-receive ] ; then | |
| echo $repo | |
| fi | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash -x | |
| repo=$1 | |
| if [ -z $repo ] ; then | |
| echo "Please supply a repo like 'foo.git'" | |
| exit 1 | |
| fi | |
| if [ ! -d /srv/git/rpms/$repo ]; then | |
| echo "/srv/git/rpms/$repo doesn't appear to be a directory. Bailing." | |
| exit 1 | |
| fi | |
| echo "Performing surgery on /srv/git/rpms/$repo/hooks" | |
| rm /srv/git/rpms/$repo/hooks/post-receive | |
| ln -s /usr/share/git-core/post-receive-chained /srv/git/rpms/$repo/hooks/post-receive | |
| rm /srv/git/rpms/$repo/hooks/post-receive-chained.d/post-receive-fedmsg | |
| ln -s /usr/share/git-core/post-receive-fedmsg /srv/git/rpms/$repo/hooks/post-receive-chained.d/post-receive-fedmsg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Box2D.git | |
| bkhive.git | |
| codenarc.git | |
| cups-filters.git | |
| cura-networking.git | |
| cura-providers.git | |
| cura-storage.git | |
| devtodo2.git | |
| drupal6-comment_bonus_api.git | |
| drupal6-context.git | |
| drupal6-custom_breadcrumbs.git | |
| f3.git | |
| foxtrotgps.git | |
| gap-character-tables.git | |
| ghc-NumInstances.git | |
| glui.git | |
| gmetrics.git | |
| gstreamer1.git | |
| i7z.git | |
| jbosscache-support.git | |
| jdbm.git | |
| jgroups212.git | |
| jhighlight.git | |
| libmatekeyring.git | |
| lua.git | |
| mate-keyring.git | |
| mate-mime-data.git | |
| mcollective-qpid-plugin.git | |
| mule.git | |
| nfsometer.git | |
| openshift-origin-cartridge-abstract.git | |
| perl-Rose-DB-Object.git | |
| php-horde-Horde-Cli.git | |
| php-horde-Horde-Test.git | |
| python-django-celery.git | |
| python-django-kombu.git | |
| python-django-pipeline.git | |
| python-django-reversion.git | |
| python-django-setuptest.git | |
| python-gdata.git | |
| python-kmod.git | |
| python-retask.git | |
| python-rpi-gpio.git | |
| python-webob1.2.git | |
| rubygem-ruby-hmac.git | |
| rubygem-sshkey.git | |
| spock.git | |
| templates_parser.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment