Bug 700827
| Summary: | Behaviour should be consistent while uploading a .txt file in custom repo | ||
|---|---|---|---|
| Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | Sachin Ghai <sghai> |
| Component: | Tools | Assignee: | Jay Dobies <jason.dobies> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.0 | CC: | tsanders |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-05-31 12:56:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 688298 | ||
|
Description
Sachin Ghai
2011-04-29 14:09:15 UTC
Great find :)
commit ac03ab610cb9b915afeb57f173bc543574cc7706
Author: Jay Dobies <jason.dobies>
Date: Mon May 9 15:37:14 2011 -0400
Only pull in RPM files when adding a directory of RPMs.
rhui-2.0/tools/src/rhui/tools/commands/packages.py
rhui-2.0/tools/src/rhui/tools/screens/repo.py
Fixed in 2.0.23. Verified in rhui-tools 2.0.25 pulp 0.179 Now I can upload only RPM files when adding from a directry. I included some other files and it has discarded them. [root@dhcp193-136 package1]# ls -l total 2404 -rw-r--r--. 1 root root 0 May 25 08:07 hello.bmp -rw-r--r--. 1 root root 0 May 25 08:07 hello.cvv -rw-r--r--. 1 root root 0 May 25 08:07 hello.test -rw-r--r--. 1 root root 998400 May 9 09:03 qpid-cpp-client-0.10-1.el6.x86_64.rpm -rw-r--r--. 1 root root 103364 May 9 09:03 qpid-cpp-client-ssl-0.10-1.el6.x86_64.rpm -rw-r--r--. 1 root root 951912 May 9 09:03 qpid-cpp-server-0.10-1.el6.x86_64.rpm -rw-r--r--. 1 root root 51344 May 9 09:03 qpid-cpp-server-ssl-0.10-1.el6.x86_64.rpm -rw-r--r--. 1 root root 345356 May 9 09:03 qpid-cpp-server-store-0.10-1.el6.x86_64.rpm [root@dhcp193-136 package1]# rhui (repo) => u Select the repositories to upload the package into: - 1 : repo2_test - 2 : repo157 Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1 Select the repositories to upload the package into: x 1 : repo2_test - 2 : repo157 Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: c Enter the location of the packages to upload. If the location is an RPM, the file will be uploaded. If the location is a directory, all RPMs in that directory will be uploaded: /root/package1 The following RPMs will be uploaded: qpid-cpp-server-0.10-1.el6.x86_64.rpm qpid-cpp-server-ssl-0.10-1.el6.x86_64.rpm qpid-cpp-server-store-0.10-1.el6.x86_64.rpm qpid-cpp-client-0.10-1.el6.x86_64.rpm qpid-cpp-client-ssl-0.10-1.el6.x86_64.rpm Proceed? (y/n) y Uploading /root/package1/qpid-cpp-server-0.10-1.el6.x86_64.rpm... Uploading /root/package1/qpid-cpp-server-ssl-0.10-1.el6.x86_64.rpm... Uploading /root/package1/qpid-cpp-server-store-0.10-1.el6.x86_64.rpm... Uploading /root/package1/qpid-cpp-client-0.10-1.el6.x86_64.rpm... Uploading /root/package1/qpid-cpp-client-ssl-0.10-1.el6.x86_64.rpm... ------------------------------------------------------------------------------ rhui (repo) => moving to release pending closing out, product released |