Closed
Description
After issue #117 I've corrected my config that looks like this:
{
"$schema": "../schemas/v2/index.json",
"repos": [
{
"type": "gitlab",
"url": "https://gitlab.****.com",
"token": "glpat-*****",
"all": true,
"revisions": {
"branches": [
"main",
"dev"
]
}
}
]
}
now branches are indexed correctly, anyway:
- every repository show 3 branches: HEAD, main and dev, where head is basically the same as main so what's the meaning?
- doing a search only show results from main (or maybe head, there's no information about the branch)
- if I want to search in dev, I have to specifically put "rev:dev" in the search bar
It not really the best way imho, because if I search for a something without specifying a branch filter I want to search in every branch and not only in the main, ie: I use the feature branching model so I have multiple branches for every proyect and I want to search in which branch a particular method is present.
It seems there's a way to search in all branches using "rev:" (with nothing after rev:) in the search bar, but it seems more like as a workaround to me.
Ah, and a side question: it is possible to change how often are the projects retrieved and the indices regenerated?
Thanks!