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

Faster Bios protocol #271

Merged
merged 5 commits into from
Dec 16, 2020
Merged

Faster Bios protocol #271

merged 5 commits into from
Dec 16, 2020

Conversation

pepeiborra
Copy link
Contributor

This implements the proposal in #270 to obtain the OUTPUTS and DEPS in a single run.

The implementation is careful to preserve backwards compatibility. If both the new and old mechanisms are used, the new mechanism takes precedence.

@pepeiborra
Copy link
Contributor Author

I would appreciate a fast turnaround to get this into Hackage as soon as possible.

@fendor
Copy link
Collaborator

fendor commented Dec 16, 2020

Would this justify a major version bump to 0.8.0?

We recently merged #264 but didn't release it yet. Would you be fine to be released together with #264 or should we make a release containing for this change?

Will review the PR in a couple of hours and I can do the release later today,

@pepeiborra
Copy link
Contributor Author

This on its own does not constitute a major version bump, since the changes are backwards compatible and hardly any impact for most users. E.g. I don't even need to make a ghcide release to use these changes, simply a Cabal/stack constraint.

Very happy to have it released today together with #264. Many thanks!!

@jneira
Copy link
Member

jneira commented Dec 16, 2020

@fendor not sure if @wz1000 mentioned in irc there would be an issue with #264

@fendor
Copy link
Collaborator

fendor commented Dec 16, 2020

@jneira They did, but after using that commit for some time now and I could not find something that broke. At most, it doesn't fully avoid invalidating the cache? Or did you observe other problems as well?

@jneira
Copy link
Member

jneira commented Dec 16, 2020

@fendor i am afraid i've not tested it, if it works for you it will be fine

@fendor fendor merged commit 3ef6669 into haskell:master Dec 16, 2020
fendor pushed a commit to fendor/hie-bios that referenced this pull request Dec 16, 2020
* generalize readProcessWithOutputFile to multiple outputs

* Generalize readProcessWithOutputs to optional outputs

* Bios cradle: retrieve OUTPUTS and DEPS in one call

* Tests and docs

* Fix Haddocks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants