logo       

Re: [ gpsdrive ] update-mapnik-from-planet.sh: msg#00046

Subject: Re: [ gpsdrive ] update-mapnik-from-planet.sh
> > 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/  


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe