Skip to content
New issue

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

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

Already on GitHub? # to your account

[Package Manager] updating when using beta packages #3792

Closed
SychO9 opened this issue Apr 15, 2023 · 1 comment
Closed

[Package Manager] updating when using beta packages #3792

SychO9 opened this issue Apr 15, 2023 · 1 comment
Assignees
Labels
Milestone

Comments

@SychO9
Copy link
Member

SychO9 commented Apr 15, 2023

Current Behavior

Production instances have stable minimum stability by default. Sometimes we need to be able to try beta packages, but the update command fails because minimum stability is stable.

Steps to Reproduce

  1. Install a beta package (packamanager itself is beta)
  2. Run a global update

Expected Behavior

We should be able to update without a hitch.

Screenshots

No response

Environment

  • Flarum version: x.y.z
  • Website URL: http://example.com
  • Webserver: [e.g. apache, nginx]
  • Hosting environment: [e.g. shared, vps]
  • PHP version: x.y.z
  • Browser: [e.g. chrome 67, safari 11]

Output of php flarum info

Output of "php flarum info", run this in terminal in your Flarum directory.

Possible Solution

Perhaps allow changing the minimum stability to beta from the UI, while using --prefer-stable in update commands.

Additional Context

No response

@askvortsov1
Copy link
Member

Perhaps allow changing the minimum stability to beta from the UI, while using --prefer-stable in update commands.

Feels like this should be simple enough to do with a setting and a toggle switch

@SychO9 SychO9 added this to the 2.0 milestone Apr 19, 2023
SychO9 added a commit that referenced this issue Dec 8, 2023
@SychO9 SychO9 self-assigned this Dec 13, 2023
SychO9 added a commit that referenced this issue Dec 18, 2023
* chore: track
* Apply fixes from StyleCI
* chore: track
* Apply fixes from StyleCI
* fix: installing beta packages #3792
* chore: guess package not found error
* Apply fixes from StyleCI
* feat: queue improvements
* feat: queue improvements
* fix: issues with job failure and unique runs
* fix: enforce one composer action at a time
* feat: add cause to queued command output
* Apply fixes from StyleCI
* feat: add soft & hard extension update options
* chore: explain why an extension cannot be removed
* chore: remove test
* chore: simplify
* docs: readme
* Apply fixes from StyleCI
* fea: allow adding repositories and auth methods
* chore: prevent future issues when min stability is set
* chore: typings check
* fix: phpstan
* Apply fixes from StyleCI
* fix: bugs
@SychO9 SychO9 closed this as completed May 17, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants