[FR] explain how to update external libraries that are not managed by Library Manager Registry

Đang mở
#183 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
52/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
c, git
Lĩnh vực
documentation

Hướng nghiên cứu

Xem lại librarymanager/quickstart.rst tại phần Project Dependencies và projectconf/section_env_library.rst. Ghi lại cách cập nhật các mục libdeps trỏ đến các thư viện được quản lý phiên bản bên ngoài Library Manager Registry bằng cách xóa thư mục .pio/libdeps/[your_env]/[your_library_folder] tương ứng, đồng thời xác minh rằng cách diễn đạt khớp với hành vi tự động thêm lại được mô tả.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I created a plain C project for the Atmel AVR platform that depended on libraries which are in git repositories but not in the PlatformIO Library Manager Registry. I added these dependencies using the libdeps entry in platformio.ini .

I could not find the following information in the documentation:

- If a library is available from a version controlled repository, AND
- if the dependency is not available in the PlatformIO Library Manager Registry, AND
- if the depency was specified using the libdeps entry in platformio.ini, 

such library can be updated by deleting the subfolder [your_project_folder]/.pio/libdeps/[your_env]/[your_library_folder]  
of your project. The updated library should be added back automatically after some seconds. 

A good place for that information would be here:
https://github.com/platformio/platformio-docs/blob/develop/librarymanager/quickstart.rst#project-dependencies

and/or here:
https://github.com/platformio/platformio-docs/blob/develop/projectconf/section_env_library.rst

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của platformio/platformio-docs

Tất cả issue của platformio/platformio-docs

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.