Commit graph

131 commits

Author SHA1 Message Date
Thorsten Behrens
418df9282d Slightly more robust removal of bug title prefix.
Change-Id: Ic37589222831d03ec48689a077b1eb16a9199385
2012-06-25 13:59:58 +02:00
Petr Mladek
c7b98f2fd8 put the two new optinal desktop files into right file lists
Change-Id: I9e62bb0c14f2ba0d481cb4e926935af2394a652d
2012-06-19 13:52:50 +02:00
Petr Mladek
6c968d5d19 lo-commit-stat: really print the piece title into the log file
perl is really funny; the file handle can't be delimited by a comma

Change-Id: I49661d784ec3a10134e448800a3b81343e6748b1
2012-06-13 12:55:13 +02:00
Thorsten Behrens
d5e3a6ae44 No need for fancy string formatting, use plain print
Change-Id: I6886664951e76ce66c991f3657751f79e7896f0b
2012-06-13 11:21:27 +02:00
Petr Mladek
2e353b8daa lo-commit-stat: avoid problems whit '%' in the commit message
Change-Id: Ia10bac649cc078f6ef39002d280dcff7e5d0b06d
2012-06-12 19:46:42 +02:00
Petr Mladek
b74119aed7 lo-pack-sources: correct check for valid libreoffice/core dir
Change-Id: I8dbe60b85d0a330e3b2b5f54984b561fe9be05be
2012-06-12 19:42:13 +02:00
Thorsten Behrens
9852f01df9 Optionally output wiki-markup from lo-commit-stat
Starts to be a bit annoying to roll shell-sed every release.
We fix too many bugs.

Change-Id: I34b0e9c2bf2c43f84abd555a9d2ac7dde0b6ba3a
2012-06-12 03:36:01 +02:00
Petr Mladek
277b7fd3a4 new script config_host.mk.source
it allows to source variables from config_host.mk into shell;
there are many different hacks for this on other locations

Use this script in bin/distro-install-*; The original solution
with 'eval' did not work because shell was not able to pass
that many arguments

Change-Id: I3d9eb2fe2d6804a3c7783487e9c70f093edb2ad5
2012-06-11 18:24:22 +02:00
Korrawit Pruegsanusak
efecdeceb8 lo-commit-stat: better formatting for bug fix commits
* some used "resolved" instead of "resolves"
* some didn't have a colon after that
* some inserted a space after bug ID and a separator
* some used a "-" as a separator

Change-Id: Iee6a0f0346a257124e9488fc8f3bbdc59b32cbac
2012-06-01 00:24:22 +07:00
Korrawit Pruegsanusak
9feed9c7a5 lo-commit-stat: we don't have 'bootstrap' repo anymore
Change-Id: I2c5a73f992f204bccf8f1d125334d2746a1884fa
2012-06-01 00:24:20 +07:00
Korrawit Pruegsanusak
f439d765a4 lo-commit-stat: lowercase first char if the word contains only lowercase chars
For Example:
* ScConditionalFormat -> no change
* SVG -> no change
* WaE -> no change
* Some -> some

After this change, we now have to sort case-insensitively,
or the lines starting with uppercase will clog up together.

Change-Id: If08cbaa19e6f3496dd1f07920464d16140e2aa3a
2012-06-01 00:24:18 +07:00
Korrawit Pruegsanusak
6858c3eb53 lo-commit-stat: bug ID should have >= 4 digits
This is to avoid capturing stack frame numbers as bug ID.
http://lists.freedesktop.org/archives/libreoffice/2012-February/027133.html

Change-Id: I14169d3a7db73a5d10df01ad1fd9fb95e4c0bd2f
2012-06-01 00:24:16 +07:00
Ivan Timofeev
521ae23254 lo-commit-stat: use utf8 to be able to query a dash in the bug title
Change-Id: I691616575b5ea0b35e0ec0cc98db6772a7ad3b25
2012-05-21 16:57:08 +02:00
Petr Mladek
dd15b51dda lo-commit-stat: problem with wide character in bug title
+ do not check for "-" in the bug title; it might be also wide character
  in some cases

+ show result when looking for bug titles

+ sort bugs when loolking for bug titles and printing bug numbers

Change-Id: I39496f7d0cf5f7a116e7d3c506b76b4a3de1dee1
2012-05-18 18:08:24 +02:00
Ivan Timofeev
b47213604b lo-commit-stat: remove flags and print_filters
Change-Id: I3d5ecb3cc52aeba780087f4ecb6b3bf86353276c
2012-05-18 18:08:24 +02:00
Ivan Timofeev
a8b77a5290 lo-commit-stat: use bug titles instead of commit messages if possible
Change-Id: I0d5bb5f593c94b039c45bde638337932fa380b55
2012-05-18 18:08:24 +02:00
Norbert Thiebaud
07b3d083b4 TDE integration
Change-Id: I6f468005c8d8d99d9251a9c4fe4629b98bc4aa5e
2012-05-14 20:09:41 -05:00
Petr Mladek
82e0acad32 correctly set install path in java-set-classpath 2012-05-02 14:53:51 +02:00
Petr Mladek
78a7968cad really put SDK documentation into the doc subpackage 2012-05-02 14:50:05 +02:00
Michael Stahl
d5ddbe4c3f convwatch.py: subprocess.check_output only in Python 2.7+ 2012-04-27 16:14:35 +02:00
Caolán McNamara
64a111d684 rearrange order 2012-04-19 17:31:33 +01:00
Caolán McNamara
6066637320 we're more interested in getting emf/wmf samples than pdf 2012-04-19 17:31:32 +01:00
Caolán McNamara
d1b9eeab4f sigh, need import sys 2012-04-19 17:31:31 +01:00
Caolán McNamara
7a799fc6ad use stdout for errors like everything else 2012-04-18 13:03:23 +01:00
Caolán McNamara
eaa97f9a66 continue in the face of adversary 2012-04-18 13:03:21 +01:00
Gökçen Eraslan
cd2d737dd5 Fix handling of deleted bugzilla attachments
As in https://bugs.kde.org/show_bug.cgi?ctype=xml&id=53343 <data>
tag may not have a value if the attachment is deleted.
2012-04-17 13:42:46 +02:00
Caolán McNamara
605c51cebb attachmentid should be stable across mime-type changes 2012-04-17 09:49:07 +01:00
Gökçen Eraslan
0410132972 fdo#46538 Easyhack: Add support for more bug trackers to get-bugzilla-attachments-by-mimetype
This adds support for Novell, KDE (for KOffice/Calligra), GNOME (for
Gnumeric), AbiSource (for AbiWord) bugzillas and Launchpad to
bin/get-bugzilla-attachments-by-mimetype script as required by
easyhack#46538. However, there two glitches and workarounds:

1- As stated in the code, Novell bugzilla requires users to log in to bugzilla in
order to get full information about the bugs such as attachment bodies etc. Since
Novell bugzilla uses some proprietary login extensions it's hard to implement log in
mechanism and use it via xmlrpc API. python-bugzilla claims that it supports Novell
bugzilla login but I could not make it work. As a workaround, comments containing
"Created an attachment (id=xxxxxxx)" pattern are parsed and attachments are downloaded
using urllib. Attachments are filtered using mimetype info obtained from http headers.

2- For launchpad, launchpadlib python module is used. But currently launchpad api
does not support really advanced search like bugzilla. For example, it's not possible
to search for bugs having application/pdf attachments. So, again a workaround is used. Code
iterates over all the bugs of the *libreoffice* source package and check their attachments.
2012-04-17 09:41:11 +02:00
Petr Mladek
ae9a98b436 allow to download main source tarballs again
The file "core.ver" was removed in configure together with other "core.*"
files. It was ugly name. Better to use "sources.ver" and the variable
"lo_sources_ver=..."

The source version is not used in "unpack-sources", so do not source the .ver file
at all.

The source tarballs are put into "major.minor.micro" version subdirectory
on the download site now.
2012-04-16 17:20:04 +02:00
Petr Mladek
fc09ed737c distro-install-file-lists: handle new file lists that appeared for LO-3.5
Process the newly added file lists:

    + Script_Provider_For_Javascript
    + Script_Provider_For_Beanshell
    + PostgresqlSdbc
    + Files_Images
2012-04-13 17:06:11 +02:00
Petr Mladek
d04e30c94a distro-install-file-lists: mark javasettingsunopkginstall.xml as %config 2012-04-13 16:26:59 +02:00
Petr Mladek
f780859b76 unpack-sources, download: update for .xz source tarballs 2012-04-13 16:21:56 +02:00
Caolán McNamara
144f554dfd download some unusual image mimetypes by default 2012-03-20 20:35:52 +00:00
Caolán McNamara
82ca4cfc81 update to point to moved openoffice.org bugzilla 2012-03-20 12:57:32 +00:00
Caolán McNamara
c3eccfd1c2 cgms are image/cgm 2012-03-20 12:57:31 +00:00
Tom Thorogood
21c646a8e8 Add options to bin/find-german-comments to help weed out false positives 2012-03-14 08:58:27 +01:00
Caolán McNamara
cf0373b42e attachmentid should be stable across mime-type changes 2012-03-07 11:06:46 +00:00
Philipp Weissenbacher
aedb86399d Add option to only list filenames
This adds the argument -f (--filenames-only), which only prints the
filenames of files containing German comments.
I personally scan the whole file for German strings anyway, as we do
not find German strings with less than 4 chars. So there's not so
much use in printing the found strings.
2012-03-07 11:20:27 +10:30
Petr Mladek
a0238fda86 bin/distro-install*: source config_host.mk instead of Env.Host.sh
thanks Stefan Bergman for improving the sed pattern
2012-02-29 20:29:34 +01:00
Michael Stahl
fa5e41067b add convwatch.py 2012-02-27 20:55:58 +01:00
Michael Stahl
82259f2e54 get-bugzilla-attachments-by-mimetype: add retry:
Sadly the Apache OO bugzilla is rather unreliable and connections time out
a lot; retry connections to work around that.
2012-02-13 00:25:03 +01:00
Michael Stahl
18d1e1968c get-bugzilla-attachments-by-mimetype: don't do images:
What a stupid idea; what the heck do i do now with 5G of
jpegs and pngs on my disk?
2012-02-13 00:25:03 +01:00
Michael Stahl
4ff7252375 get-bugzilla-attachments-by-mimetype: more mimetypes 2012-02-13 00:25:03 +01:00
Michael Stahl
66fa9be298 get-bugzilla-attachments-by-mimetype: deduplicate 2012-02-13 00:25:02 +01:00
Michael Stahl
05c254ca0e get-bugzilla-attachments-by-mimetype: fix it 2012-02-13 00:25:02 +01:00
Tor Lillqvist
809fd00863 Surely these are mostly *not* used during the build 2012-02-08 14:07:36 +02:00
Michael Meeks
1f63bd653c Add and expand more readme files for module documentation 2012-02-08 11:18:15 +00:00
Petr Mladek
041207302a lo-pack-sources: do not duplicate the generated files in the archive dir
the storing in archive directory was non-standard solution => gets removed
also the code was simplified and clean up a bit
2011-12-19 18:06:11 +01:00
Petr Mladek
2f3cd6d2be lo-pack-sources: generate cleaner source tarballs using "git archive"
there is not longer needed the manualy created blacklist of copied files;
also no need to remove symlinks from clone subdir

use "tar --checkpoint-action=exec="echo -n \".\"" instead of
"awk '{ ORS=\"\" ; if (++nlines\%50 == 0) printf \".\"; fflush() }'";
we are interested into the return code from tar, e.g. not-enough disk space
2011-12-19 18:06:02 +01:00
Michael Meeks
ba26809ebb trivial pkgconfig fixes 2011-12-16 16:00:13 +00:00