#4715 Non-standard default branch: would deserve proper indication at the project home page
Closed: Fixed 3 years ago by pingou. Opened 4 years ago by jpokorny.

Follow up for #106:
non-standard default branch should be indicated so that

Just changed the default branch at GitHub mirror, have to
conclude that they are always clear on which branch is meant.

Therefore, it'd likely be fair and more systemic to state the
standard master branch visibly just as well if that's the case.


We've just hit this in git.centos.org where a repo only had a single branch which was not master (and we didn't touch the default branch setting). @carlgeorge tried to open a PR against such repo and got "Bad Request".

Would be nice if pagure was a little bit smarter when the default branch is not present - I would expect it to fall back to the first branch which exists in the repo, sorted at random.

Metadata Update from @ngompa:
- Issue priority set to: High
- Issue tagged with: bug

3 years ago

Metadata Update from @ngompa:
- Issue set to the milestone: 5.12

3 years ago

I'm wondering, where in the UI we should display this information.

Any idea?

Metadata Update from @pingou:
- Issue tagged with: easyfix

3 years ago

:thumbsup: for me as well!

Thanks :)

Metadata Update from @pingou:
- Issue assigned to pingou

3 years ago

Login to comment on this ticket.

Metadata
Attachments 1
Attached 3 years ago View Comment
Related Pull Requests
  • #4992 Merged 3 years ago