Bug 2215586

Summary: [RFE] To manage source rpm in custom repository using Red Hat Satellite web UI.
Product: Red Hat Satellite Reporter: Anand Kulkarni <ankulkar>
Component: RepositoriesAssignee: satellite6-bugs <satellite6-bugs>
Status: NEW --- QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.11.5CC: casl, dsinglet, iballou
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Anand Kulkarni 2023-06-16 16:45:54 UTC
1. Proposed title of this feature request

   Source RPM's are unable to manage from Satellite web UI for the custom repository. 

2. What is the nature and description of the request?

   Currently, cu is unable to add or remove the source RPMs from the custom repository 

3. Why does the customer need this? (List the business requirements here)

   Customers, should be able to manage the source RPMs from Satellite web UI to add or remove the source RPMs from custom repository.
    
4. How would the customer like to achieve this? (List the functional requirements here)

   Currently, an alternative way suggested using the hammer commands.

5. Is there already an existing RFE upstream or in Red Hat Bugzilla?

   Unknown

6. Does the customer have any specific timeline dependencies and which release would they like to target ?

   No

7. Is the sales team involved in this request and do they have any additional input?
   No


8. List any affected packages or components.
   Unknown

Comment 1 Charles Slivkoff 2023-06-16 17:39:48 UTC
See also 2213911

Uploading SRPMs works and until index_content is initiated, the SRPMs will list as normal "Packages".

Once properly reindexed, the count is correct, but there is no means to remove the SRPMs via the UI.

There is a means to remove the SRPMs via hammer:

~~~
# Get the srpm id you want to delete
hammer srpm list

# Remove the srpm in the repository
hammer repository remove-content --id <repo id> --ids <srpm ids> --content-type srpm
~~~