Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
>Often there exist functions which allow you to retrieve the physical
>system path using just a relative uri path.
>'/foo' becomes 'd:\web\foo'
>'../blah' becomes 'd:\web\blah' when you are in /foo, etc.
>Is there such a function in Spyce? I imagine I can parse the
>request.filename cutting off the file, and parsing the possibly
>complicated relative uri path '../../asdf', but I am guessing there is
>already a function for this.
Yes, and no. Here's what I do in the include module:
In your spyce file you could write:
I'm not sure that this needs to be a standard Spyce function, when it's so
simple to do with Python.
All the best,