Remove the mercurial 6.1 pin from the container image
packagesetup
import(
"embed"
"fmt"
"io/fs"
"io/ioutil"
"os"
"path/filepath"
"strings"
"text/template"
"golang.org/x/crypto/ssh"
"keep.imfreedom.org/grim/hgkeeper/globals"
"keep.imfreedom.org/grim/hgkeeper/hg"
)
typeCommandstruct{
AdminUsernamestring`kong:"flag,name='admin-username',env='HGK_ADMIN_USERNAME',help='the name of the initial admin user',required='true'"`
AdminSSHPubkeystring`kong:"flag,name='admin-pubkey',env='HGK_ADMIN_PUBKEY',help='the path to the ssh pubkey to use for the admin',required='true',type='existingfile'"`