Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jsocol
Copy link
Member

@jsocol jsocol commented Apr 26, 2024

The '--from' argument to 'fastly compute init' now accepts a Fastly
Service ID, which must refer to an existing compute service. The
fastly.toml manifest will be populated with details from this existing
service.

@jsocol jsocol force-pushed the jsocol/CDTOOL-873/init-compute-from-service branch from 15ca3ae to b8c2b8d Compare April 29, 2024 18:06
@jsocol jsocol requested a review from Integralist May 1, 2024 13:36
@jsocol
Copy link
Member Author

jsocol commented May 1, 2024

@Integralist I'm pretty sure I've caught all the unused bits and addressed all the feedback, mind taking another look?

Copy link
Collaborator

@Integralist Integralist left a comment

Choose a reason for hiding this comment

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

LGTM. Going to approve for now, but would be nice to find a better package for IsFastlyID. I agree compute isn't the right place but I don't think argparser is either. Might have to be some other package like https://github.com/fastly/cli/blob/main/pkg/text/service.go (in my head I'm thinking text is about handling text input/output and so could make sense to be here)

@jsocol jsocol changed the title Add ability to init from existing compute service feat(compute/init): allow --from to take a service ID May 1, 2024
The '--from' argument to 'fastly compute init' now accepts a Fastly
Service ID, which must refer to an existing compute service with an
uploaded binary package. The fastly.toml manifest will be populated with
details from this existing service.
@jsocol jsocol force-pushed the jsocol/CDTOOL-873/init-compute-from-service branch from 59ba316 to 71f5b2e Compare May 1, 2024 17:01
@jsocol jsocol merged commit f1b8dce into main May 1, 2024
@jsocol jsocol deleted the jsocol/CDTOOL-873/init-compute-from-service branch May 1, 2024 18:18
@Integralist Integralist added the enhancement New feature or request label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants