Skip to content

start-build should optionally take resource.Builder arguments #1995

Closed

Description

@smarterclayton

So that someone can xargs it.

Activity

  1. 0xmichalis commented on May 13, 2015

    @0xmichalis
    Contributor

    Supporting both syntaxes will make the command more complex for both the end user and the code. How about a change to the resource builder altogether?

  2. smarterclayton commented on May 13, 2015

    @smarterclayton
    ContributorAuthor

    We can potentially support a default resource type in builder. It has to be opt in (someone has to explicitly support it).

  3. 0xmichalis commented on May 13, 2015

    @0xmichalis
    Contributor

    How about making the --from-build flag a boolean that will dictate that default type?

  4. smarterclayton commented on May 13, 2015

    @smarterclayton
    ContributorAuthor

    Not sure - could go either way.

    ----- Original Message -----

    How about making the --from-build flag a boolean that will dictate that
    default type?


    Reply to this email directly or view it on GitHub:
    #1995 (comment)

  5. changed the title [-]start-build should take optionally take resource.Builder arguments[/-] [+]start-build should optionally take resource.Builder arguments[/+] on May 18, 2015
  6. modified the milestone: 1.1.0 on Jun 17, 2015
  7. bparees commented on Jun 29, 2015

    @bparees
    Contributor

    @smarterclayton what's your xargs use case? you can always run "xargs -n 1" for things that don't cleanly handle a stream of input.

  8. bparees commented on Jun 29, 2015

    @bparees
    Contributor

    or is this referring to the "build/my-build-name" format?

  9. smarterclayton commented on Jun 30, 2015

    @smarterclayton
    ContributorAuthor

    Yeah

    On Jun 29, 2015, at 4:51 PM, Ben Parees [email protected] wrote:

    or is this referring to the "build/my-build-name" format?

    —
    Reply to this email directly or view it on GitHub
    #1995 (comment).

  10. 0xmichalis commented on Jul 13, 2015

    @0xmichalis
    Contributor

    @smarterclayton is it possible for the resource builder to work with subresources right now? I don't think so. start-build is kind of messy because the input object is never created, instead we define a BuildRequest and query the builds/clone or buildConfigs/instantiate endpoints.

    I was thinking of not using the resource builder for this, instead parse the cli for type/name args. Thoughts?

  11. smarterclayton commented on Jul 13, 2015

    @smarterclayton
    ContributorAuthor

    It is not possible to work with sub resources. I don't think this is a
    high priority item - there are other decisions that need to be made.

    On Mon, Jul 13, 2015 at 10:21 AM, Michail Kargakis <[email protected]

    wrote:

    @smarterclayton https://github.com/smarterclayton is it possible for
    the resource builder to work with subresources right now? I don't think so.
    start-build is kind of messy because the input object is never created,
    instead we define a BuildRequest and query the builds/clone or
    buildConfigs/instantiate endpoints.

    I was thinking of not using the resource builder for this, instead parse
    the cli for type/name args. Thoughts?

    —
    Reply to this email directly or view it on GitHub
    #1995 (comment).

    Clayton Coleman | Lead Engineer, OpenShift

  12. removed this from the 1.1.0 milestone on Sep 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions