<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Code on Website</title>
    <link>https://fisik.buckminsterfullerene.net/tags/code/</link>
    <description>Recent content in Code on Website</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language>
    <managingEditor>fisik@buckminsterfullerene.net (fisik_yum)</managingEditor>
    <webMaster>fisik@buckminsterfullerene.net (fisik_yum)</webMaster>
    <copyright>fisik_yum</copyright>
    <lastBuildDate>Thu, 14 May 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://fisik.buckminsterfullerene.net/tags/code/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>AutoDeploy</title>
      <link>https://fisik.buckminsterfullerene.net/blog/autodeploy/</link>
      <pubDate>Thu, 14 May 2026 00:00:00 +0000</pubDate><author>fisik@buckminsterfullerene.net (fisik_yum)</author>
      <guid>https://fisik.buckminsterfullerene.net/blog/autodeploy/</guid>
      <description>Reinventing the wheel Lately, I&amp;rsquo;ve been experimenting with reinventing the wheel. I got tired of running manual builds on the VPS that hosts this website and a few other tools I use, so I decided to write a sort of task runner to teach myself rust along the way.&#xA;The Wheel Apart from the fact that reinventing make is really not a good idea, I have also realized that whatever solution I have conjured up is even worse.</description>
      <content:encoded><![CDATA[<h1 id="reinventing-the-wheel">Reinventing the wheel</h1>
<p>Lately, I&rsquo;ve been experimenting with reinventing the wheel. I got tired of running manual builds on the VPS that hosts this website and a few other tools I use, so I decided to write a sort of task runner to teach myself rust along the way.</p>
<h2 id="the-wheel">The Wheel</h2>
<p>Apart from the fact that reinventing <code>make</code> is really not a good idea, I have also realized that
whatever solution I have conjured up is even worse. The configuration file for
<a href="https://book.buckminsterfullerene.net">bookregator</a> is an awful mish-mash of raw calls using
the rust stdlib and <code>bash -c</code> calls. I have a mind to add spec option to specify a shell to run
some tasks in, but I fear that that will just make everything much messier. I suppose I&rsquo;m the
only person who is realistically going to use this, so I doubt it&rsquo;ll be a problem.</p>
<h2 id="possible-poor-ideas">Possible poor ideas</h2>
<p>I&rsquo;m thinking of writing a &ldquo;hooks&rdquo; system, similar to what you might see in the pacman package manager. Maybe this will evolve into a task-graph based system of deployment, but I do like the
current simplicity of my explicit declaration system. Maybe a cross between the two? That is
an incredibly silly idea.<br>
Since the entire project can be used as a library, I briefly pondered the implementation of a socket API that would allow me to run a client that could log build completions. I&rsquo;d hide
this behind a feature.</p>
<h2 id="footer-or-link-to-the-thing-im-talking-about">Footer; or link to the thing I&rsquo;m talking about</h2>
<ul>
<li><a href="https://github.com/fisik-yum/autodeploy">autodeploy</a></li>
</ul>
]]></content:encoded>
    </item>
  </channel>
</rss>
