aboutsummaryrefslogtreecommitdiffstats
path: root/init-repository
Commit message (Collapse)AuthorAgeFilesLines
* always reconfigure all remotesOswald Buddenhagen2011-11-111-32/+9
| | | | | | | | | 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>
* always make ssh-based gerrit remotesOswald Buddenhagen2011-11-111-15/+11
| | | | | | | | | | | 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>
* remove dead codeOswald Buddenhagen2011-11-111-3/+0
| | | | | | | Change-Id: I574490d1e282355efa6756242b0906e56103027f Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* init-repository: fixed src/3rdparty/v8 sometimes pointing at wrong SHA1Rohan McGovern2011-11-111-1/+1
| | | | | | | | | | | | | | | | 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>
* Added new module, qtjsondb.Sergio Ahumada2011-10-311-0/+1
| | | | | | | | | Not yet enabled by default. Change-Id: I07093f8770a7b2f05aa777cbf949a30478dacc67 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
* Remove QtMultimediaKit - all content has moved to QtMultimedia.Michael Goddard2011-10-271-1/+0
| | | | | | Change-Id: I54741996cb3dbfbb76dd0f864e4e72cd8b6bbd67 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* don't limit adding gerrit remotes to --nokia-developerOswald Buddenhagen2011-10-271-5/+2
| | | | | | | | | this was soooooo outdated! for ... days! :D Change-Id: Ia8cd2b651f672fa65ccbe142699fbeb321413a04 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Robin Burchell <robin+qt@viroteck.net> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Re-add qtmultimedia.Michael Goddard2011-10-261-0/+1
| | | | | | | | | | 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>
* Added new module, qtwayland.Rohan McGovern2011-09-271-0/+1
| | | | | | | | | | Not yet enabled by default. Change-Id: I6f22e7d69743415ec8f9588a8621cd28ca6d8eda Reviewed-on: http://codereview.qt-project.org/5580 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com> Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
* init-repository: replace gerrit remotes with the new domain nameSergio Ahumada2011-09-071-3/+3
| | | | | | | | | All Qt5 modules are now moved to a new host. Change-Id: Id6d7962e26608cd7cd3a8876cabbddb92c65ea17 Reviewed-on: http://codereview.qt-project.org/4369 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Remove QtMultimedia (obsoleted by QtMultimediaKit).Michael Goddard2011-09-021-1/+0
| | | | | | | | | Change-Id: I6fbdde1d28f3156aee0bf9caaae7a1e3b3a4392a Reviewed-on: http://codereview.qt.nokia.com/4105 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Not add remote for external developersLiang Qi2011-08-261-2/+5
| | | | | | | | | | | Gerrit is still for internal at the time. Task-number: QTBUG-21139 Change-Id: Idc282e4db06246dc173f745e11234647d302edd4 Reviewed-by: Sergio Ahumada Reviewed-on: http://codereview.qt.nokia.com/3669 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Liang Qi <liang.qi@nokia.com>
* Prepare init-repository script for moving v8 submoduleKent Hansen2011-08-241-16/+18
| | | | | | | | | | | | | | | | 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>
* Added new module, qtconnectivity.Rohan McGovern2011-08-241-0/+1
| | | | | | | | | Not yet enabled by default. Change-Id: I89a8cb8cc6da9aeeba217e3ab3c10459082a21ed Reviewed-on: http://codereview.qt.nokia.com/3447 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
* Added new module, qtpim.Rohan McGovern2011-08-241-0/+1
| | | | | | | | | Not yet enabled by default. Change-Id: I7db1f9a782442876139306a25847e6f23194f672 Reviewed-on: http://codereview.qt.nokia.com/3427 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
* init-repository: let `--http' option also work for v8Rohan McGovern2011-08-111-6/+21
| | | | | | | | | | Useful for people behind restrictive firewalls. Task-number: QTBUG-20837 Change-Id: I1c6845ceb3b9ba17a0e36c97838a73ed94aa11f2 Reviewed-on: http://codereview.qt.nokia.com/2831 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Added new module `qtdocgallery'Rohan McGovern2011-08-101-0/+1
| | | | | | | Change-Id: I9086b41be63b95144dbbd5e5511099baf4068253 Reviewed-on: http://codereview.qt.nokia.com/2793 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
* Add qtquick3d module.Sarah Smith2011-07-181-9/+29
| | | | | | | | Change-Id: Ib3219c64e0100a4f79023d0a23972590fe3bd9f4 Reviewed-on: http://codereview.qt.nokia.com/1723 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Allow initial checkout of V8 with the Brisbane mirrorAlan Alpert2011-07-121-0/+20
| | | | | | | | Change-Id: Iaaaa88884e0a793218e2e307bd9e56067760c514 Reviewed-on: http://codereview.qt.nokia.com/1393 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Update licenseheader text in source files for qt5 repoJyri Tahtela2011-07-081-17/+17
| | | | | | | | | Replace old license header with correct one. Change-Id: I85f5a152069bdd1433f41f41e766063ec0fdbe13 Reviewed-on: http://codereview.qt.nokia.com/1371 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jyri Tahtela <jyri.tahtela@nokia.com>
* Can now tell init-repository to only use a subset of modulesAlan Alpert2011-07-071-0/+31
| | | | | | | | | | | | | | 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>
* init-repository: replace obsolete staging remotes with gerrit remotesRohan McGovern2011-07-071-54/+42
| | | | | | | | | | All Qt5 modules are now moved into gerrit. The staging repositories are obsolete. Change-Id: Ibdde6234da97a4664e54dbcd4425ed1b022cf850 Reviewed-on: http://codereview.qt.nokia.com/1254 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Added qtfeedback module.Rohan McGovern2011-07-041-0/+1
| | | | Not yet compiled by default.
* Add the QtMultimediaKit module. Currently not built.Michael Goddard2011-06-291-0/+1
| | | | Reviewed-by: Rohan McGovern
* QtDeclarative and QtDoc has moved into GerritMarius Storm-Olsen2011-06-281-0/+2
| | | | | So, ensure init-repository point their 'gerrit' remotes to the right locations
* Add the QtSystems module.Xizhi Zhu2011-06-231-0/+1
|
* Have init-repository init nested submodule in qtdeclarativeAlan Alpert2011-06-211-0/+5
| | | | | | | qtdeclarative is expected to gain a nested submodule soon. This change makes init-repository checkout that submodule as well. Reviewed-by: Rohan McGovern
* Add --berlin to set up WebKit mirror accordingly.Friedemann Kleint2011-06-211-0/+19
| | | | Initial-patch-by: danimo <daniel.molkentin@nokia.com>
* Add option --codereview-user <username> to add Gerrit reposMarius Storm-Olsen2011-06-011-18/+54
| | | | | | | | 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.
* Add 'staging' remote to repos which don't have a staging areaMarius Storm-Olsen2011-06-011-9/+21
| | | | | | | This makes it simpler to do git submodule foreach commands, since you don't need to worry about the repos without any staging area.
* Remove silly "goto" usage in foreach loopMarius Storm-Olsen2011-06-011-4/+2
|
* Make all staging repos 'staging' remotes in submodulesMarius Storm-Olsen2011-06-011-23/+20
| | | | | | | This allows us to more easily use git submodule foreach since you can just refer to staging for the repo, like you would 'origin'.
* Default to --ignore-submodules for --nokia-developer/--brisbaneMarius Storm-Olsen2011-06-011-0/+4
| | | | | | | 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.
* qtbase-earth-staging is no longer used, so remove itMarius Storm-Olsen2011-06-011-1/+0
|
* Add new QtSensors moduleAlex2011-05-201-0/+1
|
* Fix --ignore-submodules in init-repository after refactoringMarius Storm-Olsen2011-05-191-1/+1
|
* init-repository: mark as requiring perl 5.10Rohan McGovern2011-05-161-0/+1
| | | | This script currently requires perl 5.10, so mark it as such.
* init-repository: fixed `--help' with older Pod::Usage (OSX 10.6)Rohan McGovern2011-05-161-3/+5
| | | | | | 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.
* Add commit-template supportAlex2011-05-111-0/+11
| | | | Reviewed-by: Rohan McGovern
* init-repository: whitespace fixRohan McGovern2011-05-111-1/+1
|
* Add new qtlocation moduleAlex2011-05-101-0/+1
| | | | | The module is not yet enabled as various other repos need to be in place first.
* init-repository: avoid failure when combining `--force' and mirrorsRohan McGovern2011-05-061-0/+7
| | | | | | | Avoid a fatal error if the `mirror' remote already exists. Reviewed-by: Sunil Thaha Change-Id: Id6225fad265abb575f6f35f750ba7aed7729e0dc
* init-repository: also create the staging remote for qt5Rohan McGovern2011-05-061-27/+40
| | | | | | | Previously we were creating the staging remotes only for the submodules. Reviewed-by: Keith Isdale Change-Id: I0935ae1b14da1745ffff979248e952391586fcba
* Improve maintainability of init-repository script.Rohan McGovern2011-05-061-206/+425
| | | | | | | | | | | | | | | | 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
* Don't fog the $mirrorMarius Storm-Olsen2011-05-051-1/+1
| | | | | WebKit mirror worked, but the general mirror was shadowed after reorganizing code.
* Make sure -brisbane uses the 'internal' protocolMarius Storm-Olsen2011-05-051-0/+1
|
* Add staging repos as 'staging' remote for each moduleMarius Storm-Olsen2011-05-051-17/+56
| | | | | | Also fetch instead of clone, when repo is already populated. Reviewed-by: axis
* Make printUsage more maintainableMarius Storm-Olsen2011-05-051-38/+40
| | | | Reviewed-by: axis
* Add -copy-objects optionMarius Storm-Olsen2011-05-051-0/+12
| | | | Reviewed-by: axis
* Add -mirror and -mirror-webkit optionsMarius Storm-Olsen2011-05-051-35/+29
| | | | | | | They also support using them as local mirrors, should you want to do that instead of using -alternates Reviewed-by: axis