[katello-devel] Future feature RFC: Package Upload

Brad Buckingham bbuckingham at redhat.com
Mon Mar 19 20:41:44 UTC 2012


On 03/19/2012 04:31 PM, Justin Sherrill wrote:
> On 03/19/2012 03:25 PM, Brad Buckingham wrote:
>> In the future, the plan is to provide Katello users with the ability 
>> to upload a package.  This email is to present a couple of options 
>> for accomplishing this in the UI and gather some initial feedback.
>>
>> Assumptions:
>> - Prior to package upload, the target repository must exist.
>> - When a package is uploaded, it will be uploaded only to the Library.
>>
>> The following are a couple of options for accomplishing this in the UI:
>>
>> 1. Incorporate it as part of Content Management -> Custom Content 
>> Providers
>>
>>     For example,
>>     a. select [provider] -> Products & Repos -> [repository]
>>     b. from the Repository Details subpanel, allow the user the 
>> ability to browse
>>         to a package file and click 'Upload'
>>
>> 2. Incorporate it as part of Content Management -> Promotions
>>
>>     For example,
>>     a. in the content tree, navigate to Repos
>>     b. select the repo.  (Note: currently, users can see repos 
>> listed, but not select them).
>>     c. from the Repository Details pane (new), allow the user the 
>> ability to browse
>>         to a package file and click 'Upload'.  (Notes: We could also 
>> use this pane to display
>>         a few details on the repository, such as name, url and other 
>> useful info.).
>>
>> I lean towards option 2 for a couple of reasons:
>> - Before a user adds a package, they are likely to browse to see what 
>> packages exist.  Currently, this would be done from the Promotions 
>> page; therefore, they would already be on the page.
>> - In the future, users will have the ability to download packages.  
>> Assuming this will be based on earlier implementations, this would be 
>> from the Promotions page; therefore, having both upload/download on 
>> Promotions keeps it 'somewhat' consistent.
>>
>
> Of these two, I like #2 as well.   Might this be something to hook 
> into the content browser instead of promotions? (Don't honestly know 
> myself, not even sure what the content browser entails).  I feel like 
> in the current UI this is the best place to put it, but if there is 
> some better place to browse content, maybe its better to put it there?
>
>
>   We may also want to consider making it easier to add the uploaded 
> packages to multiple repos at once?  For example, I want to upload a 
> noarch package and add it to my 32bit, 64bit channels.  Should i have 
> to upload it twice?
>
> -Justin
Good feedback.  If the content browser is more than browsing, that may 
be a good place to incorporate this functionality.

Mike also mentioned in irc about possibly needing the ability to 
associate/disassociate a package to/from multiple repos with a single 
action.  We'll definitely want to know if that is a requirement, since 
it will affect the UI.  It may be more easily supported with the CLI, 
since the current UI doesn't really have a 'good' way to support the 
package to multiple association; however, would be nice to have in UI as 
well.  Perhaps that is as +1 for having it considered as part of the 
content browser requirements.

Brad
>
>> There may be other options as well.
>>
>> Any thoughts/opinions/preferences?
>>
>> Thanks,
>> Brad
>>
>> _______________________________________________
>> katello-devel mailing list
>> katello-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/katello-devel
>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel




More information about the katello-devel mailing list