-
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
Support building the sdist and upload tarball #3187
Merged
mgsloan
merged 16 commits into
commercialhaskell:master
from
martin-kolinek:sdist-build
Jun 11, 2017
Merged
Support building the sdist and upload tarball #3187
mgsloan
merged 16 commits into
commercialhaskell:master
from
martin-kolinek:sdist-build
Jun 11, 2017
Conversation
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
martin-kolinek
changed the title
Support building the tarball from sdist and upload
Support building the sdist and upload tarball
May 24, 2017
Holy moly! I've been wanting this feature since a year now 😄 Don't have time to look at this now but hopefully someone will stop by soon. Nice one for this work! (CI Failure was just an OOM it seems!) |
martin-kolinek
force-pushed
the
sdist-build
branch
from
May 29, 2017 18:47
44ce136
to
54dc3bd
Compare
martin-kolinek
force-pushed
the
sdist-build
branch
from
June 9, 2017 05:15
54dc3bd
to
e578211
Compare
Awesome, thanks! Implementation looks good, refactors appreciated too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This adds the option
--test-tarball
tostack sdist
andstack upload
. When this option is specified, the tarball is extracted, and tests are executed as part of the process. This should implement part of #717.The implementation works by building the extracted tarball using the default build options. The package directory in the
BuildConfig
used for building and testing is replaced by the location of the extracted tarball.There is currently no way to specify build options.
The added tests work with packages which fail to build/test because the build depends on a file which is not packaged into the resulting tarball.