Skip to content

Conversation

@eseliger
Copy link
Member

@eseliger eseliger commented Sep 1, 2021

  • Get rid of dependency on graphql.Repository
  • Move git package into sg/sg/lib

@eseliger eseliger requested a review from a team September 1, 2021 10:18
- Get rid of dependency on graphql.Repository
- Move git package into sg/sg/lib
@eseliger eseliger force-pushed the es/independent-template-pkg branch from e1ae294 to 58a66e3 Compare September 1, 2021 13:40
continue
}

stepCtx := &template.StepContext{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need a fresh template.StepContext in every iteration?

Comment on lines +88 to +100
type TemplatingBranch struct {
Name string
TargetOID string
}

type TemplatingRepository struct {
ID string
Name string
DefaultBranch TemplatingBranch
FileMatches map[string]bool
}

func (r TemplatingRepository) SearchResultPaths() (list fileMatchPathList) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the Templating in the name? template.TemplatingRepository is a bit redundant.

@eseliger eseliger merged commit ec5016d into main Sep 1, 2021
@eseliger eseliger deleted the es/independent-template-pkg branch September 1, 2021 14:28
scjohns pushed a commit that referenced this pull request Apr 24, 2023
- Get rid of dependency on graphql.Repository
- Move git package into sg/sg/lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants