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

Place Pkg.build logs in Pkg's scratchspace. #2022

Merged
merged 1 commit into from
Sep 17, 2020

Conversation

fredrikekre
Copy link
Member

This puts build logs in Pkg's scratchspace and sets the building package as the owner. This makes sure that the build log is deleted when the package is garbage collected.

The reason for this is that I am implementing #1717 and want to verify the content, but currently we pollute the package directory with the build log.

@KristofferC
Copy link
Member

but currently we pollute the package directory with the build log.

I think this is a good idea, but don't packages that have a build step usually put a lot of other garbage there, other than the log file?

@fredrikekre
Copy link
Member Author

True, but we should push them to use Scratch or Artifacts for that, right?

@staticfloat
Copy link
Member

Unfortunate that we are further tying Scratch internals together with Pkg internals, but I'm fine with it. :0

@fredrikekre fredrikekre force-pushed the fe/scratch-the-build-log branch 2 times, most recently from de0728d to 84f45ea Compare September 17, 2020 20:54
@fredrikekre fredrikekre force-pushed the fe/scratch-the-build-log branch from 84f45ea to ade68cd Compare September 17, 2020 21:08
@fredrikekre fredrikekre merged commit ed7d3e4 into master Sep 17, 2020
@fredrikekre fredrikekre deleted the fe/scratch-the-build-log branch September 17, 2020 22:18
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