[documentation] Wrong and breaking info for adding Windows PATH for CLI and pio functionality
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- cli, documentation
Hướng nghiên cứu
Bắt đầu với phần shell-commands tại docs.platformio.org/en/latest/core/installation/shell-commands.html#piocore-install-shell-commands. Kiểm tra lại hướng dẫn Windows PATH theo phạm vi USER so với SYSTEM được báo cáo, thứ tự và các tệp thực thi được liệt kê. Được xem là hoàn tất khi trang cung cấp hướng dẫn chính xác, không gây ảnh hưởng ngoài ý muốn và chỉ xác định những lệnh người dùng cần.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Issue on your documentation page for installing shell commands:
There you say:
You need to edit the system environment variable called Path and append
C:\Users\UserName\.platformio\penv\Scripts\path in the beginning of a list...
The content of that location is:
.\penv\Scripts\
├── __pycache__
│ ├── bottle.cpython-311.pyc
│ └── readelf.cpython-311.pyc
├── Activate.ps1
├── activate
├── activate.bat
├── async-json-rpc-server.exe
├── bottle.exe
├── bottle.py
├── deactivate.bat
├── normalizer.exe
├── pio.exe
├── piodebuggdb.exe
├── pip.exe
├── pip3.11.exe
├── pip3.exe
├── platformio.exe
├── pyserial-miniterm.exe
├── pyserial-ports.exe
├── python.exe
├── pythonw.exe
├── readelf.py
├── tabulate.exe
└── uvicorn.exe
There are 3 serious issues with this PATH:
-
You are adding to Windows
SYSTEMPATH and notUSERPATH, which may break all sort of already installed tools and programs, includingPythoninterpreter. -
You are telling user to put the PATH addition on the top of the path list, (again) overriding all other PATHs.
-
There are only 3 programs needed, so why are you asking user to add entire directory?
That include an outdated Python interpreter, and several unknown executables!?
NOTE:
platformio.exe and pio.exe are the same file.
- Ngôn ngữ chính
- Python
- Star
- 288
- Fork
- 361
- 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 platformio/platformio-docs
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
platformio/platformio-docs#409 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
platformio/platformio-docs#406 ·
-
SOS ENABLED HELMETĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
platformio/platformio-docs#398 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
platformio/platformio-docs#393 · 1 bình luận · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
platformio/platformio-docs#390 ·
Tất cả issue của platformio/platformio-docs
Issue tương tự
-
docs(contributing): the two things that silently block a PRCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởavailable documentation good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 95/100
Nixitov/Riptide-Native#944 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
JTHCode/secretguard#24 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: middleware documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainer thường phản hồi trong vòng 1 ngày