<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cws-status, branch master</title>
<subtitle>Check the publish status of Google Chrome Web Store extensions from the command line</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/'/>
<entry>
<title>Increase version v0.0.3 -&gt; v0.0.4</title>
<updated>2023-11-10T18:50:05+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-11-10T18:50:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=cbd8d8a1153f09953a0e8bc59ed92d63d0ddc984'/>
<id>cbd8d8a1153f09953a0e8bc59ed92d63d0ddc984</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cws-status: Show error message when regex input does not match items</title>
<updated>2023-11-10T18:46:39+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-11-10T18:46:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=927de7cb45b6004b0c06522bf76e15c1e57c1f31'/>
<id>927de7cb45b6004b0c06522bf76e15c1e57c1f31</id>
<content type='text'>
When no extension items were matched by the input regex, we previously
ran into a runtime error that wasn't obvious. Instead print an error
message explaining what the problem is.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When no extension items were matched by the input regex, we previously
ran into a runtime error that wasn't obvious. Instead print an error
message explaining what the problem is.
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase version v0.0.2 -&gt; v0.0.3</title>
<updated>2023-08-08T18:15:26+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-08-08T18:15:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=665b2b3ae094b1c4efb80ae87d58e2cc0156dba9'/>
<id>665b2b3ae094b1c4efb80ae87d58e2cc0156dba9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cws-status: Fix out of bounds error on `item_statuses`</title>
<updated>2023-08-08T18:07:33+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-08-08T18:07:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=9d57acc86a01bd3875bcc888a7b6e21128944a93'/>
<id>9d57acc86a01bd3875bcc888a7b6e21128944a93</id>
<content type='text'>
In some cases, `item_statuses` can be shorter than
`item_names_versions`. I didn't look into why, just decided to add a
quick fix for the bounds error so the program could keep working again
without crashing. This seems to fix the problem I had, but it may need
to be revisited further down the line.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In some cases, `item_statuses` can be shorter than
`item_names_versions`. I didn't look into why, just decided to add a
quick fix for the bounds error so the program could keep working again
without crashing. This seems to fix the problem I had, but it may need
to be revisited further down the line.
</pre>
</div>
</content>
</entry>
<entry>
<title>cws-status: Investigate out of bounds error</title>
<updated>2023-08-08T18:01:29+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-08-08T18:01:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=71770f3e23f7a3a54ef29b53d8fce9982a8221cf'/>
<id>71770f3e23f7a3a54ef29b53d8fce9982a8221cf</id>
<content type='text'>
Sometimes I was getting the following exception which caused the program
to fail:

    $ cws-status 'AODocs - Universal'
    Traceback (most recent call last):
      File ".../cws-status/cws-status", line 117, in &lt;module&gt;
        matched_extensions.append((name, item_statuses[i]))
    IndexError: list index out of range

Add a couple of print statements to see what's going on.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sometimes I was getting the following exception which caused the program
to fail:

    $ cws-status 'AODocs - Universal'
    Traceback (most recent call last):
      File ".../cws-status/cws-status", line 117, in &lt;module&gt;
        matched_extensions.append((name, item_statuses[i]))
    IndexError: list index out of range

Add a couple of print statements to see what's going on.
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase version v0.0.1 -&gt; v0.0.2</title>
<updated>2023-05-15T19:33:46+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-05-15T19:33:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=e29defb64605062d44fd029a1f524464627d1014'/>
<id>e29defb64605062d44fd029a1f524464627d1014</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cws-status: Add new logged out check</title>
<updated>2023-05-15T19:29:39+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-05-15T19:29:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=0faf1c0cf520c08116786f64cc17defa6acd92f1'/>
<id>0faf1c0cf520c08116786f64cc17defa6acd92f1</id>
<content type='text'>
There's another instance when the user can be logged out and the "Sign
in to continue" string doesn't appear on the page. Also report this as a
logged out error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's another instance when the user can be logged out and the "Sign
in to continue" string doesn't appear on the page. Also report this as a
logged out error.
</pre>
</div>
</content>
</entry>
<entry>
<title>cws-status: Exit with code `EX_USAGE` on argument parse error</title>
<updated>2022-06-25T16:08:41+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-06-25T16:08:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=c175d9dc7e3df6af0905b7b597fae67539ce6c6c'/>
<id>c175d9dc7e3df6af0905b7b597fae67539ce6c6c</id>
<content type='text'>
I tried catching the `argparse.ArgumentError` as described here, but
that didn't seem to work:
https://docs.python.org/3.9/library/argparse.html#exit-on-error

When I wrapped `args = argparser.parse_args()` in a `try` block, it
raised a `SystemExit` exception instead of `argparse.ArgumentError`.

Take inspiration from some of the suggestions in this Stack Overflow
answer:
https://stackoverflow.com/questions/5943249/python-argparse-and-controlling-overriding-the-exit-status-code

Since we just want to change the exit code, call
`argparse.ArgumentParser`'s `error()` method and exit with the error
code we want.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I tried catching the `argparse.ArgumentError` as described here, but
that didn't seem to work:
https://docs.python.org/3.9/library/argparse.html#exit-on-error

When I wrapped `args = argparser.parse_args()` in a `try` block, it
raised a `SystemExit` exception instead of `argparse.ArgumentError`.

Take inspiration from some of the suggestions in this Stack Overflow
answer:
https://stackoverflow.com/questions/5943249/python-argparse-and-controlling-overriding-the-exit-status-code

Since we just want to change the exit code, call
`argparse.ArgumentParser`'s `error()` method and exit with the error
code we want.
</pre>
</div>
</content>
</entry>
<entry>
<title>cws-status: Fix typo in command line help description</title>
<updated>2022-06-25T15:40:15+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-06-25T15:40:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=a9b373cc4798f2095117ed8e38ceb99c21a1a96d'/>
<id>a9b373cc4798f2095117ed8e38ceb99c21a1a96d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cws-status: Align extension name and version in two columns</title>
<updated>2022-06-25T15:19:40+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-06-25T15:16:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=35a5ef5532ada87289b988c4e10ceb43afe3bd02'/>
<id>35a5ef5532ada87289b988c4e10ceb43afe3bd02</id>
<content type='text'>
Rather than output a single tab to separate the extension name and
version, use `ljust` to create two visual columns.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rather than output a single tab to separate the extension name and
version, use `ljust` to create two visual columns.
</pre>
</div>
</content>
</entry>
</feed>
