Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #28050 - rpm content upload #8461

Merged
merged 1 commit into from Dec 19, 2019

Conversation

jjeffers
Copy link
Member

@jjeffers jjeffers commented Dec 5, 2019

This PR updates Katello for rpm content uploads. It should now be possible to upload from the web UI or hammer.

For example:

[vagrant@centos7-hammer-devel2 hammer-cli-katello]$ hammer repository upload-content --id 2 --path zebra-0.1-2.noarch.rpm --content-type rpm
[...]
Successfully uploaded file 'zebra-0.1-2.noarch.rpm'

where '2' is the id of an existing (empty) yum repository.

After completing the upload you should observe that the package is listed in the repository.

[vagrant@centos7-hammer-devel2 hammer-cli-katello]$ hammer repository info --id 2
Warning: An error occured while loading module hammer_cli_foreman_remote_execution.
ID:                 2
Name:               VijayTest2
Label:              VijayTest2
Organization:       Default Organization
Red Hat Repository: no
Content Type:       yum
[...]
Content Counts:     
    Packages:       1
    Source RPMS:    0
    Package Groups: 0
    Errata:         0
    Module Streams: 0

@theforeman-bot
Copy link

Issues: #28050

@jjeffers
Copy link
Member Author

[test katello]

@jjeffers jjeffers force-pushed the 28050_pulp3_rpm_upload branch 3 times, most recently from 083fac7 to 282e4cb Compare December 17, 2019 16:16
@jjeffers jjeffers merged commit 73b500f into Katello:master Dec 19, 2019
@jjeffers jjeffers deleted the 28050_pulp3_rpm_upload branch February 20, 2020 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants