Project

Profile

Help

Issue #1309

closed

pulp-puppet-module-builder DELETEs working_dir (and is severely broken in other ways...)

Added by jortel@redhat.com over 8 years ago. Updated about 5 years ago.

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

Description

Description of problem:

  • malformed URLs can even make pulp-puppet-module-builder DELETE the whole working_dir (dont try --url=/srv/git/puppet-modules.git/ or anything ending with a slash)
  • it does not work if a git repo contains more than one puppet module
  • it does not work for URLs with relative path names like --url=:puppet-modules.git
  • --clean option does not work for any repo where the remote puppet-modules.git is cloned to a local puppet-modules/

Version-Release number of selected component (if applicable):
pulp-puppet-tools-2.6.0.14-1
python-pulp-puppet-common-2.6.0.14-1

How reproducible:
Just try anything of the above.

Actual results:
Nothing useful at best or in case of malformed URL complete loss of data in working_dir

Also available in: Atom PDF