Project

Profile

Help

Story #225

[RFE] Support to list details information about one specific pulp repo

Added by szhou@redhat.com over 6 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
2.7.0
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

++ This bug was initially created as a clone of Bugzilla Bug #1077506 ++

Description of problem:

Description of problem:

  1. pulp-admin rpm repo list --details
    Now above command can list all existing pulp repos details, while no way to get details for only one specific pulp repo.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:

Expected results:

Additional info:

--- Additional comment from at 04/03/2014 14:05:48 ---

+1 to this RFE. I frequently need to review the detailed configuration for an individual repo (either so I can determine if something needs to be changed, or to configure a new repo with similar settings), and it is tedious to have to wade through the details for all repos (including the SSL certs and GPG keys!) when I am only interested in one.

--- Additional comment from at 09/29/2014 18:38:20 ---

+1! (as Christina said)

--- Additional comment from at 11/17/2014 20:06:20 ---

Just to say, I currently work around this by using sed to remove unwanted repos.

eg.

pulp-admin repo list --details | sed -n '/repo-name/,/^$/p'

n turns off printing by default
/repo-name/ <
what I'm looking for
/,/ match between
/^$/ <- blank line
/p <- print (since -n turned it off)

Not a solution, just a work around.

--- Additional comment from at 12/01/2014 16:35:36 ---

https://github.com/pulp/pulp/pull/1377

History

#1 Updated by bmbouter over 6 years ago

  • Status changed from NEW to MODIFIED

This was already at MODIFIED state in Bugzilla. There was an error in the migration into Redmine. This change sets the correct state.

#2 Updated by dkliban@redhat.com over 6 years ago

  • Platform Release set to 2.7.0
  • Groomed set to No
  • Sprint Candidate set to No

#3 Updated by dkliban@redhat.com over 6 years ago

  • Status changed from MODIFIED to 5

#4 Updated by igulina@redhat.com over 6 years ago

  • Status changed from 5 to 6
>> rpm -qa pulp-server
pulp-server-2.7.0-0.3.beta.el7.noarch

>> pulp-admin rpm repo list
+----------------------------------------------------------------------+
                            RPM Repositories
+----------------------------------------------------------------------+

Id:                  zoo_repo
Display Name:        zoo_repo
Description:         None
Content Unit Counts: 
  Erratum:          4
  Package Category: 1
  Package Group:    2
  Rpm:              28

Id:                  funtik
Display Name:        funtik
Description:         None
Content Unit Counts: 

Id:                  repka
Display Name:        repka
Description:         None
Content Unit Counts: 

>> pulp-admin rpm repo list --repo-id zoo_repo --details
+----------------------------------------------------------------------+
                            RPM Repositories
+----------------------------------------------------------------------+

Id:                   zoo_repo
Display Name:         zoo_repo
Description:          None
Content Unit Counts:  
  Erratum:          4
  Package Category: 1
  Package Group:    2
  Rpm:              28
Notes:                
Importers:            
  Config:           
    Feed: https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/
  Id:               yum_importer
  Importer Type Id: yum_importer
  Last Sync:        2015-06-26T17:12:29Z
  Repo Id:          zoo_repo
  Scheduled Syncs:  
Distributors:         
  Auto Publish:        True
  Config:              
    Checksum Type: sha256
    Http:          False
    Https:         True
    Relative URL:  /repos/pulp/pulp/demo_repos/zoo/
  Distributor Type Id: yum_distributor
  Id:                  yum_distributor
  Last Publish:        2015-06-26T17:12:40Z
  Repo Id:             zoo_repo
  Scheduled Publishes: 
  Auto Publish:        False
  Config:              
    Http:  False
    Https: True
  Distributor Type Id: export_distributor
  Id:                  export_distributor
  Last Publish:        None
  Repo Id:             zoo_repo
  Scheduled Publishes: 

>> pulp-admin rpm repo list --repo-id repka --details
+----------------------------------------------------------------------+
                            RPM Repositories
+----------------------------------------------------------------------+

Id:                   repka
Display Name:         repka
Description:          None
Content Unit Counts:  
Notes:                
Importers:            
Distributors:         
  Auto Publish:        True
  Config:              
    Http:         False
    Https:        True
    Relative URL: repka
  Distributor Type Id: yum_distributor
  Id:                  yum_distributor
  Last Publish:        None
  Repo Id:             repka
  Scheduled Publishes: 
  Auto Publish:        False
  Config:              
    Http:  False
    Https: True
  Distributor Type Id: export_distributor
  Id:                  export_distributor
  Last Publish:        None
  Repo Id:             repka
  Scheduled Publishes: 

Details on non-existing repo:

 pulp-admin rpm repo list --details --repo-id no_repo
+----------------------------------------------------------------------+
                            RPM Repositories
+----------------------------------------------------------------------+

The following resource(s) could not be found:

  no_repo (repo)

#5 Updated by rbarlow over 5 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#7 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF