Commit Graph

26 Commits

Author SHA1 Message Date
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