【建议】通过宏定义 SDK_AUTO_INSTALL_DEPENDENCY 实现依赖自动拉取
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- build-system, tooling
Research direction
Start by tracing how env reads a BSP's .config and rtconfig.h, then inspect the existing pkgs --upgrade --force and pkgs --update entry points. The work is done when an enabled SDK_AUTO_INSTALL_DEPENDENCY option reliably triggers dependency retrieval while preserving current behavior when it is disabled.
Written by the indexing model from the issue text.
Description
提出原因:
目前主仓bsp大部分都将驱动库抽离了出来,但是需要用户手动执行软件包拉取指令(虽然已经给出了提示,编译之前必须先执行软件包更新与拉取动作),但是还是很多用户不看提示
解决方案:
是不是可以考虑加个机制,比如说一个宏定义:SDK_AUTO_INSTALL_DEPEDENCY,由bsp的.config和rtconfig.h定义,env一旦识别到当前bsp使能该选项,则自动开启软件包依赖下载(pkgs --upgrade --force, pkgs --update)
当然后续如果需要扩展其他依赖项功能,都可以基于此去扩展
- Dominant language
- Python
- Stars
- 79
- Forks
- 64
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from RT-Thread/env
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 76/100
-
【建议】能否将env的包全部离线化Open
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
改进 env 的文档Open
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Similar issues
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
juandresrodca/AdminForge#66 ·
Maintainers usually reply within 1 day
-
backend/local comp/tools P2 tool/terminal type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
NousResearch/hermes-agent#158788 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
public-apis/public-apis#9330 · 1 reaction ·
Maintainers usually reply within 12 days
-
approved author-page correction move-papers
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
acl-org/acl-anthology#11043 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day