Skip to content

Add an option to skip changelog generation for recipe:update #1081

@DanielBadura

Description

@DanielBadura

I'm currently updating a project's files and I'm running constantly in the github rate limit, even though i already added an auth token.

For example updating doctrine-bundle from:

    "doctrine/doctrine-bundle": {
        "version": "2.7",
        "recipe": {
            "repo": "github.com/symfony/recipes",
            "branch": "main",
            "version": "2.3",
            "ref": "3462ca49d9e945c5c2343e43f71dd31edb0c4e9a"
        },
        "files": [
            "config/packages/doctrine.yaml",
            "src/Entity/.gitignore",
            "src/Repository/.gitignore"
        ]
    },

to:

    "doctrine/doctrine-bundle": {
        "version": "2.18",
        "recipe": {
            "repo": "github.com/symfony/recipes",
            "branch": "main",
            "version": "2.13",
            "ref": "620b57f496f2e599a6015a9fa222c2ee0a32adcb"
        },
        "files": [
            "config/packages/doctrine.yaml",
            "src/Entity/.gitignore",
            "src/Repository/.gitignore"
        ]
    },

The updates itself are running all fine, but the command itself is taking some considerable time to fetch the changelog and then crashes which also lock me out some time from the github api.

As a workaround, I removed the changelog part from the command locally, as I do not need it right now.

I think, adding a option which disables the changelog generation may be a nice dx change in these cases, wdyt?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions