History log of /DADK/dadk-user/src/parser/ (Results 1 – 7 of 7)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
afbf76c116-Nov-2024 LoGin <longjin@DragonOS.org>

fix: 修正user app config 模版里面的两个默认值 (#85)

f60cc4eb16-Nov-2024 LoGin <longjin@DragonOS.org>

fix: 将`last_modified_time`改为BFS & 修正未判断文件夹更新时间的bug (#84)


/DADK/.github/workflows/docs.yml
/DADK/.github/workflows/rust.yml
/DADK/Cargo.toml
/DADK/README.md
/DADK/dadk-config/src/rootfs/mod.rs
/DADK/dadk-config/src/rootfs/partition.rs
/DADK/dadk-config/src/rootfs/utils/size.rs
/DADK/dadk-config/templates/config/rootfs.toml
/DADK/dadk-config/tests/test_rootfs_config.rs
/DADK/dadk-user/src/executor/mod.rs
/DADK/dadk-user/src/lib.rs
mod.rs
task_log.rs
/DADK/dadk-user/src/utils/file.rs
/DADK/dadk/Cargo.toml
/DADK/dadk/src/actions/mod.rs
/DADK/dadk/src/actions/rootfs/disk_img.rs
/DADK/dadk/src/actions/rootfs/loopdev.rs
/DADK/dadk/src/actions/rootfs/mod.rs
/DADK/dadk/src/actions/rootfs/sysroot.rs
/DADK/dadk/src/console/mod.rs
/DADK/dadk/src/console/rootfs.rs
/DADK/dadk/src/context/mod.rs
/DADK/dadk/src/utils.rs
/DADK/docs/.gitignore
/DADK/docs/.vuepress/config.js
/DADK/docs/README.md
/DADK/docs/dev-guide/README.md
/DADK/docs/package-lock.json
/DADK/docs/package.json
/DADK/docs/user-manual/README.md
/DADK/tests/data/.gitignore
/DADK/tests/data/config/rootfs.toml
/DADK/tests/data/dadk_config_v1/app_all_target_arch_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_normal_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_normal_with_env_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_normal_with_env_fail_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_target_arch_empty_should_fail_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_target_arch_riscv64_only_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_target_arch_x86_64_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_target_arch_x86_64_only_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_target_arch_x86_64_uppercase_0_1_0.dadk
d2ade6ef08-Nov-2024 Jomo <xuzihao@dragonos.org>

feat(dadk-config) (#72)

* 删除rust_target

* 解析用户程序配置文件:dadk-user -> dadk-config

* 添加用户程序配置文件模版

* patch

eaa67f3c27-Oct-2024 LoGin <longjin@DragonOS.org>

feat(dadk): 新的console & dadk-insiders测试目标 (#70)

- 把用户程序编译的功能改到了`dadk user`命令目录下
- 添加了用于开发测试的二进制文件`dadk-insiders`: 使用命令`cargo install --bin dadk-insiders --path ./dadk`即可安装. 开发测试不会跟已有的dadk冲突

Sign

feat(dadk): 新的console & dadk-insiders测试目标 (#70)

- 把用户程序编译的功能改到了`dadk user`命令目录下
- 添加了用于开发测试的二进制文件`dadk-insiders`: 使用命令`cargo install --bin dadk-insiders --path ./dadk`即可安装. 开发测试不会跟已有的dadk冲突

Signed-off-by: longjin <longjin@DragonOS.org>

show more ...

5129c63b27-Oct-2024 Jomo <xuzihao@dragonos.org>

Xuzihao/feat dadk user (#71)

* 命令行参数解析:dadk_user -> dadk

* feat: 解析toml格式的用户程序配置文件

* feat: 添加toml格式的用户程序配置文件模版

* 增加用户程序配置解析的测试方法

* 将dadk-user中测试方法的dadk用户程序配置文件都改为toml格式的


/DADK/crates/test_base/src/dadk_config.rs
/DADK/crates/test_base/src/dadk_user.rs
/DADK/crates/test_base/src/global.rs
/DADK/crates/test_base/src/lib.rs
/DADK/dadk-config/Cargo.toml
/DADK/dadk-config/src/boot/dragonstub.rs
/DADK/dadk-config/src/boot/grub.rs
/DADK/dadk-config/src/boot/hypervisor/hyp_type.rs
/DADK/dadk-config/src/boot/hypervisor/mod.rs
/DADK/dadk-config/src/boot/hypervisor/qemu.rs
/DADK/dadk-config/src/boot/metadata.rs
/DADK/dadk-config/src/boot/mod.rs
/DADK/dadk-config/src/boot/uboot.rs
/DADK/dadk-config/src/lib.rs
/DADK/dadk-config/src/manifest.rs
/DADK/dadk-config/src/rootfs/fstype.rs
/DADK/dadk-config/src/rootfs/mod.rs
/DADK/dadk-config/src/rootfs/utils/mod.rs
/DADK/dadk-config/src/rootfs/utils/size.rs
/DADK/dadk-config/src/utils.rs
/DADK/dadk-config/templates/config/boot.toml
/DADK/dadk-config/templates/config/rootfs.toml
/DADK/dadk-config/templates/dadk-manifest.toml
/DADK/dadk-config/tests/test_boot_config.rs
/DADK/dadk-config/tests/test_dadk_manifest.rs
/DADK/dadk-config/tests/test_rootfs_config.rs
/DADK/dadk-user/src/executor/tests.rs
/DADK/dadk-user/src/lib.rs
config.rs
mod.rs
task.rs
/DADK/dadk-user/src/scheduler/tests.rs
/DADK/dadk-user/templates/config/build_from_source/test_archive.toml
/DADK/dadk-user/templates/config/build_from_source/test_git.toml
/DADK/dadk-user/templates/config/build_from_source/test_local.toml
/DADK/dadk-user/templates/config/install_from_prebuilt/test_archive.toml
/DADK/dadk-user/templates/config/install_from_prebuilt/test_local.toml
/DADK/dadk-user/tests/test_parse_dadk_user_config.rs
/DADK/dadk/src/console.rs
/DADK/dadk/src/lib.rs
/DADK/tests/data/dadk_config_v2/app_all_target_arch_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_normal_with_env_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_normal_with_env_fail_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_target_arch_riscv64_only_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_target_arch_x86_64_only_0_2_0.toml
e2cc487b22-Oct-2024 LoGin <longjin@DragonOS.org>

feat(dadk-config): 在dadk manifest里面添加配置字段,并且增加测试用例 (#67)

* feat(dadk-config): 在dadk manifest里面添加配置字段,并且增加测试用例

增加了字段:
- rootfs_config
- hypervisor_config
- boot_config

自动测试: 增加对dadk manifest

feat(dadk-config): 在dadk manifest里面添加配置字段,并且增加测试用例 (#67)

* feat(dadk-config): 在dadk manifest里面添加配置字段,并且增加测试用例

增加了字段:
- rootfs_config
- hypervisor_config
- boot_config

自动测试: 增加对dadk manifest的模版的完整性校验

---------

Signed-off-by: longjin <longjin@DragonOS.org>

show more ...

73779f3d20-Oct-2024 LoGin <longjin@DragonOS.org>

refactor: 把dadk原有的管理用户程序编译的逻辑移动到dadk-user (#60)

* refactor: 把dadk原有的管理用户程序编译的逻辑移动到dadk-user

同时把`--dragonos-dir`改为了`--sysroot-dir`
---------

Signed-off-by: longjin <longjin@DragonOS.org>


/DADK/.github/codecov.yml
/DADK/.github/dependabot.yml
/DADK/.github/issue-checker.yml
/DADK/.github/workflows/issue_checker.yml
/DADK/.github/workflows/rust.yml
/DADK/.gitignore
/DADK/Cargo.toml
/DADK/LICENSE
/DADK/README.md
/DADK/crates/test_base/Cargo.toml
/DADK/crates/test_base/src/lib.rs
/DADK/dadk-user/Cargo.toml
/DADK/dadk-user/src/console/README.md
/DADK/dadk-user/src/console/clean.rs
/DADK/dadk-user/src/console/elements.rs
/DADK/dadk-user/src/console/interactive.rs
/DADK/dadk-user/src/console/mod.rs
/DADK/dadk-user/src/console/new_config.rs
/DADK/dadk-user/src/context.rs
/DADK/dadk-user/src/executor/README.md
/DADK/dadk-user/src/executor/cache.rs
/DADK/dadk-user/src/executor/mod.rs
/DADK/dadk-user/src/executor/source.rs
/DADK/dadk-user/src/executor/target.rs
/DADK/dadk-user/src/executor/tests.rs
/DADK/dadk-user/src/lib.rs
README.md
mod.rs
task.rs
task_log.rs
tests.rs
/DADK/dadk-user/src/scheduler/README.md
/DADK/dadk-user/src/scheduler/mod.rs
/DADK/dadk-user/src/scheduler/task_deque.rs
/DADK/dadk-user/src/scheduler/tests.rs
/DADK/dadk-user/src/static_resources/mod.rs
/DADK/dadk-user/src/static_resources/targets/rust/x86_64-unknown-dragonos.json
/DADK/dadk-user/src/utils/file.rs
/DADK/dadk-user/src/utils/lazy_init.rs
/DADK/dadk-user/src/utils/mod.rs
/DADK/dadk-user/src/utils/stdio.rs
/DADK/dadk/Cargo.toml
/DADK/dadk/src/console/mod.rs
/DADK/dadk/src/lib.rs
/DADK/dadk/src/main.rs
/DADK/rust-toolchain.toml
/DADK/tests/data/.gitignore
/DADK/tests/data/apps/app_normal/build.sh
/DADK/tests/data/apps/app_normal_with_env/build.sh
/DADK/tests/data/apps/app_normal_with_env_fail/build.sh
/DADK/tests/data/dadk_config_v1/app_all_target_arch_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_normal_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_normal_with_env_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_normal_with_env_fail_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_target_arch_empty_should_fail_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_target_arch_riscv64_only_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_target_arch_x86_64_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_target_arch_x86_64_only_0_1_0.dadk
/DADK/tests/data/dadk_config_v1/app_target_arch_x86_64_uppercase_0_1_0.dadk
/DADK/tests/parser.rs