Checking for local dirs not robust #320

Closed
opened 2020-12-22 19:54:51 +00:00 by noerw · 0 comments
Member
$ cd src/code.gitea.io/gitea

$ ls -lha gitea
-rwxr-xr-x. 1 norwin norwin 78M 22. Dec 18:35 gitea 

$ tea n --repo gitea/tea -l gitea.com
2020/12/22 20:53:25 stat gitea/tea: not a directory

$ tea n --repo ../tea -l gitea.com # tea tries to parse this as a repo slug..
Error: 404 Not Found
``` $ cd src/code.gitea.io/gitea $ ls -lha gitea -rwxr-xr-x. 1 norwin norwin 78M 22. Dec 18:35 gitea $ tea n --repo gitea/tea -l gitea.com 2020/12/22 20:53:25 stat gitea/tea: not a directory $ tea n --repo ../tea -l gitea.com # tea tries to parse this as a repo slug.. Error: 404 Not Found ```
noerw added this to the v0.7.0 milestone 2020-12-22 19:54:51 +00:00
noerw added the
kind/bug
label 2020-12-22 19:55:33 +00:00
6543 closed this issue 2021-02-28 22:29:27 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 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: gitea/tea#320
No description provided.