Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

Commit

Permalink
#15 - exclude resources
Browse files Browse the repository at this point in the history
  • Loading branch information
g4s8 authored Apr 29, 2020
1 parent a2bb0e2 commit 981d962
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .pdd
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
--verbose
--exclude target/**/*
--exclude src/test/resources-binary/**/*
--exclude src/test/resources/**/*
--exclude .idea/**/*
--rule min-words:10
--rule min-estimate:15
Expand Down

1 comment on commit 981d962

@0pdd
Copy link

@0pdd 0pdd commented on 981d962 Apr 29, 2020

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/0pdd20200426-11-dbgaug/artipie/npm-proxy-adapter && pdd -v -f /tmp/20200429-4475-1yqgfn0 [1]: + set -e + set -o pipefail + cd /tmp/0pdd20200426-11-dbgaug/artipie/npm-proxy-adapter + pdd -v -f /tmp/20200429-4475-1yqgfn0 Found 9 lines in...

Please, copy and paste this stack trace to GitHub:

UserError
set -x && set -e && set -o pipefail && cd /tmp/0pdd20200426-11-dbgaug/artipie/npm-proxy-adapter && pdd -v -f /tmp/20200429-4475-1yqgfn0 [1]:
+ set -e
+ set -o pipefail
+ cd /tmp/0pdd20200426-11-dbgaug/artipie/npm-proxy-adapter
+ pdd -v -f /tmp/20200429-4475-1yqgfn0

Found 9 lines in /tmp/0pdd20200426-11-dbgaug/artipie/npm-proxy-adapter/.pdd
My version is 0.20.5
Ruby version is 2.6.0 at x86_64-linux
Reading .
Excluding target/**/*
Excluding src/test/resources-binary/**/*
Excluding src/test/resources/**/*
Excluding .idea/**/*
43 file(s) found, 1039 excluded
Reading .gitignore...
Reading README.md...
Reading .gitattributes...
Reading .rultor.yml...
Reading implementation.md...
Reading pom.xml...
Reading LICENSE.txt...
Reading .github/workflows/git.yaml...
Reading .github/workflows/maven.yml...
Reading src/main/java/com/artipie/npm/proxy/package-info.java...
Reading src/main/java/com/artipie/npm/proxy/http/DownloadAssetSlice.java...
Reading src/main/java/com/artipie/npm/proxy/http/package-info.java...
Reading src/main/java/com/artipie/npm/proxy/http/NpmProxySlice.java...
Reading src/main/java/com/artipie/npm/proxy/http/NpmPath.java...
Reading src/main/java/com/artipie/npm/proxy/http/DownloadPackageSlice.java...
Reading src/main/java/com/artipie/npm/proxy/http/AssetPath.java...
Reading src/main/java/com/artipie/npm/proxy/http/RsNotFound.java...
Reading src/main/java/com/artipie/npm/proxy/http/PackagePath.java...
Reading src/main/java/com/artipie/npm/proxy/model/package-info.java...
Reading src/main/java/com/artipie/npm/proxy/model/NpmAsset.java...
Reading src/main/java/com/artipie/npm/proxy/model/NpmPackage.java...
Reading src/main/java/com/artipie/npm/proxy/NpmProxy.java...
Reading src/main/java/com/artipie/npm/proxy/NpmProxyConfig.java...
Reading src/main/java/com/artipie/npm/proxy/RxNpmProxyStorage.java...
Reading src/main/java/com/artipie/npm/proxy/HttpNpmRemote.java...
Reading src/main/java/com/artipie/npm/proxy/NpmRemote.java...
Reading src/main/java/com/artipie/npm/proxy/NpmProxyStorage.java...
Reading src/main/java/com/artipie/npm/proxy/json/package-info.java...
Reading src/main/java/com/artipie/npm/proxy/json/ClientContent.java...
Reading src/main/java/com/artipie/npm/proxy/json/CachedContent.java...
Reading src/main/java/com/artipie/npm/proxy/json/TransformedContent.java...
Reading src/test/java/com/artipie/npm/proxy/package-info.java...
Reading src/test/java/com/artipie/npm/proxy/http/package-info.java...
Reading src/test/java/com/artipie/npm/proxy/http/AssetPathTest.java...
Reading src/test/java/com/artipie/npm/proxy/http/PackagePathTest.java...
Reading src/test/java/com/artipie/npm/proxy/HttpNpmRemoteTest.java...
Reading src/test/java/com/artipie/npm/proxy/RxNpmProxyStorageTest.java...
Reading src/test/java/com/artipie/npm/proxy/NpmProxyTest.java...
Reading src/test/java/com/artipie/npm/proxy/NpmProxyITCase.java...
Puzzle 1-4b827c53 120/DEV at src/test/java/com/artipie/npm/proxy/NpmProxyITCase.java
Reading src/test/java/com/artipie/npm/proxy/json/package-info.java...
Reading src/test/java/com/artipie/npm/proxy/json/CachedContentTest.java...
Reading src/test/java/com/artipie/npm/proxy/json/ClientContentTest.java...
Reading .pdd...
ERROR: Puzzle src/test/java/com/artipie/npm/proxy/NpmProxyITCase.java:82-83 has an estimate of 120 minutes, which is bigger than 90 minutes
ERROR: 1 errors, see log above
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:358:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1635:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1635:in `block in compile!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:992:in `block (3 levels) in route!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1011:in `route_eval'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:992:in `block (2 levels) in route!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1040:in `block in process_route'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1038:in `catch'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1038:in `process_route'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:990:in `block in route!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:989:in `each'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:989:in `route!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1097:in `block in dispatch!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1076:in `block in invoke'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1076:in `catch'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1076:in `invoke'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1094:in `dispatch!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:924:in `block in call!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1076:in `block in invoke'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1076:in `catch'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1076:in `invoke'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:924:in `call!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:913:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.0.4/lib/rack/protection/xss_header.rb:18:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.0.4/lib/rack/protection/path_traversal.rb:16:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.0.4/lib/rack/protection/json_csrf.rb:26:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.0.4/lib/rack/protection/base.rb:50:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.0.4/lib/rack/protection/base.rb:50:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.0.4/lib/rack/protection/frame_options.rb:31:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.6/lib/rack/logger.rb:15:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.6/lib/rack/common_logger.rb:33:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:231:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:224:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.6/lib/rack/head.rb:12:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.6/lib/rack/method_override.rb:22:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:194:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1957:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1502:in `block in call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1729:in `synchronize'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1502:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.6/lib/rack/handler/webrick.rb:86: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.