Re: state of the templates?
Stuart McGraw <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
On 10/16/2014 04:08 AM, anatoly techtonik wrote: > On Thu, Oct 16, 2014 at 5:56 AM, Stuart McGraw <[email protected]> wrote: >> On 10/09/2014 09:49 PM, Stuart McGraw wrote: >>> I chose to use the "devel" templates distributed with Roundup >>> as the basis of a tracker I am configuring. >>>[...] >>> So I wonder if the devel templates are in the same state they >>> were in version 1.4.10 or earlier? >>> >>> My question is, have the "devel" templates not been kept up to >>> date? (I've noted and fixed some other, what seemed to me to >>> be obvious, problems with them, see for example >>> http://issues.roundup-tracker.org/issue2550855) >> >> Nobody has a comment on this?? > > I have. =) The Mercurial history is invaluable to see what was made > during certain time. For example: > > $ cd share/roundup/templates/devel > $ hg log . > > I see that there are security fixes and more. Yes, I'd forgotten about the Mercurial history for the templates. I'll take a look at that. >> Surely I can't be the first person to choose to use the devel >> templates and run into problems with them? > > Right. I run into problems with templates before and found out that > keeping them all consistent with internal data models that Roundup > has (and especially with changes in those models) is manual process. > There are no selenium tests, e.g. no harness - well, there are some > tests for templates, but I am not sure they cover the whole tracker > thing, no versioning of templates and the aforementioned data model. > >> I went through all the Updating... docs and applied all that did >> not seem to have been applied already (some but not many were already >> in there) and mostly things seem to be working most ok but I keep >> coming across new problems. > > It is a good way to start writing tests, actually. Something like > http://twill.idyll.org/ or alternatives that can go through all essential > demo pages and templates. Twill looks pretty useful. I don't do much web development and have never tried writing tests for web pages before but maybe its time to start. ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho