Bug#775180: analysis

2015-01-30 Thread Daniel Pocock

I had a quick look at what work would be involved to implement this, it
doesn't actually appear to be a big task but it would be helpful to get
some comment from people already familiar with the UDD strategy

If my proposed solution seems reasonable I'll go ahead and code it:


a) make a new class based on feed.rb:
   http://anonscm.debian.org/cgit/collab-qa/udd.git/tree/web/inc/feed.rb
Maybe call it cal.rb
It could use the vpim[1] package to generate VTODO task items
Initially this could be quite simple, without even setting the
priority of each task

b) add the option 'ics' to the render method in Page:
   http://anonscm.debian.org/cgit/collab-qa/udd.git/tree/web/inc/page.rb
 It should use the class from step (a), otherwise working like the
rss option

c) add the option iCalendar (value='ics') to the list of options in the
Format selection HTML:
  
http://anonscm.debian.org/cgit/collab-qa/udd.git/tree/web/templates/dmd.erb#n83

1. http://packages.debian.org/vpim


--
To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54cb8819.6070...@pocock.pro



Bug#775180: analysis

2015-01-30 Thread Christophe Siraut
Hi Daniel,

> If my proposed solution seems reasonable I'll go ahead and code it
> (...) 

It seems perfectly reasonable to me. I just want to mention that while
we started refactoring DMD in order to provide RSS, YAML and JSON, we
did not finish isolating the data from the presentation. In consequence
you might end up with HTML code in calendar tasks, please fix or fill
bugs if it happens. (There should be no HTML in dmd-data.rb nor in
dmd.cgi; data should be parsed in dmd-data.rb only; dmd.cgi should be a
lot simpler)

Thanks,
Christophe


-- 
To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150130152038.ga7...@lap-fhq-264.fedasil.be