blob: d8289bd768adb3d6a4422073c9bfab00bc9512a6 (
plain) (
tree)
|
|
LibrePlanet schedule generator
==============================
Installation
------------
On a Debian based distribution, do::
# aptitude install virtualenv python-setuptools
Install globally
~~~~~~~~~~~~~~~~
::
$ sudo pip install lpschedule-generator
Install locally using virtualenv (Recommended)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Make a separate ``lpschedule-generator`` directory and initialize the
virtual environment in it::
$ mkdir lpschedule-generator
$ cd lpschedule-generator
$ virtualenv .
$ source bin/activate
Install ``lpschedule-generator`` inside this directory using ``pip``::
$ pip install lpschedule-generator
Activating virtual environment
``````````````````````````````
Always activate the virtual environment before using the ``lps_gen``
command::
$ cd path/to/lpschedule-generator
$ source bin/activate
LP schedule
-----------
Usage
~~~~~
::
$ lps_gen -s path/to/lp-sch.jinja2 path/to/lp-sch.md > path/to/program-schedule.html
or::
$ lps_gen --schedule path/to/lp-sch.jinja2 path/to/lp-sch.md > path/to/program-schedule.html
LP schedule markdown structure
``````````````````````````````
Overall structure::
## Day 1
### Timeslot 1
#### Session 1
#### Session 2
...
### Timeslot 2
#### Session 1
#### Session 2
...
## Day 2
### Timeslot 1
#### Session 1
#### Session 2
...
Session structure::
#### Fork and ignore: fighting a GPL violation by coding instead
[Bradley Kuhn][kuhn], [Karen Sandler][sandler]
Room 32-155
Typically, GPL enforcement activity involves copyright infringement
actions which compel license violators to correct errors in their
GPL compliance, defending the policy goals of the GPL: the rights of
developers and users to copy, share, modify and redistribute.
While traditional enforcement is often undeniably necessary for
embedded electronics products, novel approaches to GPL violations
are often possible and even superior for more traditional software
distributions.
Recently, [Software Freedom Conservancy][sfc] engaged in an
enforcement action whereby, rather than fight the violator in court,
we instead provided resources and assistance to a vetted
GPL-compliant fork of a violating codebase.
This talk discusses which scenarios make this remedy optimal and the
lessons learned. The talk includes some licensing and technical
content about vetting the licensing information of codebases.
[kuhn]: https://libreplanet.org/YEAR/path/to/speakers.html#kuhn
[sandler]: https://libreplanet.org/YEAR/path/to/speakers.html#sandler
[sfc]: https://sfconservancy.org/
Sample: https://notabug.org/rsd/lpschedule-generator/raw/master/tests/files/lp-sch.md
Special cases
+++++++++++++
Room TBA
........
When a room for a session is not yet available put ``RoomTBA`` as the
placeholder in the line that usually contains the room number; the
rendered HTML will not have the room number for sessions that have
``RoomTBA``.
Sessions only schedule
......................
It is possible to have a sessions only schedule. To do this, at the
beginning of the markdown document:
- Add a level two heading (``##``) with one or more whitespaces.
- Add a level three heading (``###``) with one or more whitespaces.
Sessions only sample: https://notabug.org/rsd/lpschedule-generator/raw/master/tests/files/lp-sch-sessions-only.md
Source
------
::
$ git clone https://notabug.org/rsd/lpschedule-generator.git
|