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: Drop deprecated cockpit.resolve() #84

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

Conversation

martinpitt
Copy link
Contributor

cockpit.{resolve,reject} have been deprecated for years. Use the standard JS promise API.

cockpit.{resolve,reject} have been deprecated for years. Use the
standard JS promise API.
martinpitt added a commit to martinpitt/cockpit that referenced this pull request Nov 25, 2024
Commit 132300e was premature, subscription-manager still uses
that [1]. Put it back, but in terms of the standard Promise API.

[1] candlepin/subscription-manager-cockpit#84
martinpitt added a commit to martinpitt/cockpit that referenced this pull request Nov 25, 2024
Commit 132300e was premature, subscription-manager still uses
that [1]. Put it back, but in terms of the standard Promise API.

Add a deprecation warning.

[1] candlepin/subscription-manager-cockpit#84
martinpitt added a commit to cockpit-project/cockpit that referenced this pull request Nov 25, 2024
Commit 132300e was premature, subscription-manager still uses
that [1]. Put it back, but in terms of the standard Promise API.

Add a deprecation warning.

[1] candlepin/subscription-manager-cockpit#84
martinpitt added a commit to cockpit-project/cockpit that referenced this pull request Nov 25, 2024
Commit 132300e was premature, subscription-manager still uses
that [1]. Put it back, but in terms of the standard Promise API.

Add a deprecation warning.

[1] candlepin/subscription-manager-cockpit#84
clrpackages pushed a commit to clearlinux-pkgs/cockpit that referenced this pull request Nov 25, 2024
commit bdd05b451b1650a6cd9c7dbfc6257a71a225f077
Author: Martin Pitt <[email protected]>
Date:   Mon Nov 25 13:15:12 2024 +0100

    cockpit.js: Put back cockpit.{resolve,reject}

    Commit 132300e09cc45cbd was premature, subscription-manager still uses
    that [1]. Put it back, but in terms of the standard Promise API.

    Add a deprecation warning.

    [1] candlepin/subscription-manager-cockpit#84
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.

1 participant