diff --git a/guides/common/assembly_importing-content.adoc b/guides/common/assembly_importing-content.adoc index 96fa371fd70..211613877e3 100644 --- a/guides/common/assembly_importing-content.adoc +++ b/guides/common/assembly_importing-content.adoc @@ -78,6 +78,12 @@ include::modules/proc_uploading-content-to-custom-rpm-repositories-by-using-web- include::modules/proc_uploading-content-to-custom-rpm-repositories-by-using-cli.adoc[leveloffset=+1] +ifndef::satellite[] +include::modules/proc_uploading-content-to-deb-repositories-by-using-web-ui.adoc[leveloffset=+1] + +include::modules/proc_uploading-content-to-deb-repositories-by-using-cli.adoc[leveloffset=+1] +endif::[] + include::modules/proc_refreshing-content-counts-on-smart-proxy.adoc[leveloffset=+1] include::modules/proc_configuring-selinux-to-permit-content-synchronization-on-custom-ports.adoc[leveloffset=+1] diff --git a/guides/common/modules/proc_uploading-content-to-deb-repositories-by-using-cli.adoc b/guides/common/modules/proc_uploading-content-to-deb-repositories-by-using-cli.adoc new file mode 100644 index 00000000000..91b55ac477d --- /dev/null +++ b/guides/common/modules/proc_uploading-content-to-deb-repositories-by-using-cli.adoc @@ -0,0 +1,27 @@ +:_mod-docs-content-type: PROCEDURE + +[id="uploading-content-to-deb-repositories-by-using-cli"] += Uploading content to Deb repositories by using Hammer CLI + +[role="_abstract"] +You can upload individual Deb packages to Deb repositories by using Hammer CLI. +Do not upload packages to a repository if you have set the *Upstream URL*. + +.Procedure +* Upload a Deb package: ++ +[options="nowrap" subs="+quotes,verbatim"] +---- +$ hammer repository upload-content \ +--content-type deb \ +--id _My_Repository_ID_ \ +--path _/path/to/example-package.deb_ +---- + +.Verification +* Verify that your Deb repository contains the Deb package that you have uploaded: ++ +[options="nowrap" subs="+quotes,verbatim"] +---- +$ hammer deb list --repository-id _My_Repository_ID_ +---- diff --git a/guides/common/modules/proc_uploading-content-to-deb-repositories-by-using-web-ui.adoc b/guides/common/modules/proc_uploading-content-to-deb-repositories-by-using-web-ui.adoc new file mode 100644 index 00000000000..9e290c117de --- /dev/null +++ b/guides/common/modules/proc_uploading-content-to-deb-repositories-by-using-web-ui.adoc @@ -0,0 +1,18 @@ +:_mod-docs-content-type: PROCEDURE + +[id="uploading-content-to-deb-repositories-by-using-web-ui"] += Uploading content to Deb repositories by using {ProjectWebUI} + +[role="_abstract"] +You can upload individual Deb packages to Deb repositories by using {ProjectWebUI}. + +.Procedure +. In the {ProjectWebUI}, navigate to *Content* > *Products*. +. Select your {customproduct}. +. Select the Deb repository that you want to upload packages to. +Do not upload packages to a repository if you have set the *Upstream URL*. +. Under *Upload Package*, click *Browse...* and select the Deb package that you want to upload. +. Click *Upload*. + +.Verification +* To view all Deb packages in this repository, click the number next to *Packages* under *Content Counts*.