[Feature Request] Propagate OS Errors on Make Directory and more.
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- lua
- Lĩnh vực
- operating-systems
Hướng nghiên cứu
Start by locating the mkdir implementation and the related operating-system request paths. Trace how failures are currently turned into messages, then determine which OS details should be preserved for mkdir and the other requested operations. Done means failures expose useful underlying OS information without losing the existing context.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hello, I am currently using the plenary plugin via the obsidian.nvim plug in, and is a very cool plug in. If I ever get to the point where I am writing my own plugin, I will definitely be using this library to aid in my development.
The request here is to propagate a bit more information when issuing requests to the OS. For example the specific example is invoking the mkdir function. The resulting error message is:
We couldn't mkdir: ...
It would help me during the debugging process to have more specific details associated with the failure. For example:
- Does the path not exist?
- Did the OS reject the path because it is not formatted correctly?
- Did the application not have the required permissions to create the directory?
- etc.
I would imagine this would have to be handled in an OS-specific manner, but would definitely be a huge value add to any error message!!
Thanks for the great library and I hope you consider the request!
- Ngôn ngữ chính
- Lua
- Star
- 3.5k
- Fork
- 340
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nvim-lua/plenary.nvim
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
nvim-lua/plenary.nvim#682 ·
-
uniform usage of `os.getenv`Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
nvim-lua/plenary.nvim#680 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
nvim-lua/plenary.nvim#675 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 28/100
nvim-lua/plenary.nvim#672 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
nvim-lua/plenary.nvim#671 · 1 bình luận ·
Tất cả issue của nvim-lua/plenary.nvim
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Facepunch/garrysmod-issues#7077 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
AstroNvim/astrotheme#184 ·
-
[Minetest] IssueĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
pterodactyl/game-eggs#639 ·