otherwise changing the user name or the remote type will be not be
possible.
Change-Id: I56a3790abbcf39cb4e75ac752af79581ed4c6e10
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
there is no point in making read-only gerrit remotes. use gitorious for
that.
instead, create remotes which rely on proper ssh configuration if
--codereview-username is not passed.
Change-Id: I08812fd26f1de6df22cd952211f620f36f069e51
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This script was doing a `git clone' for each submodule (so that we can
use local mirrors), then using `git submodule update' to ensure all the
submodules point to the right SHA1.
Since this wasn't done recursively, a clean clone and init-repository
would leave qtbase/src/3rdparty/v8 pointing at whatever SHA1 was set in
the HEAD of qtbase, which is wrong. Fix it by doing the update
recursively.
Change-Id: Id183d0f983bfd59b2b9d0a8e160a906545219784
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
The contents of QtMultimediaKit are being placed in QtMultimedia.
After this commit integrates, any dependent modules can be updated,
and then another change to remove QtMMK from Qt5 can be done.
Change-Id: I466df08ef1e764fae9056a61a51b82cab8633244
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Transitional step needed while v8 is moved from qtdeclarative
to qtbase.
Before the transition is completely in place, init-repository
must be able to cope with both qtbase and qtdeclarative having
a v8 submodule.
This change causes git submodule init/update to be called for
both repositories, even though one of them doesn't have any
submodules. But in that case it's a no-op.
Change-Id: Ia1af01308c808e62eb85431764edd8c12bdc3325
Reviewed-on: http://codereview.qt.nokia.com/3303
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Still useful to use init-repository because of all the other logic, such
as repository urls. More general than --no-webkit, although it is still
a valid convenience as the most common case.
Also makes qt.pro check for existence of modules, since it is no longer
certain that you'll have everything but webkit.
Change-Id: Iaaaa30e24e0a793218e2e307bdde56067760c513
Reviewed-on: http://codereview.qt.nokia.com/1258
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
qtdeclarative is expected to gain a nested submodule soon. This change
makes init-repository checkout that submodule as well.
Reviewed-by: Rohan McGovern
By providing the username used for codereviews, the script will
add the proper URLs for the repos currently under Gerrit control.
For repos not under Gerrit control, 'gerrit' will simply refer
to the staging repo, or origin.
When you use either --nokia-developer or --brisbane, changes
are that you're going to be working on one of the submodules
anyways, in which case, having git commands in top-level repo
work on submodules too is an annoyance.
Pod::Usage shipped on OSX 10.6 seems to stop printing the usage
message at the first `=headX'. Refactor the documentation slightly to
take this into account.
Previously we were creating the staging remotes only for the submodules.
Reviewed-by: Keith Isdale
Change-Id: I0935ae1b14da1745ffff979248e952391586fcba
Make it object-oriented.
Document via pod and use pod2usage to implement `--help'.
Use Getopt::Long instead of hand-rolled argument parsing.
Make it pass `perlcritic -stern'.
Check the exit code of all commands.
Reviewed-by: Sunil Thaha
Reviewed-by: Lincoln Ramsay
Change-Id: Iac2a3358a05db7cdd953ba3d5396a8bb6bcfb44b