-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/cargo/oauth2-5.0.0
- Loading branch information
Showing
37 changed files
with
482 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: pre-task | ||
about: r2cn 测试任务模板 | ||
title: "[libra] " | ||
labels: libra, pre-task | ||
assignees: '' | ||
|
||
--- | ||
|
||
[具体描述] XXX 命令 YYY 参数的具体功能描述 | ||
|
||
[实现方案] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,26 +7,27 @@ assignees: '' | |
|
||
--- | ||
|
||
[标题] 为xxx实现xxx功能 | ||
[任务] | ||
|
||
[任务分值] xx分(根据任务分级自评) | ||
[任务分值] 4 分 | ||
|
||
[背景描述] 描述产品及特性 | ||
[背景描述] | ||
|
||
[需求描述] 目前需要开发的特性 | ||
[需求描述] | ||
|
||
[环境要求] 描述开发环境 | ||
[代码标准] | ||
|
||
[产出标准] xxx | ||
1. 所有 PR 提交必须签署 `Signed-off-by` 和 使用 `GPG` 签名,即提交代码时(使用 `git commit` 命令时)至少使用 `-s -S` 两个参数; | ||
2. 所有 PR 提交必须通过 `GitHub Actions` 自动化测试; | ||
3. PR 提交内容和代码注释均需要使用英文; | ||
|
||
[PR 提交地址] 仓库xxx分支的xxx目录 | ||
[PR 提交地址] 提交到 [mega](https://github.com/web3infra-foundation/mega) 仓库的 `main` 分支 | ||
|
||
[期望完成时间] 202x年xx月xx日 | ||
[开发指导] | ||
|
||
[开发指导] 参考资料等 | ||
[导师及邮箱] 请申请此题目的同学使用邮件联系导师,或加入到 [R2CN Discord](https://discord.gg/WRp4TKv6rh) 后在 `#p-meta` 频道和导师交流。 | ||
|
||
[导师及邮箱] YYY <[email protected]> | ||
1. Quanyi Ma <[email protected]> | ||
2. Tianxing Ye <[email protected]> | ||
|
||
[备注] xxx | ||
|
||
[标签] r2cn | ||
[备注] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,29 @@ | ||
--- | ||
title: The [init] Command | ||
description: | ||
description: Create an empty Libra repository | ||
--- | ||
|
||
# init | ||
|
||
**Create an empty Libra repository** | ||
|
||
### Usage | ||
|
||
libra init | ||
libra init [OPTIONS] | ||
|
||
### Description | ||
|
||
This command creates the necessary directories and files for a new Libra repository. | ||
It also sets up the database and the initial configuration. | ||
By default, the repository is initialized with a .libra directory. | ||
You can initialize a bare repository with the --bare flag, | ||
which sets up the repository without a working directory, containing only Libra data. | ||
|
||
### Options | ||
|
||
- `-h`, `--help` Print help | ||
- `--bare` | ||
Initialize a bare repository. | ||
<Note type="danger" title="Git bare VS Libra bare"> | ||
**Note**:Unlike Git's `--bare`, the Libra init `--bare` initializes a bare repository that contains Libra's own SQLite database. | ||
</Note> | ||
- `-b`, `--initial-branch <INITIAL_BRANCH>` | ||
Override the name of the initial branch | ||
- `-h`, `--help` Print help | ||
- `[directory]` | ||
Initialize the repository with specified directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.