Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Include build artifact in generated projects #12

Closed
eliashaeussler opened this issue Jun 27, 2022 · 0 comments · Fixed by #75
Closed

[FEATURE] Include build artifact in generated projects #12

eliashaeussler opened this issue Jun 27, 2022 · 0 comments · Fixed by #75
Assignees
Labels
enhancement New feature or request

Comments

@eliashaeussler
Copy link
Member

Is your feature request related to a problem?

Once a project is successfully generated, one cannot reproduce the original build state. This makes it hard to understand

  • which template basis was used for the generated source files,
  • which version of the CPS Project Builder was used to generate the project and
  • what user-submitted template properties were used to process source files.

Describe the solution you'd like

A project build artifact should be generated on successful project generation. For example, this can be a JSON file .project-builder/build-result.json with the following content:

{
    "result": {
        "date": "2022-06-27T21:13:07+0200",
        "project-builder": {
            "version": "0.1.7"
            "executor": "composer"
        },
        "template": {
            "type": "typo3-cms-bundle",
            "package": "cpsit/project-builder",
            "version": "1.1.1"
        },
        "properties": {
            "project": {
                // ...
            }
        },
        "applied-steps": [
            "installComposerDependencies",
            // ...
        ]
    }
}

Describe alternatives you've considered

No response

Additional context

No response

@eliashaeussler eliashaeussler added the enhancement New feature or request label Jun 27, 2022
@eliashaeussler eliashaeussler self-assigned this Jun 27, 2022
@eliashaeussler eliashaeussler linked a pull request Jan 13, 2023 that will close this issue
2 tasks
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 a pull request may close this issue.

1 participant