54 Commits
Author SHA1 Message Date
Xisco Fauli df30a4515b lo-commit-stat: Only search for bug ids in the summary
Sometimes, developers mention other bugs in the body as
related issues.
This might create mislead information in the release notes
E.g: https://wiki.documentfoundation.org/Releases/6.1.1/RC1
* Caolán is mentioned as fixer of i#66963 because the id is in
the body of 9c3d8b1c64
which fixes tdf#98558
* M. Stahl is mentioned as fixer of tdf#112447 because the id is
in the body of 31e66bd07c
This bug was fixed by Bjoern Michaelsen in
ce2fce9a41

Change-Id: I8d0ee038741dbb27364a56a7fa9285f32839c37b
Reviewed-on: https://gerrit.libreoffice.org/69750
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2019-04-05 12:41:27 +02:00
Andrea Gelmini 44df356a07 Fix typo
Change-Id: I01f5a09e65091f460c28f6c18d683f5a3135762e
Reviewed-on: https://gerrit.libreoffice.org/67100
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-01-30 07:08:22 +01:00
Andrea Gelmini 64a3124d92 Fix typos
Change-Id: Iaa9c0aea3ea1a239e378bd714ba335f91bb1faf3
Reviewed-on: https://gerrit.libreoffice.org/41194
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2017-08-17 21:53:28 +02:00
Christian Lohmaier 249b6a552b lo-commit-stat: use matching group before destroying it with another match
it also doesn't make sense to numerically compare a %hash
enable warnings in the script and remove a duplicated variable (and
some unnecessary hash-declarations)

Change-Id: I0a84dc28f369931ee31a1cf12849fde2b63f1ca2
2017-04-29 19:18:50 +02:00
Christian Lohmaier 0b8cccdc20 lo-commit-stat: improve sort in buglists (by number within a tracker)
Change-Id: I8eb5a3d3141fcc76bf5caffe0a7b30d5ec2b0c8c
2017-04-29 19:18:50 +02:00
Christian Lohmaier 9c83796f45 lo-commit-stat: default to utf8, adjust regex for tdf bugzilla
Change-Id: I61960512e297417eb096b3bc921974aa43f74ccc
2017-04-29 19:18:50 +02:00
Christian Lohmaier 146258f82f lo-commit-stat: drop unnecessary check whether hash is defined
besides using deprecated syntax – "if (defined %hash)" (or "if (defined
@array)" for that matter) – just using "if (%hash)" (or "if (@array)")
would do, it is also unnecessary to create the hash if it doesn't exist
(autovivification will take care of that)

Change-Id: Ib5704b2d609ae3658f3c166f9e26a051957149f8
2017-04-29 19:18:50 +02:00
Dennis Roczek 880e3af2b5 removing additional colons from the commit msg
Change-Id: Ie35ee8c392e3e8ebc4a42d20e76813c8d29d387b
Reviewed-on: https://gerrit.libreoffice.org/17028
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-07-15 02:12:00 +00:00
Dennis Roczek b990cdf57d improve lo-commit-stat script
'resolved' should also be removed
and updating bug urls

Change-Id: Ie8e71727856bcc44bd7f3311a9e1472327c9bf21
Reviewed-on: https://gerrit.libreoffice.org/16207
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2015-06-22 08:00:24 +00:00
Adolfo Jayme Barrientos d02c15979b Update Apache Bugzilla’s URL
Change-Id: I6ef4ae530b7fb4e615100803ae6e3972d9b4545f
2015-05-19 19:48:11 -05:00
Andras Timar 1ba111343e bugs.freedesktop.org -> bugs.libreoffice.org
Change-Id: I56c1190c93333636981acf2dd271515170a8a904
2013-11-17 08:33:01 +01:00
Thorsten Behrens 001adf630c Seems people prefer enumerations in the wiki for bugs.
Change-Id: I8b2cc796e04091cfddcb7a5c3a57beafe59c7b40
2013-06-27 19:38:40 +02:00
Petr Mladek 7cc7e40278 lo-commit-stat: new --bugs-changelog option
Add --bugs-changelog option to print the list of bugs in the style
of SUSE changelog

Optimized the code to check bugzilla only once when you generate
more logs.

Change-Id: I56eeda92628422f1b649c0fd71ae9146aeaa85c9
2013-03-06 16:03:44 +01:00
Petr Mladek 3e0e88f675 lo-commit-stat: allow to filer cherry-picked commits
Add --cherry option that filters commits using the "git cherry" command.

Note that you need to pass git arguments for "git cherry". It means
"old-branch-or-tag" "new-branch-or-tag".

Change-Id: Iea67d0ead205c66112791cb0444fa183c7fa6e9b
2012-11-29 11:23:59 +01:00
Petr Mladek 93d021a780 lo-commit-stat: allow to generate more logs at once
It takes ages to get bug summary from bugzilla => it is worh to
generate normal and wiki logs at the same time. Why not produce
all logs with one call

Add --commits option. Also rename --wikibugs to --bugs-wiki.

Use .wiki suffix for wiki logs. Also rename "commit-log" to "commits".
It is enough to use ".log" as the suffix.

Change-Id: I92bbc4d56a0ae9e23401be0677256059c777d712
2012-11-20 16:10:58 +01:00
Petr Mladek 0746c95f26 lo-commit-stat: make it working with git submodules
renamed options:
    --no-piece to --no-submodule
    --piece=<piece> to --module=<module>

Change-Id: Ic4f1e3f4bdbe4f4fc175fea82e670310753ce130
2012-11-19 17:52:40 +01:00
Norbert Thiebaud 060219ac1a binfilter.die.die.die
Change-Id: Ia3c103e4343d309b997ed37e33a382ffdfbddac3
Reviewed-on: https://gerrit.libreoffice.org/1014
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-09 07:58:02 +00:00
Thorsten Behrens 724b4eab1a Make commit stat script recognize opensuse fate entries, too
Change-Id: Ia6b3e6459c5bda7ea24091024cf3dabd19746237
2012-07-12 01:33:48 +02:00
Thorsten Behrens 418df9282d Slightly more robust removal of bug title prefix.
Change-Id: Ic37589222831d03ec48689a077b1eb16a9199385
2012-06-25 13:59:58 +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
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
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
Petr Mladek 3ef3fbbe62 lo-commit-stat: update list of available repositories 2011-08-15 20:32:08 +02:00
Jan Holesovsky 6a29b48bf5 Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/bootstrap 2011-05-31 10:46:15 +02:00
Jan Holesovsky 07c1d34ec7 Merge commit 'libreoffice-3.4.0.2'
Conflicts:
	configure.in
	distro-configs/LibreOfficeMacOSX.conf
	distro-configs/OxygenOfficeLinux.conf
	distro-configs/OxygenOfficeWin32.conf
	download
	instsetoo_native/util/openoffice.lst
	ooo.lst.in
	set_soenv.in
	solenv/bin/modules/installer/download.pm
	solenv/gbuild/CppunitTest.mk
	solenv/inc/minor.mk
	solenv/inc/settings.mk
2011-05-31 10:45:37 +02:00
Petr Mladek a07a230c12 lo-commit-stat: add --log-dir option
allow to generate the log into another directory
2011-05-30 17:09:55 +02:00
Petr Mladek 331006b5c6 lo-commit-stat: new --bug-numbers option to print just bug numbers 2011-04-28 21:07:23 +02:00
Petr Mladek 9896f190a8 lo-commit-stat: new --bug-numbers option to print just bug numbers 2011-04-28 21:06:36 +02:00
Andras Timar 382eea66dd fix typos in messages 2011-04-26 20:20:33 +02:00
Petr Mladek 6ad7cdc5a9 lo-commit-stat: add --rev-list option
+ use "git log" again to get weekly commit logs
+ use "git rev-list" only with --rev-list option; useful to list differences
  between branches
2011-04-26 20:20:16 +02:00
Petr Mladek a38a0f4b20 lo-commit-stat: allow to list commits between branches
use "git rev-list --pretty=medium" instead of "git log"
to be able to use origin/libreoffice-3-4 ^origin/libreoffice-3-3
to generate list of changes that are in 3.4 but not in 3.3
2011-04-26 20:17:55 +02:00
Petr Mladek b5154c167d lo-commit-stat: detect mismatch of branches between repos 2011-04-26 20:14:48 +02:00
Petr Mladek 33a8400565 lo-commit-stat: detect mismatch of branches between repos 2011-04-26 20:03:01 +02:00
Andras Timar dcb67a54aa fix typos in messages 2011-04-19 18:43:25 +02:00
Petr Mladek 1da0fa2025 lo-commit-stat: add --rev-list option
+ use "git log" again to get weekly commit logs
+ use "git rev-list" only with --rev-list option; useful to list differences
  between branches
2011-04-13 16:10:45 +02:00
Petr Mladek 5131f42eb7 lo-commit-stat: allow to list commits between branches
use "git rev-list --pretty=medium" instead of "git log"
to be able to use origin/libreoffice-3-4 ^origin/libreoffice-3-3
to generate list of changes that are in 3.4 but not in 3.3
2011-04-11 17:09:34 +02:00
Petr Mladek a96a8d10da lo-commit-stat: do stat also from the new "translations" repo 2011-04-04 15:18:08 +02:00
Petr Mladek 8875706bef lo-commit-stat: do stat also from the new "translations" repo 2011-04-04 15:13:31 +02:00
Petr Mladek fa4a0614ba lo-commit-stat: print summary into log a file
the generated log file name is:

+ commit-log-<branch>-<log-suffix>.log by default
+ bugfixes-<branch>-<suffix>.log with the --bugs option

, where <branch is automatically detected; <suffix> is defined by the
--log-suffix=<suffix> option
2011-03-28 15:51:47 +02:00
Petr Mladek 5c42f5dc68 lo-commit-stat: replace "n#" with "bnc#"
the "bnc#" prefix is required by SUSE package conventions
2011-03-01 21:16:48 +01:00
Petr Mladek 8d8a189b6a lo-commit-stat: new --bugs option to print just commits with bugs
all add support to filter the ouput by some flags
2011-02-14 15:28:06 +01:00