From 8b7dc53fac837d7b897438217c59c4c1702f1b4c Mon Sep 17 00:00:00 2001 From: Quanyi Ma Date: Fri, 14 Jan 2022 09:11:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=AC=E4=BB=93=E5=BA=93?= =?UTF-8?q?=E5=88=B0=20README=20=E6=96=87=E4=BB=B6=EF=BC=8C=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=20mdbook2pdf=20=E5=92=8C=20rpmust=20=E4=B8=A4?= =?UTF-8?q?=E4=B8=AA=E9=A1=B9=E7=9B=AE=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Quanyi Ma --- .gitignore | 24 ++++++++++++++++++++++++ README.en.md | 12 ++++++------ README.md | 30 +++++++----------------------- mdbook2pdf/.gitignore | 21 +++++++++++++++++++++ mdbook2pdf/Cargo.toml | 8 ++++++++ mdbook2pdf/src/main.rs | 3 +++ rpmust/.gitignore | 21 +++++++++++++++++++++ rpmust/Cargo.toml | 8 ++++++++ rpmust/src/main.rs | 3 +++ 9 files changed, 101 insertions(+), 29 deletions(-) create mode 100644 .gitignore create mode 100644 mdbook2pdf/.gitignore create mode 100644 mdbook2pdf/Cargo.toml create mode 100644 mdbook2pdf/src/main.rs create mode 100644 rpmust/.gitignore create mode 100644 rpmust/Cargo.toml create mode 100644 rpmust/src/main.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..561a898d --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# Generated by Cargo +# will have compiled files and executables +/target/ + +# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries +# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html +Cargo.lock + +# These are backup files generated by rustfmt +**/*.rs.bk + + +#Added by cargo +# +#already existing elements are commented out + +/target +#**/*.rs.bk + +# IDE +.idea + +# OS +.DS_Store diff --git a/README.en.md b/README.en.md index eaaea52e..826acf82 100644 --- a/README.en.md +++ b/README.en.md @@ -1,7 +1,7 @@ -# opensource-intern +## opensource-intern #### Description -This reposiroty will provide the content of openEuler opensource intern. +This repository stores code related to some cases involved in teaching operating systems in colleges and universities, including: software package formats, open source software supply chain security, operating systems, network programming, network security, network management and other directions. #### Software Architecture Software architecture description @@ -20,10 +20,10 @@ Software architecture description #### Contribution -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request +1. Clone the Fork repository to your account, and use the `git clone` command to clone the Fork repository to your local development environment. +2. `git checkout master` to the `master` branch, then commit. +3. Commit the code in the Fork repository and submit a Pull Request in the repository. +4. Create a new Pull Request and submit it. #### Gitee Feature diff --git a/README.md b/README.md index 388888da..99a48154 100644 --- a/README.md +++ b/README.md @@ -1,33 +1,17 @@ -# opensource-intern +## opensource-intern #### 介绍 -This reposiroty will provide the content of openEuler opensource intern. - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx +本仓库存储了在高校操作系统教学中涉及的一些教学案例相关的代码,包括:软件包格式、开源软件供应链、操作系统、网络编程、网络安全、网络管理等方向。 #### 参与贡献 -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request +1. Fork 本仓库到自己的账户下,使用 `git clone` 命令将 Fork 仓库 Clone 到本地开发环境 +2. `git checkout master` 到 `master` 分支,然后进行提交 +3. 在 Fork 仓库中提交代码,并在仓库中提交一个 Pull Request。 +4. 新建 Pull Request 并提交 -#### 特技 +#### 相关资料 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) diff --git a/mdbook2pdf/.gitignore b/mdbook2pdf/.gitignore new file mode 100644 index 00000000..ae9ea500 --- /dev/null +++ b/mdbook2pdf/.gitignore @@ -0,0 +1,21 @@ +# Generated by Cargo +# will have compiled files and executables +/target/ + +# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries +# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html +Cargo.lock + +# These are backup files generated by rustfmt +**/*.rs.bk + + +#Added by cargo +# +#already existing elements are commented out + +/target +#**/*.rs.bk + +# IDE +.idea diff --git a/mdbook2pdf/Cargo.toml b/mdbook2pdf/Cargo.toml new file mode 100644 index 00000000..a28a9907 --- /dev/null +++ b/mdbook2pdf/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "mdbook2pdf" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/mdbook2pdf/src/main.rs b/mdbook2pdf/src/main.rs new file mode 100644 index 00000000..e7a11a96 --- /dev/null +++ b/mdbook2pdf/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/rpmust/.gitignore b/rpmust/.gitignore new file mode 100644 index 00000000..ae9ea500 --- /dev/null +++ b/rpmust/.gitignore @@ -0,0 +1,21 @@ +# Generated by Cargo +# will have compiled files and executables +/target/ + +# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries +# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html +Cargo.lock + +# These are backup files generated by rustfmt +**/*.rs.bk + + +#Added by cargo +# +#already existing elements are commented out + +/target +#**/*.rs.bk + +# IDE +.idea diff --git a/rpmust/Cargo.toml b/rpmust/Cargo.toml new file mode 100644 index 00000000..fe379936 --- /dev/null +++ b/rpmust/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "rpmust" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/rpmust/src/main.rs b/rpmust/src/main.rs new file mode 100644 index 00000000..e7a11a96 --- /dev/null +++ b/rpmust/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} -- Gitee