This PR introduces an optional display-name field in the repo configuration, which allows the user to override the default parent/repo format. This is useful, for example, when indexing the same repo with different config options (e.g. main branch and feature branch).
produces this output (the red text) from the CLI client
and this on HTML
What kind of change does this PR introduce? (check at least one)
[ ] Bugfix
[x] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:
The PR fulfills these requirements:
[x] All tests are passing?
[x] New/updated tests are included?
[x] If any static assets have been updated, has ui/bindata.go been regenerated?
[x] Are there doc blocks for functions that I updated/created?
If adding a new feature, the PR's description includes:
[x] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)
This PR introduces an optional
display-name
field in the repo configuration, which allows the user to override the defaultparent/repo
format. This is useful, for example, when indexing the same repo with different config options (e.g. main branch and feature branch).E.g. this config file:
produces this output (the red text) from the CLI client
and this on HTML
What kind of change does this PR introduce? (check at least one)
The PR fulfills these requirements:
If adding a new feature, the PR's description includes:
Other information: