MCPcopy Index your code
hub / github.com/electron/trop

github.com/electron/trop @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
89 symbols 263 edges 30 files 1 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

trop

Test

trop-logo

Trop is a GitHub App built with probot that automates the process of backporting features and bugfixes.

[...'backport'.slice(4)].reverse().join``
// => trop

Setup

# Clone the trop repository locally
git clone https://github.com/electron/trop.git

# Change directory to where trop has been cloned
cd trop

# Install dependencies
npm install

# Run the bot
npm start

Documentation

To learn how to use trop, see usage.

For information on setting up a local version of this GitHub App, see local-setup.

Extension points exported contracts — how you extend this code

RemotesOptions (Interface)
(no doc)
src/interfaces.ts
BackportExtension (Interface)
(no doc)
src/extensions/types.ts
InitRepoOptions (Interface)
(no doc)
src/interfaces.ts
BackportOptions (Interface)
(no doc)
src/interfaces.ts
TryBackportOptions (Interface)
(no doc)
src/interfaces.ts

Core symbols most depended-on inside this repo

log
called by 63
src/utils/log-util.ts
isBranchSupported
called by 8
src/utils/branch-util.ts
getEnvVar
called by 8
src/utils/env-util.ts
updateBackportValidityCheck
called by 7
src/utils/checks-util.ts
updateManualBackport
called by 6
src/operations/update-manual-backport.ts
tagBackportReviewers
called by 5
src/utils.ts
getPRNumbersFromPRBody
called by 4
src/utils.ts
updatePRBranch
called by 4
src/utils.ts

Shape

Function 68
Class 6
Enum 5
Interface 5
Method 5

Languages

TypeScript100%

Modules by API surface

src/utils.ts11 symbols
spec/operations.spec.ts9 symbols
src/utils/checks-util.ts8 symbols
src/utils/branch-util.ts8 symbols
src/extensions/electron-patches.ts8 symbols
src/index.ts7 symbols
src/utils/label-utils.ts6 symbols
src/enums.ts5 symbols
src/operations/init-repo.ts4 symbols
src/interfaces.ts4 symbols
src/Queue.ts3 symbols
spec/queue.spec.ts3 symbols

For agents

$ claude mcp add trop \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact