Project

Profile

Help

Task #4928

Implement template `update`

Added by amacdona@redhat.com about 1 year ago. Updated about 1 year ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Plugin Template
Sprint:

Description

1. determine a list of "managed files" from the yaml config. Managed files should have a comment stating that plugin writers should not manually edit these files.
2. implement `update`, which clobbers all managed files
3. add a yaml field "skip_update_files" which allows the plugin author to skip managed files, if they must edit them.
4. implement --file-path option, which clobbers any file, managed or not. This can be used to create new bootstrap files that have been added since the plugin creation, or replacing files that have changed dramatically.


Related issues

Related to Pulp - Story #4082: As a plugin writer I can use plugin_template to bootstrap or update a pluginCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 8f76c7af View on GitHub
Added by dkliban@redhat.com about 1 year ago

Problem: can't use a config file when updating plugin

Solution: add ability to use config file

re: #4928 https://pulp.plan.io/issues/4928

History

#1 Updated by amacdona@redhat.com about 1 year ago

  • Parent task set to #4082

#2 Updated by dkliban@redhat.com about 1 year ago

  • Parent task deleted (#4082)

#3 Updated by dkliban@redhat.com about 1 year ago

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

Please register to edit this issue

Also available in: Atom PDF