Project

Profile

Help

Task #4928

Implement template `update`

Added by amacdona@redhat.com 5 months ago. Updated 3 months ago.

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

0%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Plugin Template
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
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 plugin MODIFIED Actions

Associated revisions

Revision 8f76c7af View on GitHub
Added by dkliban@redhat.com 4 months 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 5 months ago

  • Parent task set to #4082

#2 Updated by dkliban@redhat.com 3 months ago

  • Parent task deleted (#4082)

#3 Updated by dkliban@redhat.com 3 months 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