ACCESS-NRI / accessdev-Trac-archive

Archive accessdev Trac contents as issues
Apache License 2.0
0 stars 0 forks source link

Access roses-u repository using mirror #243

Open penguian opened 8 years ago

penguian commented 8 years ago

| by saw562@nci.org.au


Can Rose be set up so that it checks out suites from the local mirror?


Issue migrated from trac:243 at 2024-01-31 18:21:01 +1100

penguian commented 8 years ago

@martin.dix@anu.edu.au commented


Seems that there's no mirror of https://code.metoffice.gov.uk/rosie/u to https://metoffice-mirror/rosie/u

On accessdev-test added

prefix-location.umirror = https://metoffice-mirror/svn/roses-u
prefix-web.umirror = https://metoffice/-mirror/trac/roses-u/intertrac/source:
prefix-ws.umirror = https://metoffice-mirror/rosie/u

to rose.conf.

% rosie hello --prefix=umirror
[WARN] https://metoffice-mirror/rosie/u/hello: [Errno 1] _ssl.c:492: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
hello: {}
penguian commented 8 years ago

@scott.wales@bom.gov.au commented


No, just the svn repo is mirrored. I'd suggest leaving the web and ws settings the same as the source repository, since they won't affect checkouts

penguian commented 8 years ago

@martin.dix@anu.edu.au commented


Now tried

prefix-location.umirror  = https://metoffice-mirror/svn/roses-u
prefix-web.umirror = https://code.metoffice.gov.uk/trac/roses-u/intertrac/source:
prefix-ws.umirror  = https://code.metoffice.gov.uk/rosie/u

Rosie gui works. However even after data source is set to just umirror the suite checkout still seems to come from the Met Office,

E.g. svn info shows

URL: https://code.metoffice.gov.uk/svn/roses-u/a/a/0/0/1/trunk
Relative URL: ^/a/a/0/0/1/trunk
Repository Root: https://code.metoffice.gov.uk/svn/roses-u

Command line rosie checkout doesn't have any option to specify the repository.

Explicit command line does work

svn checkout https://metoffice-mirror/svn/roses-u/a/a/0/0/1/trunk u-aa001

Unless we have more problems with MOSRS I don't think this is worth pursuing. Even if it did work I think it'd be too confusing to really be useful.