Project

Profile

Help

Issue #5782

closed

plugin-template needs to support both the pulpcore 3.0 and master branch for plugins

Added by mdepaulo@redhat.com almost 5 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
Yes
Tags:
Plugin Template
Sprint:
Quarter:

Description

Right now plugin-template by default installs pulpcore from the master branch. Only "Required PR" causes it to be overriden, or setup.py (for the latest 3.0 release on PyPI.)

But sometimes plugins need newer features on the 3.0 branch than PyPI has.

plugin-template should have a variable for which branch to use for pulpcore. The variable's value should differ per plugin's branch.


Related issues

Precedes Pulp - Task #5810: plugin-template and pulpcore should use additional_plugins var to specify the pulp_file branchCLOSED - CURRENTRELEASEmdepaulo@redhat.com

Actions
Actions #1

Updated by mdepaulo@redhat.com almost 5 years ago

  • Assignee set to mdepaulo@redhat.com
Actions #2

Updated by mdepaulo@redhat.com almost 5 years ago

  • Tracker changed from Issue to Task
  • % Done set to 0

Added by Mike DePaulo almost 5 years ago

Revision cc0d93cc | View on GitHub

Problem: plugin-template needs to support both the pulpcore 3.0 and master branch for plugins

Solution: specify it in the template_config variable pulpcore_branch Also reworks additional_plugins into both names and branches The few plugins currently using additional_plugins must update that variable in plugin_template.yml

Fixes: #5782 plugin-template needs to support both the pulpcore 3.0 and master branch for plugins https://pulp.plan.io/issues/5782

Actions #3

Updated by mdepaulo@redhat.com almost 5 years ago

  • Tracker changed from Task to Issue
  • Severity set to 2. Medium
  • Triaged set to No

Added by Mike DePaulo almost 5 years ago

Revision c5bf890e | View on GitHub

Problem: CI is failing for pulp-container's 1.0 branch

due to it needing pulp 3.0, but master is getting installed.

Solution: regenerate from plugin-template, and set pulpcore_branch: master/master & 1.0/3.0

[noissue]

re: #5782 plugin-template needs to support both the pulpcore 3.0 and master branch for plugins https://pulp.plan.io/issues/5782

Added by Mike DePaulo almost 5 years ago

Revision c5bf890e | View on GitHub

Problem: CI is failing for pulp-container's 1.0 branch

due to it needing pulp 3.0, but master is getting installed.

Solution: regenerate from plugin-template, and set pulpcore_branch: master/master & 1.0/3.0

[noissue]

re: #5782 plugin-template needs to support both the pulpcore 3.0 and master branch for plugins https://pulp.plan.io/issues/5782

Added by Mike DePaulo almost 5 years ago

Revision 2ac51031 | View on GitHub

Problem: CI is failing for pulp-container's 1.0 branch

due to it needing pulp 3.0, but master is getting installed.

Solution: regenerate from plugin-template, and set pulpcore_branch: master/master & 1.0/3.0

[noissue]

re: #5782 plugin-template needs to support both the pulpcore 3.0 and master branch for plugins https://pulp.plan.io/issues/5782

Added by Mike DePaulo almost 5 years ago

Revision 2ac51031 | View on GitHub

Problem: CI is failing for pulp-container's 1.0 branch

due to it needing pulp 3.0, but master is getting installed.

Solution: regenerate from plugin-template, and set pulpcore_branch: master/master & 1.0/3.0

[noissue]

re: #5782 plugin-template needs to support both the pulpcore 3.0 and master branch for plugins https://pulp.plan.io/issues/5782

Added by Mike DePaulo almost 5 years ago

Revision e12a3a53 | View on GitHub

Problem: Travis will eventually check out the wrong plugin branches for pulpcore 3.0.

Solution:

  1. Regenerate with latest plugin-template,
  2. "repurpose" its var pulpcore_branch as the branch for pulp_file: master/master & 3.0/0.1
  3. Specify the current only branch for pulp-certguard: master
  4. Add plugin-template's standard bash settings for robustness and verbosity to pre_before_install.sh

Also cleanup the effectively empty .travis/post_script.sh

[noissue]

re: #5782 plugin-template needs to support both the pulpcore 3.0 and master branch for plugins https://pulp.plan.io/issues/5782

Actions #4

Updated by Anonymous almost 5 years ago

  • Status changed from NEW to MODIFIED
Actions #5

Updated by mdepaulo@redhat.com almost 5 years ago

  • Precedes Task #5810: plugin-template and pulpcore should use additional_plugins var to specify the pulp_file branch added
Actions #6

Updated by mdepaulo@redhat.com almost 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF