Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropping cabal-doctest #52

Open
tchoutri opened this issue Nov 7, 2021 · 5 comments
Open

Dropping cabal-doctest #52

tchoutri opened this issue Nov 7, 2021 · 5 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@tchoutri
Copy link

tchoutri commented Nov 7, 2021

Hi @cdepillabout ! I would like to start the discussion about dropping cabal-doctest. It is deprecated, was never intended to be a sustainable solution, and poses a risk for downstream projects who depend (transitively or not) on password.

@cdepillabout cdepillabout added enhancement New feature or request help wanted Extra attention is needed labels Nov 8, 2021
@cdepillabout
Copy link
Owner

The problem is that cabal-doctest was the only reliable solution for quite a while!

Now I think cabal-docspec is available, but I haven't actually tried it with any of my repos. Although I'd be happy to switch to cabal-docspec (or really anything else) if someone is willing to put in the time for figuring out how to migrate.

There's a similar issue for another one of my projects: cdepillabout/pretty-simple#82

@tchoutri
Copy link
Author

tchoutri commented Nov 8, 2021

I hear you, I'm not criticising the original decision, our doctest tooling is pretty appalling. The problem with cabal-docspec is that it suffers from the same lack of maintenance will, so it may become a liability. The upside is that it doesn't encroach in the code that is sent to the user, as you can simply get the tarball during CI from GitHub and run it. :)

@tchoutri
Copy link
Author

tchoutri commented Nov 8, 2021

@cdepillabout I've opened #53 :)

@cdepillabout
Copy link
Owner

@tchoutri I was wondering what your personal motivation is for this. Are you trying to cross-compile password?

@tchoutri
Copy link
Author

@cdepillabout Nothing of the sort, I just had a chat with phadej about Cabal 3.6 support and he told me what I say here: He's not proving any maintenance anymore (although someone stepped in but for how long?) and that it was never meant to be a viable solution on the long run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants