Skip to content

Commit

Permalink
updated for v0.1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
nikololiahim committed Jul 1, 2022
1 parent d1065b7 commit 30c70ba
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
## Polystat v0.1.11
## Polystat v0.1.12

In this release `polystat-cli` is published to Maven Central! We have also added a coursier descriptor to the repository so that `polystat-cli` can be installed and managed by [coursier](https://get-coursier.io/)! To install `polystat-cli` with coursier, run the following command:
```
cs install --channel https://raw.githubusercontent.com/polystat/polystat-cli/master/coursier/polystat.json polystat
```
This release introduced the following changes:

After that you should be able to just run `polystat-cli` as follows:
```
$ polystat -v
...
polystat-cli = 0.1.11
...
```

Besides, the analysis procedure is no longer run if the filtering options (i.e. `excludeRules` / `includeRules`) exclude all the analyzers. Instead, a warning message is printed:
```
WARNING: The 'includeRules' key with values "liskov" excludes all the analyzers, so none were run!
```
* `odin` was updated to v0.4.5. This change allows the detection of the Direct State Access defects.
* `py2eo` was updated to v0.0.14.
* `polystat-cli`:
* The generated SARIF output was changed slightly to be viewable with the [VSCode SARIF extension](https://marketplace.visualstudio.com/items?itemName=MS-SarifVSCode.sarif-viewer). (thanks to @br4ch1st0chr0n3)
* The output directories and temporary directories that were specified either on the command line or in the config file are now created automatically if they don't exist.

1 comment on commit 30c70ba

@0pdd
Copy link
Member

@0pdd 0pdd commented on 30c70ba Jul 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't able to retrieve PDD puzzles from the code base and submit them to GitHub. If you think that it's a bug on our side, please submit it to yegor256/0pdd:

set -x && set -e && set -o pipefail && cd /tmp/0pdd20220612-12-q4n2xj/polystat/polystat-cli && pdd -v -f /tmp/20220701-31997-w3yn0q [1]: + set -e + set -o pipefail + cd /tmp/0pdd20220612-12-q4n2xj/polystat/polystat-cli + pdd -v -f /tmp/20220701-31997-w3yn0q My version is 0.20.6 Ruby version is...

Please, copy and paste this stack trace to GitHub:

UserError
set -x && set -e && set -o pipefail && cd /tmp/0pdd20220612-12-q4n2xj/polystat/polystat-cli && pdd -v -f /tmp/20220701-31997-w3yn0q [1]:
+ set -e
+ set -o pipefail
+ cd /tmp/0pdd20220612-12-q4n2xj/polystat/polystat-cli
+ pdd -v -f /tmp/20220701-31997-w3yn0q

My version is 0.20.6
Ruby version is 2.6.0 at x86_64-linux
Reading /tmp/0pdd20220612-12-q4n2xj/polystat/polystat-cli
55 file(s) found, 752 excluded
Reading version.sbt...
Reading .gitignore...
Reading README.md...
Reading sandbox_python/test_imports.py...
Reading sandbox_python/mutualrec.py...
Reading sandbox_python/class_examples.py...
Reading sandbox_python/test.py...
Reading sandbox_python/classes.py...
Reading sandbox_java/Simple.java...
Reading sandbox_java/MutualRec.java...
Reading sandbox_java/Test.java...
Reading project/plugins.sbt...
Reading project/build.properties...
Reading project/Dependencies.scala...
Reading demos/UnjustifiedAssumption.java...
Reading demos/Mutualrec.java...
Reading demos/DirectAccess.java...
Reading demos/LiskovPrinciple.java...
Reading .scalafmt.conf...
Reading .github/workflows/ci.yml...
Reading .github/workflows/clean.yml...
Reading .github/workflows/release.yml...
Reading .polystat.conf...
Reading sandbox/mutual_rec.eo...
Reading sandbox/fartest.eo...
Reading sandbox/test/test.eo...
Reading sandbox/org/eolang/src/deep.eo...
Reading sandbox/test.eo...
Reading sandbox/derived.eo...
Reading LICENSE.md...
Reading CHANGELOG.md...
Reading build.sbt...
Reading src/main/resources/log4j.properties...
Reading src/main/scala/org/polystat/sarif/AggregatedSarifOutput.scala...
Reading src/main/scala/org/polystat/sarif/SarifOutput.scala...
Reading src/main/scala/org/polystat/sarif/Sarif.scala...
Reading src/main/scala/org/polystat/cli/Python.scala...
Reading src/main/scala/org/polystat/cli/Main.scala...
Reading src/main/scala/org/polystat/cli/Far.scala...
Reading src/main/scala/org/polystat/cli/HoconConfig.scala...
Reading src/main/scala/org/polystat/cli/PolystatOpts.scala...
Reading src/main/scala/org/polystat/cli/util/InputUtils.scala...
Reading src/main/scala/org/polystat/cli/util/FileTypes.scala...
Reading src/main/scala/org/polystat/cli/EO.scala...
Reading src/main/scala/org/polystat/cli/PolystatConfig.scala...
Reading src/main/scala/org/polystat/cli/Java.scala...
Reading src/main/scala/org/polystat/cli/EOAnalyzer.scala...
ERROR: src/main/scala/org/polystat/cli/EOAnalyzer.scala; puzzle at line #27; TODO found, but puzzle can't be parsed, most probably because TODO is not followed by a puzzle marker, as this page explains: https://github.com/yegor256/pdd#how-to-format
If you can't understand the cause of this issue or you don't know how to fix it, please submit a GitHub issue, we will try to help you: https://github.com/yegor256/pdd/issues. This tool is still in its beta version and we will appreciate your feedback. Here is where you can find more documentation: https://github.com/yegor256/pdd/blob/master/README.md.
Exit code is 1

/app/objects/git_repo.rb:66:in `rescue in block in xml'
/app/objects/git_repo.rb:63:in `block in xml'
/app/vendor/ruby-2.6.0/lib/ruby/2.6.0/tempfile.rb:295:in `open'
/app/objects/git_repo.rb:62:in `xml'
/app/objects/puzzles.rb:36:in `deploy'
/app/objects/job.rb:38:in `proceed'
/app/objects/job_starred.rb:33:in `proceed'
/app/objects/job_recorded.rb:32:in `proceed'
/app/objects/job_emailed.rb:35:in `proceed'
/app/objects/job_commiterrors.rb:36:in `proceed'
/app/objects/job_detached.rb:48:in `exclusive'
/app/objects/job_detached.rb:36:in `block in proceed'
/app/objects/job_detached.rb:36:in `fork'
/app/objects/job_detached.rb:36:in `proceed'
/app/0pdd.rb:366:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1675:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1675:in `block in compile!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1013:in `block (3 levels) in route!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1032:in `route_eval'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1013:in `block (2 levels) in route!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1061:in `block in process_route'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1059:in `catch'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1059:in `process_route'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1011:in `block in route!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1008:in `each'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1008:in `route!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1129:in `block in dispatch!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `block in invoke'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `catch'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `invoke'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1124:in `dispatch!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:939:in `block in call!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `block in invoke'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `catch'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `invoke'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:939:in `call!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:929:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.1.0/lib/rack/protection/xss_header.rb:18:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.1.0/lib/rack/protection/path_traversal.rb:16:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.1.0/lib/rack/protection/json_csrf.rb:26:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.1.0/lib/rack/protection/frame_options.rb:31:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/logger.rb:17:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/common_logger.rb:38:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:253:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:246:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:216:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1991:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1542:in `block in call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1769:in `synchronize'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1542:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/handler/webrick.rb:95:in `service'
/app/vendor/ruby-2.6.0/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
/app/vendor/ruby-2.6.0/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
/app/vendor/ruby-2.6.0/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'

Please sign in to comment.