More helpful output if user doesn't exist? #39

Closed
opened 2026-05-18 08:38:07 +00:00 by adina · 1 comment
Owner

If I auto-curate --list-records the inbox of a non-existent user, dtc just returns an empty object, but no indication that there is no such user:

dtc --token b806736e23fd35013b9ab34e9d06928d6c9cd16c auto-curate https://pool.psychoinformatics.de/api/ public --include forgejo-user-lok --list-records | jq 

compare to an empty inbox:

❱ dtc --token b806736e23fd35013b9ab34e9d06928d6c9cd16c auto-curate https://pool.psychoinformatics.de/api/ public --include forgejo-user-loki --list-records | jq 
no records in incoming area forgejo-user-loki, skipping it
{}

It would be nice if it could return a warning that there is no such user.

If I auto-curate --list-records the inbox of a non-existent user, ``dtc`` just returns an empty object, but no indication that there is no such user: ``` dtc --token b806736e23fd35013b9ab34e9d06928d6c9cd16c auto-curate https://pool.psychoinformatics.de/api/ public --include forgejo-user-lok --list-records | jq ``` compare to an empty inbox: ``` ❱ dtc --token b806736e23fd35013b9ab34e9d06928d6c9cd16c auto-curate https://pool.psychoinformatics.de/api/ public --include forgejo-user-loki --list-records | jq no records in incoming area forgejo-user-loki, skipping it {} ``` It would be nice if it could return a warning that there is no such user.
cmo self-assigned this 2026-06-16 08:28:19 +00:00
Owner

Added in PR #42, released in version 0.2.18

Added in PR #42, released in version 0.2.18
cmo closed this issue 2026-06-16 08:36:47 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
orinoco/dump-things-pyclient#39
No description provided.