Bot configuration variables

Functions

get_secret(name)

Load a secret from file or env

Documentation

bioconda_utils.bot.config.ANACONDA_TOKEN = 'bi-2a469ecf-edeb-4c35-ab39-80bc4bba8ce8'

Anaconda Token

bioconda_utils.bot.config.APP_CLIENT_ID = None

App OAuth client ID

bioconda_utils.bot.config.APP_CLIENT_SECRET = None

App OAuth client secret

bioconda_utils.bot.config.APP_ID = None

Numeric App ID (not secret, technically)

bioconda_utils.bot.config.APP_KEY = None

PEM signing key for APP requests

bioconda_utils.bot.config.APP_SECRET = None

Secret shared with Github used by us to authenticate incoming webhooks

bioconda_utils.bot.config.BOT_ALIAS_RE = re.compile('@bioconda[- ]?bot', re.IGNORECASE)

Bot alias regex - this is what it’ll react to in comments

bioconda_utils.bot.config.BOT_BASEURL = None

Baseurl of bot (for oauth redirects we need to know where we are)

bioconda_utils.bot.config.BOT_EMAIL = '47040946+BiocondaBot@users.noreply.github.com'

Email address used in commits. Needs to match the account under which the CODE_SIGNING_KEY was registered.

bioconda_utils.bot.config.BOT_NAME = 'BiocondaBot'

Name of bot

bioconda_utils.bot.config.CIRCLE_TOKEN = None

CircleCI Token

bioconda_utils.bot.config.CODE_SIGNING_KEY = '-----BEGIN PGP PUBLIC KEY BLOCK-----\\n \\n mQINBF4z7HEBEACaYNqH+qeoJxLsnG3MnfM28hikMPwLarj3i9IIxmJkQrF/ZjhV\\n TMuc8IAB8BmG31dPSTHaOKD82nGubj9raFIn6oWusAXOrtUioudvapNGc3q5dCpo\\n wbA6hmJzwL7xqQMeskRudBWh8XJ/OmRxJKSL+uvb8RCimcpSclCjb8aocdYtFARu\\n W6QsyAVkdMbGUl7ZMAOMqmtk1C7WP9TTLKuN0I6p2i69j5PTB5vdAA6bwzY4Rlt5\\n U6KmR4a5V3A7rzYZbOEa6R3J6WlVazmwaADUDtasXQUV0KP1B1X5x88Ir2Mo5R5K\\n 5qb70OcHvdmTBPZvZ0AT4eb6wRCaUtVmXyHrSvzXRFkB6fAdD7i19jFFAi6zNBfW\\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r1b0IwF99FFfnvI2TT\\n dWn0IL8s8j67bvR+o7cp4ObwK5zzP0ZKKBiW/3ukCsRfVNF2C/oD9+xMcxaPmp5e\\n ceXYLd7K+rxhet7afqUiIaBOFZnEri2i29Xj9Pe6Kg9SzAT2F/VnZLeaj+tn/cBR\\n WYrSZM0z2qEae+T1LSe0f1LRA44oMhXZdFbdZp7+pii+G02QaoKJ544smGG0SJFC\\n EUjFFMRluWqs4Xbg+MzYPl5epsH/4wlEUR7FFR3+ih8+A7kHBbuHGVR67uP97HqW\\n Z5X5swb2ZAT4j/ffx0GREWHWXpNrn6WulI62aJf/oFQRxtWB1bTuEtOxddkg2hpH\\n CjLTvROUGDJOofWuAwV41P1UybczcUL3P3hc15mIpEVUijpSGtaSFU7Pfxw52hQZ\\n pvf7m0mRTNeEpbtOmrRY0+SCEpRCWuB7EfdZ4my6wS6DKDAPm3TOYeckSQfoTd4l\\n HFvd18DjuxIS3z7lyg0w9BoJD8enW3hySBtSj/9p9RS/gJmjOF6RF+GhEMdrZjxf\\n z0RCkuAACvGAxoYUHbhsCX/agkXCp7MVWnTLOiMJjUAx53g1eVtKGOUuCXbgTb60\\n EowIc1Ljow==\\n =5eoB\\n -----END PGP PUBLIC KEY BLOCK-----\\n'

GPG key for signing git commits

bioconda_utils.bot.config.GITTER_CHANNELS = {'bioconda/Lobby': 'bioconda/bioconda-recipes', 'bioconda/bot': 'bioconda/bioconda-recipes'}

Gitter Channels

bioconda_utils.bot.config.GITTER_TOKEN = None

Gitter Token

bioconda_utils.bot.config.PROJECT_COLUMN_LABEL_MAP = {5706816: {'please review & merge'}}

Assign PRs to project columns by label

bioconda_utils.bot.config.QUAY_LOGIN = None

Quay Login

bioconda_utils.bot.config.REPODATA_TIMEOUT = 300

Time in seconds after which repodata should be reloaded

bioconda_utils.bot.config.get_secret(name)[source]

Load a secret from file or env

Either provide {name}_FILE or {name} in the environment to configure the value for {name}.