uriparser / uriparser

:hocho: Strictly RFC 3986 compliant URI parsing and handling library written in C89; moved from SourceForge to GitHub

Home Page:https://uriparser.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Backport NDEBUG fix to 0.9.3

jdemilledt opened this issue · comments

The NDEBUG issue is breaking for me, as I'm trying to update uriparser on Homebrew, but I do not want to disable tests. Could this be backported to a new tag so I can still work off of releases? If not, when would 0.9.4 be coming?

Hi! Are the test being run during installation with homebrew?

That's cool actually. As well as the wish to keep downstream with zero patches.

I'm still struggling a bit with how to move forward. Would https://github.com/uriparser/uriparser/archive/f870e6c68696a6018702caa5c8a2feba9b0f99fa.tar.gz with the patch be a pain to integrate with homebrew (and be any better to you than 0.9.3 tarball plus a patch files to apply)?

Other options all seem o suck some way:

  • a) roll a full 0.9.4 with all it takes — see #66
  • b) roll 0.9.4 but skip most steps
  • c) just tag 0.9.3.1, no real release, only tarballs generated by GitHub (no make dist upload)

What do you think?

The more I think about it and remember that I went with the patch file approach for Gentoo — see gentoo/gentoo@3d5e8ca — I wonder if you would be very disappointed if I kept the next release waiting for a real bugfix: A fix on your side is 10 minutes I would guess (based on my Gentoo take earlier), a new release on my side is a lot more and all approaches seem suboptimal as well. Also homebrew and Gentoo might be the only two running the test suite during installation. Okay?

Sounds good for now, seems like a lot of work for just a simple test fix, so I'll use the patch for now.

Thanks for your understanding!