Comments (5)
Hey 👋
It’s current not possible to output to JSON format, and the current implementation might require a bit of refactoring in order to make the output extensible.
from xcbeautify.
@cpisciotta we're using Bitrise in combination with Danger, so we're still in need of a JSON output. However, we moved away from Xcode Summary, so there's no need for this issue from my perspective anymore. Feel free to close.
from xcbeautify.
Hey @AvdLee! I'm working on some changes (see here: #107) to introduce GitHub Actions support. My draft PR proposes a refactor where there'd be different OutputRendering
types. So, the current implementation would change to a TerminalRenderer
and then I'm adding another one called GitHubActionsRenderer
. This new renderer would support inline feedback around warnings, errors, and messages, but it'd obviously be limited to PRs using GitHub Actions.
For your use case, I think it'd make more sense to build something similar to the JUnitReporter
. However, this is making me question if it'd make sense to consolidate these different reporters and renderers, since it's likely that a consumer only cares about only one of the different options.
Are you using GitHub Actions? If so, I think you might be able to skip the need for JSON reporting altogether and use the renderer that I'm proposing. I have a similar setup and use case.
@AvdLee @pepicrft @thii Thoughts?
from xcbeautify.
@cpisciotta the approach you are suggesting sounds reasonable from y end.
from xcbeautify.
@AvdLee Got it- thanks for the update!
from xcbeautify.
Related Issues (20)
- Upgrade to Swift 5.9 HOT 2
- Replace Public Access Modifiers with Package Access Modifiers
- Replace Renovate with Dependabot
- Treat Warnings as Errors
- Add Code Coverage Check
- Introduce a Configuration File
- Build Against Multiple Swift Versions
- Introduce ParserTests
- Resolve GHA Warnings in Release Workflow
- Add End-to-End Tests
- [New Output] Build Timing Summary HOT 1
- Support showing failing tests only HOT 2
- Exit Early on Empty Lines
- Regex of CompileWarning will be mismatched some other warnings. HOT 1
- Huge memory allocation with a big log file. HOT 2
- Summarize errors and warnings after filtered log output? HOT 1
- Homebrew surfacing a v2.0.0 that isn't on the releases page? HOT 2
- Missing public `OutputType` HOT 5
- feat: option to ignore warnings HOT 1
- Enforce Minimum xcbeautify Version
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 xcbeautify.