On  0, vidma <notifications@github.com> wrote:
> > +    local tbed
> > +    local dbspace  # dbs replica / namespace
> > +    # select a particular dbs replica (prod, dev, int) and version of dasmaps
> > +    case "$host" in vocms133 ) tbed="_testbed" dbspace="_int";; * ) tbed="" dbspace="_prod";; esac
> > +    local mapsfile="das${tbed}_maps_dbs_prod.js"
> > +    echo "$mapsfile"
> > +}
> > +
> > +# download metadata and stage it for update
> > +# change is applied on next updatedata() call
> > +fetchdata(){
> > +    local updater_dir="$CFGDIR/metadata_updater"
> > +    local stage_now="$1"
> > +
> > +    # fetch datafiles
> > +    # TODO: we could instead just simply use: git pull repo !?
> 
> yes if it's updates automatically it might give a bit more of flexibility...
> 
> well, but the existing import scripts allow to load it from an directory as well...

can you point me where it is?

Also you have
local mapfile="das${tbed}_maps_dbs_prod.js"

which I suppose should be
local mapfile="das${tbed}_maps_dbs${dbspace}.js"

> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/dmwm/deployment/pull/108/files#r9911060