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

Refactoring #67

Merged
merged 4 commits into from Aug 30, 2016
Merged

Refactoring #67

merged 4 commits into from Aug 30, 2016

Conversation

130s
Copy link
Member

@130s 130s commented Jun 22, 2016

Do not review yet. Comments are welcomed.

This is just refactoring so no major feature for users is added, but I hope this change adds flexibility for the future maintenance (in fact I want to add major features based on this soon afterwards).

New feature

  • devel space can be used.

Impact for the users

  • No major API change; users don't need to do anything for this change.
  • Some env vars ({ CI_PARENT_DIR, CI_SOURCE_PATH, DOWNSTREAM_REPO_NAME }) are either renamed to better represent the meaning, or removed to cope with the structural change. So anyone who uses either variables should adjust.
  • In .travis.yml, you can use any sub folder name (currently fixed name .ci_config must be used).

Benefit for the maintenance

  • More sensible naming for some environment variables.
  • industrial_ci is no longer a unary stack, which allows this repository to contain multiple ROS packages for any purpose.

@130s
Copy link
Member Author

130s commented Jun 22, 2016

Ready for the review. All tests should be passing now.

@130s 130s changed the title [WIP] Refactoring Refactoring Jun 22, 2016
@130s 130s changed the title Refactoring [WIP] Refactoring Jun 22, 2016
@130s
Copy link
Member Author

130s commented Jun 22, 2016

Turned out this isn't ready yet. Closing for now.

@130s
Copy link
Member Author

130s commented Jun 23, 2016

Re-opening since it's ready for the review.

I tested on my forked repo and I think it's working as the same as before:

I feel like asking for taking a look at those results (if looking at the code is too much to ask). Could @ipa-mdl take a look, confirm that it's working in the same way from user's perspective?

@130s 130s reopened this Jun 23, 2016
@130s 130s changed the title [WIP] Refactoring Refactoring Jun 23, 2016
@130s 130s force-pushed the exper/metapkg branch 4 times, most recently from 6d3db43 to f941b68 Compare June 23, 2016 21:19
@130s
Copy link
Member Author

130s commented Jun 28, 2016

@shaun-edwards @gavanderhoorn For PRs like this where there's no direct benefit to the users, I'm wondering who and how I ask reviews. Could any of you give me any idea?

@shaun-edwards
Copy link
Member

@130s, Isaac I'm happy to do reviews as a last resort. @ipa-mdl is probably a better reviewer, but if he's not available, I'm happy to help out.

@130s
Copy link
Member Author

130s commented Jun 29, 2016

@shaun-edwards appreciated. Then could you look at 130s/industrial_core#6? That's a PR in my forked repo of industrial_core where I used this PR to run the Travis jobs. Results are all green and as far as I looked into each job log, everything seems to have run as it does without this PR.

@@ -51,31 +30,15 @@ FAQ

A- The `industrial_ci` still provides valuable checks; it ensures if your package builds without issues. Also installation rules if you define. Just as a headsup that making test cases are highly recommended as your ear may hurt.

- Q- My package uses a custom Point Cloud Library (PCL) version or the `industrial_calibration <https://github.com/ros-industrial/industrial_calibration>`_ package, how do I make build work?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason you cut out these questions?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it got somehow reverted. I've recovered the latest.

@shaun-edwards
Copy link
Member

shaun-edwards commented Jun 30, 2016

@130s, I verified the travis builds look similar, except for the obvious differences that result from these changes. It wasn't clear which variables were renamed/removed? The README doesn't seem to indicate which ones were changed.

@shaun-edwards
Copy link
Member

Just a couple of comments/questions.

@130s
Copy link
Member Author

130s commented Jun 30, 2016

Thank you for taking a time and taking a look deeply. It must have been hard because of directory change (I should've made better commits).

Variables removed are mentioned inline, all of which are only internal purpose and weren't mentioned README anyway.

@shaun-edwards
Copy link
Member

@130s, this looks good to me ( +1 ). You might consider adding some smart bash script to accept the new and old arguments or at the very least print out an informative message when the old variables are used. Since these variables are probably not used, I don't think it's a requirement.

@130s 130s mentioned this pull request Jul 8, 2016
Omit entire catkin build section when devel space is not choosed to be used.

Directory structure sorted out.
Add another pkg solely for testing only.

Conflicts:
	README.rst
	travis.sh

[.travis.yml] Allow failure for now the jade source build (see ros-industrial/industrial_core#144 (comment)).
[.travis.yml] Some more test matrix.

[Travis] Rename a file to avoid confusion.
Kinetic should better be no longer 'allow_failure'. warehouse_ros from shadow-fixed should pass.
[Travis] Remove less meaningful job (warehouse_ros prerelease). More Kinetic jobs.
… pkg has changed. Now client repos don't need to use the fixed dir name '.ci_config'.
Fix .rosinstall file path. Fix path passed to docker.
Relative path needs tweak.
Revert back unintentional deletion.
Revert back unintentional changes (3567ace and 041566a) that need to be done later.
Fix path for Docker.
Revert unnecessary move of some files.
@130s
Copy link
Member Author

130s commented Aug 30, 2016

Sorry, I somehow couldn't receive +1 notification I actually got. Merging.
I also included a few commits added recently, and the Travis still passed.

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.

None yet

2 participants