Skip to content

Instantly share code, notes, and snippets.

@jdob
Created March 6, 2013 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdob/5103244 to your computer and use it in GitHub Desktop.
Save jdob/5103244 to your computer and use it in GitHub Desktop.
╭─[jdob]─[hinterlands]─[~]─[]─●
╰─➤ pulp-admin rpm repo search 64 ↵
+----------------------------------------------------------------------+
Repositories
+----------------------------------------------------------------------+
Id: f17
Display Name: f17
Description: None
Content Unit Count: 3584
Content Unit Counts:
Distribution: 1
Package Category: 7
Package Group: 227
Rpm: 3349
Notes:
Id: foo
Display Name: foo
Description: None
Content Unit Counts:
Rpm: 0
Notes:
@jdob
Copy link
Author

jdob commented Mar 6, 2013

db.repos.find()
{ "_id" : ObjectId("50cb4de48a905b1b11000010"), "_ns" : "repos", "content_unit_count" : 3584, "content_unit_counts" : { "package_group" : 227, "distribution" : 1, "package_category" : 7, "rpm" : 3349 }, "description" : null, "display_name" : "f17", "id" : "f17", "notes" : { "_repo-type" : "rpm-repo" }, "scratchpad" : { "checksum_type" : "sha256", "repodata" : { } } }
{ "_id" : ObjectId("5137b24a8a905b2fc9000018"), "_ns" : "repos", "content_unit_counts" : { "rpm" : 0 }, "description" : null, "display_name" : "foo", "id" : "foo", "notes" : { "_repo-type" : "rpm-repo" }, "scratchpad" : { } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment