-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6861c09
commit de6ea71
Showing
6 changed files
with
158 additions
and
32 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,63 @@ | ||
## 為 **MicrosoftGraphBot** 做出貢獻 | ||
如果您有興趣為穩定基準做出貢獻,您的貢獻將分為兩類: | ||
|
||
1. 您想提出一個新功能並實施它 | ||
- 創建有關您的預期功能的問題,我們將討論設計和實現。一旦我們同意該計劃看起來不錯,請繼續執行它。 | ||
|
||
1. 您想為未解決的問題實施功能或錯誤修復 | ||
- 在這裡查看未解決的問題:https://github.com/NTUT-SELab/MicrosoftGraphBot/issues | ||
- 在這裡查看路線圖:https://github.com/NTUT-SELab/MicrosoftGraphBot/projects/2 | ||
- 選擇一個問題或功能,並對此問題或功能發表評論。 | ||
- 如果您需要有關特定問題的更多背景信息,請提出需求,我們將提供更多背景信息。 | ||
|
||
完成功能或錯誤修復後,請向 https://github.com/NTUT-SELab/MicrosoftGraphBot 開啟 **pull request**,針對不同情境 **pull request** 指向的目標 branch 也不同。(備註: 禁止對 master 及 release 分支開啟 **pull request**) | ||
- 增加功能: 請將目標指向 develop 分支 | ||
- 解決Bug: 請將目標指向 hotfix 分支 | ||
- 編輯文檔: 請將目標指向 document 分支 | ||
|
||
如果您不熟悉創建請求請求,請參考以下指南: | ||
- http://stackoverflow.com/questions/14680711/how-to-do-a-github-pull-request | ||
- https://help.github.com/articles/creating-a-pull-request/ | ||
|
||
## Pull Request (PR) | ||
在提出PR之前,請先提出一個問題,然後對該功能進行討論。這樣可以避免提出重複的PR,也可以簡化代碼審查過程。 | ||
|
||
## 開發 **MicrosoftGraphBot** | ||
|
||
1. 安裝 [Dotnet core 3.1 SDK](https://dotnet.microsoft.com/download/dotnet-core/3.1) | ||
- 如果 電腦已經安裝 **Visual studio 2019** 或更新版本,並且安裝 **.NET Core 跨平台開發** 功能可略過該步驟。 | ||
|
||
1. 從 Github clone **MicrosoftGraphBot** 程式碼 | ||
``` | ||
git clone https://github.com/NTUT-SELab/MicrosoftGraphBot/ | ||
cd MicrosoftGraphBot | ||
``` | ||
1. 還原相依性套件 | ||
``` | ||
dotnet restore | ||
``` | ||
1. 如果使用 **Visual studio 2019** 或更新版本可以使用 [Visual Studio IntelliCode](https://visualstudio.microsoft.com/services/intellicode/) 提高開發效率。 | ||
- 配置內容如下: 工具->選項-> **IntelliCode** | ||
![IntelliCode](../Imgs/IntelliCode.png) | ||
## 測試 | ||
任何修改除了文檔都必須在 MicrosoftGraphBotTests 增加測試,以確保一切正常。 | ||
執行測試的方法有兩種: | ||
1. Visual Studio 測試功能 | ||
- 檢視 -> Test Explorer | ||
1. 指令: | ||
``` | ||
dotnet test | ||
``` | ||
## 變更日誌和文檔 | ||
請不要忘記更新變更日誌(ReleaseNote/Changelog.md)並根據需要添加文檔。 | ||
變更日誌內容範例: | ||
``` | ||
- 支援 Outlook API [(#3)](https://github.com/NTUT-SELab/MicrosoftGraphBot/issues/3) [(pr0)](https://github.com/NTUT-SELab/MicrosoftGraphBot/pull/0) | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Release - <version> | ||
|
||
## 新功能: | ||
|
||
## 變更: | ||
|
||
## Bug 修復: | ||
|
||
## 文件: |
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