From 052f4871085651affbe28507ed14dd25d2a6109d Mon Sep 17 00:00:00 2001 From: Quanyi Ma Date: Mon, 17 Jan 2022 17:20:32 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=8B=B1=E6=96=87?= =?UTF-8?q?=E7=89=88=E7=9A=84=20README=20=E6=96=87=E4=BB=B6=EF=BC=8C?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=20rpm-specs=20=E7=9B=AE=E5=BD=95=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E7=9B=B8=E5=85=B3=20SPEC=20=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Quanyi Ma --- README.en.md | 36 ------------------------------------ rpm-specs/.keep | 0 2 files changed, 36 deletions(-) delete mode 100644 README.en.md create mode 100644 rpm-specs/.keep diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 826acf82..00000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -## opensource-intern - -#### Description -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 - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -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 - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/rpm-specs/.keep b/rpm-specs/.keep new file mode 100644 index 00000000..e69de29b -- Gitee From 0aa2b8a39942d81c066bf6da812023a68d1390d9 Mon Sep 17 00:00:00 2001 From: Quanyi Ma Date: Mon, 17 Jan 2022 17:23:00 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=88=9B=E5=BB=BA=20cargo-sbom=20=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=EF=BC=8C=E7=94=A8=E4=BA=8E=E7=9B=B8=E5=85=B3=E5=AE=9E?= =?UTF-8?q?=E4=B9=A0=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Quanyi Ma --- cargo-sbom/.gitignore | 21 +++++++++++++++++++++ cargo-sbom/Cargo.toml | 8 ++++++++ cargo-sbom/src/main.rs | 3 +++ 3 files changed, 32 insertions(+) create mode 100644 cargo-sbom/.gitignore create mode 100644 cargo-sbom/Cargo.toml create mode 100644 cargo-sbom/src/main.rs diff --git a/cargo-sbom/.gitignore b/cargo-sbom/.gitignore new file mode 100644 index 00000000..ae9ea500 --- /dev/null +++ b/cargo-sbom/.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/cargo-sbom/Cargo.toml b/cargo-sbom/Cargo.toml new file mode 100644 index 00000000..4eab1f99 --- /dev/null +++ b/cargo-sbom/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "cargo-sbom" +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/cargo-sbom/src/main.rs b/cargo-sbom/src/main.rs new file mode 100644 index 00000000..e7a11a96 --- /dev/null +++ b/cargo-sbom/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} -- Gitee