Skip to content
This repository was archived by the owner on Aug 23, 2020. It is now read-only.

Commit 1ec6dcc

Browse files
author
Gal Rogozinski
committed
Merge branch 'release-v1.5.6'
2 parents 2990518 + 9bb42c5 commit 1ec6dcc

File tree

262 files changed

+1076303
-122399
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+1076303
-122399
lines changed
Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
<!--- Remove text and sections that do not apply -->
1+
---
2+
name: Report a bug in IRI
3+
about: Report a bug
4+
5+
---
26

7+
<!--- Remove text and sections that do not apply -->
38
The issue tracker is only for reporting bugs or submitting feature requests.
49
If you need technical assistance for running a node please consult the #fullnode channel on Discord (https://discord.gg/jrxApWC) or https://forum.helloiota.com/Technology/Help.
510
If you have general questions on IOTA you can go to https://iota.stackexchange.com/, https://helloiota.com/, or browse Discord channels (https://discord.gg/C88Wexg).
611

7-
8-
<!----Format For Reporting Bugs------->
912
### Bug description
1013
A general description of the bug.
1114

@@ -25,25 +28,3 @@ What really happened.
2528

2629
### Errors
2730
Paste any errors that you see.
28-
29-
30-
31-
<!----Format For Feature Requests------->
32-
*Note*
33-
The feature request will probably be integrated faster if you do a pull request for it.
34-
If you want to discuss the feature before you actually write the code you are welcome to do it by first submitting an issue.
35-
36-
### Description
37-
Briefly describe the feature you want.
38-
39-
### Motivation
40-
Explain why this feature is needed.
41-
42-
### Requirements
43-
Create a list of what you want this feature request to fulfill.
44-
45-
### Open Questions (optional)
46-
Anything you want to discuss.
47-
48-
### Am I planning to do it myself with a PR?
49-
Yes/No.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Request a feature for IRI
3+
about: Request a feature
4+
5+
---
6+
7+
*Note*
8+
The feature request will probably be integrated faster if you do a pull request for it.
9+
If you want to discuss the feature before you actually write the code you are welcome to do it by first submitting an issue.
10+
11+
### Description
12+
Briefly describe the feature you want.
13+
14+
### Motivation
15+
Explain why this feature is needed.
16+
17+
### Requirements
18+
Create a list of what you want this feature request to fulfill.
19+
20+
### Open Questions (optional)
21+
Anything you want to discuss.
22+
23+
### Am I planning to do it myself with a PR?
24+
Yes/No.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Regression test
3+
about: Create a regression test for IRI
4+
5+
---
6+
7+
### Description
8+
Briefly describe the regression test.
9+
10+
### Motivation
11+
Describe why the regression test is needed.
12+
13+
### Issues / Scenarios
14+
Describe the issues/scenarios addressed by this test
15+
1. A node that does X and Y crashes.
16+
2. Blowballs are being formed when...
17+
18+
### How to test for this
19+
Provide the steps on creating the actual test.

.gitignore

Lines changed: 90 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,90 @@
1-
/target*
2-
/.classpath
3-
/.project
4-
/.settings
5-
/tomcat.*
6-
/.idea
7-
/bin
8-
/mainnetdb
9-
/mainnet.log
10-
/*.iml
11-
.classpath
12-
.project
13-
*.class
14-
target/*
15-
*.iri
16-
*.jar
17-
src/main/ixi/
18-
dependency-reduced-pom.xml
19-
20-
21-
# Created by https://www.gitignore.io/api/osx,linux,windows
22-
23-
### Linux ###
24-
*~
25-
26-
# temporary files which can be created if a process still has a handle open of a deleted file
27-
.fuse_hidden*
28-
29-
# KDE directory preferences
30-
.directory
31-
32-
# Linux trash folder which might appear on any partition or disk
33-
.Trash-*
34-
35-
# .nfs files are created when an open file is removed but is still being accessed
36-
.nfs*
37-
38-
### OSX ###
39-
*.DS_Store
40-
.AppleDouble
41-
.LSOverride
42-
43-
# Icon must end with two \r
44-
Icon
45-
46-
# Thumbnails
47-
._*
48-
49-
# Files that might appear in the root of a volume
50-
.DocumentRevisions-V100
51-
.fseventsd
52-
.Spotlight-V100
53-
.TemporaryItems
54-
.Trashes
55-
.VolumeIcon.icns
56-
.com.apple.timemachine.donotpresent
57-
58-
# Directories potentially created on remote AFP share
59-
.AppleDB
60-
.AppleDesktop
61-
Network Trash Folder
62-
Temporary Items
63-
.apdisk
64-
65-
### Windows ###
66-
# Windows thumbnail cache files
67-
Thumbs.db
68-
ehthumbs.db
69-
ehthumbs_vista.db
70-
71-
# Folder config file
72-
Desktop.ini
73-
74-
# Recycle Bin used on file shares
75-
$RECYCLE.BIN/
76-
77-
# Windows Installer files
78-
*.cab
79-
*.msi
80-
*.msm
81-
*.msp
82-
83-
# Windows shortcuts
84-
*.lnk
85-
86-
87-
# End of https://www.gitignore.io/api/osx,linux,windows
1+
/target*
2+
/.classpath
3+
/.project
4+
/.settings
5+
/tomcat.*
6+
/.idea
7+
/bin
8+
/mainnetdb
9+
/mainnet.log
10+
/*.iml
11+
.classpath
12+
.project
13+
*.class
14+
target/
15+
mainnet.log/
16+
mainnetdb/
17+
bin/
18+
*.iri
19+
*.jar
20+
src/main/ixi/
21+
dependency-reduced-pom.xml
22+
23+
24+
# Created by https://www.gitignore.io/api/osx,linux,windows
25+
26+
### Linux ###
27+
*~
28+
29+
# temporary files which can be created if a process still has a handle open of a deleted file
30+
.fuse_hidden*
31+
32+
# KDE directory preferences
33+
.directory
34+
35+
# Linux trash folder which might appear on any partition or disk
36+
.Trash-*
37+
38+
# .nfs files are created when an open file is removed but is still being accessed
39+
.nfs*
40+
41+
### OSX ###
42+
*.DS_Store
43+
.AppleDouble
44+
.LSOverride
45+
46+
# Icon must end with two \r
47+
Icon
48+
49+
# Thumbnails
50+
._*
51+
52+
# Files that might appear in the root of a volume
53+
.DocumentRevisions-V100
54+
.fseventsd
55+
.Spotlight-V100
56+
.TemporaryItems
57+
.Trashes
58+
.VolumeIcon.icns
59+
.com.apple.timemachine.donotpresent
60+
61+
# Directories potentially created on remote AFP share
62+
.AppleDB
63+
.AppleDesktop
64+
Network Trash Folder
65+
Temporary Items
66+
.apdisk
67+
68+
### Windows ###
69+
# Windows thumbnail cache files
70+
Thumbs.db
71+
ehthumbs.db
72+
ehthumbs_vista.db
73+
74+
# Folder config file
75+
Desktop.ini
76+
77+
# Recycle Bin used on file shares
78+
$RECYCLE.BIN/
79+
80+
# Windows Installer files
81+
*.cab
82+
*.msi
83+
*.msm
84+
*.msp
85+
86+
# Windows shortcuts
87+
*.lnk
88+
89+
90+
# End of https://www.gitignore.io/api/osx,linux,windows

.travis.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ addons:
1515
apt:
1616
packages:
1717
- jq
18-
- libxml2-utils
1918

2019
matrix:
2120
allow_failures:
@@ -32,8 +31,12 @@ script:
3231
- git merge $TRAVIS_BRANCH
3332
- mvn integration-test -Dlogging-level=INFO
3433
#run jar sanity tests
35-
- VERSION=`echo -e 'setns x=http://maven.apache.org/POM/4.0.0\ncat /x:project/x:version/text()' | xmllint --shell pom.xml | grep -v / | tr -d -`
34+
- VERSION=$(mvn help:evaluate -Dexpression=project.version | grep -E '^[0-9.]+')
3635
- echo $VERSION
36+
#jacoco prep (appends to mvn run)
37+
- JACOCO_V=$(mvn help:evaluate -Dexpression=jacoco.version | grep -E '^[0-9.]+')
38+
- export _JAVA_OPTIONS="$_JAVA_OPTIONS -javaagent:$HOME/.m2/repository/org/jacoco/org.jacoco.agent/$JACOCO_V/org.jacoco.agent-$JACOCO_V-runtime.jar=destfile=$PWD/target/jacoco.exec,output=file,append=true,dumponexit=true"
39+
- echo $_JAVA_OPTIONS
3740
- git clone https://github.com/iotaledger/iri-regression-tests.git
3841
- cd iri-regression-tests
3942
- git checkout -f master
@@ -43,10 +46,12 @@ script:
4346
- cp -rf ../target iri/target
4447
- bash run_all_stable_tests.sh $VERSION
4548
- cd ..
49+
#jacoco append to report
50+
- mvn jacoco:report
4651

4752
after_success:
4853
#codacy-coverage send report. Uses Travis Env variable (CODACY_PROJECT_TOKEN)
49-
- test $TRAVIS_PULL_REQUEST = "false" && test $TRAVIS_JDK_VERSION = "oraclejdk8" && wget -O codacy-coverage-reporter-assembly-latest.jar $(curl https://api.github.com/repos/codacy/codacy-coverage-reporter/releases/latest | jq -r .assets[0].browser_download_url)
54+
- test $TRAVIS_PULL_REQUEST = "false" && test $TRAVIS_JDK_VERSION = "oraclejdk8" && wget -O codacy-coverage-reporter-assembly-latest.jar $(curl https://api.github.com/repos/codacy/codacy-coverage-reporter/releases/latest | jq -r '.assets[0].browser_download_url')
5055
- test $TRAVIS_PULL_REQUEST = "false" && test $TRAVIS_JDK_VERSION = "oraclejdk8" && java -jar codacy-coverage-reporter-assembly-latest.jar report -l Java -r target/site/jacoco/jacoco.xml
5156

5257
deploy:

CONTRIBUTING.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## How to contribute to IRI
22

3+
#### **How should a Pull Request look like**?
4+
Before creating a PR make sure you have read the entire contributing guideline. Ensure the PR description clearly describes the problem and solution by following the template. It is best to discuss your changes in an issue before creating the PR. A PR should address a **specific concern**. If it addresses more than one concern it **should be split**. Small PRs get merged in faster. Very large PRs are difficult to review and test. This makes them less likely to be merged.
5+
36
#### **Did you find a bug?**
47

58
* **Do not open a GitHub issue if the bug is a security vulnerability
@@ -13,8 +16,6 @@
1316

1417
* [New issues](https://github.com/iotaledger/iri/issues/new) should be used for reporting issues. If you already wrote a patch for an issue that you or someone else reported, make sure you link it to the open issue. You can do this by mentioning the issue number in the comment or description on the PR, for example `#123` to link issue "123".
1518

16-
* Ensure the PR description clearly describes the problem and solution. Very large PRs are difficult to review and test. This makes them less likely to be merged. If possible, split the PR into multiple PRs, each addressing a specific concern or scenario. Only make the code changes necessary to address the actual issue.
17-
1819
#### **Do you intend to add a new feature or change an existing one?**
1920

2021
* Suggest your change as a [new issues](https://github.com/iotaledger/iri/issues/new). Use the second part of the issue template, dedicated to new feature requests and delete the first part. If you plan on implementing the change yourself, start writing the code and submit a PR. Note that the fact that the feature is "code ready" doesn't mean it will get merged. It is advisable to gather feedback for the change first. You are encouraged to start and drive a discussion on [Discord](https://discordapp.com/invite/fNGZXvh). The IRI team also monitors the repo and will provide feedback where relevant.
@@ -32,4 +33,4 @@ Thanks! :heart: :heart: :heart:
3233

3334
The contribution guidelines are inspired by the Ruby on Rails contribution guidelines.
3435

35-
IRI Team
36+
IRI Team

DOCKER.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22

33
Run the official iotaledger/iri container, passing the mandatory -p option:
44

5-
```docker run iotaledger/iri:v1.5.5 -p 14265```
5+
```docker run iotaledger/iri:v1.5.6-RELEASE -p 14265```
6+
67

78
This will get your a running IRI with its API listening on port 14265, no neighbours and an empty database. The IRI Docker container by default expects data at /iri/data. Use the `-v` option of the `docker run` command to mount volumes so to have persistent data. You can also pass more command line options to the docker run command and those will be passed to IRI.
89

910
If you want to use a iri.ini file with the docker container, supposing it's stored under /path/to/conf/iri.ini on your docker host, then pass `-v /path/to/conf:/iri/conf` and add -c /iri/conf/iri.ini as docker run arguments. So for example the `docker run` command above would become:
1011

11-
```docker run -v /path/to/conf:/iri/conf -v /path/to/data:/iri/data iotaledger/iri:v1.5.5 -p 14265 -c /iri/conf/iri.ini```
12+
```docker run -v /path/to/conf:/iri/conf -v /path/to/data:/iri/data iotaledger/iri:v1.5.6-RELEASE -p 14265 -c /iri/conf/iri.ini```
1213

1314
Please refer to the IRI documentation for further command line options and iri.ini options.
1415

@@ -61,7 +62,7 @@ ExecStart=/usr/bin/docker run \
6162
-p 14265:14265 \
6263
-p 15600:15600 \
6364
-p 14600:14600/udp \
64-
iotaledger/iri:v1.5.5 \
65+
iotaledger/iri:v1.5.6-RELEASE \
6566
-p 14265 \
6667
--zmq-enabled \
6768
--testnet

0 commit comments

Comments
 (0)