Skip to content

Use shallow import with VCS#842

Open
marip8 wants to merge 1 commit into
ros-industrial:masterfrom
marip8:update/vcs-shallow-import
Open

Use shallow import with VCS#842
marip8 wants to merge 1 commit into
ros-industrial:masterfrom
marip8:update/vcs-shallow-import

Conversation

@marip8

@marip8 marip8 commented Nov 6, 2023

Copy link
Copy Markdown
Member

Changes per commit message to reduce overall setup time (and resultant docker image size) when working with large projects.

@marip8

marip8 commented Nov 7, 2023

Copy link
Copy Markdown
Member Author

Any ideas why the ABI check test fails on vcs import --recursive --force --shallow /root/base_ws/src? I don't see anywhere in the vcstool docs that says the recursive and shallow options are mutually exclusive

@mathias-luedtke

Copy link
Copy Markdown
Member

Any ideas why the ABI check test fails

That test checks the ABI against a previous commit and it does not exist in a shallow clone..

@mathias-luedtke mathias-luedtke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This might break existing setups (just as it breaks the ABI test).
Not sure, if we should make it an opt-in or opt-out behavior..

VCS_IMPORT_SHALLOW?

It must get set to false, if ABICHECK_MERGE=true

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.

2 participants