One gotcha In Windows 7 and Vista, when the working directory path ends with a
symbolic link, the current parent path reference, .., will refer to the parent
directory of the symbolic link rather than that of its target. This difference
could break the importer code if it's playing with .. path
You could have something like this:
/
/web2py/
/web2py/.git
/web2py/.gitignore
/web2py/gluon
/web2py/blah
/common_files
/common_files/.git
/common_files/.gitignore
/common_files/models
/common_files/modules
/common_files/static
# you get the idea
/myapps/
/myapps/.git
/myapps/mygreatapp
/myapps/myg
i believe that git submodules can also do what you are looking for. not
sure if that is easier/harder then symlinks.
On Wednesday, September 25, 2013 3:59:18 AM UTC-7, Marin Pranjić wrote:
>
> Yes gitignore is the answer but I have been burned once trying to git
> reset so I lost my app repo.
>
1. I am not sure about windows
2. I am not sure about modules because I don't use them in my apps (not for
now)
I will check
Marin
On Wed, Sep 25, 2013 at 2:03 PM, Loïc wrote:
> Hi Marin
>
> I tried what you suggested : use a symlink inside /applications folder
> But I get an error on my modu
Hi Marin
I tried what you suggested : use a symlink inside /applications folder
But I get an error on my modules.
I'm unsing mklink command on Win7, and my app works fine when located
inside /applications folder without symlink...
Do you have an idea?
Ticket ID
127.0.0.1.2013-09-25.13-53-37.
Yes, I use Marin's approach and I've never been in trouble with it.
I just sent a post about web2py_devenv [1]. Maybe it can interest you.
[1] https://github.com/viniciusban/web2py_devenv
On Wed, Sep 25, 2013 at 7:59 AM, Marin Pranjić wrote:
> Yes gitignore is the answer but I have been burned
Yes gitignore is the answer but I have been burned once trying to git reset
so I lost my app repo.
Now I am using symbolic links inside /applications folder and I keep
applications separated.
Marin
On Wed, Sep 25, 2013 at 12:49 PM, António Ramos wrote:
> This in gitignore is the answer right?
>
This in gitignore is the answer right?
applications/*
!applications/welcome
!applications/welcome/*
!applications/examples
!applications/examples/*
!applications/admin
!applications/admin/*
applications/*/databases/*
applications/*/sessions/*
applications/*/errors/*
applications/*/cache/*
applicat
8 matches
Mail list logo