Git Product home page Git Product logo

Comments (9)

troglobit avatar troglobit commented on June 2, 2024 1

Well, that's your opinion, which you're entitled to. From my point of view this is becoming a bit tiresome, your constant nitpicking on every tiny aspect and never submitting any pull requests or patches of your own. I appreciate bug reports, but you have to also know when to stop requesting favors for free, and try to get a feel for when you're taking things a bit too far. As a maintainer it is not my job to fulfill the requests of everyone filing an issue. If you're a user of editline, then grab a shovel and help out, or fork the project if you're dissatisfied with my maintainership. Thank you.

Coverity Scan is already active for this project, a run will be scheduled before the next upcoming release.

from editline.

troglobit avatar troglobit commented on June 2, 2024

The former yes, the latter no, not needed.

Fixed in ea79fe7.

from editline.

elfring avatar elfring commented on June 2, 2024

…, the latter no, not needed.

Why? - I find this view questionable.

I suggest to avoid ignorance of return values a bit more.
Would you like to detect every error situation as early as possible?

from editline.

troglobit avatar troglobit commented on June 2, 2024

The latter is checked the next time the function is called.

from editline.

elfring avatar elfring commented on June 2, 2024

I find the current error detection and corresponding exception handling still incomplete.
How do you think about to improve static source code analysis also for your software?

from editline.

elfring avatar elfring commented on June 2, 2024

…, your constant nitpicking on every tiny aspect

I dare to point further improvement possibilities out.

and never submitting any pull requests or patches of your own.

This view can be appropriate for your software so far. But the situation is different if you look at my contributions in other information systems.

As a maintainer it is not my job to fulfill the requests of everyone filing an issue.

This view is generally appropriate. - There are more options available to change the affected software.

Coverity Scan is already active for this project, …

I am curious if this analysis tool will point similar open issues out which I mentioned here.

from editline.

troglobit avatar troglobit commented on June 2, 2024

Dude, do you really have to have the last word in everything? I stopped even considering doing more work in the pingfs project because you literally took the fun out of it!

In this particular case, pertaining to this issue, you say " I find this view questionable.", which means you question my judgment. So, let's have a look at that strdup() that's in contention here:

  • it's for saving the i-search string, so that a subsequent search may reuse it
  • the function itself search the history, returning a match or not

Would one want search_hist() to fail for not managing to (conveniently) save the string I just search for? In my opinion, no. The responsibility of the function is to search the history to return any match of a prior readline() entry. If this function is called again it will have no knowledge of any prior search, due to the strdup() having failed. Which, again in my view, is OK since there are no side effects apart from loss of the last search term.

The whole point of the library is to make it easy to read a line, not to barf on every possible error, and that's the design philosophy I am likely maintain for the duration. You may have another approach to things, and that's fine, but in this project I'm the sole maintainer and don't have to explain every single decision.

I encourage your "more options", like forking, patching or whatnot, let a thousand flowers bloom, as they say. Had we not got off on the wrong foot I might have given you access to my Coverity Scan results.

from editline.

rofl0r avatar rofl0r commented on June 2, 2024

it seems it's not very hard to get off on the wrong foot with you . would you consider being more friendly to your users ? 😁

from editline.

troglobit avatar troglobit commented on June 2, 2024

@rofl0r So far, in my "career" on GitHub I've had disagreements on design and error handling with two people, and fruitful collaborations with several others. I'm not sure that could be characterized as being unfriendly, but that is for others to decide, I'm not that vain.

What is interesting to note, though, is that a difference of opinion and decision by a maintainer can be so hard to accept for some as the end of a discussion.

from editline.

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.