Project

Profile

Help

Task #4926

closed

Story #4082: As a plugin writer I can use plugin_template to bootstrap or update a plugin

switch template entirely to jinja

Added by amacdona@redhat.com almost 5 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Plugin Template
Sprint:
Sprint 54
Quarter:

Description

This task does not affect generate_travis_config.

1. Create a new CLI with 1 command `bootstrap`.
2. Modify all string formatting templates to jinja

The bootstrap command will only need to accept 1 argument "name". Implement this as a positional arg, but it will be replaced in a later story by yaml config.

Actions #1

Updated by amacdona@redhat.com almost 5 years ago

  • Parent issue set to #4082
  • Tags Plugin Template added
Actions #2

Updated by dkliban@redhat.com almost 5 years ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes
  • Sprint set to Sprint 54
Actions #3

Updated by amacdona@redhat.com almost 5 years ago

  • Status changed from NEW to POST
  • Assignee set to amacdona@redhat.com

Added by amacdona@redhat.com almost 5 years ago

Revision df12565c | View on GitHub

Use jinja2 to template all files

Primary change: use jinja templates rather than string substitution.

Secondary change: rework the mechanisms of the plugin template to allow templating each of files in the selected section.

https://pulp.plan.io/issues/4926 fixes #4926

Actions #4

Updated by amacdona@redhat.com almost 5 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #5

Updated by bmbouter over 4 years ago

  • Sprint/Milestone set to 3.0.0
Actions #6

Updated by bmbouter over 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF