Remove need for .lernid configuration files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Lernid |
Fix Released
|
Medium
|
John S. Gruber | ||
lernid (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Currently, in order to utilize lernid, a .lernid configuration file must be created and submitted for each event. The file currently looks like this:
[Ubuntu Example Week]
homepage = https:/
icalurl = http://
classroom: jono-test
chat: ubuntu-
eventstart: 2009-12-21 12:00:00
eventend: 2009-12-25 15:00:00
I can understand wanting to support configuration files for when lernid is used outside of the Ubuntu classroom, but for the lernid we use in Ubuntu, I think we can change it so that event leaders no longer need to worry about the config file. This is what I propose we do:
1) Patch the version of lernid we include in Ubuntu (by using patches, not modifying the actual code directly) to set the icalurl to the Learning Events calendar (which will be used for all sessions that take place in #ubuntu-classroom), set the classroom to ubuntu-classroom, and set the chat to ubuntu-
2) Actually modify lernid so that it retrieves the event name from the Event field in the description of the calendar, and uses the Event fields instead of needing an eventstart and eventend.
3) We would add a Homepage field to the description field of the calendar that lernid could use to find the Homepage of events.
4) Any session without an Event field listed will get placed under a Dummy event in lernid
5) This would mean that the lernid configuration file would only contain icalurl, classroom, and chat, and all of these would be set (by a patch) in Ubuntu to the correct values. This would eliminate the need for event leaders to create and submit a .lernid configuration file. They would just need to ensure that their sessions are listed on the ical.
Related branches
- John S. Gruber: Pending requested
-
Diff: 2983 lines (+636/-637)50 files modifiedbin/lernid (+7/-9)
debian/changelog (+22/-0)
etc/lernid-classrooms.d/ubuntu-classroom (+1/-1)
lernid.1 (+0/-3)
lernid/Sessions.py (+6/-7)
lernid/lernidconfig.py (+1/-1)
lernid/widgets/Browser.py (+225/-182)
lernid/widgets/Schedule.py (+1/-1)
lernid/widgets/WebChatroom.py (+0/-61)
lernid/widgets/__init__.py (+0/-1)
po/af.po (+8/-8)
po/ar.po (+10/-11)
po/ast.po (+8/-8)
po/ca.po (+9/-9)
po/cs.po (+8/-8)
po/da.po (+8/-8)
po/de.po (+11/-11)
po/el.po (+9/-9)
po/en_AU.po (+10/-10)
po/en_CA.po (+10/-10)
po/en_GB.po (+12/-11)
po/eo.po (+9/-9)
po/es.po (+13/-13)
po/es_AR.po (+8/-8)
po/eu.po (+9/-9)
po/fi.po (+8/-8)
po/fil.po (+12/-11)
po/fr.po (+12/-12)
po/he.po (+9/-9)
po/hr.po (+9/-9)
po/hu.po (+9/-9)
po/id.po (+8/-8)
po/it.po (+10/-10)
po/jbo.po (+8/-8)
po/ms.po (+10/-10)
po/nb.po (+8/-8)
po/nl.po (+12/-12)
po/oc.po (+9/-9)
po/pl.po (+11/-11)
po/pt.po (+8/-8)
po/pt_BR.po (+10/-10)
po/ro.po (+8/-8)
po/ru.po (+9/-9)
po/sl.po (+10/-10)
po/sv.po (+11/-11)
po/te.po (+8/-8)
po/tr.po (+9/-9)
po/uk.po (+10/-10)
po/zh_CN.po (+12/-11)
setup.py (+1/-1)
Changed in lernid: | |
status: | New → Confirmed |
Changed in lernid: | |
assignee: | nobody → Nathan Handler (nhandler) |
status: | Confirmed → In Progress |
Changed in lernid (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Nathan Handler (nhandler) |
Changed in lernid: | |
status: | In Progress → Confirmed |
Changed in lernid (Ubuntu): | |
status: | In Progress → Confirmed |
Changed in lernid: | |
assignee: | Nathan Handler (nhandler) → nobody |
Changed in lernid (Ubuntu): | |
assignee: | Nathan Handler (nhandler) → nobody |
Changed in lernid: | |
status: | Confirmed → In Progress |
assignee: | nobody → John S. Gruber (jsjgruber) |
Changed in lernid: | |
milestone: | none → 0.8.2 |
Changed in lernid: | |
status: | In Progress → Fix Released |
Michael,
We've talked on IRC a few times about this. It seems that it is definitely possible to eliminate the need for the .lernid configuration files. Could we possibly get this change implemented? Without it, none of the packaging training sessions will work with lernid. It also makes it more difficult to get events added to lernid and make changes to the events if necessary.