Marius Storm-Olsen
c6f334f766
Add option --codereview-user <username> to add Gerrit repos
...
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.
2011-06-01 13:16:09 -05:00
Marius Storm-Olsen
da3eb5c7ec
Add 'staging' remote to repos which don't have a staging area
...
This makes it simpler to do
git submodule foreach
commands, since you don't need to worry about the repos without
any staging area.
2011-06-01 12:17:41 -05:00
Marius Storm-Olsen
5d54ac9bb0
Remove silly "goto" usage in foreach loop
2011-06-01 11:02:53 -05:00
Marius Storm-Olsen
3c8d0ab74e
Make all staging repos 'staging' remotes in submodules
...
This allows us to more easily use
git submodule foreach
since you can just refer to staging for the repo, like
you would 'origin'.
2011-06-01 11:00:33 -05:00
Marius Storm-Olsen
15b148592f
Default to --ignore-submodules for --nokia-developer/--brisbane
...
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.
2011-06-01 10:52:29 -05:00
Marius Storm-Olsen
c250ff7715
qtbase-earth-staging is no longer used, so remove it
2011-06-01 10:46:39 -05:00
Alex
dd45bb2735
Add new QtSensors module
2011-05-20 16:16:33 +10:00
Marius Storm-Olsen
66bd89af42
Fix --ignore-submodules in init-repository after refactoring
2011-05-19 11:22:25 -05:00
Rohan McGovern
5feaf36fa7
init-repository: mark as requiring perl 5.10
...
This script currently requires perl 5.10, so mark it as such.
2011-05-16 09:54:36 +10:00
Rohan McGovern
c85ca381a4
init-repository: fixed `--help' with older Pod::Usage (OSX 10.6)
...
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.
2011-05-16 09:52:17 +10:00
Alex
e36ef7a76e
Add commit-template support
...
Reviewed-by: Rohan McGovern
2011-05-11 15:24:41 +10:00
Rohan McGovern
5bba019a81
init-repository: whitespace fix
2011-05-11 08:48:55 +10:00
Alex
0044c57a81
Add new qtlocation module
...
The module is not yet enabled as various other repos need
to be in place first.
2011-05-10 15:26:44 +10:00
Rohan McGovern
caba93a9a6
init-repository: avoid failure when combining `--force' and mirrors
...
Avoid a fatal error if the `mirror' remote already exists.
Reviewed-by: Sunil Thaha
Change-Id: Id6225fad265abb575f6f35f750ba7aed7729e0dc
2011-05-06 17:22:45 +10:00
Rohan McGovern
65ac36828a
init-repository: also create the staging remote for qt5
...
Previously we were creating the staging remotes only for the submodules.
Reviewed-by: Keith Isdale
Change-Id: I0935ae1b14da1745ffff979248e952391586fcba
2011-05-06 16:23:13 +10:00
Rohan McGovern
9bf69ecc2f
Improve maintainability of init-repository script.
...
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
2011-05-06 13:42:18 +10:00
Marius Storm-Olsen
780b928e4c
Don't fog the $mirror
...
WebKit mirror worked, but the general mirror was shadowed after
reorganizing code.
2011-05-05 13:09:17 -05:00
Marius Storm-Olsen
8b83cf2bcf
Make sure -brisbane uses the 'internal' protocol
2011-05-05 12:52:15 -05:00
Marius Storm-Olsen
da82709651
Add staging repos as 'staging' remote for each module
...
Also fetch instead of clone, when repo is already populated.
Reviewed-by: axis
2011-05-05 10:39:18 -05:00
Marius Storm-Olsen
add5bd04d9
Make printUsage more maintainable
...
Reviewed-by: axis
2011-05-05 10:39:12 -05:00
Marius Storm-Olsen
f47defb081
Add -copy-objects option
...
Reviewed-by: axis
2011-05-05 10:39:06 -05:00
Marius Storm-Olsen
4816c73f93
Add -mirror and -mirror-webkit options
...
They also support using them as local mirrors, should you want
to do that instead of using -alternates
Reviewed-by: axis
2011-05-05 10:38:59 -05:00
Marius Storm-Olsen
74f6b9fc61
Add -alternates option
...
Reviewed-by: axis
2011-05-05 10:38:53 -05:00
Marius Storm-Olsen
c2819f45a2
Clean up options, add -http for public access
...
Reviewed-by: axis
2011-05-05 10:38:47 -05:00
Marius Storm-Olsen
610962ed07
Add -ignore-submodules option
...
Will make 'diff', 'fetch', 'pull' etc ignore the submodules
by default. You can still use --ignore-submodules=none to
override this, when really needed.
Very convenient when working with staging repos, instead of
what the qt5 repo dictate as the current module SHA1.
Reviewed-by: axis
2011-05-05 10:38:40 -05:00
Marius Storm-Olsen
30960ad5b8
Remove whole submodule section
...
Not removing the whole section will leave residue
sections in the config file when reinitiating the
submodules
Reviewed-by: axis
2011-05-05 10:38:31 -05:00
Marius Storm-Olsen
1a9f4af89f
Illegal->Unknown and show usage on wrong options
...
Reviewed-by: axis
2011-05-05 10:38:23 -05:00
Lincoln Ramsay
984400a586
Warn everywhere, not just Unix
...
use warnings; is the portable way of doing #!/usr/bin/perl -w
Also use strict; in init-repository.
Signed-off-by: axis <qt-info@nokia.com >
2011-05-03 13:47:51 +02:00
axis
9b197b1ca5
Added -ssh-protocol option for those with very restrictive firewalls.
...
Reviewed by: Sergio Ahumada
2011-05-03 12:52:27 +02:00
axis
0b4b4cc5d1
Removed some debug prints and made sure that -no-update is respected.
...
Reviewed-by: Sergio Ahumada
2011-04-28 16:15:07 +02:00
axis
2690ff63b7
Prettified the usage screen.
2011-04-28 16:12:52 +02:00
Alan Alpert
3c270630df
Add -brisbane-nokia-developer switch
...
Uses the local mirrors to save a few hours on initial checkouts.
Reviewed-by: axis
2011-04-28 16:12:41 +02:00
Sergio Ahumada
a3209ceba8
Add -no-update option to init script
...
Reviewed-by: axis
2011-04-28 13:25:41 +02:00
Alan Alpert
82ca078d06
Add -no-webkit to init script
2011-04-28 10:21:09 +02:00
axis
e0adea22c1
Switched to using git protocol only.
...
Since we only reference CI-controlled repositories, there is no point
in using the ssh protocol and requiring an account.
qtwebkit is an exception, but they will anyway need SVN access.
2011-04-27 12:45:10 +02:00
axis
a5ea702ef6
Fixed public reference to qtrepotools.
2011-04-27 12:45:10 +02:00
axis
f6eb6ed21b
Fixed public link to qlalr.
2011-04-27 12:45:10 +02:00
Qt by Nokia
92351a70e0
Long live the qt5 Qt repository
2011-04-27 12:34:00 +02:00