-
-
Notifications
You must be signed in to change notification settings - Fork 463
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
Clone submodules #349
Comments
GHU uses the WordPress core methods for updating. It doesn't use Most users would not have git running on their shared hosts anyway. There is a way. For each tagged release you could create a release asset that includes the submodules. GHU will use a release asset if it sees one. |
Ok makes sense... Thanks for the quick reply, closing this for now... |
I have not been able to get it working at wherever-content plugin. I think the attached asset has the correct spelling but It still only pulls from the repo without the submodules, not the .zip file where I have them included. Thanks for any hint! |
You must include the header |
Looking into the received $headers at https://github.com/afragen/github-updater/blob/1550833b6f5084ca2d9f4fa90a331baf10378adc/src/GitHub_Updater/Base.php#L896 the “Release Asset” key is empty so probably the error is on my side but what is wrong about https://github.com/unfresco/last2-theme/blob/6234837be70d960dbcfeddd1feb63bbc405baf93/style.css#L5 ? |
@unfresco so firstly it’s very difficult to follow when you have added new problems to an issue that has been closed for over 3 1/2 years. Please create a new issue or hit me up on Slack. Second, I was able to install and update your theme successfully. To test I simply decreased the local version number to trigger an update notice. |
It would be great if plugins installed using github-updater would also cloe submodules of the installed plugins. When using git from the command line, submodules are included be using
git clone --recursive
. Not sure if github-updater uses the command line version of git internally or if it uses some other magic way. More info on submodules: http://stackoverflow.com/questions/3796927/how-to-git-clone-including-submodulesThis is mainly to start a discussion. If you like the idea, maybe I can submit a PR...
The text was updated successfully, but these errors were encountered: