[SCM] eclipse - Powerful IDE written in java - Debian package. branch, lucid, updated. 0be7ab6e97321123dd385ce8480378a67589e9d0
Benjamin Drung
bdrung-guest at alioth.debian.org
Thu Apr 15 19:49:28 UTC 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "eclipse - Powerful IDE written in java - Debian package.".
The branch, lucid has been updated
via 0be7ab6e97321123dd385ce8480378a67589e9d0 (commit)
via 97795a8786fa01d373dd5e7a2f4745815e89043c (commit)
via f180c5e87c7ff0718ee8eca5b7df3f3e64bcb547 (commit)
from dedd85cb19597884dc5a07b88537cdee2d5d8b38 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0be7ab6e97321123dd385ce8480378a67589e9d0
Author: Benjamin Drung <bdrung at ubuntu.com>
Date: Thu Apr 15 21:45:12 2010 +0200
Release 3.5.2-2ubuntu3 to Ubuntu lucid.
commit 97795a8786fa01d373dd5e7a2f4745815e89043c
Merge: dedd85cb19597884dc5a07b88537cdee2d5d8b38 f180c5e87c7ff0718ee8eca5b7df3f3e64bcb547
Author: Benjamin Drung <bdrung at ubuntu.com>
Date: Thu Apr 15 21:44:25 2010 +0200
Merge branch 'master' into lucid
-----------------------------------------------------------------------
Summary of changes:
debian/changelog | 6 ++++++
debian/eclipse-platform.install | 1 +
debian/source_eclipse.py | 34 ++++++++++++++++++++++++++++++++++
3 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index ab89115..b35d8a4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+eclipse (3.5.2-2ubuntu3) lucid; urgency=low
+
+ * Add apport hook to collect more useful data for bug reports.
+
+ -- Benjamin Drung <bdrung at ubuntu.com> Thu, 15 Apr 2010 21:44:52 +0200
+
eclipse (3.5.2-2ubuntu2) lucid; urgency=low
[ Niels Thykier ]
diff --git a/debian/eclipse-platform.install b/debian/eclipse-platform.install
index 1372fb6..3a3f9a8 100644
--- a/debian/eclipse-platform.install
+++ b/debian/eclipse-platform.install
@@ -227,3 +227,4 @@ usr/lib/eclipse/plugins/org.sat4j.pb_*.jar
usr/lib/eclipse/startup.jar
usr/share/applications
usr/share/man
+debian/source_eclipse.py usr/share/apport/package-hooks
diff --git a/debian/source_eclipse.py b/debian/source_eclipse.py
new file mode 100644
index 0000000..6fecac5
--- /dev/null
+++ b/debian/source_eclipse.py
@@ -0,0 +1,34 @@
+'''Apport package hook for Eclipse
+
+Copyright 2010 Benjamin Drung <bdrung at ubuntu.com>
+License: EPL-1.0 | GPL-2+
+'''
+
+import apport.hookutils
+import glob
+import os
+
+def add_info(report):
+ apport.hookutils.attach_conffiles(report, "eclipse-platform")
+
+ # Guess workspace if we fail to detect it
+ workspace = "~/workspace"
+
+ # try to detect the workspace directory
+ preffile_pattern = "~/.eclipse/org.eclipse.platform_*/configuration/.settings/org.eclipse.ui.ide.prefs"
+ for preffile in glob.glob(os.path.expanduser(preffile_pattern)):
+ lines = open(preffile).readlines()
+ lines = filter(lambda l: l.startswith("RECENT_WORKSPACES="), lines)
+ if len(lines) > 0:
+ workspaces = lines[0].split("=")[1]
+ # workspaces are separated by "\n" - we take the first item
+ workspace = workspaces.split("\\n")[0]
+
+ # workspace/.metadata/.log
+ logfile = os.path.join(workspace, ".metadata", ".log")
+ apport.hookutils.attach_file_if_exists(report, logfile, "workspace.metadata.log")
+
+ # list of xulrunner libraries
+ xulrunner_list = glob.glob("/usr/lib/xulrunner-[0-9]*")
+ xulrunner_list.sort()
+ report["xulrunner-versions"] = "\n".join(xulrunner_list)
hooks/post-receive
--
eclipse - Powerful IDE written in java - Debian package.
More information about the pkg-java-commits
mailing list