github-community-projects / private-mirrors

A GitHub App that allows you to contribute upstream using private mirrors of public projects
MIT License
125 stars 13 forks source link

The create/edit mirror dialog shows the wrong organization in "Mirror location" #137

Closed ahpook closed 2 months ago

ahpook commented 3 months ago

Describe the bug

The create/edit mirror dialog has a preview of the mirror's location in owner/repo format. However, the owner currently shown is the owner of the public forks when it should actually be the org where private mirrors live.

To Reproduce

  1. Create a new mirror
  2. Note the dialog "Mirror location" shows an owner/repo , but the owner is of the current/public org.
  3. Create the mirror and click the link; the owner url will be the private org, so the preview is inaccurate.

Expected behavior

The "Mirror location" should show the private organization.

Screenshots

No response

Additional context

Image