> > haylocki:
> > > I realised maybe I shouldn't use my username, when I saw the script
> > > defaults to the name "osm"
> > > Maybe the --user-name option should be removed, then people like me
> > > won't make stoopid miskakes :-)
Hamish:
> > perhaps add something like
> >
> > if [ "$user_name" = "$USER" ] ; then
> > echo "Don't use your own login account for this." 1>&2
> > exit 1
> > fi
Joerg:
> I added a comment to the help. Do you think that is enough or do you think we
> need this check too?
We can't count on everyone to read the docs- for that matter we can count on
many people not to read them. Other than that I don't really feel qualified to
answer as I don't use or know mapnik, OSM, or My|PostgreSQL very much so am not
too familiar with the needs and issues. Personally I've never been very
comfortable with having to add the complexity of new user accounts and
passwords for a single-user local DB, I'd much prefer something light & simple
like a flat ascii table or SQLite. Especially when you need to pass plain text
passwords as command line anrguments. But I fully accept that if OSM is using
Postgres it's a good idea if gpsdrive supports it as well, to minimize porting
problems and duplication of effort, and just making it easy for everything to
"just work". Just as long as all that complexity stays optional ;)
Hamish
____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/
|