-
Notifications
You must be signed in to change notification settings - Fork 697
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
Simple.SrcDist cleanup (fixes #3656) #3702
Closed
Closed
Changes from all commits
Commits
Show all changes
104 commits
Select commit
Hold shift + click to select a range
83de3dd
Inline function
fmaste 26f1416
Extract function
fmaste 6e2d216
extract function
fmaste 2831895
Indent
fmaste 2e543d3
Not used
fmaste 6e13c2c
Not used
fmaste 94fc48c
Comment
fmaste 7f708aa
Extract function
fmaste 7d4a2d4
Rename function
fmaste 46a80b3
Rename variable
fmaste 27a2c27
Rename variable
fmaste 74bca62
Rename variable
fmaste d2c89ed
Reorder arguments
fmaste 2434443
Comment
fmaste 93b2ed9
Move code
fmaste 55b0c0a
Clean/indent code
fmaste 65651e3
Inline, inline
fmaste 8c8e645
Inline
fmaste 9f9840a
Rename function
fmaste 68e6af3
Rename function
fmaste d30c098
Inline code
fmaste bdacfeb
Move code
fmaste cf0d3fe
Comment
fmaste 42b82a9
Add one more indirection
fmaste b3ebada
Add one more indirection
fmaste 5854642
Inline code
fmaste 9607910
Use value directly
fmaste 587ffd9
Move out code
fmaste e691c81
Clean
fmaste 3649010
Comment doc
fmaste ad1e679
Rename function
fmaste 93c23d7
Move code
fmaste 294a616
Extract function
fmaste 24ce841
Extract function
fmaste c8747f1
Rename variable
fmaste 2310c02
Indent
fmaste c9076e6
Identical functions
fmaste 795102b
Not used
fmaste 1de657f
Rename function
fmaste 311f426
Extract code
fmaste 36ca5c5
Move out code
fmaste 43aa9b0
Commend docs
fmaste f5f86c5
Comment docs
fmaste 8ebe890
Rename variable
fmaste 0106dd6
Rename variable
fmaste b015e65
Rename variable
fmaste 3ebc180
Rename variable
fmaste 153aa2f
Rename variable
fmaste a7197ee
Rename variable
fmaste 97aab44
Rename variable
fmaste baebd95
Indent
fmaste 9cb0124
Rename variable
fmaste 524f9c1
Rename variable
fmaste 0e11f49
Comment
fmaste 60bed62
Rename variable
fmaste 418b464
Extract code
fmaste 83f351c
Extract code
fmaste 3924216
Extract code
fmaste 4c99d0d
Extract code
fmaste 1536052
Extract code
fmaste c6f2f0c
Simplify
fmaste 0d1347a
Indent
fmaste 05cd0a9
Move code
fmaste 802fa24
Move code
fmaste af3e285
Rename function
fmaste 0d5df1c
Indent
fmaste 3489839
Docs
fmaste 783cdf3
Indent
fmaste f7e924a
Rename function
fmaste aba5b6b
Filter modules directly from the list
fmaste 8fa0448
Comment
fmaste b9675b2
Inline
fmaste 9fcdafa
Not needed
fmaste b44d59d
Rename variable
fmaste dfb3919
preprocessComponent only needs the pkg for its ID
fmaste 1e32ae9
Inline
fmaste b91020e
Indent
fmaste 533faec
Rename variable
fmaste 9db9a66
Don't edit PackageDescription
fmaste 7ba0fd8
Not used
fmaste 76b68bc
Extract common function
fmaste f09ede4
Clean
fmaste 190b427
TODO
fmaste 47b4a54
Move UI code to exported function
fmaste 8ad6b65
Move UI code to exported function
fmaste 5eefe36
Docs
fmaste 1b6114f
All the checks together
fmaste db22629
Comment
fmaste c931ae1
Comment error
fmaste 634789c
Unify comments
fmaste 3bcecd6
Add autogen fields for c-sources and js-sources
fmaste c4d1e50
Extract
fmaste e535cdb
Extract
fmaste 446ef89
Inline
fmaste 9ed9020
Get cSources and jsSources from filtered bi
fmaste 789a600
Filter cSources and jsSources
fmaste 57bbfb1
Indent
fmaste 9b641a1
Clean
fmaste 0332e98
Typo
fmaste 3e23f1e
Tests
fmaste a4cec48
Merge branch 'master' into issues-3656
fmaste 07b9041
Forgot
fmaste df45203
Merge branch 'master' into issues-3656
fmaste e09257a
Error
fmaste 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
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.
This error would be better if (1) it explained WHY you had to duplicate them (it's for backwards compatibility with old Cabal) and (2) said that it was sufficient to just copy paste. (You should probably make a helper function for this message, since you're going to use it a lot...)
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.
The real reason why we repeat filenames is not for backward compatibility is to be consistent with how
autogen-modules
work, it would be awkward to explain that on an error message.Do you mean a helper function inside this module that does
not $ and $ map (flip elem e)
or something like libModules andlibModulesAutogen
onDistribution.Types.Library
?