Git Product home page Git Product logo

checkee's People

Contributors

kurtwagner avatar

Watchers

 avatar

checkee's Issues

Rogue comments without line numbers being pushed

Currently it should skip comments on lines you didn't change. However there's been a few comments appearing without line numbers associated regarding unchanged lines. I guess it's building up the comment and instead of skipping it's just not assigning a line to it. At time of submitting the comment it's doing it without a line.

Provide option for failing on changed errors

It's common to fail a build when a changed file does not meet the standard but this can make adoption harder and noisy. I propose an option or another command that will exit other than zero if the changed chunks have any errors higher than a given severity (potentially also max number of less severe). e.g,

checkee --fail-on "critical" ...

or maybe

checkee test ...

Cross out old comments when they have tasks or replies instead of deleting

If a comment is no longer relevant it will be deleted. This used to cause dangling tasks and comments when such existed on the comment. Now it seems like the comment will just hang around, which gives the impression it's still relevant. I propose we either cross out (e.g, "Message: name is already declared") and/or label resolved comments as "Resolved" when we try to remove a comment that is no longer relevant

Message needs to escape special characters

If the checkstyle comment contains bitbucket markdown or special characters it's rendered. e.g, in perl you might have

my @something = ("one", "two", "three");

and if @something is referenced in the message it tags the username "something". Preferably we just want the message part to be escaped or markdown ignored as the other parts controlled by checkee utilises the markdown.

this._tryAgainInMilliseconds Called on undefined

I've tried loading checkee on my Jenkins CLI, but it gives me this error:

/usr/local/share/.config/yarn/global/node_modules/checkee/lib/bitbucket/backend.js:34
                    }, this._tryAgainInMilliseconds);
                           ^
TypeError: Cannot read property '_tryAgainInMilliseconds' of undefined
    at Request.request.(anonymous function) [as _callback] (/usr/local/share/.config/yarn/global/node_modules/checkee/lib/bitbucket/backend.js:34:13)
    at Request.self.callback (/usr/local/share/.config/yarn/global/node_modules/request/request.js:186:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/request/request.js:1081:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/request/request.js:1001:12)
    at IncomingMessage.g (events.js:291:16)
    at emitNone (events.js:91:20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.