Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-71305

Remove usages of Prototype from CloudBees Docker Hub/Registry Notification

XMLWordPrintable

    • 2.7.0

      See this blog post for details. Prototype will eventually be removed from Jenkins core. To prepare for this transition, this plugin must be migrated away from Prototype. The blog post contains instructions on how to find and eliminate usages of Prototype. In this plugin, the following usages of Prototype have been identified. This may not be an exhaustive list:

      ./src/main/resources/org/jenkinsci/plugins/registry/notification/token/ApiTokens/resources.js:15:    const repeatedChunk = anchorRevoke.up('.repeated-chunk');
      ./src/main/resources/org/jenkinsci/plugins/registry/notification/token/ApiTokens/resources.js:16:    const apiTokenList = repeatedChunk.up('.dockerhub-api-token-list');
      ./src/main/resources/org/jenkinsci/plugins/registry/notification/token/ApiTokens/resources.js:23:        new Ajax.Request(targetUrl, {
      ./src/main/resources/org/jenkinsci/plugins/registry/notification/token/ApiTokens/resources.js:50:    if (button.hasClassName('request-pending')) {
      ./src/main/resources/org/jenkinsci/plugins/registry/notification/token/ApiTokens/resources.js:54:    button.addClassName('request-pending');
      ./src/main/resources/org/jenkinsci/plugins/registry/notification/token/ApiTokens/resources.js:56:    const repeatedChunk = button.up('.repeated-chunk');
      ./src/main/resources/org/jenkinsci/plugins/registry/notification/token/ApiTokens/resources.js:57:    const apiTokenList = repeatedChunk.up('.dockerhub-api-token-list');
      ./src/main/resources/org/jenkinsci/plugins/registry/notification/token/ApiTokens/resources.js:61:    new Ajax.Request(targetUrl, {
      ./src/main/resources/org/jenkinsci/plugins/registry/notification/token/ApiTokens/resources.js:70:            apiTokenValueSpan.removeClassName('hidden');
      ./src/main/resources/org/jenkinsci/plugins/registry/notification/token/ApiTokens/resources.js:74:            apiTokenCopyButton.removeClassName('hidden');
      ./src/main/resources/org/jenkinsci/plugins/registry/notification/token/ApiTokens/resources.js:80:            warningMessage.removeClassName('hidden');
      ./src/main/resources/org/jenkinsci/plugins/registry/notification/token/ApiTokens/resources.js:86:            revokeButton.removeClassName('hidden');
      ./src/main/resources/org/jenkinsci/plugins/registry/notification/token/ApiTokens/resources.js:89:            cancelButton.addClassName('hidden');
      ./src/main/resources/org/jenkinsci/plugins/registry/notification/token/ApiTokens/resources.js:91:            repeatedChunk.addClassName('dockerhub-api-token-list-fresh-item');
      

            basil Basil Crow
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: