bug(client): [file] is not controlled when globbing #48

Closed
opened 2025-10-29 19:02:33 +00:00 by treadful · 0 comments
Owner

When globbing paths the second (or more?) files appear to be incorrectly identified as uncontrolled.

$ ls -lah /home/treadful/jot/treadful/notes/
total 16K
drwxr-xr-x 2 treadful treadful 4.0K Oct 24 18:38 .
drwxr-xr-x 3 treadful treadful 4.0K Oct 23 21:02 ..
-rw-r--r-- 1 treadful treadful  628 Oct 23 20:59 20251023-walk-dir.md
-rw-r--r-- 1 treadful treadful 1.4K Oct 24 18:38 20251024-google-tv-streamer-screensaver.md
$ cargo run -- upload /home/treadful/jot/treadful/notes/2025102*
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s
warning: the following packages contain code that will be rejected by a future version of Rust: iso8601 v0.3.0, nom v4.2.3
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
     Running `/home/treadful/dev/jot.run/target/debug/jot-client upload /home/treadful/jot/treadful/notes/20251023-walk-dir.md /home/treadful/jot/treadful/notes/20251024-google-tv-streamer-screensaver.md`
Uploading /home/treadful/jot/treadful/notes/20251023-walk-dir.md using key ~6f03ea7
/home/treadful/jot/treadful/notes/20251024-google-tv-streamer-screensaver.md is not controlled
When globbing paths the second (or more?) files appear to be incorrectly identified as uncontrolled. ``` $ ls -lah /home/treadful/jot/treadful/notes/ total 16K drwxr-xr-x 2 treadful treadful 4.0K Oct 24 18:38 . drwxr-xr-x 3 treadful treadful 4.0K Oct 23 21:02 .. -rw-r--r-- 1 treadful treadful 628 Oct 23 20:59 20251023-walk-dir.md -rw-r--r-- 1 treadful treadful 1.4K Oct 24 18:38 20251024-google-tv-streamer-screensaver.md $ cargo run -- upload /home/treadful/jot/treadful/notes/2025102* Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s warning: the following packages contain code that will be rejected by a future version of Rust: iso8601 v0.3.0, nom v4.2.3 note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` Running `/home/treadful/dev/jot.run/target/debug/jot-client upload /home/treadful/jot/treadful/notes/20251023-walk-dir.md /home/treadful/jot/treadful/notes/20251024-google-tv-streamer-screensaver.md` Uploading /home/treadful/jot/treadful/notes/20251023-walk-dir.md using key ~6f03ea7 /home/treadful/jot/treadful/notes/20251024-google-tv-streamer-screensaver.md is not controlled ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
treadful/jot#48
No description provided.