Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

respect read-only source space #37

Closed
wants to merge 6 commits into from

Conversation

fmessmer
Copy link

by executing the custom_targets in the build space rather than source space

read-only source space is enforced by e.g. https://github.com/ros-industrial/industrial_ci

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

@fmessmer
Copy link
Author

CLA done

@googlebot
Copy link

CLAs look good, thanks!

@jubeira
Copy link

jubeira commented Sep 17, 2018

Thanks for the submission @fmessmer; I'll give it a shot.

Could you explain a bit more the problem you addressed? Did the CI fail because the source space was not read-only?

@fmessmer
Copy link
Author

CI failed because source space is read-only
and without this PR files were generated in the source space such as gradle cache etc.
with this PR all those files are generated in build space

@jubeira
Copy link

jubeira commented Sep 20, 2018

@fmessmer I see your point; the only thing that makes me a bit unsure about this is that building projects with Gradle wrapper (./gradlew build) or with Android Studio will output the artifact results to a different place than when building with catkin with these changes. In that sense, IMHO it should be optional to preserve the source space when building with catkin, not necessarily the default.

On the other hand, I talked with @ernestmc and he tends to agree with using the build space to dump the results as you propose. The motivation is that it's OK for catkin to behave the same for anything it's building, so there should be no difference between building a Gradle project or a python / C++ package.

I'll leave this open just a bit more; if there are no comments against it I will merge it after some tests.

…OSITORY

preserve ROS_MAVEN_DEPLOYMENT_REPOSITORY if already set and part of w…
@fmessmer
Copy link
Author

closing in favor of #39 (same feature from my own fork - because I already merged #38 into mojin-robotics/rosjava_build_tools)

@fmessmer fmessmer closed this Sep 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants