Re: [Savannah-hackers-public] bzr post-commit email hook

2017-02-13 Thread Bob Proulx
Glenn Morris wrote: > Bob Proulx wrote: > > I just made a big edit, import, cleanup to the authorized keys file. > > Try it again now. I it should allow you in. You should be able to > > log in from fencepost to mgt0 now. > > Thanks. If security is a concern you should probably all disable my >

Re: [Savannah-hackers-public] bzr post-commit email hook

2017-02-11 Thread Glenn Morris
Assaf Gordon wrote: > I assume it happens because over long period of time, > various savannah admins changed various files > (e.g. scripts on 'vcs'), but never checked them into the 'savane' > repository. I never knew anything about the repository. :) > I'll have some time tomorrow, so I'll com

Re: [Savannah-hackers-public] bzr post-commit email hook

2017-02-11 Thread Glenn Morris
Bob Proulx wrote: > I just made a big edit, import, cleanup to the authorized keys file. > Try it again now. I it should allow you in. You should be able to > log in from fencepost to mgt0 now. Thanks. If security is a concern you should probably all disable my Savannah ssh access, since I don'

Re: [Savannah-hackers-public] bzr post-commit email hook

2017-02-11 Thread Assaf Gordon
Hi, I've incorporated your changes here: https://git.savannah.gnu.org/cgit/administration/savane.git/commit/?id=d23caef7bd0ec7bbddf06 Thanks for your help in fixing bzr! -assaf

Re: [Savannah-hackers-public] bzr post-commit email hook

2017-02-10 Thread Bob Proulx
Glenn Morris wrote: > Bob Proulx wrote: > > Yes. Looks like bzr is logging to /var/lib/bzr/bzr-anon.log. Which I > > think should be /var/log/bzr/bzr-anon.log instead. I am going to make > > that change. Will copy the logrotate over for the new location. > > It's as you prefer. But you will ne

Re: [Savannah-hackers-public] bzr post-commit email hook

2017-02-10 Thread Bob Proulx
Glenn Morris wrote: > ChangeLog tells me to update the log on mgt0 instead, but I cannot > log in to mgt0. I just made a big edit, import, cleanup to the authorized keys file. Try it again now. I it should allow you in. You should be able to log in from fencepost to mgt0 now. In other discussio

Re: [Savannah-hackers-public] bzr post-commit email hook

2017-02-10 Thread carl hansen
On Fri, Feb 10, 2017 at 8:34 PM, Assaf Gordon wrote: > Hello Bob and Glenn, > > I'll add one more thing: > > ​snip​ > > On Feb 10, 2017, at 19:38, Bob Proulx wrote: > > [...]> > ​snip​ > ​ > > If you could help us test it, it would be very much appreciated. > If not - I'll try to test it a b

Re: [Savannah-hackers-public] bzr post-commit email hook

2017-02-10 Thread Assaf Gordon
Hello Bob and Glenn, I'll add one more thing: > On Feb 10, 2017, at 19:38, Bob Proulx wrote: > [...] > > /opt/savannah/savane/backend/accounts/sv_membersh is a checked out > copy of the git source for Savannah's savane source code. That is the > source code copy of the file. That isn't the li

Re: [Savannah-hackers-public] bzr post-commit email hook

2017-02-10 Thread Glenn Morris
I think I've copied all the changes across now, so it might be working. I no longer have any writable bzr repos on Savannah to test with.

Re: [Savannah-hackers-public] bzr post-commit email hook

2017-02-10 Thread Glenn Morris
Bob Proulx wrote: > Yes. Looks like bzr is logging to /var/lib/bzr/bzr-anon.log. Which I > think should be /var/log/bzr/bzr-anon.log instead. I am going to make > that change. Will copy the logrotate over for the new location. It's as you prefer. But you will need to edit /opt/savannah/bin/sv

Re: [Savannah-hackers-public] bzr post-commit email hook

2017-02-10 Thread Glenn Morris
Bob Proulx wrote: > Look at the old vcs:/usr/local/bin/sv_membersh and the new > vcs0:/opt/savannah/bin/sv_membersh. It is possible that in all of the > happenings that files did not get copied from the correct source. Indeed not. I copied the former onto the latter. The only changes were the bz

Re: [Savannah-hackers-public] bzr post-commit email hook

2017-02-10 Thread Bob Proulx
Glenn Morris wrote: > PS I would also copy /etc/logrotate.d/bzr across. Yes. Looks like bzr is logging to /var/lib/bzr/bzr-anon.log. Which I think should be /var/log/bzr/bzr-anon.log instead. I am going to make that change. Will copy the logrotate over for the new location. > Other relevant s

Re: [Savannah-hackers-public] bzr post-commit email hook

2017-02-10 Thread Bob Proulx
Hi Glenn, Thanks for jumping in with bzr and helping out. Your expertise is greatly appreciated. Glenn Morris wrote: > (the latter is guesswork on my part since I'm not familiar with the > current host migration) Let me get you up to speed on the important parts. vcs is still very much acive.

Re: [Savannah-hackers-public] bzr post-commit email hook

2017-02-10 Thread Glenn Morris
PS I would also copy /etc/logrotate.d/bzr across. Is vcs0 not synced with vcs? Other relevant stuff I did from the old ChangeLog on mgt: * [vcs]: `apt-get install locales'. Generate only en_US.utf8, and en_US.ISO8859-1, leave system default as none (ie leave /etc/default/local

Re: [Savannah-hackers-public] bzr post-commit email hook

2017-02-10 Thread Glenn Morris
Poking around, it looks like: On vcs, /usr/local/bin/sv_membersh is used On vcs0, /opt/savannah/savane/backend/accounts/sv_membersh is used instead (the latter is guesswork on my part since I'm not familiar with the current host migration) vcs0:sv_membersh is not synced with vcs:sv_membersh . I

Re: [Savannah-hackers-public] bzr post-commit email hook

2017-02-09 Thread Glenn Morris
PS first thing to check is /var/lib/bzr/bzr.log, but it seems not to be updating? /usr/local/bin/sv_membersh used to set the relevant parameters, but I don't know if the system has changed.

Re: [Savannah-hackers-public] bzr post-commit email hook

2017-02-09 Thread Glenn Morris
Here are the bzr notes from a few years ago, which may or not still be useful: https://lists.gnu.org/archive/html/savannah-hackers-public/2013-06/msg00042.html It should basically be the bzr-email plugin, yes.

Re: [Savannah-hackers-public] bzr post-commit email hook (was: gsrc-commit auto messages stopped working)

2017-02-09 Thread carl hansen
On Wed, Feb 8, 2017 at 9:39 PM, Bob Proulx wrote: > Hello Carl, > > carl hansen wrote: > > still still not working > > Sorry there has been delays. We have been overwhelmed trying to > juggle too many things. > > ​I know the feeling. Luckily it doesn't matter. ​ > I would love to help fix your

Re: [Savannah-hackers-public] bzr post-commit email hook (was: gsrc-commit auto messages stopped working)

2017-02-08 Thread Assaf Gordon
Hi Bob, > On Feb 9, 2017, at 00:39, Bob Proulx wrote: > > Do you know how hook scripts with bzr work? Perhaps you can help me > help you. Not sure if that's helpful, but last month I installed a missing 'email' plugin: http://lists.gnu.org/archive/html/savannah-hackers-public/2017-01/msg000

Re: [Savannah-hackers-public] bzr post-commit email hook (was: gsrc-commit auto messages stopped working)

2017-02-08 Thread Bob Proulx
Hello Carl, carl hansen wrote: > still still not working Sorry there has been delays. We have been overwhelmed trying to juggle too many things. I would love to help fix your hook problem. But I enter this knowing nothing about bzr. I've never used bzr before. I poke into your bzr repository

Re: [Savannah-hackers-public] bzr post-commit email hook (was: gsrc-commit auto messages stopped working)

2017-02-07 Thread carl hansen
still still not working On Tue, Jan 24, 2017 at 2:08 PM, carl hansen wrote: > still not working > > On Sun, Jan 22, 2017 at 1:23 PM, Assaf Gordon > wrote: > >> Hello Carl, >> >> > On 01/20/2017 03:42 AM, carl hansen wrote: >> >> When I commit to the bzr repository it used >> >> to send a messag

Re: [Savannah-hackers-public] bzr post-commit email hook (was: gsrc-commit auto messages stopped working)

2017-01-24 Thread carl hansen
still not working On Sun, Jan 22, 2017 at 1:23 PM, Assaf Gordon wrote: > Hello Carl, > > > On 01/20/2017 03:42 AM, carl hansen wrote: > >> When I commit to the bzr repository it used > >> to send a message automatically to "gsrc-com...@gnu.org". Since Jan 5, > that > >> has not happened. Probabl