Giter VIP home page Giter VIP logo

Comments (6)

codingjoe avatar codingjoe commented on September 26, 2024

@aleksihakli thanks I've seen your PR and left a comment. Please split those things as much as possible. That way we can merge them faster.

from django-health-check.

aleksihakli avatar aleksihakli commented on September 26, 2024

@codingjoe Hey Joe. I've split the pull requests into 4 smaller PRs, #64, #65, #66 and #67. The logging change, #64, is necessary for cleaner and more concise logging and error handling in the project and I will contribute another set of changes to improve the existing backends if that change gets accepted.

from django-health-check.

codingjoe avatar codingjoe commented on September 26, 2024

I haven't looked into the logging PR yet, but I will. You can also check out the MajorRefactoring PR. I did make a lot of changes there, but never found the time to split them into smaller chunks and to merge them.
Maybe you find something interesting in there.

What I currently very much dislike this that some methods return Exceptions.... They should be raised, not returned. Similar to how Validators work in Django.

from django-health-check.

aleksihakli avatar aleksihakli commented on September 26, 2024

Hey,

I actually saw at least two return statements which are fixed in the S3BotoStorage patch. I'll take a look at the major refactoring patchset and see if it could be rebased into smaller chunks on top of master too.

I'll be contributing some tests later on for a bit more comprehensive coverage.

EDIT: Return behaviour corrected to Raise in here: https://github.com/KristianOellegaard/django-health-check/pull/67/files

from django-health-check.

codingjoe avatar codingjoe commented on September 26, 2024

@aleksihakli yeah, the smaller the better and tests if possible. That is the biggest issue really. There are no tests :/

from django-health-check.

aleksihakli avatar aleksihakli commented on September 26, 2024

All changes merged in the original proposal, so closed.

from django-health-check.

Related Issues (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.