[library-web/oscp] Apply changes done to help.g.o to developer.g.o lgorc



commit 367248ffd13c83b7710d8e54523afddd00d64023
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Fri Jan 10 15:41:56 2020 +0100

    Apply changes done to help.g.o to developer.g.o lgorc

 lgo/developer.lgorc | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/lgo/developer.lgorc b/lgo/developer.lgorc
index f5e0da2..2f1587b 100644
--- a/lgo/developer.lgorc
+++ b/lgo/developer.lgorc
@@ -1,8 +1,7 @@
 import sys
-sys.path.append('/srv/http/library-web/extra/html5lib-0.90/src/')
 
 baseref = 'https://developer.gnome.org'
-private_dir = '/var/cache/gnomeweb/developer.gnome.org'
+private_dir = '/data'
 download_cache_dir = os.path.join(private_dir, 'cache')
 output_dir = '/data/output/developer.gnome.org'
 ftp_gnome_org_local_copy = "/ftp"
@@ -12,7 +11,7 @@ version_min = '2.32'
 #version_min = '3.10'
 channels = ['devel']
 doc_path_template = '/%(module)s/'
-indexes_xsl_file = '/var/cache/gnomeweb/git/library-web/data/xslt/dev_indexes.xsl'
+indexes_xsl_file = '/opt/lgo/data/xslt/dev_indexes.xsl'
 
 symbols_dbm_filepath = '/srv/http/developer.gnome.org/extra/symbols/db-symbols.db'
 symbols_sqlite_filepath = '/srv/http/developer.gnome.org/extra/symbols/db-symbols.sqlite'
@@ -27,11 +26,11 @@ mal2html_xsl = file(mal2html_xsl_filename).read()
 if '/usr/share/yelp-xsl/xslt/mallard' in mal2html_xsl:
     atime, mtime = os.stat(mal2html_xsl_filename)[-3:-1]
     mal2html_xsl = mal2html_xsl.replace('/usr/share/yelp-xsl/xslt/mallard',
-                        '/srv/http/library-web/extra/yelp-xsl/xslt/mallard')
+                        '/opt/yelp-xsl/xslt/mallard')
     file(mal2html_xsl_filename, 'w').write(mal2html_xsl)
     import subprocess
     sp = subprocess.Popen(['git', 'log', '-n1', '--format=format:%ct', 'mal2html.xsl'],
-                    cwd='/var/cache/gnomeweb/git/library-web/data/xslt/',
+                    cwd='/opt/lgo/data/xslt/',
                     stdout=subprocess.PIPE)
     stdout, stderr = sp.communicate()
     new_mtime = int(stdout.strip())


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