<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ucs, branch v0.2.0</title>
<subtitle>micro celcatsanitizer: parce que les emplois du temps lisibles, c'est surcôté

</subtitle>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/'/>
<entry>
<title>server: cleanup</title>
<updated>2020-12-30T16:42:01+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-12-30T16:42:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=7d2c0eb7a2e0cfbecbb52b6a337f252433614fa4'/>
<id>7d2c0eb7a2e0cfbecbb52b6a337f252433614fa4</id>
<content type='text'>
Remove the wildcard `open Lwt' and replace it with `open Lwt.Infix'.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the wildcard `open Lwt' and replace it with `open Lwt.Infix'.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ics: print the timezone name in the ICS file</title>
<updated>2020-12-30T16:40:57+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-12-30T16:40:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=3e9d3b3437f2d63a47f9c962ba9187c5ef692328'/>
<id>3e9d3b3437f2d63a47f9c962ba9187c5ef692328</id>
<content type='text'>
Add the correct timezone in generated ICS files.  The timezone is
fetched from /etc/timezone.

Even though this is not standard, if a tool needs it, it should be able
to understand it correctly.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the correct timezone in generated ICS files.  The timezone is
fetched from /etc/timezone.

Even though this is not standard, if a tool needs it, it should be able
to understand it correctly.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ucs: use the version name from dune</title>
<updated>2020-12-30T16:40:39+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-12-30T15:38:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=8dff924f4d598da653794e29fb9929017e161aa3'/>
<id>8dff924f4d598da653794e29fb9929017e161aa3</id>
<content type='text'>
Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ucs: properly remove the unix socket when a signal is received</title>
<updated>2020-12-30T15:36:23+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-12-30T15:36:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=f6ee00c1b33b35f6adcd8c27cc4013636fd202a4'/>
<id>f6ee00c1b33b35f6adcd8c27cc4013636fd202a4</id>
<content type='text'>
When using a unix socket to serve µCS, the file would not be removed
when the server was shut down.  Teach µCS to catch sigints and sigterms,
and call unlink on the socket if it exists.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using a unix socket to serve µCS, the file would not be removed
when the server was shut down.  Teach µCS to catch sigints and sigterms,
and call unlink on the socket if it exists.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>course: remove reference to unused fields in the original JSON feed</title>
<updated>2020-10-03T14:29:37+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-10-03T14:29:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=7a3cd6d029e73a28e1229ac24edb4c5bd87162b9'/>
<id>7a3cd6d029e73a28e1229ac24edb4c5bd87162b9</id>
<content type='text'>
It's cleaner to merge an actual obj with a unit instead of refering to
every field in the JSON feed, and makes the schema more flexible.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's cleaner to merge an actual obj with a unit instead of refering to
every field in the JSON feed, and makes the schema more flexible.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace ocplib-json-typed by json-data-encoding</title>
<updated>2020-10-03T09:14:18+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-10-03T09:14:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=d036a80e83789485235375078f7df972f20286a2'/>
<id>d036a80e83789485235375078f7df972f20286a2</id>
<content type='text'>
ocplib-json-typed was superseeded by json-data-encoding.  This replaces
the former with the latter.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ocplib-json-typed was superseeded by json-data-encoding.  This replaces
the former with the latter.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>µCS v0.1.1</title>
<updated>2020-09-20T10:31:59+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-09-20T10:31:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=45454dcb16567dd5bc58e90fcca41a05013b7ab6'/>
<id>45454dcb16567dd5bc58e90fcca41a05013b7ab6</id>
<content type='text'>
Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ucs: set the time zone to local when starting the server</title>
<updated>2020-09-20T10:25:55+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-09-20T10:25:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=5aa3559f1c3789f1f29816ace7b6ba4c57b1ec6a'/>
<id>5aa3559f1c3789f1f29816ace7b6ba4c57b1ec6a</id>
<content type='text'>
This sets the time zone to local when starting the server to avoid
having timestamps in UTC in the logs.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This sets the time zone to local when starting the server to avoid
having timestamps in UTC in the logs.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>course: use a proper type to iterate over a course description</title>
<updated>2020-09-20T09:59:19+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-09-20T09:59:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=98c4919dc592f45265ee3a8e1784df7127e3ad78'/>
<id>98c4919dc592f45265ee3a8e1784df7127e3ad78</id>
<content type='text'>
Currently, to find a course's summary and location, there is a
pattern matching over a ad-hoc 3-uple of a boolean and two strings.
To make it clear, this badly defined structure is replaced by an
actual ADT, `loc_and_sum', containing 4 cases:

 - `Nothing', when the groups has not been found yet;
 - `Groups', when the groups has been found by `check_groups'.  This
   means that the next line should be the course's location;
 - `Location', when the location has been found.  If there is no new
   line to read, the string is the location, otherwise it's the
   summary, and the next line should be the actual location;
 - `Summary', when the location and summary has been both found.  All
   subsequent lines will be ignored.

A function is also added to convert a `loc_and_sum' to a couple of
string containing the location and the summary.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, to find a course's summary and location, there is a
pattern matching over a ad-hoc 3-uple of a boolean and two strings.
To make it clear, this badly defined structure is replaced by an
actual ADT, `loc_and_sum', containing 4 cases:

 - `Nothing', when the groups has not been found yet;
 - `Groups', when the groups has been found by `check_groups'.  This
   means that the next line should be the course's location;
 - `Location', when the location has been found.  If there is no new
   line to read, the string is the location, otherwise it's the
   summary, and the next line should be the actual location;
 - `Summary', when the location and summary has been both found.  All
   subsequent lines will be ignored.

A function is also added to convert a `loc_and_sum' to a couple of
string containing the location and the summary.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>course: use a match/with instead of a if-chain in `location_and_summary'</title>
<updated>2020-09-19T18:33:40+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-09-19T18:33:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=6fc1084cf13ec0578f7774fd41aee2dd2ace1649'/>
<id>6fc1084cf13ec0578f7774fd41aee2dd2ace1649</id>
<content type='text'>
Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
</feed>
