Comments (11)
Now, I guess we can close this issue because I have enough information on what can and can not be done at this moment. Thank you @marcelofabri and @diogot for your help!!
from danger-xcode_summary.
result
only contains the message and the location: https://github.com/diogot/danger-xcode_summary/blob/master/lib/xcode_summary/plugin.rb#L21-L22
At this point it's probably easier to change the JSON file in your script, before xcode_summary
is called.
from danger-xcode_summary.
You can set it to an array: https://github.com/diogot/danger-xcode_summary/blob/master/lib/xcode_summary/plugin.rb#L30-L36
from danger-xcode_summary.
Can you provide a sample JSON?
from danger-xcode_summary.
@marcelofabri, sure, Just added that in my issue notes.
from danger-xcode_summary.
@marcelofabri , Just wanted to add more information on this issue. I am trying to ignore any warnings from Pods
directory and I can achieve that by using xcode_summary.ignored_files
but since all the
Pods
warnings are part of compile_warnings
key, I thought it's better to just avoid compile_warnings
but its not working.
from danger-xcode_summary.
If you want to ignore compile warnings from Pods
it's better to use:
# Ignoring warnings from Pods
xcode_summary.ignored_files = 'Pods/**'
from danger-xcode_summary.
Thanks @diogot, how can I use
xcode_summary.ignored_results { |result|
result.message.start_with? 'compile_warnings' # Ignore compile_warnings
to achieve the same.
from danger-xcode_summary.
I think you can't. The text is used to search for message content, not the message type.
from danger-xcode_summary.
@diogot, Is there any way I can use keys
from the xcodebuild.json
mentioned here because I don't want to show any compile_warnings
or ld_warnings
so If I choose xcode_summary.ignored_files
then I am just limited Pods/**
but actually my requirement to avoid any compile_warnings
or ld_warnings
.
from danger-xcode_summary.
thanks for the quick response @marcelofabri, last doubt, can xcode_summary.ignored_files
store comma seperated values?
from danger-xcode_summary.
Related Issues (20)
- Error running 0.3.0 `no implicit conversion of Symbol into Integer` HOT 4
- [Question]: Setting to report compiler errors only? HOT 1
- Wrong example for ignored_files HOT 1
- Custom text on success report HOT 6
- Result comment contains only test summary messages without failed tests HOT 1
- [Question] Examples - Undefined method `start_with` HOT 2
- undefined method `html_link' for nil:NilClass HOT 16
- xcpretty with xcpretty-json-formatter HOT 5
- xcode_summary not reporting some items in
- Add category parameter to DangerXcodeSummary::Result HOT 1
- Inline mode (probably) doesn't work exactly as people expected. HOT 4
- Problem with displaying emojis HOT 1
- Full path to file in message HOT 3
- Links to files don't work for Bitbucket Server properly
- Possible to report build errors/warnings without running tests? HOT 2
- CircleCI Danger failure after update HOT 1
- False errors with testRepetitionMode HOT 2
- Summary file not found HOT 2
- Add more maintainer for this repository
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 danger-xcode_summary.