Comments (3)
Hi @dankohn,
- Sharing the command line
- Multiple reporters
- Support Rails Best Practices
- Support Brakeman
I understand your questions, right?
- Sharing the command line
I think that sharing the command line is not a simple solution.
We can call saddler report
multiple times.
If we want to run Saddler only once, we can create "merged checkstyle file" before calling saddler report
.
merge-checkstyle (command-a ...) (command-b ...) \
| saddler report ...
This requires merge-checkstyle
command, I don't know this command exists. I search "checkstyle" in rubygems, but I don't find such gem.
- Multiple reporters
Saddler doesn't support multiple reporters yet. The alternative solution is here.
command-a > command-a-result.txt
cat command-a-result.txt | saddler report --reporter x
cat command-a-result.txt | saddler report --reporter y
- Support Rails Best Practices
rails_best_practices
has format option, so we can set a checkstyle formatter.
I find a checkstyle formatter for rails_best_practices.
https://github.com/maroekun/rails_best_practices-formatter
- Support Brakeman
I don't find a checkstyle formatter for brakeman,
https://github.com/presidentbeef/brakeman/blob/master/OPTIONS.md#output-options
So we can use Saddler::Reporter::Github's PullRequestComment.
brakeman -f text \
| saddler report \
--reporter Saddler::Reporter::Github::PullRequestComment
I'll add these to readme document. Thanks!
from ruby-saddler.
Thanks for the response. Since Saddler doesn't support two simultaneous formatters, could you document using the tee
command in bash to send the output to two different Saddler instances? See http://unix.stackexchange.com/questions/28503/how-can-i-send-stdout-to-multiple-commands
from ruby-saddler.
@dankohn
I added FAQ section in readme. #35
And I split this issue to #32, #33.
Thanks for your question! Saddler needs more documents, more blog posts and more plugins. 🐱
I believe Saddler is very useful application 💪
from ruby-saddler.
Related Issues (20)
- Add images HOT 1
- Check inputting format is checkstyle or error HOT 1
- Add logger HOT 1
- Command for generate script
- Teacher/Student labels on "Integrantes" tab should be translated HOT 1
- Example for Rails Best Practices HOT 1
- Example for Brakeman HOT 4
- API rate limit exceeded for 52.0.240.122. HOT 1
- Diff and error exists, but not found error in github HOT 1
- fatal: Not a valid object name (Git::GitExecuteError) on Jenkins HOT 6
- commit_id is not part of the pull request HOT 4
- Post the same comments per push
- vs. reviewdog HOT 1
- Avoid building multi times HOT 2
- should exit 1 if rubocop error raised HOT 1
- Migrate to circleci
- Add example run locally HOT 1
- Notify build status HOT 1
- Send pull request from current branch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruby-saddler.