matryer / matryer/xbar-plugins

001-zooms-today.5m.sh: doesn't detect errors

Open
#1,701 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

shell
Dominant language
Shell
Stars
2.6k
Forks
1.1k
Avg merge
9d 15h
Merged PRs (30d)
1

Description

fao @sprak3000 -

The bash script assumes that if the `$events` command has no output, that means there's no events.
But it could be that there's an error in running the command, and this error should be shown to the user.

Also, here's a more recent updated version of iCalBuddy: https://github.com/dkaluta/icalBuddy64

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with 001-zooms-today.5m.sh and inspect how the $events command is run and how empty output is handled. Make command errors visible to the user instead of treating them as no events, then run the plugin with both valid and failing command cases to verify the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.