Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(CLI): Support branch in pull config #STRINGS-538 #701

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jablan
Copy link
Collaborator

@jablan jablan commented Oct 18, 2024

Supports getting the branch from pull target configuration.

phrase/phrase-cli#152

@jablan jablan requested a review from theSoenke October 18, 2024 10:05
@@ -148,12 +148,12 @@ func (source *Source) CheckPreconditions() error {
return nil
}

func (sources Sources) ProjectIds() []string {
projectIds := []string{}
func (sources Sources) ProjectIdsBranches() []LocaleCacheKey {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This function name confused me a bit because it returns a LocaleCacheKey. Maybe we could either rename the function or the struct name so that it's more clear what it returns?

@jablan jablan requested a review from theSoenke November 6, 2024 15:11
Copy link
Collaborator

@theSoenke theSoenke left a comment

Choose a reason for hiding this comment

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

Looks good!

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.

2 participants