• Resolved dinesh6777

    (@dinesh6777)


    Hi,

    Thanks for creating this awesome plugin.

    It works for your test repo but not working for my own public repo. I also tried to collect debug logs suggested on other post but didn’t work. Appreciate if you can help here.

    Add below log line in git-it-write/includes/repository.php at line number 30 ?
    
    print_r( $request );
    
    2) Save the file
    3) “pull only changes” for the repository manually.
    4) Copy all the logs and share it pastebin or here as a reply.

    Non working Repo
    ===================

    05/14/2022 06:52 - ********** Publishing posts by repository config ID **********
    
    05/14/2022 06:52 - Working with repository config ID 3
    
    05/14/2022 06:52 - Creating repository object
    
    05/14/2022 06:52 - Building repo structure ...
    
    05/14/2022 06:52 - Repository not found on Github! [https://api.github.com/repos/dineshfoss1/testdin/git/trees/master?recursive=1]
    
    05/14/2022 06:52 - ********** END **********

    Working Repo:
    ===========

    05/14/2022 06:53 - ********** Publishing posts by repository config ID **********
    
    05/14/2022 06:53 - Working with repository config ID 2
    
    05/14/2022 06:53 - Creating repository object
    
    05/14/2022 06:53 - Building repo structure ...
    
    05/14/2022 06:53 - {"_images":{"items":{"pic-5":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/_images\/pic-5.jpg","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/_images\/pic-5.jpg","sha":"8892b13f7a48cd3558baf04db4fa3adc34baa584","file_type":"jpg"},"pic1":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/_images\/pic1.jpg","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/_images\/pic1.jpg","sha":"d181e8b66131bbb37dbbba8f84db20242310eb9f","file_type":"jpg"},"pic2":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/_images\/pic2.jpg","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/_images\/pic2.jpg","sha":"1101f1f7a9634058cca5e7c0470ed711d37ab95f","file_type":"jpg"},"pic3":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/_images\/pic3.jpg","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/_images\/pic3.jpg","sha":"46beb5475933d7601d1ceb5f58056bb6c7165eaf","file_type":"jpg"},"pic4":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/_images\/pic4.jpg","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/_images\/pic4.jpg","sha":"b27f24f3a0c9d2023a7136e635305c050d1df7a8","file_type":"jpg"}},"type":"directory"},"dir1":{"items":{"guide":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/dir1\/guide.md","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/dir1\/guide.md","sha":"1243e44218ebfced15d308ab7eca7398267a0dca","file_type":"md"},"hello-world-\uc548\ub155\ud558\uc138\uc694":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/dir1\/hello-world-\uc548\ub155\ud558\uc138\uc694.md","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/dir1\/hello-world-\uc548\ub155\ud558\uc138\uc694.md","sha":"60948ac337816e69c0998a028f2e5a4c7daf8187","file_type":"md"},"index":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/dir1\/index.md","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/dir1\/index.md","sha":"62ce8cbcf6940c9feb5cc6ae666b46f8fe4e5a37","file_type":"md"},"pro1":{"items":{"faq":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/dir1\/pro1\/faq.md","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/dir1\/pro1\/faq.md","sha":"9ea336493c351ee1242cd3fe017e7514ebf25d29","file_type":"md"},"installation":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/dir1\/pro1\/installation.md","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/dir1\/pro1\/installation.md","sha":"832618068e695ec6675d7e8dbe1f40d3dd573d13","file_type":"md"}},"type":"directory"},"pro2":{"items":{"\u0baa\u0b9f\u0bae\u0bcd":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/dir1\/pro2\/\u0baa\u0b9f\u0bae\u0bcd.md","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/dir1\/pro2\/\u0baa\u0b9f\u0bae\u0bcd.md","sha":"94205cc1696104ac49767efbb02aecd0dd9c5b0f","file_type":"md"}},"type":"directory"},"pro3":{"items":{"index":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/dir1\/pro3\/index.md","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/dir1\/pro3\/index.md","sha":"aa34fb0b109a99cebdba0ded1b39bc8f5c4c1d01","file_type":"md"},"pro3-post":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/dir1\/pro3\/pro3-post.md","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/dir1\/pro3\/pro3-post.md","sha":"ded95f10c5a11aec1d970683f75c4b8558886aec","file_type":"md"}},"type":"directory"},"\u0ba4\u0bae\u0bbf\u0bb4\u0bcd":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/dir1\/\u0ba4\u0bae\u0bbf\u0bb4\u0bcd.md","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/dir1\/\u0ba4\u0bae\u0bbf\u0bb4\u0bcd.md","sha":"eab75f6f2bb93b148a1eb811e2a3a48ace015771","file_type":"md"}},"type":"directory"},"dir2":{"items":{"my-article":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/dir2\/my-article.md","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/dir2\/my-article.md","sha":"6b48e4222632e4965b832be0dc1db85180039290","file_type":"md"},"with-images-2":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/dir2\/with-images-2.md","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/dir2\/with-images-2.md","sha":"ab9e5ec1ba152b207bf0783731037390b3148cc7","file_type":"md"},"with-images":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/dir2\/with-images.md","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/dir2\/with-images.md","sha":"f3fa33e37e7e307997df330b251fac4c55baad9a","file_type":"md"},"withfm":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/dir2\/withfm.md","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/dir2\/withfm.md","sha":"0a9354721bec3854cc03ac4a838976427ccc029c","file_type":"md"}},"type":"directory"},"file2":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/file2.txt","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/file2.txt","sha":"96e3d53a4f675252499c5ffd41d89719ac4eb697","file_type":"txt"},"readme":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/readme.md","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/readme.md","sha":"e87fd42eee1e450ec08fc68df834786cb7e03192","file_type":"md"},"rootfile":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/rootfile.md","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/rootfile.md","sha":"eeb6edfa5933663419e5806a5505c36e87c87791","file_type":"md"},"untitled":{"type":"file","raw_url":"https:\/\/raw.githubusercontent.com\/vaakash\/test\/master\/untitled.txt","github_url":"https:\/\/github.com\/vaakash\/test\/blob\/master\/untitled.txt","sha":"1caa30402020b9acde00b9babdeb63254d950d03","file_type":"txt"}}
    
    05/14/2022 06:53 - ++++++++++ Uploading images first ++++++++++
    
    05/14/2022 06:53 - Starting image pic-5
    
    05/14/2022 06:53 - pic-5 is already uploaded
    
    05/14/2022 06:53 - Starting image pic1
    
    05/14/2022 06:53 - pic1 is already uploaded
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author vaakash

    (@vaakash)

    Hi Dinesh,

    Your repo has the branch “main” and not “master”

    Can you please go to Git it write > edit the repository and set branch name to “main”?

    Thanks,
    Aakash

    Thread Starter dinesh6777

    (@dinesh6777)

    Thanks a lot. It is working fine now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Repository not found on Github!’ is closed to new replies.