-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add result reporter tool project #704
Conversation
This comment has been minimized.
This comment has been minimized.
25f3792
to
0977749
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Travis tests have failedHey @li-boxuan, Ruby: 2.5.1docker run -v=$(pwd):/app --workdir=/app coala/base coala --ci
TravisBuddy Request Identifier: 00d63f80-269e-11e9-bc23-1df458ae209a |
improve coala workflow, continuous integration workflow or linters workflow. | ||
For example, pulling the coala results from CI could be a way to inform newbies | ||
of the style problems with their PRs. Pushing the unit test results as XML to | ||
the CI (using combination XML files if necessary). It might also provide |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might also provide
should be changed to Providing linters with ...
The applicant is welcomed to propose additional ideas around format topic, to | ||
improve coala workflow, continuous integration workflow or linters workflow. | ||
For example, pulling the coala results from CI could be a way to inform newbies | ||
of the style problems with their PRs. Pushing the unit test results as XML to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please explain, In what way would pushing the unit test results as XML to the CI help?
I mean, Isn't our CI run when someone makes a PR. And whenever CI is run all the unit tests are executed by default and the results can be seen. Sorry if this might sound silly, but I haven't yet come across a case when we had to push the XML's of unit tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://circleci.com/docs/2.0/collect-test-data/ is a good example
I'm getting a lot confused over coding-phase 3. I'm not able to figure out what has to be done in that phase. Please help me in the last phase also. It would a great help to me.
Sorry if these questions seem to be silly, I just want to get more in deep so that I can research more about them in the right direction |
Just a kind reminder: the applicant's proposal does not have to follow the rough schedule I proposed. That's just a very rough and simple schedule.
This has nothing to do with coala. We want to make our work more meaningful in that our upstream linters can use our work. For example, we provide a library that they can easily use to support different output formats.
Same as the answer above.
For example, validation. |
@AkshJain99 I've answered the same question before (see my comment above) |
|
||
- A tool that converts JSON results to JUnit format is implemented, tested, | ||
and documented. | ||
- Test and add doc regarding how to upload coala results into Circle CI and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Candidates need to think about this - can we make it automatic? What change do we need to make to existing CI configs used in coala?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@li-boxuan , what actually you mean by automatic here ?
I mean here we need tool that take coala Json response and convert it into corresponding junit response
is it. so should be done automatically here according to you 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, I am not talking about the format itself.
I mean, how to make the "upload" process itself automatic. I didn't spend too much time investigating, so this question is left for students. For example, (maybe) Circle CI allows uploading a report (with JUnit format) in every continuous integration check. Maybe that requires some configuration in .circleci/config.yml.
EDIT: seems https://circleci.com/docs/2.0/configuration-reference/#store_test_results might be what we need. Then we can make pull requests to all coala repositories which use these CIs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ohh okay will think about it and will mention it in my proposal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To add a bit more, currently there is one problem with using coala in CIs - it is very hard to locate where the error is. We have to look for errors in the massive log. This is one of the motivations why we need to report results to CIs.
|
||
- Provide various linters with a solid set of classes and output formats for | ||
their CLI. | ||
- Handle JSON/xml reports from linters before feeding into linter bears. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Students should investigate coala/coala#5910 a bit.
That might be out of the scope of this project, but it would be good to mention in the proposal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes i was also wondering for the issue might be helpful for us
0977749
to
f19f787
Compare
Travis tests have failedHey @li-boxuan, Ruby: 2.5.1docker run -v=$(pwd):/app --workdir=/app coala/base coala --ci
TravisBuddy Request Identifier: ac59dc00-70c1-11e9-9978-d3cb5d6526c6 |
Closes #555
For short term contributors: we understand that getting your commits well
defined like we require is a hard task and takes some learning. If you
look to help without wanting to contribute long term there's no need
for you to learn this. Just drop us a message and we'll take care of brushing
up your stuff for merge!
Checklist
them.
individually. It is not sufficient to have "fixup commits" on your PR,
our bot will still report the issues for the previous commit.) You will
likely receive a lot of bot comments and build failures if coala does not
pass on every single commit!
After you submit your pull request, DO NOT click the 'Update Branch' button.
When asked for a rebase, consult coala.io/rebase
instead.
Please consider helping us by reviewing other peoples pull requests as well:
cobot mark wip <URL>
to get it outof the review queue.
The more you review, the more your score will grow at coala.io and we will
review your PRs faster!