On Sat, Jan 16, 2010 at 12:23, Ionut Biru <[email protected]> wrote:
> i don't think you can using db-update. i see in db-functions has a static
> return list.
>
> get_repos_for_host() {
>        if [ "$(hostname)" = "sigurd" ]; then
>                echo "community community-testing"
>        else
>                echo "core extra testing"
>        fi
> }
>
>
> --
> Ionut
>

Seems like it wouldn't be hard to give it a conf file using an
associative array so that we could define these things on the fly.

Reply via email to