-
Notifications
You must be signed in to change notification settings - Fork 219
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
0 parents
commit 1830e8e
Showing
205 changed files
with
16,164 additions
and
0 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,96 @@ | ||
version: 2 | ||
|
||
defaults: | ||
rust_image: &rust_image quay.io/tarilabs/rust_tari-build-zmq:nightly-2019-03-08 | ||
|
||
jobs: | ||
test-docs: | ||
docker: | ||
- image: *rust_image | ||
steps: | ||
- checkout | ||
- run: | ||
name: RFC documentation | ||
command: | | ||
# Workaround for bug https://github.com/rust-lang-nursery/mdBook/issues/855 | ||
(test -x /usr/local/cargo/bin/mdbook || cargo install --git "https://github.com/integer32llc/mdBook" --rev "d7c7d910057d22180a8eaffee9e17fa983652b64" mdbook) | ||
cd RFC && mdbook test && mdbook build | ||
- persist_to_workspace: | ||
root: . | ||
paths: book | ||
|
||
deploy-docs: | ||
docker: | ||
- image: quay.io/tarilabs/git-ssh-client:0.2-alpine | ||
steps: | ||
- checkout | ||
- attach_workspace: | ||
at: . | ||
- add_ssh_keys: | ||
fingerprints: | ||
- "a6:a6:e2:be:a3:94:3e:4c:9d:51:25:f6:98:f9:0c:a4" | ||
- run: | ||
name: Deploy docs to gh-pages branch | ||
command: | | ||
DEST_BRANCH=gh-pages | ||
DEST_PATH=book/ | ||
if [[ ! -d $DEST_PATH ]]; then | ||
echo "$DEST_PATH directory not found!" | ||
exit 1 | ||
fi | ||
TMP_DIR=$(mktemp -d /tmp/ghpages_XXXXXX) | ||
echo "Copying book files to temporary location $TMP_DIR" | ||
cp -R $DEST_PATH/* $DEST_PATH/.nojekyll $TMP_DIR | ||
REMOTE=$(git remote get-url origin) | ||
cd $TMP_DIR | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "ci-build" | ||
git init | ||
git checkout -b $DEST_BRANCH | ||
git remote add origin $REMOTE | ||
git add --all . | ||
git commit -m "[skip ci] Update RFC docs" | ||
git push origin $DEST_BRANCH --force | ||
echo "Published." | ||
test-tari: | ||
docker: | ||
- image: *rust_image | ||
steps: | ||
- checkout | ||
- run: | ||
name: Tari source code | ||
command: | | ||
TOOLCHAIN_VERSION=nightly-2019-03-08 | ||
rustup component add --toolchain $TOOLCHAIN_VERSION rustfmt | ||
cargo fmt --all -- --check | ||
cargo test --all | ||
workflows: | ||
version: 2 | ||
workflow: | ||
jobs: | ||
- test-docs: | ||
filters: | ||
branches: | ||
ignore: gh-pages | ||
- test-tari: | ||
filters: | ||
branches: | ||
ignore: gh-pages | ||
- deploy-docs: | ||
requires: | ||
- test-docs | ||
filters: | ||
branches: | ||
only: development | ||
|
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,36 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: "[TITLE]" | ||
labels: 'bug-report' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
- OS & Version: [e.g. iOS 10.2.1] | ||
- Browser & Version [e.g. chrome v71.0.12345] | ||
|
||
**Smartphone (please complete the following information):** | ||
- Device: [e.g. iPhone6] | ||
- OS: [e.g. iOS8.1] | ||
- Browser & Version [e.g. stock browser v0.1.2] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
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,34 @@ | ||
--- | ||
name: Idea proposal | ||
about: Suggest an idea for this project | ||
title: "[TITLE]" | ||
labels: proposal | ||
assignees: '' | ||
|
||
--- | ||
|
||
This proposal is (tick applicable): | ||
|
||
* [ ] A new feature | ||
* [ ] An extension to an existing RFC/proposal <LINK> | ||
* [ ] An alternative approach to an existing RFC or proposal <LINK> | ||
|
||
### Change log | ||
|
||
| Date | Changes | | ||
|:-----|:--------| | ||
| | | | ||
|
||
### Goals | ||
_What problems is this proposal addressing?_ | ||
|
||
### Assumptions | ||
_These proposals seldom live in a vacuum. The proposal might presuppose that some other feature has been implemented, or | ||
that a certain ECC curve is used etc. List those assumptions here._ | ||
|
||
### Abstract | ||
_A short summary of how the solution in this proposal works._ | ||
|
||
## Description | ||
|
||
_Type out the body of the proposal here_ |
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,30 @@ | ||
<!--- Provide a general summary of your changes in the Title above --> | ||
|
||
## Description | ||
<!--- Describe your changes in detail --> | ||
|
||
## Motivation and Context | ||
<!--- Why is this change required? What problem does it solve? --> | ||
<!--- If it fixes an open issue, please link to the issue here. --> | ||
|
||
## How Has This Been Tested? | ||
<!--- Please describe in detail how you tested your changes. --> | ||
<!--- Include details of your testing environment, and the tests you ran to --> | ||
<!--- see how your change affects other areas of the code, etc. --> | ||
|
||
## Types of changes | ||
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> | ||
* [ ] Bug fix (non-breaking change which fixes an issue) | ||
* [ ] New feature (non-breaking change which adds functionality) | ||
* [ ] Breaking change (fix or feature that would cause existing functionality to change) | ||
* [ ] Feature refactor (No new feature or functional changes, but performance or technical debt improvements) | ||
* [ ] New Tests | ||
* [ ] Documentation | ||
|
||
## Checklist: | ||
<!--- Go over all the following points, and put an `x` in all the boxes that apply. --> | ||
* [ ] I'm merging against the `development` branch | ||
* [ ] I ran `cargo-fmt --all` before pushing | ||
* [ ] My change requires a change to the documentation. | ||
* [ ] I have updated the documentation accordingly. | ||
* [ ] I have added tests to cover my changes. |
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,26 @@ | ||
target | ||
.env | ||
|
||
# These are backup files generated by rustfmt | ||
**/*.rs.bk | ||
|
||
# Ignore IDE workspace files | ||
.idea | ||
*.iml | ||
.vs/ | ||
*.userprefs | ||
.vscode/ | ||
*.code-workspace | ||
|
||
# Ignore OS files | ||
.DS_Store | ||
|
||
# Custom formatting files | ||
.rustfmt.toml | ||
.clippy.toml | ||
|
||
# RFC autogenerated documentation | ||
book | ||
|
||
# Ignore Code Coverage Report files | ||
report |
Oops, something went wrong.