Hello, and thanks for the awesome plugin GitHub Sync. I configured it following the instructions but got the following error in the GitHub Webhook Recent Deliveries.
{“success”:false,”data”:[{“code”:”invalid_payload”,”message”:”[Missing Commit ID] won’t be imported.”}]}
Any help will be appreciated. Thanks a lot in advance.
]]>Hi,
I have successfully got this plug-in working for a public test repository.
Is there any way it will work for a private repository? Or am I doing something else wrong?
My university has made an organization on GitHub and set up the repository for my team.
It does have an initial README commit file.
Please reply as soon as you can,
thank you so much,
Emily
Hi, I’m not sure if something changed on the API of GitHub because I received this error message.
Export to GitHub failed with error: Method GET to endpoint https://api.github.com/repos/SorianoTech/Post_Blog/git/refs/heads/master failed with error: Not Found
This is my repo: https://github.com/SorianoTech/Post_Blog
My config on WP is:
GitHub hostname -> https://api.github.com
Repository -> SorianoTech/Post_Blog
I’ve created the OAuth Token whit repo_public permission and configure my
Webhook callback on the repo.
What I’m doing wrong?
Thanks!
]]>Method GET to endpoint https://api.github.com/repos/vooshtech/VooshACO-WP-Website.github.com/git/refs/heads/master failed with error: Not Found
]]>Hi,
I have implemented this plugin on my site and the link appears just below the related posts as you can see -> https://comunicacionabierta.net/2019/02/como-quitar-la-palabra-archives-de-tus-categorias-de-wordpress/
Could you tell me how can I put it on the header?
Thanks!
]]>Import from GitHub failed with error: Already synced this commit.
The sync did not import anything this time
]]>Export to GitHub failed with error: Method GET to endpoint https://github.com/Phpyouth/repos/Phpyouth/Phpyouth.github.io/git/refs/heads/master failed with error: Unknown error
I am getting this error when i try to Export to GitHub.
I have created a token with public_repo scope and filled every field correctly.
Still I am getting this error.
My Repository is Phpyouth/Phpyouth.github.io
https://github.com/Phpyouth
Please check this
]]>It would be my first time to use GitHub along side with WordPress. For starters, we want to be able to do basic pull/fetch between GitHub and WordPress with basic SCSS/CSS files. Is this doable?
Is there a guide I can follow through?
]]>Hi, any idea why we’d be getting a service timeout
in GitHub webhooks every time we merge content from a pull request? If changes are made directly on the site, these are pushed to GitHub without an issue. It only seems to be PRs we have a problem with.
We’re running latest versions of WP / plugin and PHP 7.2.2
Any help appreciated.
]]>I have setup the plugin and I can get it to work with a public repo but I haven’t been able to get it to work with a private one. I am also using a company account for this repo. I don’t know if this is considered a enterprise account. What do I need to do to access a private Repo?
]]>Hi @jamesdigioia
Thanks a lot for the efforts you put into this plugin. I’m currently building a documentation website where the content should be open for contribution via Github.
I hope you can help with my issue: I’d like to import complete new content from Github. While WP pushes some database additions I will loose what I defined in post_excerpt:
. Is there way to fix this? Or what am I doing wrong?
Cheers Stefan
]]>Hi,
I think that I configure the Github Sync plugin wrong. I get this Error: Import from GitHub failed with error: WordPress-GitHub-Sync needs a properly formed repository. Please update your settings.
Its about this git: https://github.com/codeswholesale/codeswholesale-sdk-php
Which steps I need to do with combination Github Sync plugin?
I would like to get product information on my woocommerce shop.
I followed the installation instructions, but have not been able to get the plugin to export to my GitHub repo.
When I try to export it gives me an error
]]>Export to GitHub failed with error: Method GET to endpoint https://github.com/repos/ekkomedia/awt-wordpress/git/refs/heads/master failed with error: Unknown error
Hi,
How can I sínc my custom fields? Is this feature is in this plugin already?
Thanks,
Laszlo
Can I add support for “parent page” in the YAML? Ideally we’d like to sync that info, it’s one of the main reasons we’re importing content to WordPress…’cause Jekyll doesn’t seem to handle depth beyond collections.
We have lots of…
parent
– child
— child
This would be awesome to get working…otherwise, great plugin!
]]>as GitLab also have simular feature as GitHub, i believe it support GitLab too, right?
And I am having problem using this plugin, i also tried in wp-cli, but it seems something is not working, debug mode didn’t tell me much. Below are the return while I’m testing it out, i only have 8 years, so its impossible that 888 would went thru, and of course nothing has sync-ed. And even when i used the right user ID, it didn’t sync neither.
root:/var/www/html# wp --allow-root wpghs export all 1
Starting full export to GitHub.
root:/var/www/html# wp --allow-root wpghs export all 888
Starting full export to GitHub.
root:/var/www/html# wp --allow-root wpghs export all a
Error: Invalid user ID
root:/var/www/html# wp --allow-root wpghs export all 12412423
Thanks for your time looking at this. I really appreciate it.
]]>Will it have any SEO impact as the duplicate content will be in Github Repo.
Secondly, Is everybody able to add/modify content from github, instead of WP Backend?
Finally, If there are any SEO issues regarding duplicate content, how can i overcome to it.
Thanks a lot for the superb plugin.
]]>Hi, i’m having trouble exporting my wordpress site to github. I am getting a error stating there are bad credentials but i’m not sure if i should be using my github credentials or something else?
]]>Each time when I publish a post fires this warning:
Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in /home/onlin236/public_html/programingyogi.com/wp-includes/Requests/Transport/cURL.php on line 507
Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in /home/onlin236/public_html/programingyogi.com/wp-includes/Requests/Transport/cURL.php on line 507
Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in /home/onlin236/public_html/programingyogi.com/wp-includes/Requests/Transport/cURL.php on line 507
Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in /home/onlin236/public_html/programingyogi.com/wp-includes/Requests/Transport/cURL.php on line 507
Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in /home/onlin236/public_html/programingyogi.com/wp-includes/Requests/Transport/cURL.php on line 507
Warning: Cannot modify header information – headers already sent by (output started at /home/onlin236/public_html/programingyogi.com/wp-includes/Requests/Transport/cURL.php:507) in /home/onlin236/public_html/programingyogi.com/wp-admin/post.php on line 197
Warning: Cannot modify header information – headers already sent by (output started at /home/onlin236/public_html/programingyogi.com/wp-includes/Requests/Transport/cURL.php:507) in /home/onlin236/public_html/programingyogi.com/wp-includes/pluggable.php on line 1174
]]>Countless errors.
]]>Hello,
I just installed your latest version, set up Github according to your instructions but I get the error above
Export to GitHub failed with error: Method GET to endpoint https://api.github.com/repos/gulftobayweb/clbvu/git/refs/heads/master failed with error: Not Found
I tried different things but can’t find anything that will work
Thanks
]]>Hi,
first of all thanks for this awesome plugin !
I just need to override meta() function from WordPress_GitHub_Sync_Post in post.php to add some custom meta and it works but I added my custom code after the published key like this :
'published' => 'publish' === $this->status() ? true : false,
//add custom value
'myTag' => wp_get_post_terms($this->post->ID, 'myPostType', array("fields" => "names")),
I followed this steps in your github wiki
It works but it’s really dirty ?? I want to override your meta function in external php file (like functions.php or other) but I don’t understand how can I write my function and plug it into the “wpghs_post_meta” filter.
This is the same for blob_to_post() in import.php before set_meta()
Can you show me an example ?
Thanks a lot
I’ve got the connection working, and content flows both ways. But when I edit a page on github and then commit it, all the content on that page disappears in WordPress. If I click “edit” on the page in WP, all the content is there (including the changes from github). If I hit “update,” then everything reappears on WP.
I have the latest version of the plugin.
Any ideas what I’m doing wrong?
Thanks,
–Jordan
Hello,
A great thank you for this plugin which is looking really promising.
I’m trying to import/export from a localhost installation of wordpress. I guess there is no other solution than using my IP with a port mapping on my router as a web hook callback ?
]]>I’m just curious whether it would be possible to easily modify this plugin to work with private BitBucket repositories instead of requiring GitHub (presumably public) repos.
I love the idea behind this plugin, as it allows us to store infinite revisions for things, and assign credit/blame to those revisions very easily. That said, there are instances where content managers put stuff in their pages/posts that shouldn’t be there (such as sensitive information), and it can be nearly impossible to permanently erase commits from a git repository.
Since GitHub charges for private repositories, and since this plugin seems to require a separate repository for each individual site (we have nearly 300 separate sites where we’d potentially be tracking these changes), it’s unrealistic for us to try to manage that many private repositories on GitHub, even if it is possible to make this plugin work with private GitHub repos (I haven’t tested that functionality yet to see if it even works).
On the other hand, BitBucket allows unlimited private repositories, so it would be much simpler to create and manage the hundreds of repos we’d need to make this plugin work for us.
I’m not sure what kinds of changes would need to be made to the plugin, so I don’t know if this is something you could easily add to the plugin, or if we’d be better off trying to develop a new plugin for the purpose of using it with private BitBucket repos. Thanks.
]]>Hi,
first of all thank you for your support.
I have some issue configuring the GitHub/Wordpress plugin.
WordPress:
– I installed the plugin. I filled out the field in the “WordPress <–> GitHub Sync” page. In particular:
GitHub hostname: I think it is correct.
Repository: I think it is correct.
Webhook Secret: It is the same word that I put in the Secret field on the Webhooks & services settings page on github.com
Webhook callback: I copied the link displayed on wordpress to the Webhooks & services settings page on github.com
GitHub:
1) I pushed the wordpress template as initial commit.
2) I set the configuration on the the Webhooks & services settings page on github.com, in particular.
3) Payload URL: It is the Webhook callback displayed on the wordpress.
4) Secret word: as wordpress setting page
5) Content type: application/json.
Issue:
When I click export from the wordpress panel nothing happen. I cannot understand in wordpress panel if the export have been executed correctly.
In the GIt Hub I can see an error in the Webhooks & services settings page on github.com. Invalid http response 408.
Can you help me please?
MY ATTEMPTS:
I would like to export on my machine the changed of my collaborators. They are working on the template but I want export on my laptop as soos as there are new changes.
Thank you very much for your help.
]]>Hey there!
Amazing work with this plugin…
There’s just 1 thing:
on non-english sites, the posts & pages should not be translated. THis way, on github they could still be _posts
See this for example: https://github.com/ekorinthos/ekorinthos
The post-types get translated which makes it impossible to use it for a Jekyll site for example..
replace platform specifics / \ with PHP constant
require_once __DIR__ . DIRECTORY_SEPARATOR . ‘composer’ . DIRECTORY_SEPARATOR .’autoload_real.php’;
Makes this work on GoDaddy windows hosts (client choice, not mine)
]]>Can this be adjusted to grab markdown files from a local folder (within wordpress) and publish them as wordpress posts and pages? In other words, could I make a github repo in my wordpress directory, and have this plugin grab the .md files there and format them automatically or on chron?
This article explains the ideas I’m after. I’m no PHP coder, so I can’t do it myself at this point:
]]>Hi,
Is it possible to use a backup, where my page was developed using page Builder? The code was saved as html, but I’m unsure of how to get into the page builder format.
Thank you
]]>