cranko icon indicating copy to clipboard operation
cranko copied to clipboard

Manual Pacing, Haskell Support

Open djanatyn opened this issue 4 years ago • 2 comments

I was reading through the manual and came upon this in section 4.1:

NOTE: The goal is for Cranko to recognize all sorts of projects, but currently it only knows Rust/Cargo and NPM! If you’re giving Cranko a first try this is the limitation that is most likely to be a dealbreaker. Please file an issue reporting your needs so we know what to prioritize.

ALSO: There is a further goal that one day you’ll be able to manually configure projects that aren’t discovered in the autodetection phase, but that functionality is also not yet implemented.

I was very surprised to see the limited project support, and even more surprised to see that it appears projects cannot be manually configured? I would have expected this to be mentioned in the introduction. It felt frustrating to be introduced to cranko's feature set, understand how it might solve some problems, and then to realize it's not possible for me to use it.

I'm filing an issue as mentioned in the quote above. I would need discovery for Haskell projects or the ability to manually configure projects to use cranko. If I'm misunderstanding the documentation and it is possible to manually configure projects, please let me know! I stopped reading after hitting this quote.

djanatyn avatar Oct 29 '20 12:10 djanatyn

Thanks for the feedback and following the manual's suggestion! It remains true that language support is limited (I've added Python, but haven't yet written it up in the documentation) and I definitely recognize that this is a big deal. I have to admit that part of the strategy is to pitch the concept in very general terms to encourage interest and hopefully pull in some contributors who are motivated enough to pitch in to broaden the support with languages that I don't personally use, such as Haskell. This is a spare-time project for me so it's simply not possible to try to cover all bases by myself.

Anyway, I do want to be responsive to potential users, and by filing this issue you've moved yourself to the top of the list. I'll have to do some research into Haskell project files and figure out whether I think the shortest path forward would be to work on Haskell-specific discovery or manual project configuration.

pkgw avatar Oct 29 '20 13:10 pkgw

Totally reasonable - I only meant this issue as information about my experience encountering the project! My interest has successfully been encouraged - I appreciate the ideas and will continue reading :)

I'll also take a look to see how project discovery is implemented to see if I can contribute.

djanatyn avatar Oct 29 '20 15:10 djanatyn