GithubHelp home page GithubHelp logo

Comments (33)

lyokha avatar lyokha commented on August 11, 2024 2

@andreasabel I propose to go ahead as Herbert keeps silent. Further steps would be:

  1. Merge #16, #12 (perhaps others, I cannot do this as I don't have permissions in this repository)
  2. I would also consider merging #17 by @dminuoso after fixing a small issue (throw -> throwIO)
  3. Bump upper base constraint to 5 in Cabal file (and those of other packages too if needed)
  4. Build and make sdist and haddocks (I can do this in my branch after pulling from upstream or in a cloned upstream)
  5. Upload built sdist (perhaps, haddocks too) on Hackage (I can do this as I have permission).

from resolv.

lyokha avatar lyokha commented on August 11, 2024 1

I mailed Herbert.

from resolv.

lyokha avatar lyokha commented on August 11, 2024 1

Good news! Herbert will look at this soon, probably, this week.

from resolv.

lyokha avatar lyokha commented on August 11, 2024 1

@andreasabel, yesterday I got maintenance permissions to resolv at Hackage, but I am waiting Herbert as he wanted to have a look at the issues.

from resolv.

lyokha avatar lyokha commented on August 11, 2024 1

@ulysses4ever, done, now base >= 4.5 && <5

from resolv.

andreasabel avatar andreasabel commented on August 11, 2024 1

@lyokha : I invited you to this repository with write permission, so you can merge PRs now.
You should now also be able to comment on PRs (after accepting the invitation, of course).

I think it is best to keep the code for resolv here on haskell-hvr which is meant as a collaborative organization by Herbert (where we work together on maintaining packages).

If you make a candidate upload to hackage first and ping me, I can have a look at the candidate before you finally publish.
Usually, haddocks are built on Hackage for the final release, so it is better to not upload them manually there (unless build on Hackage fails).
However, for candidates one has to upload the documentation manually.

from resolv.

lyokha avatar lyokha commented on August 11, 2024 1

Ok, in a 1 or 2 hour when i reach to my laptop, I would also wait #17 with improvements requested, when @dminuoso looks at it

from resolv.

lyokha avatar lyokha commented on August 11, 2024 1

@andreasabel I added you

from resolv.

andreasabel avatar andreasabel commented on August 11, 2024 1

@andreasabel Should I register at Stackage for this?

It is enough to make a PR against https://github.com/commercialhaskell/stackage/ with changes to the build-constraints.yaml file.

from resolv.

lyokha avatar lyokha commented on August 11, 2024 1

This one is good: https://hackage.haskell.org/package/resolv-0.2.0.1/candidate/src/configure: it contains lines with netdb

ac_fn_check_decl "$LINENO" "h_errno" "ac_cv_have_decl_h_errno" "
#include <netdb.h>

" "$ac_c_undeclared_builtin_options" "CFLAGS"

from resolv.

andreasabel avatar andreasabel commented on August 11, 2024 1

I added release instructions:

resolv/DEVELOPER.md

Lines 4 to 7 in 7c26271

Before uploading to hackage, make sure that `configure` script is up to date, by running:
```
autoreconf -i
```

from resolv.

lyokha avatar lyokha commented on August 11, 2024 1

Hurray!

$ ghci
GHCi, version 9.6.1: https://www.haskell.org/ghc/  :? for help
Loaded GHCi configuration from /home/lyokha/.ghci
Prelude> import Network.DNS 
Prelude Network.DNS> :set -XOverloadedStrings 
Prelude Network.DNS> queryA $ Name "www.ayyayagoogle.com"
*** Exception: DnsHostNotFound
Prelude Network.DNS> 

Memory leaks have gone as well.

from resolv.

phadej avatar phadej commented on August 11, 2024

I removed myself from resolv maintainer group: https://hackage.haskell.org/package/resolv/maintainers/

Either ask herbert to add you there, or takeover the package.

from resolv.

andreasabel avatar andreasabel commented on August 11, 2024

I removed myself from resolv maintainer group: hackage.haskell.org/package/resolv/maintainers

Not sure why this was necessary. This needlessly complicates things. Sigh.

Either ask herbert to add you there, or takeover the package.

You could as co-maintainer just have added me. Herbert has gone into hiding. Very funny!

from resolv.

phadej avatar phadej commented on August 11, 2024

You could as co-maintainer just have added me

I was helping Herbert, I didn't ever "took over" the maintainership. I don't want to add more maintainers transitively as I weren't explicitly allowed to do so, and particularly because we do disagree on how stuff should be maintained.

This is easier to me, I feel bad for making things harder, but OTOH I would feel worse by doing something I'm not 100% happy with.

from resolv.

andreasabel avatar andreasabel commented on August 11, 2024

Since no shortcut is possible anymore, I suggest someone with domain knowledge takes over.

Alexey @lyokha, if you are interested in taking over this package, I'd second this.
The process is described here: https://wiki.haskell.org/Taking_over_a_package

from resolv.

lyokha avatar lyokha commented on August 11, 2024

@andreasabel, I do not mind. So, should I make further steps, e.g. mailing to Herbert, or will you do it yourself?

from resolv.

andreasabel avatar andreasabel commented on August 11, 2024

@lyokha wrote:

@andreasabel, I do not mind. So, should I make further steps, e.g. mailing to Herbert, or will you do it yourself?

Thanks, great!
Yes please email Herbert, and follow the steps of the package takeover.

from resolv.

lyokha avatar lyokha commented on August 11, 2024

@andreasabel , news at this moment is short: I sent mails to @hvr January 30 and then, 3 weeks later, February 20, to [email protected]. Nobody responded so far.

from resolv.

ulysses4ever avatar ulysses4ever commented on August 11, 2024

@lyokha could you in the meantime, please, bump base upper bound on the current Hackage release via a revision? That would unstuck some things...

from resolv.

lyokha avatar lyokha commented on August 11, 2024

3a. Update Changelog.md.

from resolv.

andreasabel avatar andreasabel commented on August 11, 2024

@lyokha: Would you add me as another maintainer on hackage so that I could act as co- or fall-back maintainer? That would also enable me to upload candidate releases for testing purposes.
https://hackage.haskell.org/package/resolv/maintainers/

from resolv.

andreasabel avatar andreasabel commented on August 11, 2024

@lyokha : Do you want to take over the stackage maintainership? https://github.com/commercialhaskell/stackage/blob/99c752318f259be25cf13c1d994a50f2f0583829/MAINTAINERS.md#adding-a-package

Since resolv is already part of Stackage, it amounts to putting the following entry under a section with your name and email:
https://github.com/commercialhaskell/stackage/blob/99c752318f259be25cf13c1d994a50f2f0583829/build-constraints.yaml#L5342

You will then be notified on stackage issues around resolv.

from resolv.

lyokha avatar lyokha commented on August 11, 2024

@andreasabel Should I register at Stackage for this?

from resolv.

lyokha avatar lyokha commented on August 11, 2024

@andreasabel it looks that the #17 is not present in the build. See https://hackage.haskell.org/package/resolv-0.2.0.0/reports/1. Probably, we need somehow trigger autoreconf at hackage builder for this.

from resolv.

lyokha avatar lyokha commented on August 11, 2024

@andreasabel , it seems that it is not a Hackage issue, perhaps you forgot to autoreconf -i before making dist and the configure shipped with the package did not test for netdb and h_errno. In the log, line checking for struct __res_state.res_h_errno... yes is absent. Would you re-upload the fix in 0.2.0.1?

from resolv.

andreasabel avatar andreasabel commented on August 11, 2024

Oops, wasn't aware of the autoreconf step. This is easy to blunder (configure isn't version-controlled, and cabal doesn't automatically run autoreconf either).
Candidate: https://hackage.haskell.org/package/resolv-0.2.0.1/candidate

from resolv.

andreasabel avatar andreasabel commented on August 11, 2024

Published: https://hackage.haskell.org/package/resolv-0.2.0.1

from resolv.

andreasabel avatar andreasabel commented on August 11, 2024

it looks that the #17 is not present in the build.

It would be good to have a test that ensures such things. I do cabal test before uploading, this could catch oversights...

from resolv.

andreasabel avatar andreasabel commented on August 11, 2024

I deprecated 0.2.0.0 on hackage to indicate that this is not a good release.

from resolv.

lyokha avatar lyokha commented on August 11, 2024

Oops, wasn't aware of the autoreconf step. This is easy to blunder (configure isn't version-controlled, and cabal doesn't automatically run autoreconf either). Candidate: https://hackage.haskell.org/package/resolv-0.2.0.1/candidate

Yes, I did not keep in mind this as well, just guessed what happened.

from resolv.

lyokha avatar lyokha commented on August 11, 2024

I deprecated 0.2.0.0 on hackage to indicate that this is not a good release.

Strictly speaking, 0.2.0.0 wasn't bad, it just did not provide what it claimed in the changelog.

from resolv.

andreasabel avatar andreasabel commented on August 11, 2024

Congrats, this issue is resolved to full satisfaction!

from resolv.

Related Issues (7)

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.