pack icon indicating copy to clipboard operation
pack copied to clipboard

pack should support `pack extension new`

Open natalieparellano opened this issue 2 years ago • 8 comments

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

  • [x] This feature should be documented somewhere

natalieparellano avatar Feb 15 '23 22:02 natalieparellano

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

natalieparellano avatar Feb 15 '23 22:02 natalieparellano

I'd love to see scafall used here.

AidanDelaney avatar Feb 16 '23 05:02 AidanDelaney

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

natalieparellano avatar Feb 16 '23 15:02 natalieparellano

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

harikannan512 avatar Feb 21 '23 17:02 harikannan512

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

natalieparellano avatar Aug 18 '23 16:08 natalieparellano

@natalieparellano is this issue still up?

sarthaksarthak9 avatar Nov 04 '23 16:11 sarthaksarthak9

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

natalieparellano avatar Nov 13 '23 21:11 natalieparellano

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

sarthaksarthak9 avatar Dec 24 '23 12:12 sarthaksarthak9