Opened 4 years ago

Last modified 4 years ago

#243 new

Access roses-u repository using mirror

Reported by: Scott Wales Owned by:
Priority: major Component: ACCESS model
Keywords: Cc:

Description

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

Change History (3)

comment:1 Changed 4 years ago by Martin Dix

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: {}

comment:2 Changed 4 years ago by Scott Wales

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

comment:3 Changed 4 years ago by Martin Dix

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.

Note: See TracTickets for help on using tickets.