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

autoproj 2.03: git submodule not reseted to correct commit id #147

Closed
D-Alex opened this issue Aug 16, 2017 · 4 comments
Closed

autoproj 2.03: git submodule not reseted to correct commit id #147

D-Alex opened this issue Aug 16, 2017 · 4 comments

Comments

@D-Alex
Copy link
Member

D-Alex commented Aug 16, 2017

If autoporj is used in combination with git submodules and tags the submodule is not properly updated to the correct commit id after the main git was rested to the given tag after checkout.

Workaround:
call: 'git submodule update' after checkout to sync submodule

@doudou
Copy link
Member

doudou commented Aug 16, 2017

Actually, it seems that submodules are only handled at checkout time.

Is running "git submodule update" after an update of the "master" repo the right workflow in all cases ?

@jakobs
Copy link
Member

jakobs commented Aug 16, 2017

Maybe 'git submodule update --init' to catch the cases where new submodules have been added?

@doudou
Copy link
Member

doudou commented Aug 16, 2017

I'll add a test ... I really know nothing about submodules. They look like a pain.

@doudou
Copy link
Member

doudou commented Aug 16, 2017

rock-core/autobuild#37

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

No branches or pull requests

3 participants