buildpacks / pack

CLI for building apps using Cloud Native Buildpacks
https://buildpacks.io
Apache License 2.0
2.58k stars 288 forks source link

pack should support `pack extension new` #1636

Open natalieparellano opened 1 year ago

natalieparellano commented 1 year ago

Description

This is a sub-task of https://github.com/buildpacks/pack/issues/1470

Just like scaffold new buildpacks, we should be able to scaffold new extensions

Proposed solution

The command should work just like pack buildpack new, but with extensions:

Usage:
  pack buildpack new <id> [flags]

Examples:
pack buildpack new sample/my-buildpack

Flags:
  -a, --api string       Buildpack API compatibility of the generated buildpack (default "0.8")
  -h, --help             Help for 'new'
  -p, --path string      Path to generate the buildpack
  -s, --stacks strings   Stack(s) this buildpack will be compatible with
                         Repeat for each stack in order, or supply once by comma-separated list (default [io.buildpacks.stacks.bionic])
  -V, --version string   Version of the generated buildpack (default "1.0.0")

Additional context

natalieparellano commented 1 year ago

@AidanDelaney should we aim to make use of scafall? (in addition or instead of?)

AidanDelaney commented 1 year ago

I'd love to see scafall used here.

natalieparellano commented 1 year ago

Let's block this on https://github.com/buildpacks/pack/pull/1534 since whatever we do for buildpacks can be modified for extensions

harikannan512 commented 1 year ago

@natalieparellano I'd like to take a swing at this when unblocked. Assign me this issue, please.

natalieparellano commented 1 year ago

Still blocked on https://github.com/buildpacks/pack/pull/1534

@harikannan512 I apologize for completely missing your comment in https://github.com/buildpacks/pack/pull/1685 - by scafall we mean https://github.com/buildpacks-community/scafall

sarthaksarthak9 commented 1 year ago

@natalieparellano is this issue still up?

natalieparellano commented 1 year ago

I think so - @AidanDelaney do you have any thoughts on this?

sarthaksarthak9 commented 10 months ago

@natalieparellano I think it is still up and would love to work on this issue , plz assign me!!