Skip to content

[TASK] Set version branch alias for dev-main #672

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

sbuerk
Copy link
Collaborator

@sbuerk sbuerk commented Apr 27, 2025

Composer and packagist automatically defines alias
for version looking branches, for example 7.x-dev
for a branch called 7. Even with tagged versions
and version branches in place, there is no automatic
"next highest" major alias for the default branch,
for example main.

To allow extension and projects to specifcy a concrete
development without using the branch, for example with
composer req --dev typo3/testing-framework:'9.*.*@dev'
branch alias for dev-main is set to the current major
development version for the main branch.

Note that that allows us to branch out main into a 9
branch in the future and updating the branch alias of
main and extension will stay on the suitiable branch
for their TYPO3 versions without forced to new major.

Used command(s):

composer config extra."branch-alias"."dev-main" "9.x-dev"

Composer and packagist automatically defines alias
for version looking branches, for example `7.x-dev`
for a branch called `7`. Even with tagged versions
and version branches in place, there is no automatic
"next highest" major alias for the default branch,
for example `main`.

To allow extension and projects to specifcy a concrete
development without using the branch, for example with
`composer req --dev typo3/testing-framework:'9.*.*@dev'`
branch alias for dev-main is set to the current major
development version for the main branch.

Note that that allows us to branch out main into a `9`
branch in the future and updating the branch alias of
main and extension will stay on the suitiable branch
for their TYPO3 versions without forced to new major.

Used command(s):

```shell
composer config extra."branch-alias"."dev-main" "9.x-dev"
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants