Bug 641372 - Upload w/ --dir option returns an error
Summary: Upload w/ --dir option returns an error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: John Matthews
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks: pulp-verified
TreeView+ depends on / blocked
 
Reported: 2010-10-08 14:47 UTC by dgao
Modified: 2011-08-16 14:00 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-08-16 14:00:32 UTC
Embargoed:


Attachments (Terms of Use)

Description dgao 2010-10-08 14:47:41 UTC
When passing in a directory of rpm file(s) for upload, pulp returns an error message of "need to provide at least one file to perform upload"

[root@pulp-latest /]# pulp-admin -u admin -p admin repo upload --id=f13test --dir=/tmp
Stderr: need to provide at least one file to perform upload

[root@pulp-latest /]# ls /tmp/*.rpm
/tmp/patb-0.1-1.x86_64.rpm

Comment 1 John Matthews 2010-10-08 15:11:22 UTC
Thanks to dgao for providing the fix.

Commit is here:
http://git.fedorahosted.org/git/?p=pulp.git;a=commit;h=398dd919b370f5e2505c934b5db38f223ebb2400

Comment 2 Jay Dobies 2010-10-15 12:24:18 UTC
Fixed in the 0.73 release.

Comment 3 Preethi Thomas 2010-10-18 14:52:41 UTC
verified

[root@preethi ~]# pulp-admin repo upload --id=upload  --dir=rpm-dir/Successful uploaded [pulp-tools-0.0.52-1.fc13.noarch.rpm] to repo [ upload ]
Successful uploaded [pulp-0.0.52-1.fc13.noarch.rpm] to repo [ upload ]

Comment 4 Preethi Thomas 2011-08-16 14:00:32 UTC
Closing with Community Release 15

pulp-0.0.223-4.


Note You need to log in before you can comment on or make changes to this bug.