github-community-projects / github-community-projects/private-mirrors

Enable creating mirrors with a different base branch

Open
#448 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
196
Forks
41
Avg merge
1d 9h
Merged PRs (30d)
4

Description

### Is your feature request related to a problem?

Some projects make use of multiple branches for different purposes (ex. gh-pages for documentation) but currently private-mirrors only supports contributing to the default branch of a project.

### Describe the solution you'd like

During mirror creation the private-mirrors UI should present a dropdown to allow users to select the branch that they would like to base the mirror on from among branches present on the source project. The default branch should be automatically selected to avoid adding additional selections for the most common case.

### Describe alternatives you've considered

It is possible to create a fork and change it's default branch to the desired branch so that mirrors created from that fork will use the desired branch but that requires creating a new fork for each desired base branch.

### Additional context

This issue depends on #443 to ensure that mirrors can be created based on and up to date with the latest branches present on the source project.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.