bazaar.conf - decisions: for Windows
Alexander Belchenko
bialix at ukr.net
Thu Oct 13 14:19:51 BST 2005
Martin Pool пишет:
> So if I understand correctly you're saying that ~ should expand to
> $HOME for the purposes of e.g. branch paths in the configuration, but
> the configuration itself should be stored in $APPDATA? That sounds
> reasonable.
Hm... May be I do not understand correctly what you mean in "for the
purposes of e.g. branch paths in the configuration"?
But, yes, configuration need to be stored in $APPDATA (is most windows
native way) or $USERPROFILE (as GIMP do it).
BTW: $APPDATA == ($USERPROFILE + os.sep + "Application Data") by default.
For storing path in configuration file it should *always* use Windows
absolute path with drive+dir. Or may be it will be great to have the
additional option named "base_dir", and then use this option for
auto-expanding, e.g.:
base_dir=E:\work
[%base_dir%/python]
....
This way, IMHO, is most correct for Windows, because neither "$HOME" nor
"My Documents" is not usual folder to store devel data, as far as I know
habits of windows programmers and developers.
> Having a configuration gui would be a good idea too.
I think this tool should be bundled into bzrlib itself for using
OS-related things inside of current version of bzr.
And not for start holy wars about GUI library, but for Windows is
reasonably to use Tkinter, because Tkinter is bundled by default in
Windows Python distributive.
Alexander.
More information about the bazaar
mailing list