heupr / core

The legacy codebase for the Heupr application
MIT License
8 stars 2 forks source link

Pipeline rebuild #43

Closed forstmeier closed 6 years ago

forstmeier commented 6 years ago

Overview

Description

This is a “base of operations” for the rebuild. See the sections below for details on implementation and the overall impetus/structure behind the project.

Flow

As far as the directory structure goes, it will basically be moving conflation/ to live within pipeline/ directly. Data flow would look something like this:

frontend/ -> gateway/ -> ingestor/ -> conflation/ -> backend/

Components

Modules

dependent-pin

Process

Breakdown

dependent-pin

Step Reason Word bag
A commit maker receives credit for the object The maker individual actually made and submitted code changes to the code base Commit message body/title, PullRequest body/title
If the PullRequest or commit closes an Issue, they receive credit also for that Issue The fixer understood the task and implemented a solution for it PullRequest body/title, commit message body/title, Issue body/title
“Naked” closed Issue(s) are ignored for the purposes of training the model There is no concise way of identifying who fixed the issue (one exception may be using the original Assignee field) N/A

feature-web

Takeaway

The dependent-pin and feature-web could be features that we build and implement right away as they are “expansions” on current logic/structure.

taylormike commented 6 years ago

"specific filters will be built into queries (replacing conflation Scenarios)" Looks good but this^^ is out of our hands from a technical standpoint. That either works or it doesn't. (Nothing we can really do unless we fork GraphQL and change it) Or have both the GoLang scenarios and GraphQL filters.

forstmeier commented 6 years ago

Agreed; what I meant (and was unclear about) was that the specific data we want from GitHub will be defined in the GraphQL query as opposed to being defined in scenario(s) like we currently have. But yes, it is out of our hands since we would be relying on the current state of GraphQL/GitHub APIv4.

taylormike commented 6 years ago

The good news is Github does respond to feedback and there GraphQL schema is updated everyday.

forstmeier commented 6 years ago

This "parent issue" is being shut down in favor of pursuing the individual sub-issues as updates to the heupr/core repository; some of the larger concepts (e.g. dependent-pin and feature-web) are being moved to the heupr/heupr repository.