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

Additions necessary for integration of pantry into stackage-server: #4723

Merged
merged 9 commits into from
Apr 25, 2019

Conversation

lehins
Copy link
Contributor

@lehins lehins commented Apr 12, 2019

  • Exposed few modules needed for stackage-server
  • Addition of few class instances and exports needed for stackage-server
  • Made pantry compatible with PostgreSQL. Improved speed and safety by added database aware queries.
  • Fixed concurrent blob and file name writes in multi-connection sql pool setting. Added few more exports needed for stackage-server
  • Removed redundant constraints and switched many queries to MonadIO
  • Added .cabal files to gitignore for all subs
  • Added .hindent file for pantry with width set to 2, since that is what majority of code has.

Note: Documentation fixes for https://docs.haskellstack.org/en/stable/ should target the "stable" branch, not master.

Please include the following checklist in your PR:

  • Any changes that could be relevant to users have been recorded in the ChangeLog.md
  • The documentation has been updated, if necessary.

Please also shortly describe how you tested your change. Bonus points for added tests!

@lehins lehins force-pushed the changes-for-stackage-server branch 2 times, most recently from d411fb3 to ca37930 Compare April 12, 2019 13:13
subs/pantry/package.yaml Show resolved Hide resolved
subs/pantry/src/Pantry/Hackage.hs Show resolved Hide resolved
subs/pantry/src/Pantry/Hackage.hs Outdated Show resolved Hide resolved
subs/pantry/src/Pantry/Storage.hs Show resolved Hide resolved
subs/pantry/src/Pantry/Storage.hs Outdated Show resolved Hide resolved
subs/pantry/src/Pantry/Storage.hs Outdated Show resolved Hide resolved
subs/pantry/src/Pantry/Types.hs Outdated Show resolved Hide resolved
lehins and others added 5 commits April 23, 2019 03:41
* Addition of few class instances and exports needed for stackage-server
* Fixed concurrent blob and file name writes in multi-connection sql pool setting. Added few more exports needed for stackage-server
* Improved speed and safety by added database aware queries. Switched all queries to MonadIO
* Removed pantry cabal file and added it to gitignore
* Export PackageName and Version and aded NFData instances for PackageNameP and VersionP
* Lower restriction from RIO to MonadUnliftIO for sql query running in `withStorage`
* Turned on `-Wall` for pantry tests.
@lehins lehins force-pushed the changes-for-stackage-server branch from b18e364 to 4767c4e Compare April 23, 2019 00:41
Copy link
Contributor

@snoyberg snoyberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@snoyberg snoyberg merged commit dfbf85a into commercialhaskell:master Apr 25, 2019
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.

2 participants