decap-cms icon indicating copy to clipboard operation
decap-cms copied to clipboard

Cannot use when fork name differs from upstream repo name

Open yajo opened this issue 1 year ago • 2 comments

Describe the bug

When your github fork has a different name than upstream repo, you cannot use decapcms.

To Reproduce

I'm using github backend with open authoring in https://github.com/OCA/docs

This repo was before named https://github.com/moduon/oca-docs while it was a prototype. Some users already tested the prototype with Decap CMS and they had forks named oca-docs because of that: image

Now, when these users try to use decap-cms in the new site, they cannot because their fork isn't named docs but oca-docs.

Expected behavior

They can use open authoring

Screenshots

Do login. The, click on fork: image

Then, the error: image

Applicable Versions:

  • Decap CMS version: 3.0.0
  • Git provider: GitHub
  • OS: Ubuntu
  • Browser version: Chrome.

CMS configuration

https://github.com/OCA/docs/blob/b79cd4097f188f19a4182bf6ec203e4c6d104eef/static/admin/config.yml

Additional context

yajo avatar Dec 09 '24 10:12 yajo

@yajo is this related to #6116?

martinjagodic avatar Dec 23 '24 09:12 martinjagodic

I think they are different things.

El lun, 23 dic 2024, 9:07, Martin Jagodic @.***> escribió:

@yajo https://github.com/yajo is this related to #6116 https://github.com/decaporg/decap-cms/issues/6116?

— Reply to this email directly, view it on GitHub https://github.com/decaporg/decap-cms/issues/7344#issuecomment-2559257407, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHNXDONFF2CTPA4HNRXVQT2G7HGTAVCNFSM6AAAAABTIRE722VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJZGI2TONBQG4 . You are receiving this because you were mentioned.Message ID: @.***>

yajo avatar Dec 25 '24 12:12 yajo