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

Fix error message if no supported package manager found #2829

Merged
merged 1 commit into from
May 3, 2024

Conversation

thrix
Copy link
Collaborator

@thrix thrix commented Apr 4, 2024

Unrecognized package manager.

Or:

Package manager 'foo' is not supported by 'prepare/install'.

when the package manager has been detected, but is not supported by
prepare/install.

I like this error more than:

Package manager "None" is not supported.

Pull Request Checklist

  • implement the feature

@thrix thrix added this to the 1.33 milestone Apr 4, 2024
@happz happz added step | prepare Stuff related to the prepare step area | package managers Changes related to implementations of package managers labels Apr 15, 2024
Copy link
Collaborator

@lukaszachy lukaszachy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer happz's proposal

@happz happz force-pushed the error-unknown-package-manager branch from f232962 to 9f8f00d Compare April 30, 2024 08:02
@thrix thrix requested review from happz and lukaszachy April 30, 2024 09:38
@thrix thrix dismissed lukaszachy’s stale review April 30, 2024 18:54

This was addressed by happz

@psss psss added the ci | full test Pull request is ready for the full test execution label May 3, 2024
@psss psss force-pushed the error-unknown-package-manager branch from 9f8f00d to 1f25e66 Compare May 3, 2024 04:35
```
Unrecognized package manager.
```

Or:

```
Package manager 'foo' is not supported by 'prepare/install'.
```

when the package manager has been detected, but is not supported by
`prepare/install`.

I like this error more than:

```
'Package manager "None" is not supported.'
```

Signed-off-by: Miroslav Vadkerti <[email protected]>
@psss psss force-pushed the error-unknown-package-manager branch from 1f25e66 to a94a9ad Compare May 3, 2024 05:44
@psss psss merged commit a94a9ad into main May 3, 2024
19 of 20 checks passed
@psss psss deleted the error-unknown-package-manager branch May 3, 2024 07:14
@psss psss self-assigned this May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area | package managers Changes related to implementations of package managers ci | full test Pull request is ready for the full test execution step | prepare Stuff related to the prepare step
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants