config file location on Windows

0 views
Skip to first unread message

ryanc...@gmail.com

unread,
May 29, 2008, 2:20:26 PM5/29/08
to gvn-discuss
Hi folks,

Thanks for a cool tool--I've taken a preliminary glance at it, and I
think this the type of tool we've been looking for to aid us in doing
code reviews. The one problem I'm having is figuring out where the
config file is supposed to be located on a Windows machine. I need to
change the mail settings in the configuration to get the mail command
to work, since the defaults it is using up are incorrect for our mail
setup. Here are the locations I've tried, which haven't worked:

C:\Documents and Settings\[username]\.gvn\config
C:\msys\1.0\home\[username]\.gvn\config (wild guess)

Also, I guess I'm a little confused about where global and project
config can go/is supposed to go, and whether I can configure a default
for all projects. (We have about 20 or so SVN projects, so
configuring mail settings project-by-project will be cumbersome).
Anyway, here is the current content of my config file, which I created
based on the GVN User Guide/man page. I have a feeling I'm doing
something wrong here:

------------------snip----------------
[external]
smtp_server=mail.oracle.com

[project]
email_address=ryan....@oracle.com
email_domain=oracle.com
-----------------snip-----------------

Thanks for any help,
Ryan

e...@google.com

unread,
May 29, 2008, 2:31:56 PM5/29/08
to ryanc...@gmail.com, gvn-discuss
ryanc...@gmail.com writes:

>
> Hi folks,
>
> Thanks for a cool tool--I've taken a preliminary glance at it, and I
> think this the type of tool we've been looking for to aid us in doing
> code reviews. The one problem I'm having is figuring out where the
> config file is supposed to be located on a Windows machine. I need to
> change the mail settings in the configuration to get the mail command
> to work, since the defaults it is using up are incorrect for our mail
> setup. Here are the locations I've tried, which haven't worked:
>
> C:\Documents and Settings\[username]\.gvn\config
> C:\msys\1.0\home\[username]\.gvn\config (wild guess)

It's c:/Documents and Settings/epg/Application Data/gvn

> ------------------snip----------------
> [external]
> smtp_server=mail.oracle.com

This goes in %APPDATA%/gvn/config

> [project]
> email_address=ryan....@oracle.com
> email_domain=oracle.com

This goes in %APPDATA%/gvn/projects/<name-of-project>

I don't recall email_address vs. email_domain; I doubt you're
supposed to use both.

We probably don't allow setting email in config but we probably
should. As a work around, can you use the EMAIL environment
variable? As long as you don't have those email settings in a
project file, gvn will use EMAIL.

BTW, MSYS: the next release finally eliminates that requirement.

ryanc...@gmail.com

unread,
May 29, 2008, 6:43:59 PM5/29/08
to gvn-discuss
Thanks, epg. Everything you said worked. I used the %APPDATA%/gvn/
config for the smtp_server config value, and then set a global EMAIL
environmental var (instead of using the project config). Also, it's
good to know that MSYS req is going away--that will certainly simplify
the install process.

I have a new problem now, but I'll submit a separate thread, since
it's on a different topic.

Thanks again,
Ryan

On May 29, 1:31 pm, e...@google.com wrote:
> ryancgol...@gmail.com writes:
>
> > Hi folks,
>
> > Thanks for a cool tool--I've taken a preliminary glance at it, and I
> > think this the type of tool we've been looking for to aid us in doing
> > code reviews. The one problem I'm having is figuring out where the
> > config file is supposed to be located on a Windows machine. I need to
> > change the mail settings in the configuration to get the mail command
> > to work, since the defaults it is using up are incorrect for our mail
> > setup. Here are the locations I've tried, which haven't worked:
>
> > C:\Documents and Settings\[username]\.gvn\config
> > C:\msys\1.0\home\[username]\.gvn\config (wild guess)
>
> It's c:/Documents and Settings/epg/Application Data/gvn
>
> > ------------------snip----------------
> > [external]
> > smtp_server=mail.oracle.com
>
> This goes in %APPDATA%/gvn/config
>
> > [project]
> > email_address=ryan.gol...@oracle.com
Reply all
Reply to author
Forward
0 new messages