<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cimple/src/ci_queue.c, branch meson</title>
<subtitle>My little CI system (hopefully)</subtitle>
<id>http://git.tensin.name/cimple/atom?h=meson</id>
<link rel='self' href='http://git.tensin.name/cimple/atom?h=meson'/>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/'/>
<updated>2023-05-13T12:24:40Z</updated>
<entry>
<title>ci_queue -&gt; run_queue</title>
<updated>2023-05-13T12:24:40Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2023-05-13T12:24:36Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/commit/?id=046e353e128372f846c432a90ca9401506d37d5b'/>
<id>urn:sha1:046e353e128372f846c432a90ca9401506d37d5b</id>
<content type='text'>
Also, some minor refactoring.
</content>
</entry>
<entry>
<title>best practices &amp; coding style fixes</title>
<updated>2023-05-13T09:37:46Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2023-05-13T08:58:41Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/commit/?id=cd917f48454875ad6b7fc69455281d72760c44ee'/>
<id>urn:sha1:cd917f48454875ad6b7fc69455281d72760c44ee</id>
<content type='text'>
* I don't really need to declare all variables at the top of the
  function anymore.
* Default-initialize variables more.
* Don't set the output parameter until the object is completely
  constructed.
</content>
</entry>
<entry>
<title>ci_queue: fix a broken getter</title>
<updated>2023-05-13T06:05:28Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2023-05-13T06:05:22Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/commit/?id=bd1dee9199a39dc2fb0b04949fb66742dfcb580e'/>
<id>urn:sha1:bd1dee9199a39dc2fb0b04949fb66742dfcb580e</id>
<content type='text'>
Everything was broken starting from the "making struct ci_queue_entry
opaque" commit. Damn, I really wish I'd have some kind of automated
testing to catch errors like this...
</content>
</entry>
<entry>
<title>ci_queue: rename a couple of functions</title>
<updated>2023-05-12T20:21:08Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2023-05-12T20:21:08Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/commit/?id=514b10fae7245d10112e7221acedf8016f309b6e'/>
<id>urn:sha1:514b10fae7245d10112e7221acedf8016f309b6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>make struct ci_queue_entry opaque</title>
<updated>2023-04-29T14:08:37Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2023-04-29T14:08:37Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/commit/?id=35c0333a09cee6c6f7d72e6c2459110a65d51a3d'/>
<id>urn:sha1:35c0333a09cee6c6f7d72e6c2459110a65d51a3d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add copyright notices</title>
<updated>2022-12-02T15:00:29Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2022-12-02T15:00:29Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/commit/?id=9a0bca49f80f841f0689712b9bc8f5f69ad2b3e5'/>
<id>urn:sha1:9a0bca49f80f841f0689712b9bc8f5f69ad2b3e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>log: refactoring</title>
<updated>2022-09-08T07:04:24Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2022-09-08T07:04:24Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/commit/?id=5e64d1c4b78c908e92a65e03fdc6817ffe59a8a6'/>
<id>urn:sha1:5e64d1c4b78c908e92a65e03fdc6817ffe59a8a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add some more code</title>
<updated>2022-08-26T02:05:02Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2022-08-25T14:58:38Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/commit/?id=532b3ae9b5cd8609237e04db768cc1f750d8631d'/>
<id>urn:sha1:532b3ae9b5cd8609237e04db768cc1f750d8631d</id>
<content type='text'>
This adds a basic "worker" program.

You can now do something like

    ./server &amp;
    ./worker &amp;
    ./client ci_run URL REV

and the server should pass a message to worker, after which it should
clone the repository at URL, checkout REV, and try to run the CI script.

It's extremely unfinished: I need to sort out the graceful shutdown, how
the server manages workers, etc.
</content>
</entry>
</feed>
