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?
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@scrye.com --- 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
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>
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
+1 please do.
On 9 March 2018 at 14:07, Patrick マルタインアンドレアス Uiterwijk puiterwijk@redhat.com wrote:
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>
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@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On Fri, 2018-03-09 at 11:03 -0800, Kevin Fenzi wrote:
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.
Not sure if this all done, but my observation so far is that once I push something into rust-* repos, it appears in grok-mirror. But rest of packages (untouched) is still not there. [brain@dell-per930-01 ~]$ ll src.fedoraproject.org/rpms/rust-* -d | wc - -l 29 - -- - -Igor Gnatenko
On 03/12/2018 04:21 AM, Igor Gnatenko wrote:
On Fri, 2018-03-09 at 11:03 -0800, Kevin Fenzi wrote:
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.
Not sure if this all done,
It's not.
I have been having trouble getting grockmirror to generate a new manifest with all the git repos in it without running out of memory or files. Hopefully I'll have something soon.
but my observation so far is that once I push something into rust-* repos, it appears in grok-mirror. But rest of packages (untouched) is still not there. [brain@dell-per930-01 ~]$ ll src.fedoraproject.org/rpms/rust-* -d | wc -l 29
Thats correct. They will not be until I make the new manifest live, or some commit is pushed in them (updating the existing manifest)
kevin
infrastructure@lists.fedoraproject.org