Project

Profile

Help

Task #4928

closed

Implement template `update`

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

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

0%

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

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 - CURRENTRELEASEdkliban@redhat.com

Actions
Actions #1

Updated by amacdona@redhat.com almost 5 years ago

  • Parent issue set to #4082

Added by dkliban@redhat.com almost 5 years ago

Revision 8f76c7af | View on GitHub

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

Actions #2

Updated by dkliban@redhat.com almost 5 years ago

  • Parent issue deleted (#4082)
Actions #3

Updated by dkliban@redhat.com almost 5 years ago

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

Updated by dkliban@redhat.com over 3 years ago

  • Status changed from NEW to CLOSED - COMPLETE

Also available in: Atom PDF