-
Notifications
You must be signed in to change notification settings - Fork 841
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
Binary module interface #4545
Closed
haitlahcen
wants to merge
95
commits into
commercialhaskell:master
from
haitlahcen:binary-module-interface
Closed
Binary module interface #4545
Changes from all commits
Commits
Show all changes
95 commits
Select commit
Hold shift + click to select a range
8bcb154
refact(build): introduce binary and avoid dumping plain text hi files
haitlahcen 7fd5371
add(build): binary deserialization of module interface
haitlahcen b27698c
refact(build): read binary interface instead of dumped plain text
haitlahcen 50bda19
Merge branch 'binary-module-interface' of https://github.com/haitlahc…
snoyberg 48f39b9
Avoid lazy I/O
snoyberg 4f22736
Don't set redundant setting
snoyberg 60cc29b
Remove FastString
snoyberg 2169b50
Lock the dist directory (fixes #2730)
snoyberg 56ad462
Fix lock files logic description
qrilka a3da7fb
Merge branch 'master' of https://github.com/commercialhaskell/stack i…
haitlahcen 8683288
announce takes a Utf8Builder
snoyberg 1f14982
withLockedDir that blocks
snoyberg a21ce56
Implement stack.yaml lock files
qrilka d33805c
Changelog entry
qrilka e82067e
Add configure-options settings (fixes #1438)
snoyberg 1dd99da
refactor interface module
haitlahcen a0fac30
export module to allow tests
haitlahcen e9ec927
Recommend Stack upgrade when appropriate (fixes #1681)
snoyberg 6e4a05a
Opt-in on requiring the Hackage index be present
snoyberg e5d9245
Compare minor versions only
snoyberg b85d072
Delete old UpgradeCheck records
snoyberg 1e11aa0
introduce binary interface tests
haitlahcen 7b7e233
fix architecture detection
haitlahcen 4ea786c
fix: architecture independent deserialization
haitlahcen bea689e
fix: better tests
haitlahcen d5ff555
include x32 tests
haitlahcen b58d66f
Ensure cache occurs even with interrupts
snoyberg 913ec19
Take a lock on the Pantry database for all actions (fixes #4471)
snoyberg f2857b9
Merge pull request #4756 from commercialhaskell/cache-after-interrupt
snoyberg fa9b0e3
Merge pull request #4757 from commercialhaskell/4471-lock-all-actions
snoyberg 5a03401
Merge pull request #4750 from commercialhaskell/1438-configure-options
snoyberg 4b061a3
Switch to a LastPerformed table
snoyberg 182daad
Read snapshot locations without content, optimize exact locs
qrilka 79ce99e
Optional snapshot publication timestamp
snoyberg d2b3930
Merge pull request #4729 from commercialhaskell/1681-check-recent-ver…
snoyberg a6fe11f
Merge pull request #4761 from commercialhaskell/snapshot-publish-time
snoyberg b0c9c75
Avoid deadlock in file locking
snoyberg 58d1088
package.yaml: bump stack version to 2.0.0
borsboom a5c9b1b
Additions necessary for integration of pantry into stackage-server:
lehins 24381d9
Add `Pantry.Internal.Stackage` that exports all of the stuff needed f…
lehins de9cf4a
Adjust `getHackageTarball` to not rely on callback style and introduc…
lehins 0d920ae
Make rdbms aware queries more type safe with clearer documentation
lehins 4767c4e
Rename binding to packageEntry
lehins 76af901
Merge pull request #4764 from commercialhaskell/mvar-in-file-locking
snoyberg 6e1d9eb
Merge pull request #4765 from commercialhaskell/v2.0.0
snoyberg a3f71ab
Simplify locks: use them only as completion cache
qrilka 40bf6f0
Merge branch 'master' into lock-files-2
qrilka bbc3541
Revert back `withStorage_` signature restricted to `RIO`
lehins 89002d3
Minor pantry cleanups
snoyberg a6f4abf
Switch to RIO from MonadIO for all queries
lehins aafe48b
Removed redundant constraints
lehins 28912a1
Merge pull request #4766 from commercialhaskell/minor-pantry-cleanups
snoyberg 3aeacec
Switch from missiles to dont to avoid stm test failure
snoyberg 40e905d
Nicer DB locked messages
snoyberg 1e86f2a
Extract github repos into explicit constants
qrilka d57c1d6
Merge pull request #4773 from commercialhaskell/repos-in-constants
qrilka 0683dc3
Delete old constraints file befor downloading from Github
qrilka 7e16144
Merge pull request #4774 from commercialhaskell/proper-constraints-reuse
qrilka 76139e4
onDoneTalking (thanks to @lehins)
snoyberg 8a57805
Work around for ghc bug: https://gitlab.haskell.org/ghc/ghc/issues/16077
lehins 2cb309f
Merge pull request #4771 from commercialhaskell/nice-lock-message
snoyberg dfbf85a
Merge pull request #4723 from lehins/changes-for-stackage-server
snoyberg d5a78e5
Switch to interruptible branch of filelock
snoyberg aa85308
Merge branch 'master' into lock-files-2
qrilka 90dc3c5
Fix freeze test (publish-date field was added to snapshots)
qrilka c7d384f
Fix freeze test (publish-date field was added to snapshots)
qrilka 4f28d66
Don't symlink stack.yaml so lock files won't pollute src dir
qrilka 9b5a2d3
Add not only package but also snapshot location cache in lock files
qrilka f20c467
Update docs to new lock files design
qrilka 47cf7da
Lock files test
qrilka 92512df
No null compiler in output
qrilka 78a113a
Merge pull request #4782 from commercialhaskell/fix-freeze-test
qrilka b5da6a8
Merge pull request #4784 from commercialhaskell/no-null-compiler
qrilka 26606d0
Remove excess space to extra-deps recommendations
snoyberg 6569075
Merge branch 'master' into lock-files-2
qrilka 8e8fbe4
Merge pull request #4785 from commercialhaskell/remove-excess-space
mattaudesse c87e073
Merge remote-tracking branch 'origin/master' into 2730-lock-dist-dir
snoyberg 34ad965
Merge pull request #4780 from commercialhaskell/interruptible-file-locks
snoyberg 0448f2a
Share the companion code
snoyberg 42b4ce7
Merge pull request #4739 from commercialhaskell/2730-lock-dist-dir
snoyberg 7dc6001
Remove some unused imports
qrilka 43425d8
Minor doc fix
qrilka 6f853b8
Use patched filelock with CLOEXEC
snoyberg 8b824ef
Merge pull request #4746 from commercialhaskell/lock-files-2
snoyberg 595e9ea
Merge pull request #4787 from commercialhaskell/cloexec-filelock
snoyberg 3f05443
Fix some misplaced parse warnings #4789
snoyberg 38826df
Get package name from completed information #4789
snoyberg 34ad96f
Remove CPP and TH in Main module
snoyberg a22adee
Support symlinks to directories (fixes #4776)
snoyberg bd647ff
Make subdir field optional #4793
snoyberg ba6037a
Merge pull request #4790 from commercialhaskell/4789-improved-from-js…
snoyberg babe25b
Merge pull request #4792 from commercialhaskell/remove-th-cpp-in-main
snoyberg 91fc080
Merge pull request #4793 from commercialhaskell/4776-symlinks-to-dirs
snoyberg 28138a9
Merge pull request #4791 from commercialhaskell/4789-package-name-fro…
snoyberg e782c7b
Merge branch 'binary-module-interface' of https://github.com/haitlahc…
snoyberg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,3 +29,4 @@ tags | |
/etc/scripts/stack-scripts.cabal | ||
.hspec-failures | ||
better-cache/ | ||
/subs/*/*.cabal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add a ChangeLog entry explaining the change here.