[Libreoffice-commits] dev-tools.git: esc-reporting/esc-analyze.py

2018-01-22 Thread Shinnok
 esc-reporting/esc-analyze.py |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c8d1ecee912a57644f6742bfb9168639e4e1080b
Author: Shinnok <ad...@shinnok.com>
Date:   Tue Jan 2 13:25:51 2018 +0100

Fix mentoring address misspelling.

Change-Id: I99d50778650e3fdb53e0704ed3979ddd5f3e9479
Reviewed-on: https://gerrit.libreoffice.org/47255
Reviewed-by: Michael Meeks <michael.me...@collabora.com>
Tested-by: Michael Meeks <michael.me...@collabora.com>

diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index 2297d64..9fe2a84 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -733,7 +733,7 @@ def analyze_reports():
   else:
 for comment in row['comments']:
   email = util_check_mail('', comment['creator'])
-  if not email == 'aniste...@gmail.com' and not email == 
'mentor...@docmentfoundation.org' and 'reviewName' in 
statList['people'][ownerEmail]['gerrit']:
+  if not email == 'aniste...@gmail.com' and not email == 
'mentor...@documentfoundation.org' and 'reviewName' in 
statList['people'][ownerEmail]['gerrit']:
 reviewEmail = email
 break
 except Exception as e:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] dev-tools.git: esc-reporting/esc-analyze.py

2018-01-22 Thread Shinnok
 esc-reporting/esc-analyze.py |1 -
 1 file changed, 1 deletion(-)

New commits:
commit e6b97ad437d03d489a9969a6d1a8fb31ef82a263
Author: Shinnok <ad...@shinnok.com>
Date:   Tue Jan 2 13:19:26 2018 +0100

Remove obsolete debug print.

Change-Id: Ic819efe11cb9b38130ba4c91db6497f9f76dc2d5
Reviewed-on: https://gerrit.libreoffice.org/47254
Reviewed-by: Michael Meeks <michael.me...@collabora.com>
Tested-by: Michael Meeks <michael.me...@collabora.com>

diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index 734de84..2297d64 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -691,7 +691,6 @@ def analyze_reports():
   statList['reportList']['missing_license'].append(entry)
 elif not statList['people'][ownerEmail]['licenseOK']\
   and not is_domain_mapped(ownerEmail):
-  print(ownerEmail)
   entry['license'] = 'GERRIT: ' + 
statList['people'][ownerEmail]['licenseText']
   statList['reportList']['missing_license'].append(entry)
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] dev-tools.git: esc-reporting/esc-analyze.py

2018-01-01 Thread Shinnok
 esc-reporting/esc-analyze.py |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit a2c387c559a25f8ecd8095da35d904acff7da5e9
Author: Shinnok <ad...@shinnok.com>
Date:   Sat Dec 30 13:42:10 2017 +0100

Rename function for clarity.

Change-Id: I8aca21d7300c1f7c339b09b577d823dda0b71715
Reviewed-on: https://gerrit.libreoffice.org/47192
Reviewed-by: Michael Meeks <michael.me...@collabora.com>
Tested-by: Michael Meeks <michael.me...@collabora.com>

diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index 578e625..4925961 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -595,7 +595,7 @@ def analyze_esc():
 statList['data']['esc']['crashreport'] = 
crashData['crashreport']['versions']
 
 
-def util_is_company_license(email):
+def is_domain_mapped(email):
 domainMap = util_load_file(cfg['homedir'] + 'gitdm-config/domain-map', 
False)
 for line in domainMap:
   line = line[:-1]
@@ -647,7 +647,7 @@ def analyze_reports():
   if row['newestCommit'] > mailedDate\
   and row['newestCommit'] < cfg['3monthDate']\
   and id not in automateData['reminder']\
-  and not util_is_company_license(entry['email']):
+  and not is_domain_mapped(entry['email']):
 automateList['mail']['we_miss_you_email'][entry['email']] = 
entry['name']
 automateData['reminder'][id] = automateNow
   x = row['commits']['1month']['owner']
@@ -691,7 +691,7 @@ def analyze_reports():
   entry['license'] = 'GERRIT NO LICENSE'
   statList['reportList']['missing_license'].append(entry)
 elif not statList['people'][ownerEmail]['licenseOK']\
-  and not util_is_company_license(ownerEmail):
+  and not is_domain_mapped(ownerEmail):
   print(ownerEmail)
   entry['license'] = 'GERRIT: ' + 
statList['people'][ownerEmail]['licenseText']
   statList['reportList']['missing_license'].append(entry)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] dev-tools.git: 2 commits - esc-reporting/esc-analyze.py esc-reporting/esc-report.py

2017-12-22 Thread Shinnok
 esc-reporting/esc-analyze.py |4 ++--
 esc-reporting/esc-report.py  |2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit e5a33b0cbe16def49811444a2239acfb3ad618c6
Author: Shinnok <ad...@shinnok.com>
Date:   Wed Dec 13 11:36:41 2017 +0100

Disable UI reports mailed directly to Heiko.

Change-Id: I1294290e90ab08a090ccfdbb89716f88c478e4b5
Reviewed-on: https://gerrit.libreoffice.org/46377
Reviewed-by: Heiko Tietze <tietze.he...@googlemail.com>
Tested-by: Heiko Tietze <tietze.he...@googlemail.com>

diff --git a/esc-reporting/esc-report.py b/esc-reporting/esc-report.py
index 028e133..b4b38b4 100755
--- a/esc-reporting/esc-report.py
+++ b/esc-reporting/esc-report.py
@@ -529,7 +529,7 @@ def report_ui():
   print('  {} made {} changes in 1 month, and {} changes in 1 
year'.format(
 top10list[i]['name'], top10list[i]['month'], 
top10list[i]['year']), file=fp)
 fp.close()
-return {'title': 'ESC UI report', 'mail': 'tietze.he...@gmail.com', 
'file': '/tmp/esc_ui_report.txt'}
+return None
 
 
 
commit 1346ed3572125857d9cf4e0d40e47f0f44c40972
Author: Shinnok <ad...@shinnok.com>
Date:   Mon Dec 18 09:07:18 2017 +0100

Update mentor e-mail to mentor...@documentfoundation.org.

Change-Id: I93c80e21127e92cfe162bd07e4c8146759c8ceea
Reviewed-on: https://gerrit.libreoffice.org/46688
Reviewed-by: Michael Meeks <michael.me...@collabora.com>
Tested-by: Michael Meeks <michael.me...@collabora.com>

diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index e0458d3..578e625 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -308,7 +308,7 @@ def analyze_mentoring():
   statList['people'][mail]['gerrit']['reviewName'] = '{} 
<{}>'.format(row['name'],row['email'])
   statList['people'][mail]['isCommitter'] = True
   statList['people'][mail]['isContributor'] = True
-x1 = statList['people']['ad...@shinnok.com']
+x1 = statList['people']['mentor...@documentfoundation.org']
 statNewDate = cfg['1yearDate']
 statOldDate = cfg['nowDate']
 for key, row in gerritData['patch'].items():
@@ -735,7 +735,7 @@ def analyze_reports():
   else:
 for comment in row['comments']:
   email = util_check_mail('', comment['creator'])
-  if not email == 'aniste...@gmail.com' and not email == 
'ad...@shinnok.com' and 'reviewName' in 
statList['people'][ownerEmail]['gerrit']:
+  if not email == 'aniste...@gmail.com' and not email == 
'mentor...@docmentfoundation.org' and 'reviewName' in 
statList['people'][ownerEmail]['gerrit']:
 reviewEmail = email
 break
 except Exception as e:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] dev-tools.git: esc-reporting/esc-analyze.py

2017-12-22 Thread Shinnok
 esc-reporting/esc-analyze.py |7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit c596332399de89fd561d39837b4fc0d1beac2d6f
Author: Shinnok <ad...@shinnok.com>
Date:   Wed Dec 20 12:39:47 2017 +0100

Cleanup missing license reports in the daily mails.

By cross-referencing against licenseCompany.csv domain too.

Change-Id: I4060e63d0d121825e1ce0b2e3342bb4d3f7e0ccc
Reviewed-on: https://gerrit.libreoffice.org/46843
Reviewed-by: Michael Meeks <michael.me...@collabora.com>
Tested-by: Michael Meeks <michael.me...@collabora.com>

diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index f3de599..e0458d3 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -608,6 +608,9 @@ def util_is_company_license(email):
 domain = line[:line.index(' ')]
   if email.endswith(domain):
 return True
+for domain in cfg['companies']:
+  if email.endswith(domain):
+return True
 return False
 
 def analyze_reports():
@@ -687,7 +690,9 @@ def analyze_reports():
   entry['email'] = ownerEmail
   entry['license'] = 'GERRIT NO LICENSE'
   statList['reportList']['missing_license'].append(entry)
-elif not statList['people'][ownerEmail]['licenseOK']:
+elif not statList['people'][ownerEmail]['licenseOK']\
+  and not util_is_company_license(ownerEmail):
+  print(ownerEmail)
   entry['license'] = 'GERRIT: ' + 
statList['people'][ownerEmail]['licenseText']
   statList['reportList']['missing_license'].append(entry)
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: helpcontent2

2017-12-19 Thread Shinnok
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 766cb5ba776fc672f4fc7655e2278ef8f32e2f4c
Author: Shinnok <ad...@shinnok.com>
Date:   Mon Dec 18 11:17:14 2017 +0100

Updated core
Project: help  14c0b87b9fccf2bf053367da652e010af3d60752

Use quotes around positional args.

Change-Id: I34daf14c83b83085ca5f8ef643e7418893da5924
Reviewed-on: https://gerrit.libreoffice.org/46696
Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/helpcontent2 b/helpcontent2
index b6e0ecde5fb3..14c0b87b9fcc 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit b6e0ecde5fb3eafe88846f055a4917ac99d38e36
+Subproject commit 14c0b87b9fccf2bf053367da652e010af3d60752
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] dev-tools.git: esc-reporting/esc-analyze.py

2017-12-16 Thread Shinnok
 esc-reporting/esc-analyze.py |   26 +++---
 1 file changed, 23 insertions(+), 3 deletions(-)

New commits:
commit f1660f3eba03df1f3ce70b04eca32787748d564e
Author: Shinnok <ad...@shinnok.com>
Date:   Sat Dec 16 12:53:39 2017 +0100

Skip we-miss-you mails to company/org entities.

By cross-referencing with domain-map before deciding whether
to send or not.

Change-Id: I89bb75be3b6a206253882b106d96544b3b669ec9
Reviewed-on: https://gerrit.libreoffice.org/46595
Reviewed-by: Michael Meeks <michael.me...@collabora.com>
Tested-by: Michael Meeks <michael.me...@collabora.com>

diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index 5dc41df..f3de599 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -71,10 +71,13 @@ def util_errorMail(text):
 os.system(sendMail)
 
 
-def util_load_file(fileName):
+def util_load_file(fileName, isJson=True):
 try:
   fp = open(fileName, encoding='utf-8')
-  rawData = json.load(fp)
+  if(isJson):
+rawData = json.load(fp)
+  else:
+rawData = fp.readlines()
   fp.close()
 except Exception as e:
   print('Error load file ' + fileName + ' due to ' + str(e))
@@ -592,6 +595,20 @@ def analyze_esc():
 statList['data']['esc']['crashreport'] = 
crashData['crashreport']['versions']
 
 
+def util_is_company_license(email):
+domainMap = util_load_file(cfg['homedir'] + 'gitdm-config/domain-map', 
False)
+for line in domainMap:
+  line = line[:-1]
+  if line.startswith('#') or line.startswith(' ') or len(line) == 0:
+continue
+  domain = line
+  if '\t' in domain:
+domain = line[:line.index('\t')]
+  else:
+domain = line[:line.index(' ')]
+  if email.endswith(domain):
+return True
+return False
 
 def analyze_reports():
 global cfg, statList, openhubData, bugzillaData, gerritData, gitData, 
automateData
@@ -624,7 +641,10 @@ def analyze_reports():
 
 for id, row in statList['people'].items():
   entry = {'name': row['name'], 'email': id, 'license': row['licenseText']}
-  if row['newestCommit'] > mailedDate and row['newestCommit'] < 
cfg['3monthDate'] and id not in automateData['reminder']:
+  if row['newestCommit'] > mailedDate\
+  and row['newestCommit'] < cfg['3monthDate']\
+  and id not in automateData['reminder']\
+  and not util_is_company_license(entry['email']):
 automateList['mail']['we_miss_you_email'][entry['email']] = 
entry['name']
 automateData['reminder'][id] = automateNow
   x = row['commits']['1month']['owner']
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: helpcontent2

2017-12-16 Thread Shinnok
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 005c7b8e15cdf5e4647ceac685f87c37731cd61f
Author: Shinnok <ad...@shinnok.com>
Date:   Wed Nov 29 12:48:22 2017 +0200

Updated core
Project: help  b07c31d8dfa44e18560eaacfe7f63ef2e5e23ff7

Replace usage of readlink -f with realpath.

For consistency reasons, the other scripts use the latter. Additionally on
macOS/BSD readlink -f option is not available, nor other default tools
for canonicalizing paths, so looking for GNU's realpath in the first
place is a better bet.

Change-Id: I77b82a956f63c66e352a372895cd623f83916168
Reviewed-on: https://gerrit.libreoffice.org/45486
Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/helpcontent2 b/helpcontent2
index f391bd889ff8..b07c31d8dfa4 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit f391bd889ff83129dd2988d7e449869e5c687f18
+Subproject commit b07c31d8dfa44e18560eaacfe7f63ef2e5e23ff7
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: help3xsl/xhp2html.sh

2017-12-16 Thread Shinnok
 help3xsl/xhp2html.sh |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b07c31d8dfa44e18560eaacfe7f63ef2e5e23ff7
Author: Shinnok <ad...@shinnok.com>
Date:   Wed Nov 29 12:48:22 2017 +0200

Replace usage of readlink -f with realpath.

For consistency reasons, the other scripts use the latter. Additionally on
macOS/BSD readlink -f option is not available, nor other default tools
for canonicalizing paths, so looking for GNU's realpath in the first
place is a better bet.

Change-Id: I77b82a956f63c66e352a372895cd623f83916168
Reviewed-on: https://gerrit.libreoffice.org/45486
Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/help3xsl/xhp2html.sh b/help3xsl/xhp2html.sh
index 4b3734254..b4e56b5a7 100755
--- a/help3xsl/xhp2html.sh
+++ b/help3xsl/xhp2html.sh
@@ -193,7 +193,7 @@ if test "${dir}" = "/"; then
 echo "error: cannot find \"program\" dir from \"$(pwd)\""
 exit 1
 fi
-rootHelpex=$(readlink -f "${rootHelpex}/..")
+rootHelpex=$(realpath "${rootHelpex}/..")
 done
 
 exedir="${rootHelpex}"/workdir/LinkTarget/Executable
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] dev-tools.git: esc-reporting/esc-analyze.py

2017-12-12 Thread Shinnok
 esc-reporting/esc-analyze.py |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit bc83c974098dd2d3e0ddc35f6582e85273e38f51
Author: Shinnok <ad...@shinnok.com>
Date:   Thu Dec 7 13:18:41 2017 +0100

Soft warn for licensing issues instead of aborting.

Change-Id: Ieb3af5b7ca153c3110902c21100424246ac46290
Reviewed-on: https://gerrit.libreoffice.org/46026
Reviewed-by: Michael Meeks <michael.me...@collabora.com>
Tested-by: Michael Meeks <michael.me...@collabora.com>

diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index ff83356..5dc41df 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -860,9 +860,9 @@ def runLoadCSV():
   # check consistency
   for i in statList['aliases']:
 if i in licencePersonalData:
-  raise Exception('alias ' + i + ' in aliases is licensed')
+  print('alias ' + i + ' in aliases is licensed')
 elif statList['aliases'][i] not in licencePersonalData:
-  raise Exception('target ' + statList['aliases'][i] + ' for alias ' + 
i + ' in aliases is NOT licensed')
+  print('target ' + statList['aliases'][i] + ' for alias ' + i + ' in 
aliases is NOT licensed')
 
   # create base people info
   for id, row in licencePersonalData.items():
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] dev-tools.git: esc-reporting/esc-analyze.py esc-reporting/esc-automate.py esc-reporting/esc-collect.py esc-reporting/esc-report.py

2017-12-12 Thread Shinnok
 esc-reporting/esc-analyze.py  |4 ++--
 esc-reporting/esc-automate.py |4 ++--
 esc-reporting/esc-collect.py  |2 +-
 esc-reporting/esc-report.py   |4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 598368cdb35e886896a61ac7f3db7efc1c4f9432
Author: Shinnok <ad...@shinnok.com>
Date:   Tue Oct 31 15:37:56 2017 +0100

Change to: address for mentoring e-mails.

From mentor...@libreoffice.org to mentor...@documentfoundation.org.

Change-Id: I71e091f5d9950f5f0d9c6f3c27b0c30f41a02b80
Reviewed-on: https://gerrit.libreoffice.org/44123
Reviewed-by: Thorsten Behrens <thorsten.behr...@cib.de>
Tested-by: Thorsten Behrens <thorsten.behr...@cib.de>

diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index 458178e..ff83356 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -59,7 +59,7 @@ import re
 
 def util_errorMail(text):
 print(text)
-sendMail = 'mail -r mentor...@libreoffice.org ' + cfg['mail']['bcc'] + ' 
-s "ERROR: esc-analyze FAILED" mentor...@libreoffice.org <<EOF\n' + text + 
'\nPlease have a look at vm174\nEOF\n'
+sendMail = 'mail -r mentor...@documentfoundation.org ' + 
cfg['mail']['bcc'] + ' -s "ERROR: esc-analyze FAILED" 
mentor...@documentfoundation.org <<EOF\n' + text + '\nPlease have a look at 
vm174\nEOF\n'
 os.system(sendMail)
 
 
@@ -67,7 +67,7 @@ def util_errorMail(text):
 
 def util_errorMail(text):
 print(text)
-sendMail = 'mail -r mentor...@libreoffice.org -s "' + text + '" 
mentor...@libreoffice.org <<EOF\nPlease have a look at vm174\nEOF\n'
+sendMail = 'mail -r mentor...@documentfoundation.org -s "' + text + '" 
mentor...@documentfoundation.org <<EOF\nPlease have a look at vm174\nEOF\n'
 os.system(sendMail)
 
 
diff --git a/esc-reporting/esc-automate.py b/esc-reporting/esc-automate.py
index 2acfd97..15c39e5 100755
--- a/esc-reporting/esc-automate.py
+++ b/esc-reporting/esc-automate.py
@@ -34,7 +34,7 @@ from requests.auth import HTTPDigestAuth
 
 def util_errorMail(text):
 print(text)
-sendMail = 'mail -r mentor...@libreoffice.org ' + cfg['mail']['bcc'] + ' 
-s "ERROR: esc-automate FAILED" mentor...@libreoffice.org <<EOF\n' + text + 
'\nPlease have a look at vm174\nEOF\n'
+sendMail = 'mail -r mentor...@documentfoundation.org ' + 
cfg['mail']['bcc'] + ' -s "ERROR: esc-automate FAILED" 
mentor...@documentfoundation.org <<EOF\n' + text + '\nPlease have a look at 
vm174\nEOF\n'
 os.system(sendMail)
 
 
@@ -100,7 +100,7 @@ def doMail(mail, subject, content, attach=None):
   attach = '-a ' + attach + ' '
 else:
   attach = ''
-sendMail = 'mail -r mentor...@libreoffice.org ' + cfg['mail']['bcc'] + ' 
-s "' + subject + '" ' + attach + mail + ' <<EOF\n' + content + '\nEOF\n'
+sendMail = 'mail -r mentor...@documentfoundation.org ' + 
cfg['mail']['bcc'] + ' -s "' + subject + '" ' + attach + mail + ' <<EOF\n' + 
content + '\nEOF\n'
 r = os.system(sendMail)
 if r != 0:
   raise Exception('mail failed')
diff --git a/esc-reporting/esc-collect.py b/esc-reporting/esc-collect.py
index c573ce0..491fae4 100755
--- a/esc-reporting/esc-collect.py
+++ b/esc-reporting/esc-collect.py
@@ -43,7 +43,7 @@ from requests.auth import HTTPDigestAuth
 
 def util_errorMail(text):
 print(text)
-sendMail = 'mail -r mentor...@libreoffice.org ' + cfg['mail']['bcc'] + ' 
-s "ERROR: esc-collect FAILED" mentor...@libreoffice.org <<EOF\n' + text + 
'\nPlease have a look at vm174\nEOF\n'
+sendMail = 'mail -r mentor...@documentfoundation.org ' + 
cfg['mail']['bcc'] + ' -s "ERROR: esc-collect FAILED" 
mentor...@documentfoundation.org <<EOF\n' + text + '\nPlease have a look at 
vm174\nEOF\n'
 os.system(sendMail)
 
 
diff --git a/esc-reporting/esc-report.py b/esc-reporting/esc-report.py
index 458fbf7..028e133 100755
--- a/esc-reporting/esc-report.py
+++ b/esc-reporting/esc-report.py
@@ -44,7 +44,7 @@ import xmltodict
 
 def util_errorMail(text):
 print(text)
-sendMail = 'mail -r mentor...@libreoffice.org ' + cfg['mail']['bcc'] + ' 
-s "ERROR: esc-report FAILED" mentor...@libreoffice.org <<EOF\n' + text + 
'\nPlease have a look at vm174\nEOF\n'
+sendMail = 'mail -r mentor...@documentfoundation.org ' + 
cfg['mail']['bcc'] + ' -s "ERROR: esc-report FAILED" 
mentor...@documentfoundation.org <<EOF\n' + text + '\nPlease have a look at 
vm174\nEOF\n'
 os.system(sendMail)
 
 
@@ -826,7 +826,7 @@ def runReport():
 attach = '-a ' + i['attach'] + ' '
   else:
 attach = ''
-  r = os.system("mail -r mentor...@libreoffice.org " + cfg['mail']['bcc'] 
+ " -s '" + i['title'] + "' " + attach + i['mail'] + " <  " 

[Libreoffice-commits] core.git: helpcontent2

2017-12-06 Thread Shinnok
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4df7ebee49438cd963d1aed529a9eead2399dcb0
Author: Shinnok <ad...@shinnok.com>
Date:   Wed Dec 6 17:49:42 2017 +0100

Updated core
Project: help  fb2f695bb4ad8ed6a9eeef0e155526df169796f3

Add option to build en-US too.

This case required manual copy of the xhp's and tree.

Change-Id: Ibde9e0e70f9d27735cc0b89bab8eeb34d17c5fdc
Reviewed-on: https://gerrit.libreoffice.org/45968
Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/helpcontent2 b/helpcontent2
index c09e0355995d..fb2f695bb4ad 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit c09e0355995d329cbd0c60ff7e6008c0f06b45df
+Subproject commit fb2f695bb4ad8ed6a9eeef0e155526df169796f3
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: helpcontent2

2017-12-06 Thread Shinnok
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 82000d8fba0403dfed98eb73a0936653ce5ef001
Author: Shinnok <ad...@shinnok.com>
Date:   Wed Dec 6 13:16:05 2017 +0100

Updated core
Project: help  c09e0355995d329cbd0c60ff7e6008c0f06b45df

Merge makelocal and makeonline into single script.

Scripts were identical; only difference is whether we pass
local yes/no to get_html.sh. Choice is now expressed via
first param to makehelp.sh; build local is default.

Change-Id: Icbe274fe6d9aeb86c7950aa69daf574e271e3b84
Reviewed-on: https://gerrit.libreoffice.org/45943
Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/helpcontent2 b/helpcontent2
index 0b1c7e3c53f3..c09e0355995d 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 0b1c7e3c53f36b36f304270fd7aa455321dfd8fe
+Subproject commit c09e0355995d329cbd0c60ff7e6008c0f06b45df
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: help3xsl/get_tree.sh

2017-12-04 Thread Shinnok
 help3xsl/get_tree.sh |   35 ---
 1 file changed, 35 deletions(-)

New commits:
commit a624e855010b2e572f526d2b4b149c2baa6890a3
Author: Shinnok <ad...@shinnok.com>
Date:   Mon Dec 4 19:49:35 2017 +0100

Remove confusing white space.

Change-Id: I0f6e35f720c5744757f0ac804a9d780df23d1804
Reviewed-on: https://gerrit.libreoffice.org/45819
Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/help3xsl/get_tree.sh b/help3xsl/get_tree.sh
index 58b3f48f8..d9582f551 100755
--- a/help3xsl/get_tree.sh
+++ b/help3xsl/get_tree.sh
@@ -50,38 +50,6 @@ done
 echo $'\047'';'>>$treeFileHTML
 exit
 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
 ALL_LANGS='en-US am ar ast bg bn bn-IN bo bs ca ca-valencia cs da de dz el 
en-GB en-ZA eo es et eu fi fr gl gu he hi hr hu id is it ja ka km ko lo lt lv 
mk nb ne nl nn om pl pt-BR pt ro ru sid si sk sl sq sv ta tg tr ug uk vi zh-CN 
zh-TW'
 
 here=$(pwd)
@@ -96,9 +64,6 @@ export 
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${rootTreex}"/instd
 rm -rf $here/html
 
 
-#
-
-
 ALL_LANGS='fr pt-BR'
 ALL_TREE='sbasic.tree  scalc.tree  schart.tree  shared.tree  simpress.tree  
smath.tree  swriter.tree'
 for lang in $ALL_LANGS
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: helpcontent2

2017-12-04 Thread Shinnok
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 433fdce3fd1dc370afb81fe5a5723c8aae9e586c
Author: Shinnok <ad...@shinnok.com>
Date:   Mon Dec 4 19:49:35 2017 +0100

Updated core
Project: help  a624e855010b2e572f526d2b4b149c2baa6890a3

Remove confusing white space.

Change-Id: I0f6e35f720c5744757f0ac804a9d780df23d1804
Reviewed-on: https://gerrit.libreoffice.org/45819
Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/helpcontent2 b/helpcontent2
index 19c8267824c9..a624e855010b 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 19c8267824c96ce837140c7edf94b8ab0231a485
+Subproject commit a624e855010b2e572f526d2b4b149c2baa6890a3
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: License Statement for Contributions from TUBITAK-ULAKBIM and Pardus Project

2017-11-30 Thread Shinnok
Hi,

Just to be 100% compliant, you need to subject your past, present and future 
contributions to MPLv2, along with LGPLv3+. Pasting the sample statement from 
https://wiki.documentfoundation.org/Development/GetInvolved: 
<https://wiki.documentfoundation.org/Development/GetInvolved:>

"All of my past & future contributions to LibreOffice may be licensed under the 
MPLv2/LGPLv3+ dual license."

Thank you for your contribution,
Shinnok

> On Nov 29, 2017, at 5:50 PM, cengiz celik <cengiz.ce...@tubitak.gov.tr> wrote:
> 
> Hello LibreOffice team,
> 
> In line with our general institutional policy, code contributed to
> open source projects is made available under the terms of that
> project's license. All past and present contributions to LibreOffice
> from TUBITAK-ULAKBIM (The Turkish Academic Network and Information
> Centre) are available under LGPLv3+/MPL. Until further notice, all
> future contributions to LibreOffice from TUBITAK-ULAKBIM are available
> under LGPLv3+/MPL.
> 
> Pardus is a project run by TUBITAK-ULAKBIM, centered around a Debian-based 
> GNU/Linux distribution. This statement covers also
> contributions from the Pardus project.
> 
> 
> Regards,
> 
> 
> Cengiz Celik
> 
> Pardus Project Manager
> 
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] help.git: help3xsl/convert2html.sh help3xsl/get_media.sh help3xsl/help-to-html.sh help3xsl/xhp2html.sh

2017-11-29 Thread Shinnok
 help3xsl/convert2html.sh |2 +-
 help3xsl/get_media.sh|4 ++--
 help3xsl/help-to-html.sh |6 +++---
 help3xsl/xhp2html.sh |6 +++---
 4 files changed, 9 insertions(+), 9 deletions(-)

New commits:
commit 50ac5af18de36477bc0db81391adfd8a3a76853c
Author: Shinnok <ad...@shinnok.com>
Date:   Tue Nov 28 18:34:21 2017 +0200

Replace cp -rap with cp -a, satisfying all *nixes.

On macOS, probably BSD too -rap will fail with both -r and -R implied.

Change-Id: I6844d6f2ac52ca1c10564857f4e9190e1627ce52
Reviewed-on: https://gerrit.libreoffice.org/45430
Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/help3xsl/convert2html.sh b/help3xsl/convert2html.sh
index 9eafdf183..f8a84c434 100755
--- a/help3xsl/convert2html.sh
+++ b/help3xsl/convert2html.sh
@@ -287,7 +287,7 @@ echo ''>>$sitemap
 cp normalize.css default.css help.js jquery-3.1.1.min.js $outDir
 cp -r $enSource/source/media $outDir
 mkdir -p $outDir/media/icon-themes
-#cp -rap ../../icon-themes/galaxy/* $outDir/media/icon-themes/
+#cp -a ../../icon-themes/galaxy/* $outDir/media/icon-themes/
 #ln -s $productversion html/latest
 
 exit
diff --git a/help3xsl/get_media.sh b/help3xsl/get_media.sh
index d0b7060d3..12f636b2b 100755
--- a/help3xsl/get_media.sh
+++ b/help3xsl/get_media.sh
@@ -36,7 +36,7 @@ cp jquery-3.1.1.min.js $outDir'/'$productVersion'/'
 cp normalize.css $outDir'/'$productVersion'/'
 cp default.css $outDir'/'$productVersion'/'
 
-cp -rap ../source/media $outDir'/'$productVersion'/'
+cp -a ../source/media $outDir'/'$productVersion'/'
 
 galaxy=$(realpath $workDir'/../icon-themes/galaxy')
-cp -rap $galaxy $outDir'/'$productVersion'/media/icon-themes'
+cp -a $galaxy $outDir'/'$productVersion'/media/icon-themes'
diff --git a/help3xsl/help-to-html.sh b/help3xsl/help-to-html.sh
index 1298106ec..1b7e6a74d 100755
--- a/help3xsl/help-to-html.sh
+++ b/help3xsl/help-to-html.sh
@@ -41,9 +41,9 @@ mkdir -p html/$productversion
 #copy some service files
 cp index.html html/
 cp default.css help.js jquery-3.1.1.min.js tabs.css tree.css $outDir
-cp -rap ../source/media $outDir
+cp -a ../source/media $outDir
 mkdir -p $outDir'media/icon-themes'
-cp -rap ../../icon-themes/galaxy/* $outDir/media/icon-themes/
+cp -a ../../icon-themes/galaxy/* $outDir/media/icon-themes/
 ln -s $productversion html/latest
 
 # Create the bookmark2file map
@@ -95,5 +95,5 @@ done
 
 # Should copy core/icon-themes/galaxy/ to the media folder as icon-theme/
 #mkdir $outDir'media/icon-theme'
-# cp -rap ../../../../../icon-themes/galaxy/* $outDir/media/icon-theme/
+# cp -a ../../../../../icon-themes/galaxy/* $outDir/media/icon-theme/
 exit
diff --git a/help3xsl/xhp2html.sh b/help3xsl/xhp2html.sh
index de146e387..4b3734254 100755
--- a/help3xsl/xhp2html.sh
+++ b/help3xsl/xhp2html.sh
@@ -181,9 +181,9 @@ cp jquery-3.1.1.min.js $here'/html/'$productversion'/'
 cp normalize.css $here'/html/'$productversion'/'
 cp default.css $here'/html/'$productversion'/'
 
-cp -rap ../source/media $here'/html/'$productversion'/'
+cp -a ../source/media $here'/html/'$productversion'/'
 mkdir -p $here'/html/'$productversion'/media/icon-themes'
-cp -rap ../../icon-themes/galaxy/* 
$here'/html/'$productversion'/media/icon-themes/'
+cp -a ../../icon-themes/galaxy/* 
$here'/html/'$productversion'/media/icon-themes/'
 ln -s $productversion html/latest
 
 # Set helpex utilty and environment
@@ -243,7 +243,7 @@ mkdir -p $outDirHTML
 if [ "$lang" == en-US ];
 then
 
-cp -rap $helpfiles $outDirLang
+cp -a $helpfiles $outDirLang
 
 else
 # Create first all translations of xhp
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: helpcontent2

2017-11-29 Thread Shinnok
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bdfbc91ca08a9a04fc9515b0a0bf669627fcc6ed
Author: Shinnok <ad...@shinnok.com>
Date:   Tue Nov 28 18:34:21 2017 +0200

Updated core
Project: help  50ac5af18de36477bc0db81391adfd8a3a76853c

Replace cp -rap with cp -a, satisfying all *nixes.

On macOS, probably BSD too -rap will fail with both -r and -R implied.

Change-Id: I6844d6f2ac52ca1c10564857f4e9190e1627ce52
Reviewed-on: https://gerrit.libreoffice.org/45430
Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/helpcontent2 b/helpcontent2
index db60e4b8ed43..50ac5af18de3 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit db60e4b8ed439fcf103fa4937691498eee8f5e9c
+Subproject commit 50ac5af18de36477bc0db81391adfd8a3a76853c
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: helpcontent2

2017-11-29 Thread Shinnok
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 454d1f464c3979a50d8b02ceb518e65703ac751d
Author: Shinnok <ad...@shinnok.com>
Date:   Tue Nov 28 18:43:16 2017 +0200

Updated core
Project: help  db60e4b8ed439fcf103fa4937691498eee8f5e9c

Chmod +x for makelocal.sh.

Change-Id: I20c45d4eef8a5302369242e7d3cc5b6bb9f70e39
Reviewed-on: https://gerrit.libreoffice.org/45431
Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/helpcontent2 b/helpcontent2
index 840ceaafbe4f..db60e4b8ed43 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 840ceaafbe4f723661c10539ed2915298cf77c5f
+Subproject commit db60e4b8ed439fcf103fa4937691498eee8f5e9c
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: help3xsl/makelocal.sh

2017-11-29 Thread Shinnok
 0 files changed

New commits:
commit db60e4b8ed439fcf103fa4937691498eee8f5e9c
Author: Shinnok <ad...@shinnok.com>
Date:   Tue Nov 28 18:43:16 2017 +0200

Chmod +x for makelocal.sh.

Change-Id: I20c45d4eef8a5302369242e7d3cc5b6bb9f70e39
Reviewed-on: https://gerrit.libreoffice.org/45431
Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/help3xsl/makelocal.sh b/help3xsl/makelocal.sh
old mode 100644
new mode 100755
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Persistent crash building ooxmlexport4+ unit-tests on macOS 10.12.6

2017-11-06 Thread Shinnok
Hi,

I'm trying to build a full checked build of core master on macOS Sierra and it 
looks like the ooxmlexport4 cppunit test manages to kill the macOS display 
manager every time on my machine. Attached system crash report to the end of 
this e-mail.

I'm trying to find out what could be different between my configuration and the 
Jenkins_MacOSX tinderbox which looks like is building just fine. The XCode kit 
version reported by autotools is 10.13 (just like mine) but apart from that I 
can't find any other build details, nor confirm that it is macOS 10.12 indeed. 
Can somebody point me to the build config (trying to find out if it's using 
LODE or otherwise) and the system details for that tinderbox?

To me, it looks like the the excessive amount of malloc'ing by the tests is 
halting my system (no ulimits). Manually disabling ooxmlexport4 test only gets 
me as far as the next one. :)


COMMAND  %MEM  VSZ(in KB)  %CPU
cppunittester 1.1  3704920  92.4
WindowServer 49.9 39437312  77.0
cppunittester10.2 14668976  25.5
cppunittester14.6 12695528  24.9
cppunittester15.5 15359232  15.3

* see VSZ; and no, my diskspace isn't unlimited =)

Needless to say, has anyone else experienced this crash? The problem also looks 
vaguely similar to:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=480852
http://jira.pentaho.com/browse/PDI-14470

Cheers,
Shinnok


Process:   cppunittester [75908]
Path:  /Users/*/cppunittester
Identifier:cppunittester
Version:   0
Code Type: X86-64 (Native)
Parent Process:??? [75904]
Responsible:   cppunittester [75908]
User ID:   501

Date/Time: 2017-11-06 19:20:54.639 +0200
OS Version:Mac OS X 10.12.6 (16G1036)
Report Version:12
Anonymous UUID:18706759-4C03-8DA4-2634-725C080287C9

Sleep/Wake UUID:   DAC3AC68-D461-4C4D-BAAA-847FFE057F31

Time Awake Since Boot: 16 seconds
Time Since Wake:   770 seconds

System Integrity Protection: disabled

Crashed Thread:0  Dispatch queue: com.apple.main-thread

Exception Type:EXC_CRASH (SIGABRT)
Exception Codes:   0x, 0x
Exception Note:EXC_CORPSE_NOTIFY

Application Specific Information:
Assertion failed: (backing->lock_buffer > 0), function 
CGSBackingStoreUnlockWriter, file Services/Windows/CGSBackingStore.c, line 384.
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib  0x7fffdc617d42 __pthread_kill + 10
1   libsystem_pthread.dylib 0x7fffdc705457 pthread_kill + 90
2   libsystem_c.dylib   0x7fffdc57d420 abort + 129
3   libuno_sal.dylib.3  0x00010a831ca7 (anonymous 
namespace)::callSystemHandler(int, __siginfo*, void*) + 215
4   libuno_sal.dylib.3  0x00010a8319ef (anonymous 
namespace)::signalHandlerFunction(int, __siginfo*, void*) + 159
5   libsystem_platform.dylib0x7fffdc6f8b3a _sigtramp + 26
6   ??? 0x7f8e40856d60 0 + 140248944569696
7   libsystem_c.dylib   0x7fffdc57d420 abort + 129
8   libsystem_c.dylib   0x7fffdc544893 __assert_rtn + 320
9   com.apple.SkyLight  0x7fffd8818933 
CGSWindowUnlockBackingWriter + 204
10  com.apple.AppKit0x7fffc4a0a378 lock_device + 513
11  com.apple.AppKit0x7fffc49da095 
__NSCGSWindowBackingStoreMark__block_invoke + 1133
12  com.apple.AppKit0x7fffc499d458 
NSCGSTransactionRunPreCommitActionsForOrder_ + 289
13  com.apple.AppKit0x7fffc499d324 
NSCGSTransactionRunPreCommitActions_ + 31
14  com.apple.AppKit0x7fffc499d2f9 
__39+[_NSCGSTransaction currentTransaction]_block_invoke + 34
15  com.apple.QuartzCore0x7fffcc892d06 
CA::Transaction::run_commit_handlers(CATransactionPhase) + 46
16  com.apple.QuartzCore0x7fffcc99cbdb 
CA::Context::commit_transaction(CA::Transaction*) + 959
17  com.apple.QuartzCore0x7fffcc8917e1 
CA::Transaction::commit() + 475
18  com.apple.AppKit0x7fffc4c8c8b1 __37+[NSDisplayCycle 
currentDisplayCycle]_block_invoke.31 + 323
19  com.apple.CoreFoundation0x7fffc6d82d37 
__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
20  com.apple.CoreFoundation0x7fffc6d82ca7 
__CFRunLoopDoObservers + 391
21  com.apple.CoreFoundation0x7fffc6d636d9 __CFRunLoopRun + 873
22  com.apple.CoreFoundation0x7fffc6d63114 CFRunLoopRunSpecific 
+ 420
23  com.apple.HIToolbox 0x7fffc62c3ebc 
RunCurrentEventLoopInMode + 240
24  com.apple.HIToolbox 0x7fffc62c3bf9 
ReceiveNextEventCommon + 184
25  com.apple.HIToolbox 0x7fffc6

Tinderboxes

2017-10-30 Thread Shinnok
Hi,

Are all tinderboxes offline for the time being?

https://tinderbox.libreoffice.org/HEAD/status.html

Regards,
Shinnok
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] dev-tools.git: esc-reporting/esc-collect.py

2017-10-25 Thread Shinnok
 esc-reporting/esc-collect.py |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 202aea16bcecd791a155d9dc5678bdd6cd38e1ed
Author: Shinnok <ad...@shinnok.com>
Date:   Wed Oct 25 12:21:05 2017 +0200

Fix crashtest reporting in the daily ESC prototype.

Working index wasn't properly incremented.

Change-Id: I198d3cbcdc1ab6751b81eaac2810a030f88e495c
Reviewed-on: https://gerrit.libreoffice.org/43822
Reviewed-by: Thorsten Behrens <thorsten.behr...@cib.de>
Tested-by: Thorsten Behrens <thorsten.behr...@cib.de>

diff --git a/esc-reporting/esc-collect.py b/esc-reporting/esc-collect.py
index d336354..c573ce0 100755
--- a/esc-reporting/esc-collect.py
+++ b/esc-reporting/esc-collect.py
@@ -687,12 +687,13 @@ def get_crash(cfg):
 if inx == -1:
print("ERROR: http://dev-builds.libreoffice.org/crashtest/?C=M=D not 
showing DIR list")
return
-end = dirList.find('"', inx+7)
+inx = inx + 7
+end = dirList.find('"', inx)
 url = 'http://dev-builds.libreoffice.org/crashtest/' + dirList[inx:end] + 
'/'
 
 for type in 'crashlog', 'exportCrash':
 tmp = util_load_url(url + type + '.txt', useRaw=True).split('\n')
-rawList['crashtest'][type] = len(tmp) -1
+rawList['crashtest'][type] = len(tmp) - 1
 
 print("Updating crashreport dump")
 rawList['crashreport'] = 
util_load_url('http://crashreport.libreoffice.org/api/get/crash-count')
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] dev-tools.git: esc-reporting/esc-collect.py

2017-10-25 Thread Shinnok
 esc-reporting/esc-collect.py |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d7de5c251fd51606cd1038bae33ac9aa20679ca5
Author: Shinnok <ad...@shinnok.com>
Date:   Wed Oct 25 11:28:11 2017 +0200

Nginx uses amp. for GET params.

Change-Id: Ifd2581b13c9dda4f9d38954784a2dc5d34496f1b
Reviewed-on: https://gerrit.libreoffice.org/43817
Reviewed-by: Thorsten Behrens <thorsten.behr...@cib.de>
Tested-by: Thorsten Behrens <thorsten.behr...@cib.de>

diff --git a/esc-reporting/esc-collect.py b/esc-reporting/esc-collect.py
index 50fe6b7..d336354 100755
--- a/esc-reporting/esc-collect.py
+++ b/esc-reporting/esc-collect.py
@@ -679,13 +679,13 @@ def get_crash(cfg):
 fileName = cfg['homedir'] + 'dump/crash_dump.json'
 rawList = {'crashtest': {}, 'crashreport': {}}
 print("Updating crashtest dump")
-dirList = 
util_load_url('http://dev-builds.libreoffice.org/crashtest/?C=M;O=D', 
useRaw=True)
+dirList = 
util_load_url('http://dev-builds.libreoffice.org/crashtest/?C=M=D', 
useRaw=True)
 # find newest entry by using sort - in nginx' fancyindex first row is 
parent-directory
 # the second ones is most recent dir that was created. Only regular 
entries have a title
 # attribute though, so use that as a shortcut, skip 
 inx = dirList.find('title="', 0)
 if inx == -1:
-   print("ERROR: http://dev-builds.libreoffice.org/crashtest/?C=M;O=D not 
showing DIR list")
+   print("ERROR: http://dev-builds.libreoffice.org/crashtest/?C=M=D not 
showing DIR list")
return
 end = dirList.find('"', inx+7)
 url = 'http://dev-builds.libreoffice.org/crashtest/' + dirList[inx:end] + 
'/'
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: LibreOffice Core Development build Issue

2017-10-10 Thread Shinnok
Hi,

It is not clear to me what version of Visual Studio you installed on your 
system and if you tried running it in the first place, as Regina suggested in a 
follow up e-mail. Please open Visual Studio, write a small hello world, compile 
and run it to verify your installation of the VC++ compiler.

PS: Please don't use attached screenshots to report errors and warnings, use a 
pastebin and simple text.

Cheers,
Shinnok

> On Oct 10, 2017, at 7:55 AM, koushik.sek...@ssrlabs.com wrote:
> 
> Hi Shinnok,
> 
> Just a follow up on previous mail. Please let me know if there is any
> other alternative or suggestions.
> 
> Thank you.
> 
> Regards,
> Koushik Sekhar
> 
> 
> 
> 
> 
> On Mon, October 2, 2017 8:27 pm, koushik.sek...@ssrlabs.com wrote:
>> Hi Shinnok,
>> 
>> 
>> I have setup the basic environment for LibreOffice Document Project. I am
>> facing issues while running the build for libo core. I have also
>> explicitly specified the JDK and the Microsoft Visual Studio versions
>> when I run the autogen.sh \ file but I am still getting errors. I have
>> attached the screenshot of the error for your reference. Could you please
>> provide your suggestion as how to rectify the same.
>> 
>> Thank you.
>> 
>> 
>> Regards,
>> Koushik Sekhar
> 
> 

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: locking closed bugs after some period of time ?

2017-09-20 Thread Shinnok
Hi Caolan,

Nope, but the mentoring scripts could monitor for when that happens and notify 
me or someone else.

Regards,
Shinnok

> On Sep 20, 2017, at 9:10 AM, Caolán McNamara <caol...@redhat.com> wrote:
> 
> Do we have any technical capacity to disallow bugs that are marked
> closed from being reopened after some timeout, say 6 or 12 months after
> getting closed ?
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] dev-tools.git: esc-reporting/esc-analyze.py

2017-09-14 Thread Shinnok
 esc-reporting/esc-analyze.py |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c6f4bee1b1175126d1dbd50cb48a2d1292c8294d
Author: Shinnok <ad...@shinnok.com>
Date:   Wed Sep 13 13:01:38 2017 +0200

Fix spelling for gerritReviewUserEmail.

Change-Id: I0d7743fce11e9a7efd6383e78ed64f3ff91ccfba
Reviewed-on: https://gerrit.libreoffice.org/42237
Reviewed-by: Michael Meeks <michael.me...@collabora.com>
Tested-by: Michael Meeks <michael.me...@collabora.com>

diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index fb8edf1..73744e7 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -693,7 +693,7 @@ def analyze_reports():
 if cntReview == 0 and not 
statList['people'][ownerEmail]['isCommitter']:
 tmpListToReview.append({'id': entry['id'], 'fullid': 
entry['fullid'], 'patchset': patchset})
 
-defaultEmail = util_check_mail('', 
cfg['automate']['gerritRewiewUserEmail'])
+defaultEmail = util_check_mail('', 
cfg['automate']['gerritReviewUserEmail'])
 for rowTmp in tmpListToReview:
   reviewEmail = defaultEmail
   txt = gerritData['patch'][rowTmp['id']]['subject']
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] dev-tools.git: esc-reporting/esc-analyze.py

2017-09-14 Thread Shinnok
 esc-reporting/esc-analyze.py |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 27ff1e7b74d47cb2ce6e8384b92f2fba9db1c9df
Author: Shinnok <ad...@shinnok.com>
Date:   Wed Sep 13 13:18:10 2017 +0200

Update mentor e-mail.

Change-Id: I42afa6d783d5a9fd41b5929ca086fb6f04d9ea0e
Reviewed-on: https://gerrit.libreoffice.org/42238
Reviewed-by: Michael Meeks <michael.me...@collabora.com>
Tested-by: Michael Meeks <michael.me...@collabora.com>

diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index b9f2bab..fb8edf1 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -305,7 +305,7 @@ def analyze_mentoring():
   statList['people'][mail]['gerrit']['reviewName'] = '{} 
<{}>'.format(row['name'],row['email'])
   statList['people'][mail]['isCommitter'] = True
   statList['people'][mail]['isContributor'] = True
-x1 = statList['people']['t...@openoffice.org']
+x1 = statList['people']['ad...@shinnok.com']
 statNewDate = cfg['1yearDate']
 statOldDate = cfg['nowDate']
 for key, row in gerritData['patch'].items():
@@ -706,7 +706,7 @@ def analyze_reports():
   else:
 for comment in row['comments']:
   email = util_check_mail('', comment['creator'])
-  if not email == 'aniste...@gmail.com' and not email == 
'j...@documentfoundation.org' and 'reviewName' in 
statList['people'][ownerEmail]['gerrit']:
+  if not email == 'aniste...@gmail.com' and not email == 
'ad...@shinnok.com' and 'reviewName' in 
statList['people'][ownerEmail]['gerrit']:
 reviewEmail = email
 break
 except Exception as e:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Introduction to LibreOffice Document Project Team

2017-09-14 Thread Shinnok
Hi Koushik,

Thank you for introducing yourself to the list. Based on our communication so 
far here's an easy getting started guide for you.

Getting involved overview:
https://wiki.documentfoundation.org/Development/GetInvolved

Instructions on how to setup a build as well as other useful starter info can 
be found on the Wiki:
https://wiki.documentfoundation.org/Development 
<https://wiki.documentfoundation.org/Development>

More specifically, for Windows you can follow:
https://wiki.documentfoundation.org/Development/BuildingOnWindows 
<https://wiki.documentfoundation.org/Development/BuildingOnWindows>

The next step would be to pick one of the many unassigned issues in our 
Bugzilla that have been tagged with easyHack, which is described here:
https://wiki.documentfoundation.org/Development/EasyHacks

Once you assigned an issue to yourself in Bugzilla and you have a workable 
patch for us you need to register on our Gerrit and submit it for review:
https://wiki.documentfoundation.org/Development/gerrit

Developer central page provides a bird eye view of the development tools and 
infrastucture around LibreOffice:
http://devcentral.libreoffice.org/

This is just a quick primer, let us know of your progress and if you get stuck, 
need help or anything in between please e-mail the dev list or hop on to irc at 
freenode.net on channel #libreoffice-dev.
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Regards,
Shinnok


> On Sep 13, 2017, at 11:24 PM, koushik.sek...@ssrlabs.com wrote:
> 
> Hi Everyone,
> 
> I am Koushik Sekhar, who recently joined SSRLabs as an Independent
> Contractor. I would be working for LibreOffice Document project going
> forward. Thank you for having me in the team and I hope to contribute as
> much as I can to the LibreOffice Document Foundation Project.
> 
> Regards,
> Koushik Sekhar
> 
> 
> 

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: To get some help - Bug 38835

2017-09-13 Thread Shinnok
Hi Gayan,

Always use the original thread discussion you started on this list and reply to 
all, this way it's easier to keep track of the conversation backlog.

Congratulations on getting LO built and running! The next step for you is to 
look  over the comments in Bugzilla and try to figure out if there's any cases 
left where static globals for non-trivial types/functions could be changed. 
Issue #3885 is not a bug per-se, but an improvement to the code base.

Use the "git grep" commands that Jan posted in the comments to find your way 
around the code and identify potential issues. Also take a look over the 
commits already merged for this issue by following the links. Another way to 
find out what work has already been done for this issue is to check 
gerrit.libreoffice.org <http://gerrit.libreoffice.org/> for the tracking number 
#3885:
https://gerrit.libreoffice.org/#/q/%252338835 
<https://gerrit.libreoffice.org/#/q/%2338835>

If you need more help, you can ask in the comments section in Bugzilla.

Shinnok

> On Sep 13, 2017, at 9:10 AM, Gayan Thejawansha <gthejawans...@gmail.com> 
> wrote:
> 
> Hi Shinnok, 
> 
> I have build the core and observed that it is running and I'm currently work 
> from there. Just in case can I know that how to re-create the bug so that I 
> can get better understanding of the bug.  
> I already have assigned to the bug in Bugzilla. 
> 
> Thank in advanced 
> 
> On Mon, Aug 28, 2017 at 4:28 AM, Shinnok <ad...@shinnok.com 
> <mailto:ad...@shinnok.com>> wrote:
> Hi Gayan,
> 
> You first step would be to setup a LibreOffice core build of current master 
> and start working from there.  Platform specific instructions on how to setup 
> a build as well as other useful starter info can be found on the Wiki:
> https://wiki.documentfoundation.org/Development 
> <https://wiki.documentfoundation.org/Development>
> 
> Then you need to register on Bugzilla and assign issue 38835 to yourself 
> using the (take) action next to Assignee label. As soon as you have a 
> workable patch for us you need to register on Gerrit and submit it for review:
> https://gerrit.libreoffice.org/#/q/status:open 
> <https://gerrit.libreoffice.org/#/q/status:open>
> 
> Let us know of your progress and if you get stuck, need help or anything in 
> between please e-mail the dev list or hop on to irc at freenode.net 
> <http://freenode.net/> on channel #libreoffice-dev.
> 
> https://lists.freedesktop.org/mailman/listinfo/libreoffice 
> <https://lists.freedesktop.org/mailman/listinfo/libreoffice>
> 
> Regards,
> Shinnok
> 
> 
>> On Aug 25, 2017, at 12:07 PM, Gayan Thejawansha <gthejawans...@gmail.com 
>> <mailto:gthejawans...@gmail.com>> wrote:
>> 
>> Hello there,
>> 
>> I hope to working on the bug of Bug 38835 - strip out non-trivial globals 
>> before main
>>  which is shown in here. ( 
>> https://bugs.documentfoundation.org/show_bug.cgi?id=38835 
>> <https://bugs.documentfoundation.org/show_bug.cgi?id=38835> ) 
>>  I understood the problem there but I don't have any idea of how to start 
>> the bug fixing. Since I have the average
>>  programming skills, if anyone can guide me how to start the process, it 
>> will be a great help.
>> 
>> Thank in advance,
>> Gayan
>> 
>> ___
>> LibreOffice mailing list
>> LibreOffice@lists.freedesktop.org <mailto:LibreOffice@lists.freedesktop.org>
>> https://lists.freedesktop.org/mailman/listinfo/libreoffice 
>> <https://lists.freedesktop.org/mailman/listinfo/libreoffice>
> 
> 

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Report for 09/07/2017

2017-09-11 Thread Shinnok
Hi,

That's good news. The next step for you is to pick an easyHack to tackle on. 
You can choose any that's listed here:
https://wiki.documentfoundation.org/Development/EasyHacks/by_Required_Skill 
<https://wiki.documentfoundation.org/Development/EasyHacks/by_Required_Skill>

Or even better, I have a recommendation for you:
https://bugs.documentfoundation.org/show_bug.cgi?id=110742 
<https://bugs.documentfoundation.org/show_bug.cgi?id=110742>

The way you would go about this is register with Bugzilla, assign the bug to 
you to signal that you've started working on it and then proceed. As soon as 
you have a workable patch you need to register using Gerrit and submit your 
patch for review, follow these instructions:
https://wiki.documentfoundation.org/Development/gerrit 
<https://wiki.documentfoundation.org/Development/gerrit>

If you get stuck or need further help, you can ask for it using this list, the 
Bugzilla comments section or hop on to IRC at freenode.net on channel 
#libreoffice-dev.

Cheers,
Shinnok

> On Sep 7, 2017, at 5:27 PM, namitha.ni...@ssrlabs.com wrote:
> 
> Hi Shinnok
> 
> As per our previous discussions, I have completed the make with
> build-nocheck and it seems to have run without an issue. With this the
> build issues appear to have been solved after running
> ./autogen.sh --without-java --without-doxygen --disable-cve-tests and make
> build-nocheck. What would be the ideal procedure to proceed further ?
> 
> Regards
> Namitha Ninan
> 
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: logerrit

2017-09-06 Thread Shinnok
 logerrit |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b9ddf19ca151d2c7f7315fc26138e5b2b4d4ab8d
Author: Shinnok <ad...@shinnok.com>
Date:   Wed Sep 6 12:29:01 2017 +0100

Improve error message on ssh login failure.

Also use the GERRITHOST variable instead of magic text.

Change-Id: I3314be81017f64fca8aa756cca1715081ad01641
Reviewed-on: https://gerrit.libreoffice.org/41988
Tested-by: Jenkins <c...@libreoffice.org>
Reviewed-by: Michael Meeks <michael.me...@collabora.com>
Tested-by: Michael Meeks <michael.me...@collabora.com>

diff --git a/logerrit b/logerrit
index 060a6d4bfd32..6e8dddcc165c 100755
--- a/logerrit
+++ b/logerrit
@@ -128,8 +128,8 @@ case "$1" in
 then
 echo "Your gerrit setup was successful!"
 else
-echo "There seems to be trouble."
-echo "please have the output of: ssh - logerrit"
+echo "There seems to be trouble. Please have the output of:"
+echo "ssh - "$GERRITHOST
 echo "at hand when looking for help."
 fi
 ;;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Shinnok license statement

2017-09-06 Thread Shinnok
Hi,

All of my past & future contributions to LibreOffice may be licensed under the 
MPLv2/LGPLv3+ dual license.

--

My name is Teodor Mircea Ionita aka Shinnok, I'm the new Development Mentor 
Lead for LO, as part of TDF, so I figured I might as well take this opportunity 
to say Hi! and introduce my self to the list. Here's an introductory post on 
the blog:

https://blog.documentfoundation.org/blog/2017/08/07/shinnok/

My primary responsibility is to help new comers set up a build environment, 
identify easyHacks issues to start with, and subsequently mentor throughout the 
entire lifecycle of producing a patch for that bug and getting it reviewed and 
merged to master. I'm here to coordinate this effort and hopefully make it 
easier for everyone to get involved with LibreOffice, integrate into the 
community and push things further when they get stale.

Feel free to get in touch with me if you need help, are stuck on something, 
need to get your contribution reviewed or have ideas on how to improve this 
process and make it easier for you to contribute to the awesome project and 
community that LibreOffice and The Document Foundation are respectively.

I linger on freenode IRC with the same alias on the #libreoffice and 
#libreoffice-dev channels.

Thank you,
Shinnok

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] dev-tools.git: esc-reporting/esc-analyze.py esc-reporting/esc-automate.py esc-reporting/esc-collect.py esc-reporting/esc-report.py

2017-09-06 Thread Shinnok
 esc-reporting/esc-analyze.py  |   14 +-
 esc-reporting/esc-automate.py |8 
 esc-reporting/esc-collect.py  |   14 +++---
 esc-reporting/esc-report.py   |4 ++--
 4 files changed, 22 insertions(+), 18 deletions(-)

New commits:
commit e0e308bd703b326c47556ab1027167c848a0abb9
Author: Shinnok <ad...@shinnok.com>
Date:   Tue Sep 5 12:09:01 2017 +0200

Backport Cloph's fixes in /usr/local/bin.

Fixes issues with gerrit CLI not being able to interpret full
change IDs and adds support for BCC to sent e-mails.

Change-Id: I95b9c1578a01e62af7f3c767bc9d982eeaebc19c
Reviewed-on: https://gerrit.libreoffice.org/41989
Reviewed-by: Michael Meeks <michael.me...@collabora.com>
Tested-by: Michael Meeks <michael.me...@collabora.com>

diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index e0048ce..fbe22fe 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -59,7 +59,7 @@ import re
 
 def util_errorMail(text):
 print(text)
-sendMail = 'mail -r mentor...@libreoffice.org -s "ERROR: esc-analyze 
FAILED" mentor...@libreoffice.org <<EOF\n' + text + '\nPlease have a look at 
vm174\nEOF\n'
+sendMail = 'mail -r mentor...@libreoffice.org ' + cfg['mail']['bcc'] + ' 
-s "ERROR: esc-analyze FAILED" mentor...@libreoffice.org <<EOF\n' + text + 
'\nPlease have a look at vm174\nEOF\n'
 os.system(sendMail)
 
 
@@ -651,7 +651,10 @@ def analyze_reports():
 row['status'] = 'NEW'
   xDate = datetime.datetime.strptime(row['updated'], '%Y-%m-%d 
%H:%M:%S.%f000')
   ownerEmail = util_check_mail(row['owner']['name'], row['owner']['email'])
-  entry = {'id': key, 'name': row['owner']['name'], 'email': ownerEmail, 
'title': row['subject']}
+  # while web is happy with the unique project~branch~changeID label, 
commandline interface
+  # only accepts ambiguous changeID, doesn't help, so fullid is not really 
fullid, but at least
+  # less prone to conflicts than just changeset-number that also can 
easily prefix-match commit-hashes
+  entry = {'id': key, 'fullid': row['change_id'], 'name': 
row['owner']['name'], 'email': ownerEmail, 'title': row['subject']}
   if row['status'] != 'ABANDONED':
 if ownerEmail is None:
   ownerEmail = row['owner']['email']
@@ -680,12 +683,13 @@ def analyze_reports():
   patchset = 1
   txt = ''
 if xDate < cfg['1monthDate'] and not doBlock:
+  # gerrit cli sucks and doesn't accept changeset,patchrev but only 
uses numericID
   if 'A polite ping' in txt:
 automateList['gerrit']['to_abandon_abandon'][entry['id']] = 
patchset
   else:
 automateList['gerrit']['to_abandon_comment'][entry['id']] = 
patchset
 if cntReview == 0 and not 
statList['people'][ownerEmail]['isCommitter']:
-tmpListToReview.append({'id': entry['id'], 'patchset': patchset})
+tmpListToReview.append({'id': entry['id'], 'fullid': 
entry['fullid'], 'patchset': patchset})
 
 defaultEmail = util_check_mail('', 
cfg['automate']['gerritRewiewUserEmail'])
 for rowTmp in tmpListToReview:
@@ -706,8 +710,8 @@ def analyze_reports():
 except Exception as e:
   pass
   x = statList['people'][reviewEmail]
-  automateList['gerrit']['to_review'][rowTmp['id']] = {'name': 
statList['people'][reviewEmail]['gerrit']['reviewName'],
-   'patchset': 
rowTmp['patchset']}
+  automateList['gerrit']['to_review'][rowTmp['fullid']] = {'name': 
statList['people'][reviewEmail]['gerrit']['reviewName'],
+   'patchset': 
rowTmp['patchset'], 'id': rowTmp['id']}
 
 for key, row in bugzillaData['bugs'].items():
   if not 'cc' in row:
diff --git a/esc-reporting/esc-automate.py b/esc-reporting/esc-automate.py
index 10a081c..3674147 100755
--- a/esc-reporting/esc-automate.py
+++ b/esc-reporting/esc-automate.py
@@ -34,7 +34,7 @@ from requests.auth import HTTPDigestAuth
 
 def util_errorMail(text):
 print(text)
-sendMail = 'mail -r mentor...@libreoffice.org -s "ERROR: esc-automate 
FAILED" mentor...@libreoffice.org <<EOF\n' + text + '\nPlease have a look at 
vm174\nEOF\n'
+sendMail = 'mail -r mentor...@libreoffice.org ' + cfg['mail']['bcc'] + ' 
-s "ERROR: esc-automate FAILED" mentor...@libreoffice.org <<EOF\n' + text + 
'\nPlease have a look at vm174\nEOF\n'
 os.system(sendMail)
 
 
@@ -88,7 +88,7 @@ def doBugzilla(id, command, isComment=False):
 
 
 def doGerrit(id, command):
-cmd = 'ssh gerrit.libreoffice.org gerrit ' + command + ' ' + id
+cmd = 'ssh gerrit.libreoffice.org gerrit ' + command + ' "' + id + '"'
 r = os.system(cmd)
 if r != 0:
   raise Exception('error: ' + cmd + ' failed')
@@ -100,7 +100,7 @@ 

Re: To get some help - Bug 38835

2017-08-28 Thread Shinnok
Hi Gayan,

You first step would be to setup a LibreOffice core build of current master and 
start working from there.  Platform specific instructions on how to setup a 
build as well as other useful starter info can be found on the Wiki:
https://wiki.documentfoundation.org/Development 
<https://wiki.documentfoundation.org/Development>

Then you need to register on Bugzilla and assign issue 38835 to yourself using 
the (take) action next to Assignee label. As soon as you have a workable patch 
for us you need to register on Gerrit and submit it for review:
https://gerrit.libreoffice.org/#/q/status:open 
<https://gerrit.libreoffice.org/#/q/status:open>

Let us know of your progress and if you get stuck, need help or anything in 
between please e-mail the dev list or hop on to irc at freenode.net on channel 
#libreoffice-dev.

https://lists.freedesktop.org/mailman/listinfo/libreoffice 
<https://lists.freedesktop.org/mailman/listinfo/libreoffice>

Regards,
Shinnok


> On Aug 25, 2017, at 12:07 PM, Gayan Thejawansha <gthejawans...@gmail.com> 
> wrote:
> 
> Hello there,
> 
> I hope to working on the bug of Bug 38835 - strip out non-trivial globals 
> before main
>  which is shown in here. ( 
> https://bugs.documentfoundation.org/show_bug.cgi?id=38835 
> <https://bugs.documentfoundation.org/show_bug.cgi?id=38835> ) 
>  I understood the problem there but I don't have any idea of how to start the 
> bug fixing. Since I have the average
>  programming skills, if anyone can guide me how to start the process, it will 
> be a great help.
> 
> Thank in advance,
> Gayan
> 
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Rebuilding LO freezes on macOS

2017-08-24 Thread Shinnok
Thorsten,

I can't reproduce this with latest LO on macOS 10.12.6, so maybe this is 
specific to your build env and system.
Can you run make with the -d flag and when it hangs kill the build process and 
reply with the link command and following output?

PS: You did make sure you are not running out of disk space or other potential 
causes like that?

Shinnok

> On Aug 23, 2017, at 10:28 PM, Thorsten Wagner <thorsten.wagne...@gmail.com> 
> wrote:
> 
> Dear all,
> 
> at least since LO 5.2 I have a strange problem concerning building on macOS:
> 
> (1) Build is ok after cleaning and building for the first time.
> 
> (2) During building again build freezes while linking 
> "Library/libscfiltlo.dylib". "make" loops consuming 100% cpu on a single 
> core. Build has to be interrupted by killing "make" processes.
> 
> (3) Issue is reproducible. Only workaround is cleaning and rebuilding 
> completely.
> 
> I'm building on OS X 10.11 using Xcode 8.2 command line tools.
> 
> Does everyone has seen this behaviour too?
> 
> Any heap would be appreciated.
> 
> brgds Thorsten
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Beginner

2017-08-07 Thread Shinnok
Hi,

LibreOffice is mostly built using C++ but there's many more things you could do 
to contribute. Assuming you are interested in development first, you could 
start by setting up a build on your system and proceed using the information 
bellow.

Getting involved:
https://wiki.documentfoundation.org/Development/GetInvolved 
<https://wiki.documentfoundation.org/Development/GetInvolved>

Instructions on how to setup a build as well as other useful starter info can 
be found on the Wiki:
https://wiki.documentfoundation.org/Development 
<https://wiki.documentfoundation.org/Development>

The next step would be to pick one of the many issues open in bugzilla that 
have been tagged with easy-hack, which is described here:
https://wiki.documentfoundation.org/Development/EasyHacks 
<https://wiki.documentfoundation.org/Development/EasyHacks>

Also in the upper link you have an outline of the process for submitting 
patches for review. Gerrit is available at:
https://gerrit.libreoffice.org <https://gerrit.libreoffice.org/>

This is just a quick primer, if you get stuck, need help or anything in between 
please e-mail this list or hop on to irc at freenode.net <http://freenode.net/> 
on channel #libreoffice-dev.

Regards,
Shinnok

> On Aug 6, 2017, at 6:36 PM, Rakshit Tiwari <rak17...@gmail.com> wrote:
> 
> Hello Sir / Ma`am
>I am a 2nd year bachelor of technology student at IIT Guwahati India. 
> Added to it, I am a highly enthusiastic programmer and I want to get into the 
> world of open source. I really don`t know how to start or from where to 
> start? Please guide me so that I can also be a part of the this amazing 
> community.
> 
> Thank you
> 
> Regards
> Rakshit Tiwari
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Experiences building LO from scratch as a "new" developer

2017-08-04 Thread Shinnok
Hi Mike,

That's a pretty good report, surely all of that can and must be improved. I 
only did macOS builds so far but I'm going to setup a Linux one over the 
weekend.

> On Aug 3, 2017, at 4:10 PM, Mike Saunders 
>  wrote:
> 
> Question: does parallel make (eg "make -j 2") have any effect here on
> multi-core systems?

Regarding this, I had to use this to limit CPU usage and load, in my case it 
was overheating:
$make build-nocheck -j4 -l2

Limiting with -j2,4,n alone seemed to have no effect in my case either...

Shinnok___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Contribute to LibreOffice

2017-08-03 Thread Shinnok
Hi Arnav,

LibreOffice is mostly built using C++ but there's many more things you could do 
to contribute. Assuming you are interested in development first, you could 
start by setting up a build on your system and proceed using the information 
bellow.

Getting involved:
https://wiki.documentfoundation.org/Development/GetInvolved

Instructions on how to setup a build as well as other useful starter info can 
be found on the Wiki:
https://wiki.documentfoundation.org/Development 
<https://wiki.documentfoundation.org/Development>

The next step would be to pick one of the many issues open in bugzilla that 
have been tagged with easy-hack, which is described here:
https://wiki.documentfoundation.org/Development/EasyHacks 
<https://wiki.documentfoundation.org/Development/EasyHacks>

Also in the upper link you have an outline of the process for submitting 
patches for review. Gerrit is available at:
https://gerrit.libreoffice.org <https://gerrit.libreoffice.org/>

This is just a quick primer, if you get stuck, need help or anything in between 
please e-mail this list or hop on to irc at freenode.net on channel 
#libreoffice-dev.

Regards,
Shinnok


> On Jul 30, 2017, at 2:33 PM, Arnav Mandal <arnav.mandal1...@gmail.com> wrote:
> 
> Sir/Madam,
>i am a newbie to open source world.I do competitive coding 
> and have done some self Projects using JAVA . I want to contribute to your 
> organisation.can you guide me how should i proceed?
> 
> Thank you
> Arnav Kr. Mandal
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build failure with current master on MacOS

2017-07-25 Thread Shinnok
Hi,

GNU gettext package is available in Homebrew.

https://brew.sh/

Shinnok

> On 24 Jul 2017, at 16:29, Caolán McNamara <caol...@redhat.com> wrote:
> 
>> On Mon, 2017-07-24 at 15:24 +0200, Alexander Thurgood wrote:
>>> Le 24/07/2017 à 15:16, Michael Stahl a écrit :
>>> (how one would best install gettext on MacOS is another question
>>> that i don't know the answer to; perhaps via LODE ?)
>>> 
>> 
>> Ok, thanks, but I guess it still means I can't build with localized
>> version until that is sorted. Where did this new requirement come
>> from ?
> 
> This is new since Friday with the gettext change over. The ".src and
> .ui gettext migration" emails are on that topic, though I guess they
> don't spell out that it means that gettext has to be installed to build
> the .mo files.
> 
> lode was updated to pull in the gettext packages on windows and macosx
> so those using lode can just re-run the lode setup to pull in the
> necessary extras. I've updated the https://wiki.documentfoundation.org/
> Development/BuildingOnMac#Minimal_Setup with the manual howto for
> gettext (similar to the preexisting autoconf/automake dependencies),
> though most people probably don't build locally with translations.
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice