Send quote-enclosed pipeline name to API when retrieving pipeline.
Closes https://github.com/seqeralabs/tower-cli/issues/360
Not sure it's a good idea, why doing this?
Not sure it's a good idea, why doing this?
What do you mean? my comment or the whole thing?
The whole thing, IMO it should app invoking the CLI should take care of handling special chars
The root of the problem is that here the CLI wants to do an exact match search by pipeline name because we expect the name to be unique. And the only way of doing this at API level is enclosing the name with quotes.
I see; therefore, it's the field in the request. As such, should not be managed on BE side? how the FE handle this?
I see; therefore, it's the field in the request. As such, should not be managed on BE side? how the FE handle this?
The FE do not has this need because it is always first doing a list of all the pipelines in a workspace and from that list knows the internal Id of the pipeline. So FE is never querying BE for a single pipeline by name.
Closing this in favor of https://github.com/seqeralabs/tower-cli/pull/425