Advertisement
Guest User

Untitled

a guest
May 10th, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.72 KB | None | 0 0
  1. ------------------------------------------------------------
  2. revno: 522
  3. committer: Micah Gersten <micahg@ubuntu.com>
  4. branch nick: firefox-3.6.head
  5. timestamp: Mon 2010-02-15 21:24:17 -0600
  6. message:
  7. * Install apport hook
  8. - update debian/firefox.install
  9. diff:
  10. === modified file 'debian/changelog'
  11. --- debian/changelog 2010-02-16 03:23:26 +0000
  12. +++ debian/changelog 2010-02-16 03:24:17 +0000
  13. @@ -15,8 +15,10 @@
  14. * Update apport hook to pull from unversioned profile directory
  15. * Update apport hook to report on non-distro package
  16. - update debian/apport/firefox.py
  17. + * Install apport hook
  18. + - update debian/firefox.install
  19.  
  20. - -- Micah Gersten <micahg@ubuntu.com> Mon, 15 Feb 2010 21:23:01 -0600
  21. + -- Micah Gersten <micahg@ubuntu.com> Mon, 15 Feb 2010 21:24:06 -0600
  22.  
  23. firefox (3.6+nobinonly-0ubuntu2) lucid; urgency=low
  24.  
  25.  
  26. === modified file 'debian/firefox.install'
  27. --- debian/firefox.install 2010-01-21 00:13:41 +0000
  28. +++ debian/firefox.install 2010-02-16 03:24:17 +0000
  29. @@ -23,4 +23,4 @@
  30. debian/tmp/usr/lib/firefox-*/*.ini
  31.  
  32. # Don't install the apport hook for now.
  33. -# debian/apport/firefox.py usr/share/apport/package-hooks/
  34. +debian/apport/firefox.py usr/share/apport/package-hooks/
  35. ------------------------------------------------------------
  36. revno: 521
  37. committer: Micah Gersten <micahg@ubuntu.com>
  38. branch nick: firefox-3.6.head
  39. timestamp: Mon 2010-02-15 21:23:26 -0600
  40. message:
  41. Update apport hook to report on non-distro package
  42. diff:
  43. === modified file 'debian/apport/firefox.py'
  44. --- debian/apport/firefox.py 2010-02-15 17:05:20 +0000
  45. +++ debian/apport/firefox.py 2010-02-16 03:23:26 +0000
  46. @@ -115,6 +115,28 @@
  47. return lines
  48.  
  49. def add_info(report):
  50. +
  51. + if not apport.packaging.is_distro_package(report['Package'].split()[0]):
  52. + report['ThirdParty'] = 'True'
  53. + report['CrashDB'] = 'ubuntu'
  54. + report['Tags'] = 'ppa'
  55. +
  56. + packages = ['firefox',
  57. + 'firefox-gnome-support',
  58. + 'firefox-branding']
  59. +
  60. + versions = ''
  61. + for package in packages:
  62. + try:
  63. + version = packaging.get_version(package)
  64. + except ValueError:
  65. + version = 'N/A'
  66. + if version is None:
  67. + version = 'N/A'
  68. + versions += '%s %s\n' % (package, version)
  69. + report['FirefoxPackages'] = versions
  70. +
  71. +
  72. '''adds hooked info into the apport report.'''
  73. config_dir = os.path.join(os.environ['HOME'], '.mozilla', 'firefox')
  74. profiles_d = {}
  75.  
  76. === modified file 'debian/changelog'
  77. --- debian/changelog 2010-02-15 17:05:20 +0000
  78. +++ debian/changelog 2010-02-16 03:23:26 +0000
  79. @@ -1,6 +1,6 @@
  80. firefox (3.6+nobinonly-0ubuntu3) UNRELEASED; urgency=low
  81.  
  82. - [ Alexander Sack ]
  83. + [ Alexander Sack <asac@ubuntu.com> ]
  84. * fix LP: #520963 - sysprefs not honoured since firefox is built without
  85. system xulrunner; resurrect the patch we ship in xulrunner
  86. - add debian/patches/add_syspref_dir.patch
  87. @@ -9,13 +9,14 @@
  88. distribution.searchplugins.defaultLocale in syspref firefox.js
  89. - update debian/firefox.js
  90.  
  91. - [ Micah Gersten ]
  92. + [ Micah Gersten <micahg@ubuntu.com> ]
  93. * Rename apport hook to firefox.py (unversioned)
  94. - rename debian/apport/firefox-3.6.py => debian/apport/firefox.py
  95. * Update apport hook to pull from unversioned profile directory
  96. + * Update apport hook to report on non-distro package
  97. - update debian/apport/firefox.py
  98.  
  99. - -- Micah Gersten <micahg@ubuntu.com> Mon, 15 Feb 2010 11:04:11 -0600
  100. + -- Micah Gersten <micahg@ubuntu.com> Mon, 15 Feb 2010 21:23:01 -0600
  101.  
  102. firefox (3.6+nobinonly-0ubuntu2) lucid; urgency=low
  103. ------------------------------------------------------------
  104. revno: 520
  105. committer: Micah Gersten <micahg@ubuntu.com>
  106. branch nick: firefox-3.6.head
  107. timestamp: Mon 2010-02-15 11:05:20 -0600
  108. message:
  109. * Rename apport hook to firefox.py (unversioned)
  110. - rename debian/apport/firefox-3.6.py => debian/apport/firefox.py
  111. * Update apport hook to pull from unversioned profile directory
  112. - update debian/apport/firefox.py
  113. diff:
  114. === renamed file 'debian/apport/firefox-3.6.py' => 'debian/apport/firefox.py'
  115. --- debian/apport/firefox-3.6.py 2009-12-15 15:16:06 +0000
  116. +++ debian/apport/firefox.py 2010-02-15 17:05:20 +0000
  117. @@ -1,6 +1,6 @@
  118. '''firefox apport hook draft
  119.  
  120. -/usr/share/apport/package-hooks/firefox-3.6.py
  121. +/usr/share/apport/package-hooks/firefox.py
  122.  
  123. Appends to apport's firefox default report: the files pluginreg.dat and
  124. profiles.ini, and also a summary of all the extensions loaded on each firefox
  125. @@ -116,7 +116,7 @@
  126.  
  127. def add_info(report):
  128. '''adds hooked info into the apport report.'''
  129. - config_dir = os.path.join(os.environ['HOME'], '.mozilla', 'firefox-3.6')
  130. + config_dir = os.path.join(os.environ['HOME'], '.mozilla', 'firefox')
  131. profiles_d = {}
  132. # append profiles.ini file & parse it:
  133. profiles_ini = os.path.join(config_dir,'profiles.ini')
  134.  
  135. === modified file 'debian/changelog'
  136. --- debian/changelog 2010-02-12 13:15:16 +0000
  137. +++ debian/changelog 2010-02-15 17:05:20 +0000
  138. @@ -1,5 +1,6 @@
  139. firefox (3.6+nobinonly-0ubuntu3) UNRELEASED; urgency=low
  140.  
  141. + [ Alexander Sack ]
  142. * fix LP: #520963 - sysprefs not honoured since firefox is built without
  143. system xulrunner; resurrect the patch we ship in xulrunner
  144. - add debian/patches/add_syspref_dir.patch
  145. @@ -8,7 +9,13 @@
  146. distribution.searchplugins.defaultLocale in syspref firefox.js
  147. - update debian/firefox.js
  148.  
  149. - -- Alexander Sack <asac@ubuntu.com> Fri, 12 Feb 2010 13:59:06 +0100
  150. + [ Micah Gersten ]
  151. + * Rename apport hook to firefox.py (unversioned)
  152. + - rename debian/apport/firefox-3.6.py => debian/apport/firefox.py
  153. + * Update apport hook to pull from unversioned profile directory
  154. + - update debian/apport/firefox.py
  155. +
  156. + -- Micah Gersten <micahg@ubuntu.com> Mon, 15 Feb 2010 11:04:11 -0600
  157.  
  158. firefox (3.6+nobinonly-0ubuntu2) lucid; urgency=low
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement