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

[fix] Support git ynh app with submodules #533 #174

Merged
merged 1 commit into from Nov 30, 2016

Conversation

zamentur
Copy link
Member

@zamentur zamentur commented Aug 16, 2016

I tried to use git submodule for assure the iso sources but yunohost doesn't support it with a non github url because the git clone is not recursive.

Since git 2.9 there is an option to force submodule to just download the last commit --shallow-submodules https://git-scm.com/docs/git-clone , but with the current yunohost (debian jessie) git is in version 2.1 so we should wait before adding this option.

This Merge Request is linked to the ticket https://dev.yunohost.org/issues/533

@Psycojoker
Copy link
Member

Looks good to me.

@zamentur
Copy link
Member Author

Moul had made an answer about this pr. I need to take time to explore his proposal.

@zamentur
Copy link
Member Author

The Moul answer is here https://dev.yunohost.org/issues/533#change-1803

@zamentur
Copy link
Member Author

I tried subtrees, it works without this change. But I suggest to merge this contribution to be able to support submodules too.

@Psycojoker
Copy link
Member

I'm calling for a small decision on this one.

Copy link
Member

@M5oul M5oul left a comment

Choose a reason for hiding this comment

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

Didn't test it, but seems good command and options.

@zamentur zamentur merged commit 2cd18d8 into unstable Nov 30, 2016
@zamentur
Copy link
Member Author

I have merged it (5 positive vote since 5 days)

@M5oul M5oul deleted the fix-533-submodules-support branch November 30, 2016 17:29
@M5oul M5oul added this to the 2.5.0 milestone Dec 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants