You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2019/08/15 15:00:58 UTC

svn commit: r1865230 - /comdev/reporter.apache.org/trunk/scripts/rapp/kibble.py

Author: sebb
Date: Thu Aug 15 15:00:57 2019
New Revision: 1865230

URL: http://svn.apache.org/viewvc?rev=1865230&view=rev
Log:
Another kibble token reference

Modified:
    comdev/reporter.apache.org/trunk/scripts/rapp/kibble.py

Modified: comdev/reporter.apache.org/trunk/scripts/rapp/kibble.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/rapp/kibble.py?rev=1865230&r1=1865229&r2=1865230&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/rapp/kibble.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/rapp/kibble.py Thu Aug 15 15:00:57 2019
@@ -7,7 +7,7 @@ import re
 import os
 
 RAO_HOME = '/var/www/reporter.apache.org'
-TOKEN = open('%s/data/kibble-token.txt' % RAO_HOME).read().strip()
+TOKEN = open('/usr/local/etc/tokens/kibble.txt').read().strip()
 
 def stats(project, jira = [], mlid = None):
     BEFORE = int(time.time() - (91*86400))



Re: svn commit: r1865230 - /comdev/reporter.apache.org/trunk/scripts/rapp/kibble.py

Posted by sebb <se...@gmail.com>.
On Thu, 15 Aug 2019 at 17:09, Daniel Gruno <hu...@apache.org> wrote:
>
> Thanks!
> I've reloaded the WSGI (pkill -HUP -f gunicorn3) so it's using the new
> paths now. I'll look into installing it as a service through puppet, so
> we can do something like `service rapp reload` and possibly reload on
> change...

There was a problem in the crontab; it was set to start gunicorn using
port 8000; I have fixed that.

> On 8/15/19 5:00 PM, sebb@apache.org wrote:
> > Author: sebb
> > Date: Thu Aug 15 15:00:57 2019
> > New Revision: 1865230
> >
> > URL: http://svn.apache.org/viewvc?rev=1865230&view=rev
> > Log:
> > Another kibble token reference
> >
> > Modified:
> >      comdev/reporter.apache.org/trunk/scripts/rapp/kibble.py
> >
> > Modified: comdev/reporter.apache.org/trunk/scripts/rapp/kibble.py
> > URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/rapp/kibble.py?rev=1865230&r1=1865229&r2=1865230&view=diff
> > ==============================================================================
> > --- comdev/reporter.apache.org/trunk/scripts/rapp/kibble.py (original)
> > +++ comdev/reporter.apache.org/trunk/scripts/rapp/kibble.py Thu Aug 15 15:00:57 2019
> > @@ -7,7 +7,7 @@ import re
> >   import os
> >
> >   RAO_HOME = '/var/www/reporter.apache.org'
> > -TOKEN = open('%s/data/kibble-token.txt' % RAO_HOME).read().strip()
> > +TOKEN = open('/usr/local/etc/tokens/kibble.txt').read().strip()
> >
> >   def stats(project, jira = [], mlid = None):
> >       BEFORE = int(time.time() - (91*86400))
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@community.apache.org
> For additional commands, e-mail: dev-help@community.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@community.apache.org
For additional commands, e-mail: dev-help@community.apache.org


Re: svn commit: r1865230 - /comdev/reporter.apache.org/trunk/scripts/rapp/kibble.py

Posted by Daniel Gruno <hu...@apache.org>.
Thanks!
I've reloaded the WSGI (pkill -HUP -f gunicorn3) so it's using the new 
paths now. I'll look into installing it as a service through puppet, so 
we can do something like `service rapp reload` and possibly reload on 
change...

On 8/15/19 5:00 PM, sebb@apache.org wrote:
> Author: sebb
> Date: Thu Aug 15 15:00:57 2019
> New Revision: 1865230
> 
> URL: http://svn.apache.org/viewvc?rev=1865230&view=rev
> Log:
> Another kibble token reference
> 
> Modified:
>      comdev/reporter.apache.org/trunk/scripts/rapp/kibble.py
> 
> Modified: comdev/reporter.apache.org/trunk/scripts/rapp/kibble.py
> URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/rapp/kibble.py?rev=1865230&r1=1865229&r2=1865230&view=diff
> ==============================================================================
> --- comdev/reporter.apache.org/trunk/scripts/rapp/kibble.py (original)
> +++ comdev/reporter.apache.org/trunk/scripts/rapp/kibble.py Thu Aug 15 15:00:57 2019
> @@ -7,7 +7,7 @@ import re
>   import os
>   
>   RAO_HOME = '/var/www/reporter.apache.org'
> -TOKEN = open('%s/data/kibble-token.txt' % RAO_HOME).read().strip()
> +TOKEN = open('/usr/local/etc/tokens/kibble.txt').read().strip()
>   
>   def stats(project, jira = [], mlid = None):
>       BEFORE = int(time.time() - (91*86400))
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@community.apache.org
For additional commands, e-mail: dev-help@community.apache.org