Skip to content
This repository has been archived by the owner on Jan 3, 2020. It is now read-only.

Abstract out "analyzeTree" into separate probot extension #5

Open
swinton opened this issue Jun 26, 2018 · 0 comments
Open

Abstract out "analyzeTree" into separate probot extension #5

swinton opened this issue Jun 26, 2018 · 0 comments
Assignees

Comments

@swinton
Copy link
Owner

swinton commented Jun 26, 2018

Via @bkeepers:

https://github.com/swinton/linter-alex/blob/master/lib/analysis.js

Some pointers:

Metadata usage:

const metadata = require('probot-metadata')

const kv = await metadata(context)
kv.set('edits', kv.get('edits') || 1)

Applied to analyzeTree

  1. Needs context, filter, action
  2. Use pagination helper to support more than 100 pages
@swinton swinton self-assigned this Jun 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant