<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wajir/src, branch master</title>
<subtitle>Automatically watch Jira issues</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/wajir/'/>
<entry>
<title>option.lisp: Move program version to macro</title>
<updated>2022-05-21T23:58:15+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-05-21T23:58:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/wajir/commit/?id=3b335bb401524a6a1a95270a2b15ad2c46842568'/>
<id>3b335bb401524a6a1a95270a2b15ad2c46842568</id>
<content type='text'>
When I tried building with Homebrew, I got this error:

    $ wajir --version
    error: Failed to find the WRITE-DATE of
    /private/tmp/wajir-20220522-65276-i3kj2/bundle/local-projects/:

             No such file or directory

Try and pre-compile the program version to counter this error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When I tried building with Homebrew, I got this error:

    $ wajir --version
    error: Failed to find the WRITE-DATE of
    /private/tmp/wajir-20220522-65276-i3kj2/bundle/local-projects/:

             No such file or directory

Try and pre-compile the program version to counter this error.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add license (GNU GPLv3+)</title>
<updated>2022-05-21T17:16:52+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-05-21T17:16:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/wajir/commit/?id=f321f0eb4e73463f0ccf1b21341cdd421e0fb1f0'/>
<id>f321f0eb4e73463f0ccf1b21341cdd421e0fb1f0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>main: Clean up Control-c test code</title>
<updated>2022-05-21T16:57:44+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-05-21T16:57:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/wajir/commit/?id=a09331daa1abf52f7c67d7311c330f65da50707a'/>
<id>a09331daa1abf52f7c67d7311c330f65da50707a</id>
<content type='text'>
Re-enable the main run code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Re-enable the main run code.
</pre>
</div>
</content>
</entry>
<entry>
<title>main: Exit on Control-c</title>
<updated>2022-05-21T16:56:58+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-05-21T16:48:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/wajir/commit/?id=165af78b4f7955870d0b3f6dd029768380661be4'/>
<id>165af78b4f7955870d0b3f6dd029768380661be4</id>
<content type='text'>
Use `with-user-abort` to exit on a Control-c SIGINT.

Used the following tutorial for inspiration:
https://stevelosh.com/blog/2021/03/small-common-lisp-cli-programs/#s12-errors

Apparently Control-c should exit with code 130 according to this:
https://tldp.org/LDP/abs/html/exitcodes.html

Followed these Stack Overflow answers to turn off the interactive
debugger in an implementation independent way:
https://stackoverflow.com/questions/3074586/how-to-turn-off-the-debugger-in-sbcl/3074698#3074698
https://stackoverflow.com/questions/69280179/unmatched-close-parenthesis-when-sbcl-debugger-is-turned-off

This still opens the interactive debugger if Control-c is pressed before
`(main)` is called, but I don't know if there's any way to prevent that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use `with-user-abort` to exit on a Control-c SIGINT.

Used the following tutorial for inspiration:
https://stevelosh.com/blog/2021/03/small-common-lisp-cli-programs/#s12-errors

Apparently Control-c should exit with code 130 according to this:
https://tldp.org/LDP/abs/html/exitcodes.html

Followed these Stack Overflow answers to turn off the interactive
debugger in an implementation independent way:
https://stackoverflow.com/questions/3074586/how-to-turn-off-the-debugger-in-sbcl/3074698#3074698
https://stackoverflow.com/questions/69280179/unmatched-close-parenthesis-when-sbcl-debugger-is-turned-off

This still opens the interactive debugger if Control-c is pressed before
`(main)` is called, but I don't know if there's any way to prevent that.
</pre>
</div>
</content>
</entry>
<entry>
<title>main: Re-enable Jira watching code</title>
<updated>2022-05-18T22:59:50+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-05-18T21:52:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/wajir/commit/?id=3307447f4a5c361fc2812244cd20c3bbe9a91bdc'/>
<id>3307447f4a5c361fc2812244cd20c3bbe9a91bdc</id>
<content type='text'>
I had disabled this for testing, and also only operated on the first
issue in the list for the same reason.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I had disabled this for testing, and also only operated on the first
issue in the list for the same reason.
</pre>
</div>
</content>
</entry>
<entry>
<title>main: Add TODO for SIGINT handling</title>
<updated>2022-05-18T21:48:26+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-05-18T21:48:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/wajir/commit/?id=817ec6a76b0670cb6100d8819dc7d6f1f116fc89'/>
<id>817ec6a76b0670cb6100d8819dc7d6f1f116fc89</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Idea for disabling Lisp debugger on error</title>
<updated>2022-05-18T21:42:35+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-05-18T21:42:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/wajir/commit/?id=b801a3009df391e9dd5b8fc318a512e2422c195c'/>
<id>b801a3009df391e9dd5b8fc318a512e2422c195c</id>
<content type='text'>
Found this variable in the UIOP docs. Haven't tested it yet, but this is
an idea to not enter the Lisp interpreter when an unhandled error is
triggered.

I wonder if we can conditionally only enable this in a release build.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Found this variable in the UIOP docs. Haven't tested it yet, but this is
an idea to not enter the Lisp interpreter when an unhandled error is
triggered.

I wonder if we can conditionally only enable this in a release build.
</pre>
</div>
</content>
</entry>
<entry>
<title>main: Run the real program from (main)</title>
<updated>2022-05-18T19:13:30+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-05-18T19:13:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/wajir/commit/?id=79471c9b5c7d5bb07dc808c960ed441c9ed7faaa'/>
<id>79471c9b5c7d5bb07dc808c960ed441c9ed7faaa</id>
<content type='text'>
Remove the config test and actually run the program when (main) is
called.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the config test and actually run the program when (main) is
called.
</pre>
</div>
</content>
</entry>
<entry>
<title>main: Update program description to match actual implementation</title>
<updated>2022-05-18T17:44:18+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-05-18T17:44:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/wajir/commit/?id=552183c8d9c151eee65c518df65c1a2a77beed54'/>
<id>552183c8d9c151eee65c518df65c1a2a77beed54</id>
<content type='text'>
Update our idea sketch to reflect the current implementation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update our idea sketch to reflect the current implementation.
</pre>
</div>
</content>
</entry>
<entry>
<title>option.lisp: Fix `--version` argument</title>
<updated>2022-05-10T18:52:58+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-05-10T18:52:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/wajir/commit/?id=f0af788f710ce7831b42a09f0131eba7642b9210'/>
<id>f0af788f710ce7831b42a09f0131eba7642b9210</id>
<content type='text'>
I had copy-pasted this code from Extreload. Print the actual project's
version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I had copy-pasted this code from Extreload. Print the actual project's
version.
</pre>
</div>
</content>
</entry>
</feed>
