[weewx-development] Re: White listing files with install.py?

2018-09-03 Thread Pat O'Brien
The about.inc.example is a good idea. I could include it and then have them rename it. Or I could use an SLE that does a simple get file contents, and if the file doesn't exist put some text in that SLE variable that says "please create about.inc". Again, trying to keep it simple. Maybe the

[weewx-development] Re: White listing files with install.py?

2018-09-03 Thread Vince Skahan
On Monday, September 3, 2018 at 2:03:16 PM UTC-7, Pat O'Brien wrote: > > Ok thanks. In the skin I've put out, there's an about page which has > dynamic content. I have the user manage that using an about.inc file within > the skins folder that gets included at run time. > > I've advised them to

[weewx-development] Re: White listing files with install.py?

2018-09-03 Thread Pat O'Brien
Ok thanks. In the skin I've put out, there's an about page which has dynamic content. I have the user manage that using an about.inc file within the skins folder that gets included at run time. I've advised them to create this file - because if I include it with install.py, it gets

[weewx-development] Re: White listing files with install.py?

2018-09-03 Thread mwall
On Monday, September 3, 2018 at 4:46:55 PM UTC-4, Pat O'Brien wrote: > > In case I've overlooked something - which is highly possible - is it > possible to install files with install.py - but also "white list" certain > files? Such that "if file exists, do not re-install (overwrite)"? > nope.