bug(calendar): --cal and --calendars reject primary and email addresses that the positional calendarId accepts
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 84/100
Research direction
Read the strict lookup in internal/cmd/name_resolution.go and compare it with the positional path at lines 130–137 and the freebusy short-circuit in calendar_util.go. Reproduce with the commands in the issue, then verify that --cal primary and --cal [email protected] work, including together as --cal primary,[email protected].
Written by the indexing model from the issue text.
Description
Summary
gog calendar events primary and gog calendar events [email protected] work, but --cal primary and --cal <address of a calendar not in the calendar list> fail as unrecognized. calendar freebusy --cal accepts both.
Current (v0.47.1)
gog calendar events --cal primary
# unrecognized calendar name(s): primary (exit 2)
gog calendar events --cal [email protected]
# unrecognized calendar name(s): [email protected]
gog calendar events primary # works
- The positional path returns
primaryand any ID containing@unchanged (name_resolution.go#L130-L137). --cal/--calendarsuse the strict lookup, which only knows calendar-list names and IDs (L151-L214).freebusyshort-circuitsprimaryand@before that lookup (calendar_util.go#L117).
Suggested
Apply the same primary/@ short-circuit in the strict lookup, so --cal primary,[email protected] works as it does in freebusy.
Environment
gog v0.47.1 (main at 82e7fd6). Reproduced against a local fake of the Calendar API through GOG_GOOGLE_API_BASE_URL.
- Dominant language
- Go
- Stars
- 8.5k
- Forks
- 721
- Avg merge
- 17h 48m
- Merged PRs (30d)
- 52
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openclaw/gogcli
-
clawsweeper:fix-shape-clear clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P2
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
openclaw/gogcli#1291 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
bug(calendar): multi-calendar events JSON uses the key CalendarID instead of calendarIdPossibly taken @i098 claimed this 1 day ago. Openclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P2
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openclaw/gogcli#1282 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
feat(gmail): make gmail get --format raw text output the exact message, like drafts get --format rawOpenclawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openclaw/gogcli#1276 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Docs commands exit 1 on a 404 instead of not_found (5)Possibly taken @HardMax71 claimed this 2 days ago. Openclawsweeper:linked-pr-open clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster P2
Difficulty 3/5 1-2 days Newbie friendliness 72/100
openclaw/gogcli#1288 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Why does backup default to `steipete/backup-gog.git` rather than requiring a user-owned remote?Openclawsweeper:needs-product-decision clawsweeper:needs-security-review clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:security issue-rating: 🦞 diamond lobster P2
Difficulty 4/5 3-5 days Newbie friendliness 18/100
openclaw/gogcli#1287 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
Similar issues
-
Fix mode unpins a reusable workflow call when the same repository is also used as a step actionOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
github/gh-actions-lock#261 ·
Maintainers usually reply within 1 day
-
bug documentation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
labmonkeys-space/nl6#974 ·
Maintainers usually reply within 1 day
-
model:sonnet phase-2-optimize runtime:claude security size:S
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
FootprintAI/Containarium#3471 ·
Maintainers usually reply within 1 day
-
[BUG] serviceenvupdater filter does not update KUBERNETES_SERVICE_HOST/PORT in init containersPossibly taken @RaphaelFakhri claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openyurtio/openyurt#2845 ·
Maintainers usually reply within 7 days
-
fuzz.yml skips three fuzz targets, and the Action's user input describes only ~/.claudePossibly taken @predictor2718 claimed this today. Opengithub_actions P3 tests
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day