Closed M-Zuber closed 8 years ago
Amazing issue :100: You even made a code-of-conduct
branch! What a pro.
:clap: :clap:
FYI The "fork the repo" link goes to the new issue form
It seems that I do not have a way to make that link work, so I am removing it :disappointed:
I'd quite like to do this myself if there are no takers? Being the Christmas period and all. Not sure if this was for complete beginners or those just new to to the forkability project? :D
I gave it a go and there were a couple errors in your write up:
Add report.passes.should.containEql({ message: '.gitignore file' });
should be `Add report.passes.should.containEql({ message: 'Code of Conduct' });
'should include a success badge if >= 90% of the items are successes'
on the last line should be should allow multiple languages to be used for linting - all languages pass
.
PR incoming but feel free to disallow it, I wanted to just get a feel for this project :)
Also need to note that a newcomer cant push to the code-of-conduct branch and actually has to fork this repo, checkout a branch from the code-of-conduct branch and then do their code. :sparkles:
I'll answer in order that you wrote : For me first timers only usually means new to OSS, but in the Christmas spirit and since you where the catalyst for it, have fun.
Thank you for the catch of the errors in the write up. Such is the way of the copy and paste.
I thought the first step being "fork the repo" was good enough, but the matter has been noted for further issues. Would you say it is better to include cli specific instructions or just general description of the fork, pull down, check out branch flow? I also didn't specify what branch to make the PR against..
You know the "fork" part is my bad, I didn't see it for some reason. D: I think what you put was fine.
Just to elaborate on "first timers only" For me, it's both new to the project and "new to OSS". Either is fine with me, just thought'd I'd make it clear that when yourfirstpr tweets its with the open that all sorts of people will come and contribute :)
Yeah, I definitely wouldn't ask someone if they have ever contributed before. The way I see it the first timer status is a matter of a comfort level not PR count :D Thanks again for the contribution and for the work you put into yourfirstpr. Going to sleep now. See ya'll after the weekend
Steps to implement:
git checkout code-of-conduct
to make sure you are on the correct branchmake deps
ornpm install
if you do not have make installednpm test
and watch tests fail'Code of Conduct':/^CODEOFCONDUCT|CODE-OF-CONDUCT|CODE_OF_CONDUCT/i,
to thefiles
object in./lib/lintFiles.js
Some tests will also need to be updated:
path: 'CODEOFCONDUCT'
report.passes.should.containEql({ message: '.gitignore file' });
report.passes.should.have.a.lengthOf(8);
to 9'should warn about tag failures and include a fail badge'
report.passes.should.have.a.lengthOf(7);
to 8'should include a fail badge if < 90% of the items are successes'
report.passes.should.have.a.lengthOf(6);
to 7'should include a success badge if >= 90% of the items are successes'
firstCommitTreeBody
to includepath: 'codeofconduct.md'
report.failures.should.have.a.lengthOf(10);
to 11'should allow multiple languages to be used for linting - fails due to one of the languages'
report.failures.should.have.a.lengthOf(2);
to 3'should include a success badge if >= 90% of the items are successes'
firstCommitTreeBody
to includepath: 'codeofconduct.md'
report.failures.should.have.a.lengthOf(13);
to 14