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

[TASK] Configure Dependabot for solarium/solarium only #3168

Closed
dkd-kaehm opened this issue Jan 21, 2022 · 5 comments · Fixed by #4122 or #4123
Closed

[TASK] Configure Dependabot for solarium/solarium only #3168

dkd-kaehm opened this issue Jan 21, 2022 · 5 comments · Fixed by #4122 or #4123
Assignees

Comments

@dkd-kaehm
Copy link
Collaborator

dkd-kaehm commented Jan 21, 2022

Relates: #3072

@dkd-kaehm dkd-kaehm changed the title Test that Dependabot creates PRs to upgrade solarium in composer.json and in Resources/Private/Php/ComposerLibraries/composer.json [TASK] Configure Dependabot for solarium/solarium Jan 21, 2022
@dkd-kaehm dkd-kaehm changed the title [TASK] Configure Dependabot for solarium/solarium [TASK] Configure Dependabot for solarium/solarium only Jul 13, 2023
@dkd-kaehm
Copy link
Collaborator Author

@dkd-friedrich @dkd-kaehm,

we must get it working as expected:

  • main branch: PRs with updates for solarium + Apache Solr in Dockerfile(We want maintainers changes on that PRs)
  • if possible for all maintained release-Z.Y.x branches!!!

@dkd-kaehm
Copy link
Collaborator Author

dkd-kaehm commented Jul 29, 2024

Test-Scenario
Following is expected:

  • Create pull requests for solarium/solarium against
    • release-12.0.x
    • release-11.6.x
    • release-11.5.x
  • Create pull requests for Dockerfile
    • release-11.6.x Apache Solr 9.6.1

@dkd-kaehm
Copy link
Collaborator Author

:/ Fine,

YAML aliases are not supported

grafik

dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Jul 29, 2024
… not supported

Dependabot couldn't parse the config file at .github/dependabot.yml. The error raised was:

```
YAML aliases are not supported
```

See: dependabot/dependabot-core#1582

Fixes: TYPO3-Solr#3168
@dkd-kaehm dkd-kaehm reopened this Jul 29, 2024
@dkd-kaehm
Copy link
Collaborator Author

dkd-kaehm commented Jul 29, 2024

@dkd-friedrich
Please take a look at this, is my assumption correct or is there something wrong?

Most probably we want to setup the PHP version used by Dependabot to work correctly.
So then all branches require correct config.platform.php setting in composer.json like it is done in Resources/Private/Php/ComposerLibraries/composer.json

"config": {
"platform": {
"php": "8.2"
},

Bildschirmfoto vom 2024-07-29 18-04-24

dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Jul 29, 2024
Dependabot requires `config.platform.php` in composer.json to work correctly.

This will avoid troubles like:

```
Problem 1
    - Root composer.json requires solarium/solarium 6.3.5 -> satisfiable by solarium/solarium[6.3.5].
    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.

    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
```

Relates: TYPO3-Solr#3168
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Jul 29, 2024
Dependabot requires `config.platform.php` in composer.json to work correctly.

This will avoid troubles like:

```
Problem 1
    - Root composer.json requires solarium/solarium 6.3.5 -> satisfiable by solarium/solarium[6.3.5].
    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.

    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
```

Relates: TYPO3-Solr#3168
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Jul 29, 2024
Dependabot requires `config.platform.php` in composer.json to work correctly.

This will avoid troubles like:

```
Problem 1
    - Root composer.json requires solarium/solarium 6.3.5 -> satisfiable by solarium/solarium[6.3.5].
    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.

    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
```

Relates: TYPO3-Solr#3168
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Jul 29, 2024
Dependabot requires `config.platform.php` in composer.json to work correctly.

This will avoid troubles like:

```
Problem 1
    - Root composer.json requires solarium/solarium 6.3.5 -> satisfiable by solarium/solarium[6.3.5].
    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.

    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
```

Relates: TYPO3-Solr#3168
dkd-kaehm added a commit that referenced this issue Jul 29, 2024
Dependabot requires `config.platform.php` in composer.json to work correctly.

This will avoid troubles like:

```
Problem 1
    - Root composer.json requires solarium/solarium 6.3.5 -> satisfiable by solarium/solarium[6.3.5].
    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.

    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
```

Relates: #3168
dkd-kaehm added a commit that referenced this issue Jul 29, 2024
Dependabot requires `config.platform.php` in composer.json to work correctly.

This will avoid troubles like:

```
Problem 1
    - Root composer.json requires solarium/solarium 6.3.5 -> satisfiable by solarium/solarium[6.3.5].
    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.

    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
```

Relates: #3168
dkd-kaehm added a commit that referenced this issue Jul 29, 2024
Dependabot requires `config.platform.php` in composer.json to work correctly.

This will avoid troubles like:

```
Problem 1
    - Root composer.json requires solarium/solarium 6.3.5 -> satisfiable by solarium/solarium[6.3.5].
    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.

    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
```

Relates: #3168
dkd-kaehm added a commit that referenced this issue Jul 29, 2024
Dependabot requires `config.platform.php` in composer.json to work correctly.

This will avoid troubles like:

```
Problem 1
    - Root composer.json requires solarium/solarium 6.3.5 -> satisfiable by solarium/solarium[6.3.5].
    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.

    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
```

Relates: #3168
dkd-kaehm added a commit that referenced this issue Jul 29, 2024
Dependabot requires `config.platform.php` in composer.json to work correctly.

This will avoid troubles like:

```
Problem 1
    - Root composer.json requires solarium/solarium 6.3.5 -> satisfiable by solarium/solarium[6.3.5].
    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.

    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
```

Relates: #3168
dkd-kaehm added a commit that referenced this issue Jul 29, 2024
Dependabot requires `config.platform.php` in composer.json to work correctly.

This will avoid troubles like:

```
Problem 1
    - Root composer.json requires solarium/solarium 6.3.5 -> satisfiable by solarium/solarium[6.3.5].
    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.

    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
```

Relates: #3168
dkd-kaehm added a commit that referenced this issue Jul 29, 2024
Dependabot requires `config.platform.php` in composer.json to work correctly.

This will avoid troubles like:

```
Problem 1
    - Root composer.json requires solarium/solarium 6.3.5 -> satisfiable by solarium/solarium[6.3.5].
    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.

    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
```

Relates: #3168
dkd-kaehm added a commit that referenced this issue Jul 29, 2024
Dependabot requires `config.platform.php` in composer.json to work correctly.

This will avoid troubles like:

```
Problem 1
    - Root composer.json requires solarium/solarium 6.3.5 -> satisfiable by solarium/solarium[6.3.5].
    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.

    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
```

Relates: #3168
dkd-kaehm added a commit that referenced this issue Jul 29, 2024
Dependabot requires `config.platform.php` in composer.json to work correctly.

This will avoid troubles like:

```
Problem 1
    - Root composer.json requires solarium/solarium 6.3.5 -> satisfiable by solarium/solarium[6.3.5].
    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.

    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
```

Relates: #3168
dkd-kaehm added a commit that referenced this issue Jul 29, 2024
Dependabot requires `config.platform.php` in composer.json to work correctly.

This will avoid troubles like:

```
Problem 1
    - Root composer.json requires solarium/solarium 6.3.5 -> satisfiable by solarium/solarium[6.3.5].
    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.

    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
```

Relates: #3168
dkd-kaehm added a commit that referenced this issue Jul 29, 2024
Dependabot requires `config.platform.php` in composer.json to work correctly.

This will avoid troubles like:

```
Problem 1
    - Root composer.json requires solarium/solarium 6.3.5 -> satisfiable by solarium/solarium[6.3.5].
    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.

    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
```

Relates: #3168
dkd-kaehm added a commit that referenced this issue Jul 29, 2024
Dependabot requires `config.platform.php` in composer.json to work correctly.

This will avoid troubles like:

```
Problem 1
    - Root composer.json requires solarium/solarium 6.3.5 -> satisfiable by solarium/solarium[6.3.5].
    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.

    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
```

Relates: #3168
@dkd-kaehm
Copy link
Collaborator Author

Dependabot is too stupid to work properly with old branches or we don't know all the settings. Old branches don't need it, so I delete the settings for old branches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants