Project

General

Profile

Bug #4050

CLI does not expand ~ in filepath of repo content upload (at least)

Added by Katello Issue Migration over 5 years ago. Updated 11 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

```
[walden@wraines-sandbox katello (master)]$ katello-cli repo content_upload --repo=Custom --product=booyah! --filepath=~/Downloads/acl-2.2.23-8.i386.rpm --content_type=yum --org=ACME_Corporation
Invalid path '~/Downloads/acl-2.2.23-8.i386.rpm'.
[walden@wraines-sandbox katello (master)]$ katello-cli repo content_upload --repo=Custom --product=booyah! --filepath=/home/walden/Downloads/acl-2.2.23-8.i386.rpm --content_type=yum --org=ACME_Corporation
Successfully uploaded 'acl-2.2.23-8.i386.rpm' into repository
[walden@wraines-sandbox katello (master)]$ echo ~
/home/walden
```

Steps to Reproduce:
1. Repeat the above on your own
2. Note error

Created: waldenraines on October 02, 2013 20:01 +00:00
Imported from https://api.github.com/repos/Katello/katello/issues/3072


Related issues

Related to Katello - Feature #5813: Implement content uploadsClosed2014-05-20

History

#1 Updated by Eric Helms about 5 years ago

#2 Updated by Eric Helms about 5 years ago

  • Category set to Hammer
  • Assignee set to David Davis
  • Target version set to 45
  • Triaged set to Yes

#3 Updated by Eric Helms about 5 years ago

  • Target version deleted (45)
  • Difficulty set to easy

#4 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 114

Also available in: Atom PDF