feat: template_list #15
oSoWoSo/xut:template_list into master @ -183,0 +197,4 @@
done
echo "$template_list" > "$conf_workdir"/template_list
msg debug "Template merge completed."
msg info "Available templates: ${green}${bold}$(cat $conf_workdir/template_list | wc -w)${reset_colour}"
That should be a debug message, right?
Line 199 it's not really needed
Line 200 I want see number of templates (if changed) everytime
67e9dda231
to e82d4c2bb9
e82d4c2bb9
to 96d8f85c2f
96d8f85c2f
to acfc38d3b1
acfc38d3b1
to d0dc15e646
d0dc15e646
to a2247cf024
a2247cf024
to de2464418f
@ -191,6 +213,26 @@ xbps_src_command() {
msg info "[./xbps-src $op_xbps_src] executed successfully!" && exit 0
}
search_templates() {
There is no need for this function - search_xtra_templates already works and is actually called in main().
I know
But doesn't search in void-packages as new function
You want one change at a time
Next step:
- remove search_xtra_templates()
- change call to new function in main()
I just forgot put it in this MR when I splitted changes
search_templates and search_xtra_templates are the same except the name, right? Why not rename it then?
If you want a search that will display results from void-packages, then create a separate template list and report seperatelly the results.
You can use a single search function and call it with different positional arguments in main.
search_templates unofficial
search_templates official
and report results with the official or unofficial header depending on the ${1} positional argument.
search_templates official
search_templates abysss
search_templates void-extra
etc
I want separate all repos to own lists as we discused in issue 8 ...
Respective in one list with source repo defined like:
void-packages: foo
abyss: xut
...
But later...
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?