Skip to content

Support multi-stack repositories #13

Description

@remi

Currently, we configure the stacks used for pull requests created in a repository with a comma-separated list of stacks:

https://my-dispatch-app.com/webhooks?stacks=elixir,graphql

For repositories containing multiple applications however, it would be great to specify stacks for each root subdirectory:

https://my-dispatch-app.com/webhooks?stacks[api]=elixir,graphql&stacks[webapp]=webapp

If a pull request is created, we could look at the list of impacted files and extract stacks based on root subdirectories included in the list. So for example if the list of impacted files is:

  • api/mix.exs
  • api/lib/foo/bar.ex

The stacks used to fetch experts/learners for the pull request would be elixir and graphql.

The rest of the process would stay the same — for example contributors for the whole repository would be considered, not “contributors in the api subdirectory”.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions