arrayfire / arrayfire-haskell

Haskell bindings to ArrayFire
http://hackage.haskell.org/package/arrayfire
BSD 3-Clause "New" or "Revised" License
59 stars 5 forks source link

Three major releases in 24 hours. #31

Closed phadej closed 4 years ago

phadej commented 4 years ago

Please, sleep over the releases. No need to spam Hackage.

(edit: only three are in rapid succession, the first one is already two days ago...)

dmjio commented 4 years ago

@phadej the public interface is changing, a major version bump is required to abide by PVP. Surely hackage can handle 3 POST requests.

dmjio commented 4 years ago

@phadej, amazonka uploads 60 packages at a time, I think we're ok here.

phadej commented 4 years ago

Hackage is permanent store, it’s one upload but the version is there forever.

You can only upload a package version once and this cannot be undone, so try to get it right the first time!

You could have made only single major release instead of three. Please rethink your release process taking unique Hackage coat model into account.

On 6 Nov 2019, at 21.25, David Johnson notifications@github.com wrote:

@phadej the public interface is changing, a major version bump is required to abide by PVP. Surely hackage can handle 3 POST requests.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

phadej commented 4 years ago

Amazonka maintainers are not uploading new versions of the same package in short time.

Sent from my iPhone

On 6 Nov 2019, at 21.27, David Johnson notifications@github.com wrote:

@phadej, amazonka uploads 60 packages at a time, I think we're ok here.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

dmjio commented 4 years ago

Thanks for your recommendation.

dmjio commented 4 years ago

@phadej Also, I noticed when I try to upload the documentation standalone that it doesn't work. Hackage will fail to build this package because it doesn't have the third party libraries, so I have to upload the docs manually.

Maybe this is what you're referring to ? I'm trying to upload docs here.

cabal upload -d arrayfire-0.4.0.0-docs.tar.gz --publish

But yes, if there's any way you guys can fix hackage to allow documentation pushes, that would be great. It did work for 0.2.0.0 though. Not sure what's happening now. But how I release packages publicly shouldn't be dictated by hackage's data store. Hackage also has a deprecation option as well for that, if need be.

phadej commented 4 years ago

Try with web interface https://hackage.haskell.org/package/arrayfire-0.4.0.0/maintain/docs, it works but cabal doesn't it's a bug in cabal-install. Please report it then to its issue tracker.

dmjio commented 4 years ago

The granularity of the changes that are batched into a release can be debated, but I'd leave that to the package author's discretion, who should take into account end user's timeline for the needed feature.

dmjio commented 4 years ago

Thanks, will give the web API a go.

phadej commented 4 years ago

I hope that those mentioned end users will donate to Haskell.org which resources are used to host hackage.haskell.org

dmjio commented 4 years ago

image

@phadej So I was able to use the web API to upload documentation, but it doesn't seem to show up on the hackage page. Is there a way I can see any kind of logs as to what the issue might be?

dmjio commented 4 years ago

@phadej was able to get haddocks uploaded thanks to @cocreature. For all further PSA (public service announcements) regarding hackage and its cost model, I think this would be better served as a haskell-cafe message so it can benefit the entire community since it seems everybody is at risk. Going forward let's keep this public issue tracker related to ArrayFire issues only. Thanks!