Skip to content

Fix issue #404 - Allow to use bazel subtarget#689

Merged
dgageot merged 1 commit intoGoogleContainerTools:masterfrom
fclaeys:fix404
Jun 21, 2018
Merged

Fix issue #404 - Allow to use bazel subtarget#689
dgageot merged 1 commit intoGoogleContainerTools:masterfrom
fclaeys:fix404

Conversation

@fclaeys
Copy link
Copy Markdown
Contributor

@fclaeys fclaeys commented Jun 16, 2018

@dgageot @r2d4 Here is a first implementation to fix #404
This is my first contribution on the project do not hesitate to make me your remarks to improve the code.

func trimTarget(buildTarget string) string {

//TODO(r2d4): strip off leading //:, bad
trimedTarget := strings.TrimPrefix(buildTarget, "//")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: typos. Could you rename these to "trimmed"?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done :)

@fclaeys fclaeys force-pushed the fix404 branch 2 times, most recently from 3889ad4 to 31cf7ec Compare June 19, 2018 12:38
@dlorenc dlorenc added the kokoro:run runs the kokoro jobs on a PR label Jun 19, 2018
@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Jun 19, 2018
@dgageot
Copy link
Copy Markdown
Contributor

dgageot commented Jun 20, 2018

@fclaeys Can you please rebase to both update the branch and run the windows tests? Thanks!

@fclaeys
Copy link
Copy Markdown
Contributor Author

fclaeys commented Jun 20, 2018

@dgageot branch updated

@r2d4 r2d4 added kokoro:run runs the kokoro jobs on a PR ready-for-review labels Jun 20, 2018
@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Jun 20, 2018
Copy link
Copy Markdown
Contributor

@dgageot dgageot left a comment

Choose a reason for hiding this comment

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

LGTM

@dgageot dgageot merged commit 26fb845 into GoogleContainerTools:master Jun 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Non-top-level bazel builds don't properly tag artifact

5 participants