Skip to content
This repository was archived by the owner on Jan 2, 2020. It is now read-only.

Conversation

@ababkin
Copy link

@ababkin ababkin commented Dec 23, 2017

No description provided.

@mrkgnao
Copy link
Collaborator

mrkgnao commented Dec 23, 2017

Thanks for the PR! We can't merge this as it stands because it's failing the Travis build (see here for why: likely formatting issues).

Outside of that, I think I'd prefer to track the latest version of Idris from Stackage rather than add things to extra-deps unless there's a clear benefit to using the latest available version of Idris.

@ababkin
Copy link
Author

ababkin commented Dec 23, 2017

Thanks for the comment. I don't see anything in the travis log that tells me what went wrong. Exact same command stack install hlint stylish-haskell hindent idris builds fine locally.
Idris 1.1.1 is mostly fixes and optimizations, which seem like good reasons.

@ababkin
Copy link
Author

ababkin commented Dec 23, 2017

Could you possibly give me a hand fixing this? Or let me know how to go about fixing it?

@mrkgnao
Copy link
Collaborator

mrkgnao commented Dec 24, 2017

Oh, I'm so sorry:

Still running (30 of 30): stack install hlint stylish-haskell hindent idris
Timeout (30 minutes) reached. Terminating "stack install hlint stylish-haskell hindent idris"

I think the buildbot failed because compiling idris from source took too long.

@mrkgnao
Copy link
Collaborator

mrkgnao commented Dec 24, 2017

I think you should revert the Idris version bump for now. The other changes look good.

@ababkin
Copy link
Author

ababkin commented Dec 24, 2017

@mrkgnao - It looks like stackage snapshots no longer contain idris package
Short of continuing being on the old snapshot, the only way is using external deps

@ababkin
Copy link
Author

ababkin commented Dec 25, 2017

@mrkgnao - have a question. I'd be happy to play around with the project and contribute, but I have a bit of a hard time starting and understanding the existing code. Is there a good material to read to get into this embedding idris into haskell? (I'm an advanced haskeller but only starting with Idris)

@mrkgnao
Copy link
Collaborator

mrkgnao commented Dec 26, 2017

cc @owickstrom: what should we do about this?

@ababkin: I'd suggest you first try looking at the parts that are less involved with the Idris compiler's API, like the optimizations and code transformations. That should give you a feel for what's going on.

@owickstrom
Copy link
Owner

@mrkgnao Let me try this locally. I might be able to revive the Docker build I worked on to get the Travis build speed up.

@owickstrom
Copy link
Owner

As a quick hack, I tried separating the installs of hindent and stylish-haskell from idris, which seems to have bypassed the timeout: https://travis-ci.org/owickstrom/idris-vimscript/builds/322139371

@owickstrom
Copy link
Owner

I'm fiddling around with a Docker + cabal new-build based Travis build also.

@ababkin ababkin changed the title bring stack up to date, use Idris 1.1.1 bring stack up to date, use Idris 1.2.0 Jan 26, 2018
@ababkin
Copy link
Author

ababkin commented Jan 26, 2018

@mrkgnao @owickstrom - was just curious if you guys have figured out the above problem with Travis? Is there a setting for it to not timeout?

@owickstrom
Copy link
Owner

I haven't had time to do more work on it. The last stuff is on https://github.com/owickstrom/idris-vimscript/tree/update-stack, where I think separating the installations of Idris and other tools helped a bit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants