On Dec 3, 10:04 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> > Just add a README.txt in needed empty directories - it can say "This
> > directory is needed, and is distributed empty."  -- DONE!
> > Actually, even if directories are versioned, this is a helpful, useful
> > kind of README to have regardless.
>
> If it were so easy we would have done it already.
>
> There are two problems. Consider the errors folder. README.txt would
> show up in the admin error page.

Then find a way to do it - change so that errors does not show either
README or anything that has the pattern '__.*__';
It will not break backward compatibility - there are always ways to do
this, if you want to.

> Consider the uploads page. How do I
> hgingore everything BUT README.txt?

http://www.selenic.com/mercurial/hgignore.5.html:

I'm not sure how to negate a whole pattern (except for the ugly
sequence of character class things); if you can't find something
better, this should do it:

^[^R][^E][^A][^D][^M][^E]$



>
> Can you suggest a solution that DOES NOT require change the web2py
> source code?
>

No - but you change the code most each day, so this is not a
reasonable constraint anyway (duh!) - all you should worry about is
backward compatibility.
This does can be done to not break any of that.

- Yarko

> Massimo

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to