recipes icon indicating copy to clipboard operation
recipes copied to clipboard

[POC][WIP] scaffolding system

Open kbond opened this issue 3 years ago • 1 comments

Q A
License MIT
Doc issue/PR n/a

Possible alternative to https://github.com/symfony/maker-bundle/pull/1085. This is just a place to explore the idea right now.

Test this PR:

symfony new project
cd project
export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1088/index.json
composer config repositories.homepage vcs [email protected]:kbond/homepage-scaffold
composer require kbond/homepage-scaffold
vendor/bin/phpunit
unset SYMFONY_ENDPOINT

kbond avatar May 19 '22 19:05 kbond

Thanks for the PR 😍

How to test these changes in your application

  1. Define the SYMFONY_ENDPOINT environment variable:

    # On Unix-like (BSD, Linux and macOS)
    export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1088/index.json
    # On Windows
    SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1088/index.json
    
  2. Install the package(s) related to this recipe:

    composer req 'symfony/flex:^1.16'
    composer req 'kbond/homepage-scaffold:^0.1'
    
  3. Don't forget to unset the SYMFONY_ENDPOINT environment variable when done:

    # On Unix-like (BSD, Linux and macOS)
    unset SYMFONY_ENDPOINT
    # On Windows
    SET SYMFONY_ENDPOINT=
    

Diff between recipe versions

In order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes. I'm going keep this comment up to date with any updates of the attached patch.

github-actions[bot] avatar May 19 '22 19:05 github-actions[bot]