Re: FBR: fix hooks for new packages on src.fedoraproject.org

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Greetings.
> 
> It was reported to me that a number of new packages were not showing up
> in grokmirror on src.fedoraproject.org. On looking I noted that new
> packages did not have the chained post-receive hook we normally put in
> place. The cause seems to be a typo in the command.
> 
> I'd like to:
> 
> * Apply the attached git patch
> * run the pkgs ansible playbook.
> * Manually run the check-git processes to fix all existing packages.
> * Manually update grokmirror for all existing packages.
> 
> Note that without this we are not backing up any of the new packages, as
> we are using grokmirror to back them up now.
> 
> +1s?

+1

> 
> kevin
> --
> Subject: [PATCH] fix invocation of git-check-perms. This is needed to setup
>  hooks on new packages as they are added
> 
> Signed-off-by: Kevin Fenzi <kevin(a)scrye.com&gt;
> ---
>  roles/distgit/tasks/main.yml                     | 2 +-
>  roles/gitolite/check_fedmsg_hooks/tasks/main.yml | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/roles/distgit/tasks/main.yml b/roles/distgit/tasks/main.yml
> index 7d1f280..40c8a84 100644
> --- a/roles/distgit/tasks/main.yml
> +++ b/roles/distgit/tasks/main.yml
> @@ -150,7 +150,7 @@
>      name="check-update-hooks" cron_file="ansible-check-update-hooks"
>      minute=0 hour=0 weekday=3
>      user=nobody
> -    job="MAILTO=root PATH=/usr/bin:/usr/local/bin/git-check-perms
> --check=update-hook /srv/git/repositories"
> +    job="/usr/local/bin/git-check-perms --check=update-hook
> /srv/git/repositories"
>    tags:
>    - distgit
> 
> diff --git a/roles/gitolite/check_fedmsg_hooks/tasks/main.yml
> b/roles/gitolite/check_fedmsg_hooks/tasks/main.yml
> index 8766c8e..a22018e 100644
> --- a/roles/gitolite/check_fedmsg_hooks/tasks/main.yml
> +++ b/roles/gitolite/check_fedmsg_hooks/tasks/main.yml
> @@ -8,7 +8,7 @@
>      minute=10
>      hour="0, 12"
>      user=nobody
> -    job="MAILTO=root PATH=/usr/bin:/usr/local/bin/git-check-perms
> /srv/git/repositories --check=fedmsg-hook -f"
> +    job="MAILTO=root /usr/local/bin/git-check-perms
> /srv/git/repositories --check=fedmsg-hook -f"
>    tags:
>    - git
>    - gitolite
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux