qtwebkit:tools.git
9 years agoAdd a version file when importing master
Simon Hausmann [Fri, 9 Nov 2012 09:12:39 +0000 (10:12 +0100)]
Add a version file when importing

9 years agoOmit the top-level Makefile for WebKit imports
Simon Hausmann [Wed, 12 Sep 2012 06:21:56 +0000 (08:21 +0200)]
Omit the top-level Makefile for WebKit imports

This allows for in-sources builds in the future where the Makefile is
generated by qmake.

9 years agoFix patch to WebKit repo
Simon Hausmann [Fri, 24 Aug 2012 09:38:41 +0000 (11:38 +0200)]
Fix patch to WebKit repo

10 years agoExclude a few more directories for the Qt import
Simon Hausmann [Fri, 3 Feb 2012 08:58:20 +0000 (09:58 +0100)]
Exclude a few more directories for the Qt import

10 years agoScript to import WebKit snapshots into the Qt 5 module of WebKit
Simon Hausmann [Mon, 9 Jan 2012 11:32:15 +0000 (12:32 +0100)]
Script to import WebKit snapshots into the Qt 5 module of WebKit

10 years ago[release-notes] Fix usage of --html
Ademar de Souza Reis Jr [Thu, 29 Sep 2011 16:43:58 +0000 (13:43 -0300)]
[release-notes] Fix usage of --html

--html was being ignored and its usage was inocuous, even though the
html support is there (and is used when sending e-mails).

10 years ago[cherry-pick] Update list of master bugs
Ademar de Souza Reis Jr [Tue, 27 Sep 2011 20:35:27 +0000 (17:35 -0300)]
[cherry-pick] Update list of master bugs

10 years ago[cherry-pick] Minor cosmetic changes in the messages and help text
Ademar de Souza Reis Jr [Tue, 27 Sep 2011 20:25:55 +0000 (17:25 -0300)]
[cherry-pick] Minor cosmetic changes in the messages and help text

10 years ago[cherry-pick] change --security-bugs-since to --security-bugs-from
Ademar de Souza Reis Jr [Tue, 27 Sep 2011 20:24:50 +0000 (17:24 -0300)]
[cherry-pick] change --security-bugs-since to --security-bugs-from

Instead of a fixed commit from trunk, it now accepts a git range of
commits. Particularly useful to list security bugs in a branch or in a
range from trunk.

10 years ago[cherry-pick] Introduce --list-only
Ademar de Souza Reis Jr [Tue, 27 Sep 2011 20:23:23 +0000 (17:23 -0300)]
[cherry-pick] Introduce --list-only

With this, it won't try to cherry-pick anything, just list the bugs and
the revisions found.

10 years ago[release-notes] Don't escape single quotes in HTML mode
Ademar de Souza Reis Jr [Mon, 26 Sep 2011 20:03:11 +0000 (17:03 -0300)]
[release-notes] Don't escape single quotes in HTML mode

This is giving us trouble in release-notes sent by e-mail
and the unescaped \' appears to be correctly handled anyway.

10 years ago[cherry-pick] Handle invalid bug URLs when looking for security bugs
Ademar de Souza Reis Jr [Mon, 26 Sep 2011 20:01:13 +0000 (17:01 -0300)]
[cherry-pick] Handle invalid bug URLs when looking for security bugs

Also immediately print a note when a security bug is found.

10 years agoAdding a README file
Ademar de Souza Reis Jr [Mon, 26 Sep 2011 19:59:14 +0000 (16:59 -0300)]
Adding a README file

The file is very simple and points to the wiki, where the
documentation resides.

10 years ago[integrate-package] Add missing WebKitLibraries/*.a files
Ademar de Souza Reis Jr [Thu, 25 Aug 2011 22:46:41 +0000 (19:46 -0300)]
[integrate-package] Add missing WebKitLibraries/*.a files

These files are .gitignored and therefore where not being added. They're
necessary for the Mac build.

10 years ago[cherry-pick] Minor cosmetic UI improvements
Ademar de Souza Reis Jr [Thu, 25 Aug 2011 22:45:45 +0000 (19:45 -0300)]
[cherry-pick] Minor cosmetic UI improvements

10 years ago[release-notes] Ignore "Patch by" lines when extracting commit titles
Ademar de Souza Reis Jr [Thu, 18 Aug 2011 17:49:27 +0000 (14:49 -0300)]
[release-notes] Ignore "Patch by" lines when extracting commit titles

10 years ago[integrate-package] Allow include files in the changes
Ademar de Souza Reis Jr [Thu, 18 Aug 2011 17:41:54 +0000 (14:41 -0300)]
[integrate-package] Allow include files in the changes

include files used to be ignored, but on Mac we need them and now
the're inside the Qt repository.

10 years ago[cherry-pick] Introduce --security-bugs-since
Ademar de Souza Reis Jr [Tue, 19 Jul 2011 18:01:38 +0000 (15:01 -0300)]
[cherry-pick] Introduce --security-bugs-since

Parses the log from trunk (starting at one commit/tag, received as
a parameter) and cherry-picks all security bugs found.

10 years agoUpdated script which include now some missing files for windows.
Alexis Menard [Thu, 2 Jun 2011 12:29:45 +0000 (09:29 -0300)]
Updated script which include now some missing files for windows.

10 years agoMake sure all DerivedSources.pro are removed.
Alexis Menard [Tue, 31 May 2011 22:59:48 +0000 (19:59 -0300)]
Make sure all DerivedSources.pro are removed.

10 years agoUpdate the script to work with current WebKit upstream layout.
Alexis Menard [Mon, 30 May 2011 21:42:02 +0000 (18:42 -0300)]
Update the script to work with current WebKit upstream layout.

10 years ago[cherry-pick] And yet another expression for revision comments
Ademar de Souza Reis Jr [Mon, 30 May 2011 18:15:59 +0000 (15:15 -0300)]
[cherry-pick] And yet another expression for revision comments

11 years ago[cherry-pick] Add one more expression to catch commit revisions
Ademar de Souza Reis Jr [Mon, 23 May 2011 21:17:15 +0000 (18:17 -0300)]
[cherry-pick] Add one more expression to catch commit revisions

11 years ago[cherry-pick] Add comment and update blockers into one single step
Ademar de Souza Reis Jr [Mon, 23 May 2011 19:31:13 +0000 (16:31 -0300)]
[cherry-pick] Add comment and update blockers into one single step

Thus avoiding an extra e-mail everytime a cherry-pick is made.

11 years ago[cherry-pick] Remove unused code
Ademar de Souza Reis Jr [Mon, 23 May 2011 19:30:12 +0000 (16:30 -0300)]
[cherry-pick] Remove unused code

11 years ago[release-notes] List security bugs as "(restricted bug)"
Ademar de Souza Reis Jr [Mon, 23 May 2011 19:28:38 +0000 (16:28 -0300)]
[release-notes] List security bugs as "(restricted bug)"

11 years ago[release-notes] Introduce --announce
Ademar de Souza Reis Jr [Wed, 18 May 2011 18:14:52 +0000 (15:14 -0300)]
[release-notes] Introduce --announce

(will send an e-mail to the announce mailing list)

11 years ago[release-notes] Get rid of html2text, send e-mail in wiki+html formats
Ademar de Souza Reis Jr [Wed, 18 May 2011 18:13:33 +0000 (15:13 -0300)]
[release-notes] Get rid of html2text, send e-mail in wiki+html formats

Wiki format is more readable than the result of html2text

11 years ago[release-notes] Add 'announce' tag to subject
Ademar de Souza Reis Jr [Mon, 16 May 2011 21:33:48 +0000 (18:33 -0300)]
[release-notes] Add 'announce' tag to subject

Also add a XXX note about a known bug: security bugs are counted but not
included in the list.

11 years ago[cherry-pick] Update CommentBugzilla to work with current trunk
Ademar de Souza Reis Jr [Thu, 12 May 2011 14:20:30 +0000 (11:20 -0300)]
[cherry-pick] Update CommentBugzilla to work with current trunk

The Bugzilla API changed a while ago and the cherry-pick script doesn't
work anymore. Fixing.

11 years agoCleanup on import statements
Ademar de Souza Reis Jr [Wed, 11 May 2011 19:26:37 +0000 (16:26 -0300)]
Cleanup on import statements

Remove ancient exceptions, imports are working fine with trunk
and qtwebkit-2.2, which should be enough.

11 years ago[cherry-pick] Improve revision detection on bug comments
Ademar de Souza Reis Jr [Wed, 11 May 2011 14:11:22 +0000 (11:11 -0300)]
[cherry-pick] Improve revision detection on bug comments

11 years ago[cherry-pick] Improve handling of old revisions
Ademar de Souza Reis Jr [Wed, 11 May 2011 14:09:59 +0000 (11:09 -0300)]
[cherry-pick] Improve handling of old revisions

Old bugs, with fixes before the forking point, are now handled properly.

11 years ago[cherry-pick] Add references to the 2.2 branch
Ademar de Souza Reis Jr [Mon, 9 May 2011 20:32:40 +0000 (17:32 -0300)]
[cherry-pick] Add references to the 2.2 branch

Also increase the commits offset to a more reasonable value and
remove 2.1.x "nice-to-have" bug references (it's already closed).

11 years ago[cherry-pick] Fix the SHA1 of the 2.1.x branch
Ademar de Souza Reis Jr [Thu, 3 Mar 2011 17:13:46 +0000 (14:13 -0300)]
[cherry-pick] Fix the SHA1 of the 2.1.x branch

The SHA1 was from the old 2.2 branch.

11 years ago[cherry-pick] Fix the order of the branch keys data structure
Ademar de Souza Reis Jr [Thu, 3 Mar 2011 14:57:23 +0000 (11:57 -0300)]
[cherry-pick] Fix the order of the branch keys data structure

Since we have multiple branches with the same base (2.1 and 2.1.x),
we have to start searching for commits from the newest branch to
the oldest.

Also adding a minor cosmetic change which was pending here.
(show a list of bug number at the beginning)

11 years ago[release-notes] Be more flexible in the revertion detection
Ademar de Souza Reis Jr [Fri, 28 Jan 2011 20:48:39 +0000 (17:48 -0300)]
[release-notes] Be more flexible in the revertion detection

11 years ago[release-notes] Redirect warnings to stderr
Ademar de Souza Reis Jr [Tue, 11 Jan 2011 21:49:18 +0000 (18:49 -0300)]
[release-notes] Redirect warnings to stderr

11 years ago[web/bugzilla] Support queries for all bugs on some branch
Ademar de Souza Reis Jr [Tue, 11 Jan 2011 21:57:56 +0000 (18:57 -0300)]
[web/bugzilla] Support queries for all bugs on some branch

bugs="*" is now supported.

XXX: Since there's no way to query this from bugzilla and we can't
require a full git clone, this is just a hack that displays the
content of a static file.

11 years ago[web/bugzilla] General refactorings
Ademar de Souza Reis Jr [Tue, 11 Jan 2011 21:57:20 +0000 (18:57 -0300)]
[web/bugzilla] General refactorings

All minor

11 years ago[release-notes] fix week number formating (%02d instead of %s)
Ademar de Souza Reis Jr [Mon, 10 Jan 2011 21:01:26 +0000 (18:01 -0300)]
[release-notes] fix week number formating (%02d instead of %s)

11 years ago[release-notes] Send multi-part e-mails (text + html) with --email
Ademar de Souza Reis Jr [Thu, 9 Sep 2010 19:48:45 +0000 (16:48 -0300)]
[release-notes] Send multi-part e-mails (text + html) with --email

11 years agoAdd references to the qtwebkit-2.2 branch
Ademar de Souza Reis Jr [Tue, 21 Dec 2010 20:30:16 +0000 (17:30 -0300)]
Add references to the qtwebkit-2.2 branch

11 years ago[release-notes] Cosmetic improvements
Ademar de Souza Reis Jr [Mon, 22 Nov 2010 18:08:04 +0000 (15:08 -0300)]
[release-notes] Cosmetic improvements

11 years ago[release-notes] Don't consider reverts when looking for bugs
Ademar de Souza Reis Jr [Tue, 16 Nov 2010 00:36:53 +0000 (21:36 -0300)]
[release-notes] Don't consider reverts when looking for bugs

11 years ago[web/bugzilla] Detect/show the week when the bug was cherry-picked
Ademar de Souza Reis Jr [Wed, 10 Nov 2010 22:11:19 +0000 (19:11 -0300)]
[web/bugzilla] Detect/show the week when the bug was cherry-picked

11 years ago[web/bugzilla] Add versioning to the bug cache
Ademar de Souza Reis Jr [Wed, 10 Nov 2010 22:10:20 +0000 (19:10 -0300)]
[web/bugzilla] Add versioning to the bug cache

So that we discard/ignore the cache if the data format changes

11 years ago[cherry-pick] Minor change to detect more commit messages from bugzilla
Ademar de Souza Reis Jr [Mon, 8 Nov 2010 19:50:55 +0000 (16:50 -0300)]
[cherry-pick] Minor change to detect more commit messages from bugzilla

11 years ago[release-notes] Fix escaping of HTML chars with --html
Ademar de Souza Reis Jr [Mon, 8 Nov 2010 14:59:53 +0000 (11:59 -0300)]
[release-notes] Fix escaping of HTML chars with --html

11 years ago[release-notes] Improve week number handling
Ademar de Souza Reis Jr [Mon, 8 Nov 2010 14:47:09 +0000 (11:47 -0300)]
[release-notes] Improve week number handling

refactoring (using python's module) and now using previous week
number, as the release-notes will be generated on mondays.

11 years ago[web] Cache results from bugzilla queries
Ademar de Souza Reis Jr [Fri, 29 Oct 2010 18:46:08 +0000 (15:46 -0300)]
[web] Cache results from bugzilla queries

Also minor refactorings.

11 years ago[web] Fix minor regressions from previous refactoring
Ademar de Souza Reis Jr [Fri, 29 Oct 2010 17:59:22 +0000 (14:59 -0300)]
[web] Fix minor regressions from previous refactoring

Bummer :-/

11 years ago[web] Major refactoring on scripts to query bugs status
Ademar de Souza Reis Jr [Thu, 28 Oct 2010 17:02:01 +0000 (14:02 -0300)]
[web] Major refactoring on scripts to query bugs status

The main change: no need to have a git repository anymore, queries go
directly to webkit bugzilla instead.

11 years ago[release-notes] Don't authenticate on bugzilla
Ademar de Souza Reis Jr [Mon, 25 Oct 2010 21:16:25 +0000 (18:16 -0300)]
[release-notes] Don't authenticate on bugzilla

Not needed to retrieve ordinary bugs (would be needed if we were
retrieving security-related bugs). Since we don't handle security
bugs yet, but the account running this script may have the necessary
privileges, we better see errors/warnings when retrieving them.

11 years ago[release-notes] Avoid python error when handling utf8 and stdout != terminal
Ademar de Souza Reis Jr [Fri, 22 Oct 2010 21:12:26 +0000 (18:12 -0300)]
[release-notes] Avoid python error when handling utf8 and stdout != terminal

Whoever decided that python should raise an exception when handling utf8
text and that stdout is ascii by default (without any reasonable
mechanism to change it) should be shot. :-)

11 years ago[cherry-pick] Handle one more case of "landed in" post comments
Ademar de Souza Reis Jr [Fri, 22 Oct 2010 21:10:51 +0000 (18:10 -0300)]
[cherry-pick] Handle one more case of "landed in" post comments

We now catch "Landed in <http://..."

11 years ago[release-notes] Add support for --up-to to specify the top commit
Ademar de Souza Reis Jr [Thu, 21 Oct 2010 19:37:17 +0000 (16:37 -0300)]
[release-notes] Add support for --up-to to specify the top commit

Useful when creating release-notes considering commits up to
a particular tag.

11 years ago[release-notes] Try to extract the proper summary from commit changelogs
Ademar de Souza Reis Jr [Thu, 21 Oct 2010 17:41:33 +0000 (14:41 -0300)]
[release-notes] Try to extract the proper summary from commit changelogs

11 years ago[cherry-pick] Handle "landed at" when detecting commit revisions
Ademar de Souza Reis Jr [Wed, 6 Oct 2010 14:08:39 +0000 (16:08 +0200)]
[cherry-pick] Handle "landed at" when detecting commit revisions

11 years ago[cherry-pick] Fix regression on determineIfCherryPickedFromComments()
Ademar de Souza Reis Jr [Wed, 6 Oct 2010 14:17:03 +0000 (16:17 +0200)]
[cherry-pick] Fix regression on determineIfCherryPickedFromComments()

stupid regression introduced by my previous commit 8f90a3fdc8d97d6a03c52dc82ed6729f7c55a9ef

11 years ago[web/bugzilla] Increase the range of commits to check to fork-point~1000
Ademar de Souza Reis Jr [Mon, 27 Sep 2010 14:40:40 +0000 (11:40 -0300)]
[web/bugzilla] Increase the range of commits to check to fork-point~1000

We can't go too far due to scalability issues, but 1000
commits before the fork should suffice for now.

11 years ago[cherry-pick] Increase the range of commits to check for cherry-picks
Ademar de Souza Reis Jr [Mon, 27 Sep 2010 13:53:48 +0000 (10:53 -0300)]
[cherry-pick] Increase the range of commits to check for cherry-picks

Check since 3000 commits before the fork-point, otherwise we'll have false
negatives for old patches.

Also introduce --base-commit and add the fork-point to another
git-log call.

11 years ago[web] Introduce web/ directory with a simple webservice to query bug status
Ademar de Souza Reis Jr [Fri, 24 Sep 2010 21:43:35 +0000 (18:43 -0300)]
[web] Introduce web/ directory with a simple webservice to query bug status

index.html provides a simple page where non-advanced users can query the
status of bugs against qt-webkit branches.

The motivation behind this service is to help stakeholders/managers
(which are not familar with bugzilla and our integration policies) query if
a particular bug has been fixed or not in a particular branch.

It requires mod_python

11 years ago[cherry-pick] Add a main() method
Ademar de Souza Reis Jr [Fri, 24 Sep 2010 17:40:02 +0000 (14:40 -0300)]
[cherry-pick] Add a main() method

Particularly useful when using this file as a module

11 years ago[release-notes, cherry-pick] Minor trivial refactoring
Ademar de Souza Reis Jr [Fri, 24 Sep 2010 17:35:31 +0000 (14:35 -0300)]
[release-notes, cherry-pick] Minor trivial refactoring

Change split("\n") to splitlines()

11 years ago[release-notes] Add support for bugs handled by hand, using 'git config'
Ademar de Souza Reis Jr [Fri, 24 Sep 2010 16:23:12 +0000 (13:23 -0300)]
[release-notes] Add support for bugs handled by hand, using 'git config'

Some bugs are fixed/referenced in non-standard way and can't be reliably
detected by the script. These bugs can now be added to git-config (by a
human being) and they'll be included in the release notes.

The format is below:

[extraBugs]
    <normalized branch name> = <bugId>-<commit sha1>
    <normalized branch name> = <bugId>-<commit sha1>
    ...

Example:

[extraBugs]
    qtwebkit-2-1 = 43185-aa118f44f2b24dae7acde201f70046fd4dc92fa5
    qtwebkit-2-1 = 43515-1c5d1704957d43802da30763af3014b3ce5d1876

11 years agoAdd .gitignore
Ademar de Souza Reis Jr [Fri, 24 Sep 2010 14:14:10 +0000 (11:14 -0300)]
Add .gitignore

Ignoring just *.pyc by now

11 years ago[cherry-pick] Fix minor bug on determineIfCherryPickedFromComments()
Ademar de Souza Reis Jr [Thu, 23 Sep 2010 22:31:38 +0000 (19:31 -0300)]
[cherry-pick] Fix minor bug on determineIfCherryPickedFromComments()

Use the local received variable instead of the global dict['comments'].

11 years ago[cherry-pick] Limit the depth of git log to the fork point
Ademar de Souza Reis Jr [Thu, 23 Sep 2010 22:30:29 +0000 (19:30 -0300)]
[cherry-pick] Limit the depth of git log to the fork point

11 years ago[cherry-pick] Run 'git pull' by default when called
Ademar de Souza Reis Jr [Thu, 23 Sep 2010 22:28:42 +0000 (19:28 -0300)]
[cherry-pick] Run 'git pull' by default when called

--no-git-pull is available for whoever doesn't want this default.

I'm tired of forgetting to run 'git pull' and ending up with a merge
after the bugs are updated. :-(

11 years ago[release-notes] Escape ^ on wiki format
Ademar de Souza Reis Jr [Thu, 23 Sep 2010 14:27:34 +0000 (11:27 -0300)]
[release-notes] Escape ^ on wiki format

11 years ago[cherry-pick] Handle common typos on commit messages
Ademar de Souza Reis Jr [Thu, 23 Sep 2010 14:15:16 +0000 (11:15 -0300)]
[cherry-pick] Handle common typos on commit messages

(commited, comitted, committed)

11 years ago[cherry-pick] Exit early if there are no bugs to handle
Ademar de Souza Reis Jr [Thu, 16 Sep 2010 18:18:11 +0000 (15:18 -0300)]
[cherry-pick] Exit early if there are no bugs to handle

(avoids bugzilla login)

11 years ago[cherry-pick] Fix handling of old style cherry-pick comments
Ademar de Souza Reis Jr [Thu, 16 Sep 2010 17:49:23 +0000 (14:49 -0300)]
[cherry-pick] Fix handling of old style cherry-pick comments

Old style cherry-pick comments were not being detected after
d3e8a07b

11 years ago[cherry-pick] Handle masterBugs dependencies when using --bugs
Ademar de Souza Reis Jr [Thu, 16 Sep 2010 17:34:55 +0000 (14:34 -0300)]
[cherry-pick] Handle masterBugs dependencies when using --bugs

Bugs cherry-picked with --bugs now have their dependencies for
master bugs properly handled.

11 years ago[cherry-pick] Include a commit link when posting a comment about a cherry-pick
Ademar de Souza Reis Jr [Thu, 16 Sep 2010 12:50:12 +0000 (09:50 -0300)]
[cherry-pick] Include a commit link when posting a comment about a cherry-pick

11 years ago[release-notes] Sort the list of bugs before processing them
Ademar de Souza Reis Jr [Tue, 14 Sep 2010 18:55:50 +0000 (15:55 -0300)]
[release-notes] Sort the list of bugs before processing them

Useful in some cases where there are inter-dependencies
between patches.

11 years ago[release-notes] Minor fix for wiki-formatted release notes
Ademar de Souza Reis Jr [Tue, 14 Sep 2010 18:55:02 +0000 (15:55 -0300)]
[release-notes] Minor fix for wiki-formatted release notes

11 years ago[release-notes] Fix --last-tag logic to handle multiple branches
Ademar de Souza Reis Jr [Mon, 13 Sep 2010 15:11:11 +0000 (12:11 -0300)]
[release-notes] Fix --last-tag logic to handle multiple branches

Also a minor refactoring on the lastTag() internal variable names

11 years ago[release-notes] Use week number when referencing the project
Ademar de Souza Reis Jr [Mon, 13 Sep 2010 13:41:12 +0000 (10:41 -0300)]
[release-notes] Use week number when referencing the project

11 years ago[integrate-into-qt] Removed import of qt_webkit_version.pri, configure(.exe) takes...
Simon Hausmann [Mon, 13 Sep 2010 05:44:49 +0000 (07:44 +0200)]
[integrate-into-qt] Removed import of qt_webkit_version.pri, configure(.exe) takes care of that

11 years ago[release-notes] Add --email option
Ademar de Souza Reis Jr [Thu, 9 Sep 2010 17:56:14 +0000 (14:56 -0300)]
[release-notes] Add --email option

  --email=EMAIL     send an html formatted e-mail to EMAIL (comma separated
                    list). Designed to be used weekly

Useful to send periodic e-mails or to automatically post it to some blog.

The e-mail sender can be specified using a WEBKIT_EMAILSENDER environment
variable. Otherwise it'll be "no-reply@webkit.org"

11 years ago[release-notes] Improve wiki and html link formats
Ademar de Souza Reis Jr [Thu, 9 Sep 2010 17:20:12 +0000 (14:20 -0300)]
[release-notes] Improve wiki and html link formats

Link just the commit/bug reference, the rest stays as standard text.

Also a minor fix on the --help text

11 years ago[release-notes] Add --commits and --html
Ademar de Souza Reis Jr [Wed, 8 Sep 2010 21:32:29 +0000 (18:32 -0300)]
[release-notes] Add --commits and --html

  --html            output in HTML format (default is wiki formatting)
  --commits         also list commits made to the branch

Also some minor textual changes

11 years ago[release-notes] Fix handling of branches without any tags
Ademar de Souza Reis Jr [Wed, 8 Sep 2010 21:20:51 +0000 (18:20 -0300)]
[release-notes] Fix handling of branches without any tags

11 years ago[cherry-pick] Add --bugs=BUGS option
Ademar de Souza Reis Jr [Mon, 6 Sep 2010 18:11:11 +0000 (15:11 -0300)]
[cherry-pick] Add --bugs=BUGS option

Useful to check if fixes for a particular bug have been cherry-picked
to this branch or not.

11 years ago[cherry-pick] Handle one more "Landed in r..." comment type
Ademar de Souza Reis Jr [Fri, 3 Sep 2010 20:50:31 +0000 (17:50 -0300)]
[cherry-pick] Handle one more "Landed in r..." comment type

Handle "Landed in http://trac.webkit.org/changeset/<revision>", as in
https://bugs.webkit.org/show_bug.cgi?id=45167

11 years ago[release-notes] Add --since-last-tag option
Ademar de Souza Reis Jr [Thu, 2 Sep 2010 21:19:14 +0000 (18:19 -0300)]
[release-notes] Add --since-last-tag option

With this option the last tag (or the branch fork point if no
tags exist) will be used as the base commit.

Also includes minor cosmetic changes.

11 years ago[cherry-pick] Add --always-no option
Ademar de Souza Reis Jr [Thu, 2 Sep 2010 18:18:32 +0000 (15:18 -0300)]
[cherry-pick] Add --always-no option

Useful to just inspect the script output and/or add bugs to
the skip-list

Also adding a vim modeline at the end to handle the lack
of linebrakes (@76 cols) in this file.

11 years ago[cherry-pick] Add support for multiple masterBugs
Ademar de Souza Reis Jr [Fri, 27 Aug 2010 23:16:59 +0000 (20:16 -0300)]
[cherry-pick] Add support for multiple masterBugs

Use a list for masterBugs so that we can have multiple bugs for tracking (as
is the case with qtwebkit-2.1, which has a master for critical bugs
and other for candidates.)

There's no need to have the master bugs depending on each other anymore and
we now correctly remove the block after the patch is cherry-picked.

11 years ago[release-notes] Handle Cltr+C gracefully
Ademar de Souza Reis Jr [Fri, 27 Aug 2010 20:18:55 +0000 (17:18 -0300)]
[release-notes] Handle Cltr+C gracefully

The full solution depends on a patch submited to webkit:
https://bugs.webkit.org/show_bug.cgi?id=44789
(meanwhile, hit Ctrl+C twice)

As a side note, the code leaves inside a main() function now.
(which is why the diff is large)

11 years ago[release-notes] Make the revision (argv[1]) optional
Ademar de Souza Reis Jr [Fri, 27 Aug 2010 19:39:52 +0000 (16:39 -0300)]
[release-notes] Make the revision (argv[1]) optional

If no revision (tag, commit) is given, list all bugs since
the branch creation.

11 years ago[release-notes] Don't exit with error in case of failure handling a bug
Ademar de Souza Reis Jr [Thu, 26 Aug 2010 21:51:14 +0000 (18:51 -0300)]
[release-notes] Don't exit with error in case of failure handling a bug

Just show a warning and keep going on
(happens for example on bug #43295, which I'm not authorized to access)

11 years ago[cherry-pick] Fix handling of comments recently posted
Ademar de Souza Reis Jr [Thu, 26 Aug 2010 18:58:17 +0000 (15:58 -0300)]
[cherry-pick] Fix handling of comments recently posted

A comment posted by the script should be considered when
detecting if a bug has all patches picked and commented,
otherwise we'll hit the error/warning "Strange! Bug has all
patches cherry-picked but I couldn't [...]" on bugs/patches just
integrated.

11 years ago[release notes] Work with older and newer versions of webkitpy
Simon Hausmann [Fri, 27 Aug 2010 13:25:51 +0000 (15:25 +0200)]
[release notes] Work with older and newer versions of webkitpy

11 years ago[webkit-cherry-pick] Also support r1234
Simon Hausmann [Fri, 27 Aug 2010 12:16:24 +0000 (14:16 +0200)]
[webkit-cherry-pick] Also support r1234

11 years agoNew trivial script that allows doing webkit-cherry-pick 1234 where 1234 is an SVN...
Simon Hausmann [Fri, 27 Aug 2010 12:12:05 +0000 (14:12 +0200)]
New trivial script that allows doing webkit-cherry-pick 1234 where 1234 is an SVN revision

11 years ago[cherry-pick] Fix grep pattern (Popen doesn't like single quotes)
Ademar de Souza Reis Jr [Thu, 26 Aug 2010 15:58:15 +0000 (12:58 -0300)]
[cherry-pick] Fix grep pattern (Popen doesn't like single quotes)

Bug introduced in c97d034f90ca59c0671c4a075901b163a9ee5020

11 years ago[cherry-pick] Save the list of skipped bugs
Ademar de Souza Reis Jr [Wed, 25 Aug 2010 21:11:14 +0000 (18:11 -0300)]
[cherry-pick] Save the list of skipped bugs

This should greatly speed-up the common use-case and reduce the output
noise, as skipped-bugs won't be retrieved a second time. It's enabled by
default, use --no-auto-skip to disable it.

Also simple optparse options have been added:

"""
$ cherry-pick-into-release-branch.py --help
Usage: cherry-pick-into-release-branch.py [options]

Options:
  -h, --help        show this help message and exit
  --no-auto-skip    don't add bugs to the skipped list automatically
  --ignore-skipped  ignore the skipped list
"""

The implementation uses git-config to store the skipped list, which
is kept per branch.

11 years ago[cherry-pick] Improve grep pattern, avoiding false-positives
Ademar de Souza Reis Jr [Wed, 25 Aug 2010 22:15:35 +0000 (19:15 -0300)]
[cherry-pick] Improve grep pattern, avoiding false-positives