Project

Profile

Help

Issue #3339 » pulp_admin.log

milan, 03/06/2018 06:26 PM

 
1
pulp-admin rpm repo delete --repo-id rich-depsuploads --helpcreate --repo-id rich-deps --relative-url rich-deps rich-deps--repo-id rich-deps --relative-url rich-deps 
2
Successfully created repository [rich-deps]
3

    
4
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo create --repo-id rich-deps --relative-url rich-deps 
pulp-admin rpm repo create --repo-id rich-deps --relative-url rich-deps 

[vagrant@pulp2 rich-deps]$ 
[vagrant@pulp2 rich-deps]$ [Apulp-admin rpm repo contents  uploads rpm --repo-did rich-deps --dir .
5
+----------------------------------------------------------------------+
6
                              Unit Upload
7
+----------------------------------------------------------------------+
8

    
9
Extracting necessary metadata for each request...
10
[===                                               ] 7%
11
Analyzing: fizzy-0-1.noarch.rpm
12
[=======                                           ] 14%
13
Analyzing: PanAmerican-1-0.noarch.rpm
14
[==========                                        ] 21%
15
Analyzing: lemon-slice-1-0.noarch.rpm
16
[==============                                    ] 28%
17
Analyzing: lemon-juice5-5-10.noarch.rpm
18
[=================                                 ] 35%
19
Analyzing: fruity-0-1.noarch.rpm
20
[=====================                             ] 42%
21
Analyzing: icecubes-2-3.noarch.rpm
22
[=========================                         ] 50%
23
Analyzing: Leafrog8-8-10.noarch.rpm
24
[============================                      ] 57%
25
Analyzing: Bitter-0-1.noarch.rpm
26
[================================                  ] 64%
27
Analyzing: tablespoon-sugar-1-0.noarch.rpm
28
[===================================               ] 71%
29
Analyzing: Contireau2-2-10.noarch.rpm
30
[=======================================           ] 78%
31
Analyzing: soda-0-1.noarch.rpm
32
[==========================================        ] 85%
33
Analyzing: orange-bits-2-3.noarch.rpm
34
[==============================================    ] 92%
35
Analyzing: Cobbler-1-0.noarch.rpm
36
[==================================================] 100%
37
Analyzing: bourbon5-5-10.noarch.rpm
38
... completed
39

    
40
Creating upload requests on the server...
41
[===                                               ] 7%
42
Initializing: fizzy-0-1.noarch.rpm
43
[=======                                           ] 14%
44
Initializing: PanAmerican-1-0.noarch.rpm
45
[==========                                        ] 21%
46
Initializing: lemon-slice-1-0.noarch.rpm
47
[==============                                    ] 28%
48
Initializing: lemon-juice5-5-10.noarch.rpm
49
[=================                                 ] 35%
50
Initializing: fruity-0-1.noarch.rpm
51
[=====================                             ] 42%
52
Initializing: icecubes-2-3.noarch.rpm
53
[=========================                         ] 50%
54
Initializing: Leafrog8-8-10.noarch.rpm
55
[============================                      ] 57%
56
Initializing: Bitter-0-1.noarch.rpm
57
[================================                  ] 64%
58
Initializing: tablespoon-sugar-1-0.noarch.rpm
59
[===================================               ] 71%
60
Initializing: Contireau2-2-10.noarch.rpm
61
[=======================================           ] 78%
62
Initializing: soda-0-1.noarch.rpm
63
[==========================================        ] 85%
64
Initializing: orange-bits-2-3.noarch.rpm
65
[==============================================    ] 92%
66
Initializing: Cobbler-1-0.noarch.rpm
67
[==================================================] 100%
68
Initializing: bourbon5-5-10.noarch.rpm
69
... completed
70

    
71
Starting upload of selected units. If this process is stopped through ctrl+c,
72
the uploads will be paused and may be resumed later using the resume command or
73
canceled entirely using the cancel command.
74

    
75
Uploading: fizzy-0-1.noarch.rpm
76
[==================================================] 100%
77
5894/5894 bytes
78
... completed
79

    
80
Importing into the repository...
81
This command may be exited via ctrl+c without affecting the request.
82

    
83

    
84
[-]
85
Running...
86
[\]
87
Running...
88

    
89
Task Succeeded
90

    
91

    
92
Deleting the upload request...
93
... completed
94

    
95
Uploading: PanAmerican-1-0.noarch.rpm
96
[==================================================] 100%
97
6270/6270 bytes
98
... completed
99

    
100
Importing into the repository...
101
This command may be exited via ctrl+c without affecting the request.
102

    
103

    
104
[-]
105
Running...
106
[\]
107
Running...
108

    
109
Task Succeeded
110

    
111

    
112
Deleting the upload request...
113
... completed
114

    
115
Uploading: lemon-slice-1-0.noarch.rpm
116
[==================================================] 100%
117
5866/5866 bytes
118
... completed
119

    
120
Importing into the repository...
121
This command may be exited via ctrl+c without affecting the request.
122

    
123

    
124
[-]
125
Running...
126
[\]
127
Running...
128

    
129
Task Succeeded
130

    
131

    
132
Deleting the upload request...
133
... completed
134

    
135
Uploading: lemon-juice5-5-10.noarch.rpm
136
[==================================================] 100%
137
5950/5950 bytes
138
... completed
139

    
140
Importing into the repository...
141
This command may be exited via ctrl+c without affecting the request.
142

    
143

    
144
[-]
145
Running...
146
[\]
147
Running...
148

    
149
Task Succeeded
150

    
151

    
152
Deleting the upload request...
153
... completed
154

    
155
Uploading: fruity-0-1.noarch.rpm
156
[==================================================] 100%
157
5918/5918 bytes
158
... completed
159

    
160
Importing into the repository...
161
This command may be exited via ctrl+c without affecting the request.
162

    
163

    
164
[-]
165
Running...
166
[\]
167
Running...
168

    
169
Task Succeeded
170

    
171

    
172
Deleting the upload request...
173
... completed
174

    
175
Uploading: icecubes-2-3.noarch.rpm
176
[==================================================] 100%
177
5770/5770 bytes
178
... completed
179

    
180
Importing into the repository...
181
This command may be exited via ctrl+c without affecting the request.
182

    
183

    
184
[-]
185
Running...
186
[\]
187
Running...
188

    
189
Task Succeeded
190

    
191

    
192
Deleting the upload request...
193
... completed
194

    
195
Uploading: Leafrog8-8-10.noarch.rpm
196
[==================================================] 100%
197
5890/5890 bytes
198
... completed
199

    
200
Importing into the repository...
201
This command may be exited via ctrl+c without affecting the request.
202

    
203

    
204
[-]
205
Running...
206
[\]
207
Running...
208

    
209
Task Succeeded
210

    
211

    
212
Deleting the upload request...
213
... completed
214

    
215
Uploading: Bitter-0-1.noarch.rpm
216
[==================================================] 100%
217
5910/5910 bytes
218
... completed
219

    
220
Importing into the repository...
221
This command may be exited via ctrl+c without affecting the request.
222

    
223

    
224
[-]
225
Running...
226
[\]
227
Running...
228

    
229
Task Succeeded
230

    
231

    
232
Deleting the upload request...
233
... completed
234

    
235
Uploading: tablespoon-sugar-1-0.noarch.rpm
236
[==================================================] 100%
237
5810/5810 bytes
238
... completed
239

    
240
Importing into the repository...
241
This command may be exited via ctrl+c without affecting the request.
242

    
243

    
244
[-]
245
Running...
246
[\]
247
Running...
248

    
249
Task Succeeded
250

    
251

    
252
Deleting the upload request...
253
... completed
254

    
255
Uploading: Contireau2-2-10.noarch.rpm
256
[==================================================] 100%
257
5934/5934 bytes
258
... completed
259

    
260
Importing into the repository...
261
This command may be exited via ctrl+c without affecting the request.
262

    
263

    
264
[-]
265
Running...
266
[\]
267
Running...
268

    
269
Task Succeeded
270

    
271

    
272
Deleting the upload request...
273
... completed
274

    
275
Uploading: soda-0-1.noarch.rpm
276
[==================================================] 100%
277
5890/5890 bytes
278
... completed
279

    
280
Importing into the repository...
281
This command may be exited via ctrl+c without affecting the request.
282

    
283

    
284
[-]
285
Running...
286
[\]
287
Running...
288

    
289
Task Succeeded
290

    
291

    
292
Deleting the upload request...
293
... completed
294

    
295
Uploading: orange-bits-2-3.noarch.rpm
296
[==================================================] 100%
297
5946/5946 bytes
298
... completed
299

    
300
Importing into the repository...
301
This command may be exited via ctrl+c without affecting the request.
302

    
303

    
304
[-]
305
Running...
306
[\]
307
Running...
308

    
309
Task Succeeded
310

    
311

    
312
Deleting the upload request...
313
... completed
314

    
315
Uploading: Cobbler-1-0.noarch.rpm
316
[==================================================] 100%
317
6298/6298 bytes
318
... completed
319

    
320
Importing into the repository...
321
This command may be exited via ctrl+c without affecting the request.
322

    
323

    
324
[-]
325
Running...
326
[\]
327
Running...
328

    
329
Task Succeeded
330

    
331

    
332
Deleting the upload request...
333
... completed
334

    
335
Uploading: bourbon5-5-10.noarch.rpm
336
[==================================================] 100%
337
5858/5858 bytes
338
... completed
339

    
340
Importing into the repository...
341
This command may be exited via ctrl+c without affecting the request.
342

    
343

    
344
[-]
345
Running...
346
[\]
347
Running...
348

    
349
Task Succeeded
350

    
351

    
352
Deleting the upload request...
353
... completed
354

    
355
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admoin rp m repo content rpm ----repo-id rich-deps
356
Arch:         noarch
357
Buildhost:    pulp3.dev
358
Checksum:     a92a27ac4be5670971a0024a814634476989725c6a47e393e38cc256192cd013
359
Checksumtype: sha256
360
Description:  SSIA
361
Epoch:        0
362
Filename:     icecubes-2-3.noarch.rpm
363
License:      No Age Limitation
364
Name:         icecubes
365
Provides:     ice, icecubes, icecubes = 2-3-0
366
Release:      3
367
Requires:     
368
Version:      2
369

    
370
Arch:         noarch
371
Buildhost:    pulp3.dev
372
Checksum:     3826013f43abca24705b72057926d8f46a1a0e7d156dfe9e51883ef535c59b5d
373
Checksumtype: sha256
374
Description:  Properly washed and gently squeezed, fresh, fresh, fresh.
375
Epoch:        0
376
Filename:     lemon-juice5-5-10.noarch.rpm
377
License:      No Age Limitation
378
Name:         lemon-juice5
379
Provides:     citrussy, fruity, juice, lemon, lemon-juice5 = 5-10-0
380
Release:      10
381
Requires:     
382
Version:      5
383

    
384
Arch:         noarch
385
Buildhost:    pulp3.dev
386
Checksum:     56a4a2a5858afcea7c2b1ee468af55cb433463a02e9f394fa92afff1e4b294d2
387
Checksumtype: sha256
388
Description:  Properly washed and thinly sliced, fresh, fresh, fresh.
389
Epoch:        0
390
Filename:     lemon-slice-1-0.noarch.rpm
391
License:      No Age Limitation
392
Name:         lemon-slice
393
Provides:     citrussy, fruity, lemon, lemon-slice = 1-0-0
394
Release:      0
395
Requires:     
396
Version:      1
397

    
398
Arch:         noarch
399
Buildhost:    pulp3.dev
400
Checksum:     653141ad8a37cf2c0af0073709ead4f7379e71bf32425a68906d016c19d998e9
401
Checksumtype: sha256
402
Description:  Pealed and cut, fresh, fresh, fresh.
403
Epoch:        0
404
Filename:     orange-bits-2-3.noarch.rpm
405
License:      No Age Limitation
406
Name:         orange-bits
407
Provides:     citrussy, fruity, orange, orange-bits, orange-bits = 2-3-0
408
Release:      3
409
Requires:     
410
Version:      2
411

    
412
Arch:         noarch
413
Buildhost:    pulp3.dev
414
Checksum:     ce43ef6234b1e5f4a42a3739fe9721e69b3cf065801c367f7017259dcf2fcb5f
415
Checksumtype: sha256
416
Description:  A generic Contireau, nothing fancy.
417
Epoch:        0
418
Filename:     Contireau2-2-10.noarch.rpm
419
License:      21+
420
Name:         Contireau2
421
Provides:     Contireau2 = 2-10-0, bitter, citrussy, contireau, contireau2,
422
              fruity
423
Release:      10
424
Requires:     
425
Version:      2
426

    
427
Arch:         noarch
428
Buildhost:    pulp3.dev
429
Checksum:     ae36dd7cf125970bf02677970e811315eb689d3ba461cdfef3fe2408fedbbad3
430
Checksumtype: sha256
431
Description:  The amount of soda water controls how dry this cocktail will be. 
432
              Put in a big tumbler glass with some ice:  - 5/10 Lemon juice -
433
              5/10 cl. Bourbon - 1 tsp. sugar  stir well and top off with Soda
434
              Water.
435
Epoch:        0
436
Filename:     PanAmerican-1-0.noarch.rpm
437
License:      21+
438
Name:         PanAmerican
439
Provides:     PanAmerican = 1-0-0, bourbon, citrussy, fizzy, fruity, lemon,
440
              long-drink
441
Release:      0
442
Requires:     (bourbon = 5.10 and tablespoon-sugar = 1.0 and lemon-juice = 5.10
443
              and soda)
444
Version:      1
445

    
446
Arch:         noarch
447
Buildhost:    pulp3.dev
448
Checksum:     27e45bf4349426661a52645012111f480083ae5c361e65b9513d45ece04b37d2
449
Checksumtype: sha256
450
Description:  ... usually felt when one want to satisfy their Bitter passions
451
              ...
452
Epoch:        0
453
Filename:     Bitter-0-1.noarch.rpm
454
License:      No Age Limitation
455
Name:         Bitter
456
Provides:     Bitter = 0-1-0
457
Release:      1
458
Requires:     
459
Version:      0
460

    
461
Arch:         noarch
462
Buildhost:    pulp3.dev
463
Checksum:     f72b813c7a781616183fff62d328110d0397912af775ec1340a99e4305da4712
464
Checksumtype: sha256
465
Description:  ... usually felt when one wants to tickle their tongue
466
Epoch:        0
467
Filename:     fizzy-0-1.noarch.rpm
468
License:      No Age Limitation
469
Name:         fizzy
470
Provides:     fizzy = 0-1-0
471
Release:      1
472
Requires:     
473
Version:      0
474

    
475
Arch:         noarch
476
Buildhost:    pulp3.dev
477
Checksum:     04bf750c86deb72a1984b5cad4b6cde750c1aa3851ab0031864ab7d87cc307e0
478
Checksumtype: sha256
479
Description:  SSIA
480
Epoch:        0
481
Filename:     tablespoon-sugar-1-0.noarch.rpm
482
License:      No Age Limitation
483
Name:         tablespoon-sugar
484
Provides:     sugar, tablespoon-sugar, tablespoon-sugar = 1-0-0
485
Release:      0
486
Requires:     
487
Version:      1
488

    
489
Arch:         noarch
490
Buildhost:    pulp3.dev
491
Checksum:     176919273b73a18aeeb43d00a4e8a7b8cc1359d8874470e9a5dc922e21be6ec8
492
Checksumtype: sha256
493
Description:  ... usually felt when one want to satisfy their Fruity passions
494
              ...
495
Epoch:        0
496
Filename:     fruity-0-1.noarch.rpm
497
License:      No Age Limitation
498
Name:         fruity
499
Provides:     fruity = 0-1-0
500
Release:      1
501
Requires:     
502
Version:      0
503

    
504
Arch:         noarch
505
Buildhost:    pulp3.dev
506
Checksum:     a2cdac1ce7e2069d425e94ae796fae3e9996fe5107bf3c06d658b616507755a9
507
Checksumtype: sha256
508
Description:  A corn-grain spirit
509
Epoch:        0
510
Filename:     bourbon5-5-10.noarch.rpm
511
License:      21+
512
Name:         bourbon5
513
Provides:     bourbon, bourbon5, bourbon5 = 5-10-0
514
Release:      10
515
Requires:     
516
Version:      5
517

    
518
Arch:         noarch
519
Buildhost:    pulp3.dev
520
Checksum:     2b23aa4dc2416341c8d666ef30a02a80db8d9184aefc03f724b225a532e9b315
521
Checksumtype: sha256
522
Description:  A refreshing long drink that can be prepared in advance, so that
523
              the fruit can soak up some of the taste and alcohol.  Put in a
524
              Balloon glass with some ice cubes: - 8/10 Scotch - 2/10 Contireau
525
              - table spoon sugar  Stir well and add bits of fresh fruit before
526
              serving
527
Epoch:        0
528
Filename:     Cobbler-1-0.noarch.rpm
529
License:      21+
530
Name:         Cobbler
531
Provides:     Cobbler = 1-0-0, bitter, citrussy, fruity, long-drink, scotch
532
Release:      0
533
Requires:     (scotch = 8.10 and contireau = 2.10 and tablespoon-sugar = 1.0 and
534
              icecubes)
535
Version:      1
536

    
537
Arch:         noarch
538
Buildhost:    pulp3.dev
539
Checksum:     89b220ecb11f659f924ebda4e35fb39e142c182f647d6d0984387cc8071e6bf0
540
Checksumtype: sha256
541
Description:  An old-school, froggy tasting Scotch.
542
Epoch:        0
543
Filename:     Leafrog8-8-10.noarch.rpm
544
License:      21+
545
Name:         Leafrog8
546
Provides:     Leafrog8 = 8-10-0, scotch, scotch8
547
Release:      10
548
Requires:     
549
Version:      8
550

    
551
Arch:         noarch
552
Buildhost:    pulp3.dev
553
Checksum:     1181566d28ec27efbc3a090b7f965f941e466c24c290ab9f3d20e5ebe15b9cd6
554
Checksumtype: sha256
555
Description:  Soda... Sort of a sparkling water.
556
Epoch:        0
557
Filename:     soda-0-1.noarch.rpm
558
License:      No Age Limitation
559
Name:         soda
560
Provides:     fizzy, soda, soda = 0-1-0
561
Release:      1
562
Requires:     
563
Version:      0
564

    
565

    
566
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo sync run --repo-id rich-dependens
567
+----------------------------------------------------------------------+
568
                  Synchronizing Repository [rich-deps]
569
+----------------------------------------------------------------------+
570

    
571
This command may be exited via ctrl+c without affecting the request.
572

    
573

    
574

    
575
Task Failed
576

    
577
Unable to sync a repository that has no feed.
578

    
579
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo sync run --repo-id rich-deps[1@p[1@u[1@b[1@l[1@i[1@s[1@h
580
+----------------------------------------------------------------------+
581
                   Publishing Repository [rich-deps]
582
+----------------------------------------------------------------------+
583

    
584
This command may be exited via ctrl+c without affecting the request.
585

    
586

    
587
Initializing repo metadata
588
[-]
589
... completed
590

    
591
Publishing Distribution files
592
[-]
593
... completed
594

    
595
Publishing RPMs
596
[==================================================] 100%
597
14 of 14 items
598
... completed
599

    
600
Publishing Delta RPMs
601
... skipped
602

    
603
Publishing Errata
604
[-]
605
... completed
606

    
607
Publishing Comps file
608
[-]
609
... completed
610

    
611
Publishing Metadata.
612
[-]
613
... completed
614

    
615
Closing repo metadata
616
[-]
617
... completed
618

    
619
Generating sqlite files
620
... skipped
621

    
622
Removing old repodata
623
[-]
624
... completed
625

    
626
Generating HTML files
627
... skipped
628

    
629
Publishing files to web
630
[-]
631
... completed
632

    
633
Writing Listings File
634
[-]
635
... completed
636

    
637

    
638
Task Succeeded
639

    
640

    
641
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ 
[vagrant@pulp2 rich-deps]$ 
[vagrant@pulp2 rich-deps]$ 
[vagrant@pulp2 rich-deps]$ 
[vagrant@pulp2 rich-deps]$ 
[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo publish run --repo-id rich-deps
pulp-admin rpm repo publish run --repo-id rich-depssync[3@publish

(reverse-i-search)`':r': pulp-admin rpm repo publish run --repo-id rich-deps
[1@p[1@m[1@ [1@mm': rm -f specfile [1@ ^C
642
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pwd
643
/home/vagrant/devel/tmp/rich-deps
644
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ cd ..rpulp-admin rpm repo delete --repo-id rpmprich-deps
645
This command may be exited via ctrl+c without affecting the request.
646

    
647

    
648
[-]
649
Running...
650
[\]
651
Running...
652

    
653
Repository [rich-deps] successfully deleted
654

    
655

    
656
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ rcd ..
657
]0;vagrant@pulp2:~/devel/tmp[vagrant@pulp2 tmp]$ erm -f r rich-deps/
658
]0;vagrant@pulp2:~/devel/tmp[vagrant@pulp2 tmp]$ pwd
659
/home/vagrant/devel/tmp
660
]0;vagrant@pulp2:~/devel/tmp[vagrant@pulp2 tmp]$ cp cd rich-deps/
661
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ ls -la
662
total 120
663
drwxrwxr-x 17 vagrant vagrant  544 Mar  5 20:00 .
664
drwxrwxr-x  4 vagrant vagrant  128 Mar  5 20:00 ..
665
-rw-rw-r--  1 vagrant vagrant 5910 Mar  5 20:00 Bitter-0-1.noarch.rpm
666
-rw-rw-r--  1 vagrant vagrant 5858 Mar  5 20:00 bourbon5-5-10.noarch.rpm
667
-rw-rw-r--  1 vagrant vagrant 6298 Mar  5 20:00 Cobbler-1-0.noarch.rpm
668
-rw-rw-r--  1 vagrant vagrant 5934 Mar  5 20:00 Contireau2-2-10.noarch.rpm
669
-rw-rw-r--  1 vagrant vagrant 5894 Mar  5 20:00 fizzy-0-1.noarch.rpm
670
-rw-rw-r--  1 vagrant vagrant 5918 Mar  5 20:00 fruity-0-1.noarch.rpm
671
-rw-rw-r--  1 vagrant vagrant 5770 Mar  5 20:00 icecubes-2-3.noarch.rpm
672
-rw-rw-r--  1 vagrant vagrant 5890 Mar  5 20:00 Leafrog8-8-10.noarch.rpm
673
-rw-rw-r--  1 vagrant vagrant 5786 Mar  5 20:00 lemon-0-1.noarch.rpm
674
-rw-rw-r--  1 vagrant vagrant 5962 Mar  5 20:00 lemon-juice5-5-10.noarch.rpm
675
-rw-rw-r--  1 vagrant vagrant 5878 Mar  5 20:00 lemon-slice-1-0.noarch.rpm
676
-rw-rw-r--  1 vagrant vagrant 5946 Mar  5 20:00 orange-bits-2-3.noarch.rpm
677
-rw-rw-r--  1 vagrant vagrant 6270 Mar  5 20:00 PanAmerican-1-0.noarch.rpm
678
-rw-rw-r--  1 vagrant vagrant 5890 Mar  5 20:00 soda-0-1.noarch.rpm
679
-rw-rw-r--  1 vagrant vagrant 5810 Mar  5 20:00 tablespoon-sugar-1-0.noarch.rpm
680
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ createrepo_c .
681
Directory walk started
682
Directory walk done - 15 packages
683
Temporary output repo path: ./.repodata/
684
Preparing sqlite DBs
685
Pool started (with 5 workers)
686
Pool finished
687
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp ad-admin rpm repo create --repo-id rich-deps --relativ-e-url rich-deps
688
Successfully created repository [rich-deps]
689

    
690
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ [ulppulp-admin rpm repo contents --help
691
Usage: pulp-admin [SUB_SECTION, ..] COMMAND
692
Description: repository lifecycle commands
693

    
694
Available Sections:
695
  content - search the contents of a repository
696
  copy    - copies one or more content units between repositories
697
  export  - run or view the status of a repository export
698
  group   - repository group commands
699
  publish - run or view the status of publish tasks
700
  remove  - remove modules from a repository
701
  sync    - run, schedule, or view the status of sync tasks
702
  uploads - upload modules into a repository
703

    
704
Available Commands:
705
  create - creates a new repository
706
  delete - deletes a repository
707
  list   - lists repositories on the Pulp server
708
  search - searches for repositories on the server
709
  update - changes metadata on an existing repository
710
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo contents --helpuplaoads --repo-id rich-deps ./-./-./d./i./r./ ./
711
Usage: pulp-admin [SUB_SECTION, ..] COMMAND
712
Description: upload modules into a repository
713

    
714
Available Commands:
715
  cancel      - cancels an outstanding upload request
716
  category    - creates a new package category
717
  comps       - uploads comps.xml into a repository
718
  drpm        - uploads one or more DRPMs into a repository
719
  environment - creates a new package environment
720
  erratum     - creates a new erratum
721
  group       - creates a new package group
722
  langpacks   - creates a new package langpacks
723
  list        - lists in-progress and paused uploads
724
  resume      - resume a paused upload request
725
  rpm         - uploads one or more RPMs into a repository
726
  srpm        - uploads one or more SRPMs into a repository
727
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo uploads --repo-id rich-deps --dir ./[1@r[1@p[1@m[1@ 
728
+----------------------------------------------------------------------+
729
                              Unit Upload
730
+----------------------------------------------------------------------+
731

    
732
Extracting necessary metadata for each request...
733
[===                                               ] 6%
734
Analyzing: lemon-0-1.noarch.rpm
735
[======                                            ] 13%
736
Analyzing: fizzy-0-1.noarch.rpm
737
[==========                                        ] 20%
738
Analyzing: PanAmerican-1-0.noarch.rpm
739
[=============                                     ] 26%
740
Analyzing: lemon-slice-1-0.noarch.rpm
741
[================                                  ] 33%
742
Analyzing: lemon-juice5-5-10.noarch.rpm
743
[====================                              ] 40%
744
Analyzing: fruity-0-1.noarch.rpm
745
[=======================                           ] 46%
746
Analyzing: icecubes-2-3.noarch.rpm
747
[==========================                        ] 53%
748
Analyzing: Leafrog8-8-10.noarch.rpm
749
[==============================                    ] 60%
750
Analyzing: Bitter-0-1.noarch.rpm
751
[=================================                 ] 66%
752
Analyzing: tablespoon-sugar-1-0.noarch.rpm
753
[====================================              ] 73%
754
Analyzing: Contireau2-2-10.noarch.rpm
755
[========================================          ] 80%
756
Analyzing: soda-0-1.noarch.rpm
757
[===========================================       ] 86%
758
Analyzing: orange-bits-2-3.noarch.rpm
759
[==============================================    ] 93%
760
Analyzing: Cobbler-1-0.noarch.rpm
761
[==================================================] 100%
762
Analyzing: bourbon5-5-10.noarch.rpm
763
... completed
764

    
765
Creating upload requests on the server...
766
[===                                               ] 6%
767
Initializing: lemon-0-1.noarch.rpm
768
[======                                            ] 13%
769
Initializing: fizzy-0-1.noarch.rpm
770
[==========                                        ] 20%
771
Initializing: PanAmerican-1-0.noarch.rpm
772
[=============                                     ] 26%
773
Initializing: lemon-slice-1-0.noarch.rpm
774
[================                                  ] 33%
775
Initializing: lemon-juice5-5-10.noarch.rpm
776
[====================                              ] 40%
777
Initializing: fruity-0-1.noarch.rpm
778
[=======================                           ] 46%
779
Initializing: icecubes-2-3.noarch.rpm
780
[==========================                        ] 53%
781
Initializing: Leafrog8-8-10.noarch.rpm
782
[==============================                    ] 60%
783
Initializing: Bitter-0-1.noarch.rpm
784
[=================================                 ] 66%
785
Initializing: tablespoon-sugar-1-0.noarch.rpm
786
[====================================              ] 73%
787
Initializing: Contireau2-2-10.noarch.rpm
788
[========================================          ] 80%
789
Initializing: soda-0-1.noarch.rpm
790
[===========================================       ] 86%
791
Initializing: orange-bits-2-3.noarch.rpm
792
[==============================================    ] 93%
793
Initializing: Cobbler-1-0.noarch.rpm
794
[==================================================] 100%
795
Initializing: bourbon5-5-10.noarch.rpm
796
... completed
797

    
798
Starting upload of selected units. If this process is stopped through ctrl+c,
799
the uploads will be paused and may be resumed later using the resume command or
800
canceled entirely using the cancel command.
801

    
802
Uploading: lemon-0-1.noarch.rpm
803
[==================================================] 100%
804
5786/5786 bytes
805
... completed
806

    
807
Importing into the repository...
808
This command may be exited via ctrl+c without affecting the request.
809

    
810

    
811
[-]
812
Running...
813
[\]
814
Running...
815

    
816
Task Succeeded
817

    
818

    
819
Deleting the upload request...
820
... completed
821

    
822
Uploading: fizzy-0-1.noarch.rpm
823
[==================================================] 100%
824
5894/5894 bytes
825
... completed
826

    
827
Importing into the repository...
828
This command may be exited via ctrl+c without affecting the request.
829

    
830

    
831
[-]
832
Running...
833
[\]
834
Running...
835

    
836
Task Succeeded
837

    
838

    
839
Deleting the upload request...
840
... completed
841

    
842
Uploading: PanAmerican-1-0.noarch.rpm
843
[==================================================] 100%
844
6270/6270 bytes
845
... completed
846

    
847
Importing into the repository...
848
This command may be exited via ctrl+c without affecting the request.
849

    
850

    
851
[-]
852
Running...
853
[\]
854
Running...
855

    
856
Task Succeeded
857

    
858

    
859
Deleting the upload request...
860
... completed
861

    
862
Uploading: lemon-slice-1-0.noarch.rpm
863
[==================================================] 100%
864
5878/5878 bytes
865
... completed
866

    
867
Importing into the repository...
868
This command may be exited via ctrl+c without affecting the request.
869

    
870

    
871
[-]
872
Running...
873
[\]
874
Running...
875

    
876
Task Succeeded
877

    
878

    
879
Deleting the upload request...
880
... completed
881

    
882
Uploading: lemon-juice5-5-10.noarch.rpm
883
[==================================================] 100%
884
5962/5962 bytes
885
... completed
886

    
887
Importing into the repository...
888
This command may be exited via ctrl+c without affecting the request.
889

    
890

    
891
[-]
892
Running...
893
[\]
894
Running...
895

    
896
Task Succeeded
897

    
898

    
899
Deleting the upload request...
900
... completed
901

    
902
Uploading: fruity-0-1.noarch.rpm
903
[==================================================] 100%
904
5918/5918 bytes
905
... completed
906

    
907
Importing into the repository...
908
This command may be exited via ctrl+c without affecting the request.
909

    
910

    
911
[-]
912
Running...
913
[\]
914
Running...
915

    
916
Task Succeeded
917

    
918

    
919
Deleting the upload request...
920
... completed
921

    
922
Uploading: icecubes-2-3.noarch.rpm
923
[==================================================] 100%
924
5770/5770 bytes
925
... completed
926

    
927
Importing into the repository...
928
This command may be exited via ctrl+c without affecting the request.
929

    
930

    
931
[-]
932
Running...
933
[\]
934
Running...
935

    
936
Task Succeeded
937

    
938

    
939
Deleting the upload request...
940
... completed
941

    
942
Uploading: Leafrog8-8-10.noarch.rpm
943
[==================================================] 100%
944
5890/5890 bytes
945
... completed
946

    
947
Importing into the repository...
948
This command may be exited via ctrl+c without affecting the request.
949

    
950

    
951
[-]
952
Running...
953
[\]
954
Running...
955

    
956
Task Succeeded
957

    
958

    
959
Deleting the upload request...
960
... completed
961

    
962
Uploading: Bitter-0-1.noarch.rpm
963
[==================================================] 100%
964
5910/5910 bytes
965
... completed
966

    
967
Importing into the repository...
968
This command may be exited via ctrl+c without affecting the request.
969

    
970

    
971
[-]
972
Running...
973
[\]
974
Running...
975

    
976
Task Succeeded
977

    
978

    
979
Deleting the upload request...
980
... completed
981

    
982
Uploading: tablespoon-sugar-1-0.noarch.rpm
983
[==================================================] 100%
984
5810/5810 bytes
985
... completed
986

    
987
Importing into the repository...
988
This command may be exited via ctrl+c without affecting the request.
989

    
990

    
991
[-]
992
Running...
993
[\]
994
Running...
995

    
996
Task Succeeded
997

    
998

    
999
Deleting the upload request...
1000
... completed
1001

    
1002
Uploading: Contireau2-2-10.noarch.rpm
1003
[==================================================] 100%
1004
5934/5934 bytes
1005
... completed
1006

    
1007
Importing into the repository...
1008
This command may be exited via ctrl+c without affecting the request.
1009

    
1010

    
1011
[-]
1012
Running...
1013
[\]
1014
Running...
1015

    
1016
Task Succeeded
1017

    
1018

    
1019
Deleting the upload request...
1020
... completed
1021

    
1022
Uploading: soda-0-1.noarch.rpm
1023
[==================================================] 100%
1024
5890/5890 bytes
1025
... completed
1026

    
1027
Importing into the repository...
1028
This command may be exited via ctrl+c without affecting the request.
1029

    
1030

    
1031
[-]
1032
Running...
1033
[\]
1034
Running...
1035

    
1036
Task Succeeded
1037

    
1038

    
1039
Deleting the upload request...
1040
... completed
1041

    
1042
Uploading: orange-bits-2-3.noarch.rpm
1043
[==================================================] 100%
1044
5946/5946 bytes
1045
... completed
1046

    
1047
Importing into the repository...
1048
This command may be exited via ctrl+c without affecting the request.
1049

    
1050

    
1051
[-]
1052
Running...
1053
[\]
1054
Running...
1055

    
1056
Task Succeeded
1057

    
1058

    
1059
Deleting the upload request...
1060
... completed
1061

    
1062
Uploading: Cobbler-1-0.noarch.rpm
1063
[==================================================] 100%
1064
6298/6298 bytes
1065
... completed
1066

    
1067
Importing into the repository...
1068
This command may be exited via ctrl+c without affecting the request.
1069

    
1070

    
1071
[-]
1072
Running...
1073
[\]
1074
Running...
1075

    
1076
Task Succeeded
1077

    
1078

    
1079
Deleting the upload request...
1080
... completed
1081

    
1082
Uploading: bourbon5-5-10.noarch.rpm
1083
[==================================================] 100%
1084
5858/5858 bytes
1085
... completed
1086

    
1087
Importing into the repository...
1088
This command may be exited via ctrl+c without affecting the request.
1089

    
1090

    
1091
[-]
1092
Running...
1093
[\]
1094
Running...
1095

    
1096
Task Succeeded
1097

    
1098

    
1099
Deleting the upload request...
1100
... completed
1101

    
1102
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ lspulp-admin rpm repo uploads rpm --repo-id rich-deps --dir ./
pulp-admin rpm repo uploads rpm --repo-id rich-deps --dir ./create repo--repo-id rejich-deps co-copy-1synced --relative-url rich-deps-synced --feed https://pulp2.dev/pulp/repos/rich-deps/
1103
Successfully created repository [rich-deps-synced]
1104

    
1105
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo  sync run repo--repo-id rich-deps-synced
1106
+----------------------------------------------------------------------+
1107
              Synchronizing Repository [rich-deps-synced]
1108
+----------------------------------------------------------------------+
1109

    
1110
This command may be exited via ctrl+c without affecting the request.
1111

    
1112

    
1113
Downloading metadata...
1114
[-]
1115
[\]
1116
... completed
1117

    
1118
Downloading repository content...
1119
[-]
1120
[==================================================] 100%
1121
RPMs:       0/0 items
1122
Delta RPMs: 0/0 items
1123

    
1124
... completed
1125

    
1126
Downloading distribution files...
1127
[==================================================] 100%
1128
Distributions: 0/0 items
1129
[==================================================] 100%
1130
Distributions: 0/0 items
1131

    
1132
Task Failed
1133

    
1134
Error retrieving metadata: Not Found
1135

    
1136
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo sync run --repo-id rich-deps-syncedpublish run --repo-id rich-deps
1137
+----------------------------------------------------------------------+
1138
                   Publishing Repository [rich-deps]
1139
+----------------------------------------------------------------------+
1140

    
1141
This command may be exited via ctrl+c without affecting the request.
1142

    
1143

    
1144
Initializing repo metadata
1145
[-]
1146
... completed
1147

    
1148
Publishing Distribution files
1149
[-]
1150
... completed
1151

    
1152
Publishing RPMs
1153
[==================================================] 100%
1154
15 of 15 items
1155
... completed
1156

    
1157
Publishing Delta RPMs
1158
... skipped
1159

    
1160
Publishing Errata
1161
[-]
1162
... completed
1163

    
1164
Publishing Comps file
1165
[-]
1166
... completed
1167

    
1168
Publishing Metadata.
1169
[-]
1170
... completed
1171

    
1172
Closing repo metadata
1173
[-]
1174
... completed
1175

    
1176
Generating sqlite files
1177
... skipped
1178

    
1179
Removing old repodata
1180
[-]
1181
... completed
1182

    
1183
Generating HTML files
1184
... skipped
1185

    
1186
Publishing files to web
1187
[-]
1188
... completed
1189

    
1190
Writing Listings File
1191
[-]
1192
... completed
1193

    
1194

    
1195
Task Succeeded
1196

    
1197

    
1198
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo publish run --repo-id rich-depssync run --repo-id rich-deps-synced
1199
+----------------------------------------------------------------------+
1200
              Synchronizing Repository [rich-deps-synced]
1201
+----------------------------------------------------------------------+
1202

    
1203
This command may be exited via ctrl+c without affecting the request.
1204

    
1205

    
1206
Downloading metadata...
1207
[-]
1208
[\]
1209
[|]
1210
... completed
1211

    
1212
Downloading repository content...
1213
[-]
1214
[\]
1215
[==================================================] 100%
1216
RPMs:       0/0 items
1217
Delta RPMs: 0/0 items
1218

    
1219
... completed
1220

    
1221
Downloading distribution files...
1222
[==================================================] 100%
1223
Distributions: 0/0 items
1224
[==================================================] 100%
1225
Distributions: 0/0 items
1226
[==================================================] 100%
1227
Distributions: 0/0 items
1228
... completed
1229

    
1230
Importing errata...
1231
[-]
1232
... completed
1233

    
1234
Importing package groups/categories...
1235
[-]
1236
... completed
1237

    
1238
Cleaning duplicate packages...
1239
[-]
1240
[\]
1241
... completed
1242

    
1243

    
1244
Task Succeeded
1245

    
1246

    
1247

    
1248
Initializing repo metadata
1249
[-]
1250
... completed
1251

    
1252
Publishing Distribution files
1253
[-]
1254
... completed
1255

    
1256
Publishing RPMs
1257
[==================================================] 100%
1258
15 of 15 items
1259
... completed
1260

    
1261
Publishing Delta RPMs
1262
... skipped
1263

    
1264
Publishing Errata
1265
[-]
1266
... completed
1267

    
1268
Publishing Comps file
1269
[-]
1270
... completed
1271

    
1272
Publishing Metadata.
1273
[-]
1274
... completed
1275

    
1276
Closing repo metadata
1277
[-]
1278
... completed
1279

    
1280
Generating sqlite files
1281
... skipped
1282

    
1283
Removing old repodata
1284
[-]
1285
... completed
1286

    
1287
Generating HTML files
1288
... skipped
1289

    
1290
Publishing files to web
1291
[-]
1292
... completed
1293

    
1294
Writing Listings File
1295
[-]
1296
... completed
1297

    
1298

    
1299
Task Succeeded
1300

    
1301

    
1302
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo sync run --repo-id rich-deps-synced
pulp-admin rpm repocontents --repo-id pruchich-deps-csuynced
1303
Usage: pulp-admin [SUB_SECTION, ..] COMMAND
1304
Description: manage RPM-related content and features
1305

    
1306
Available Sections:
1307
  consumer - register, bind, and interact with rpm consumers
1308
  repo     - repository lifecycle commands
1309
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm contents --repo-id rich-deps-synced[1@r[1@e[1@p[1@o[1@ 
1310
Usage: pulp-admin [SUB_SECTION, ..] COMMAND
1311
Description: repository lifecycle commands
1312

    
1313
Available Sections:
1314
  content - search the contents of a repository
1315
  copy    - copies one or more content units between repositories
1316
  export  - run or view the status of a repository export
1317
  group   - repository group commands
1318
  publish - run or view the status of publish tasks
1319
  remove  - remove modules from a repository
1320
  sync    - run, schedule, or view the status of sync tasks
1321
  uploads - upload modules into a repository
1322

    
1323
Available Commands:
1324
  create - creates a new repository
1325
  delete - deletes a repository
1326
  list   - lists repositories on the Pulp server
1327
  search - searches for repositories on the server
1328
  update - changes metadata on an existing repository
1329
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo contents --repo-id rich-deps-synced
1330
Usage: pulp-admin [SUB_SECTION, ..] COMMAND
1331
Description: search the contents of a repository
1332

    
1333
Available Commands:
1334
  category     - search for package categories (groups of package groups) in a repository
1335
  distribution - list distributions in a repository
1336
  drpm         - search for DRPMs in a repository
1337
  environment  - search for package environments (collections of package groups)in a repository
1338
  errata       - search errata in a repository
1339
  group        - search for package groups in a repository
1340
  langpacks    - search for package langpacks in a repository
1341
  metafile     - search for Yum Metadata Files in a repository
1342
  rpm          - search for RPMs in a repository
1343
  srpm         - search for SRPMs in a repository
1344
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo content --repo-id rich-deps-synced[1@r[1@p[1@m[1@ 
1345
Arch:         noarch
1346
Buildhost:    pulp3.dev
1347
Checksum:     a33321e45db5e0cced09a2a3482205dc5a39de3b6d6962f949e64309af571df6
1348
Checksumtype: sha256
1349
Description:  SSIA
1350
Epoch:        0
1351
Filename:     icecubes-2-3.noarch.rpm
1352
License:      No Age Limitation
1353
Name:         icecubes
1354
Provides:     ice, icecubes, icecubes = 2-3-0
1355
Release:      3
1356
Requires:     
1357
Version:      2
1358

    
1359
Arch:         noarch
1360
Buildhost:    pulp3.dev
1361
Checksum:     9bb9f1222fd36b7d72e6ee88bb0d285a30d6f965d0815094f3a66ec2fb0f1856
1362
Checksumtype: sha256
1363
Epoch:        0
1364
Filename:     lemon-0-1.noarch.rpm
1365
License:      No Age Limitation
1366
Name:         lemon
1367
Provides:     citrussy, fruity, lemon, lemon = 0-1-0
1368
Release:      1
1369
Requires:     
1370
Version:      0
1371

    
1372
Arch:         noarch
1373
Buildhost:    pulp3.dev
1374
Checksum:     348696c0cee098a5382d152ff684fead8cfd8627fd92aed1848efadc191b5a9b
1375
Checksumtype: sha256
1376
Description:  Soda... Sort of a sparkling water.
1377
Epoch:        0
1378
Filename:     soda-0-1.noarch.rpm
1379
License:      No Age Limitation
1380
Name:         soda
1381
Provides:     fizzy, soda, soda = 0-1-0
1382
Release:      1
1383
Requires:     
1384
Version:      0
1385

    
1386
Arch:         noarch
1387
Buildhost:    pulp3.dev
1388
Checksum:     bc9c2ef85cfd7cf937e7745c9975fecb763bf525f8119027ee125166fc2c1c92
1389
Checksumtype: sha256
1390
Description:  The amount of soda water controls how dry this cocktail will be. 
1391
              Put in a big tumbler glass with some ice:  - 5/10 Lemon juice -
1392
              5/10 cl. Bourbon - 1 tsp. sugar  stir well and top off with Soda
1393
              Water.
1394
Epoch:        0
1395
Filename:     PanAmerican-1-0.noarch.rpm
1396
License:      21+
1397
Name:         PanAmerican
1398
Provides:     PanAmerican = 1-0-0, bourbon, citrussy, fizzy, fruity, lemon,
1399
              long-drink
1400
Release:      0
1401
Requires:     (bourbon = 5.10 and tablespoon-sugar = 1.0), lemon-juice = 5.10-0,
1402
              soda
1403
Version:      1
1404

    
1405
Arch:         noarch
1406
Buildhost:    pulp3.dev
1407
Checksum:     64f44505065fee85bf27bb58952e481a6e18c219b91297f8a9d752800a0f1b71
1408
Checksumtype: sha256
1409
Description:  ... usually felt when one want to satisfy their Bitter passions
1410
              ...
1411
Epoch:        0
1412
Filename:     Bitter-0-1.noarch.rpm
1413
License:      No Age Limitation
1414
Name:         Bitter
1415
Provides:     Bitter = 0-1-0
1416
Release:      1
1417
Requires:     
1418
Version:      0
1419

    
1420
Arch:         noarch
1421
Buildhost:    pulp3.dev
1422
Checksum:     a3157f9d8864ceb7a89fd20329857998f2eb21c97fad3ed0e2124410f3229a7a
1423
Checksumtype: sha256
1424
Description:  A corn-grain spirit
1425
Epoch:        0
1426
Filename:     bourbon5-5-10.noarch.rpm
1427
License:      21+
1428
Name:         bourbon5
1429
Provides:     bourbon, bourbon5, bourbon5 = 5-10-0
1430
Release:      10
1431
Requires:     
1432
Version:      5
1433

    
1434
Arch:         noarch
1435
Buildhost:    pulp3.dev
1436
Checksum:     8de60c0f674276c4da6403f41195e9c9da7ce960579dde70879c15d99c4d019f
1437
Checksumtype: sha256
1438
Description:  An old-school, froggy tasting Scotch.
1439
Epoch:        0
1440
Filename:     Leafrog8-8-10.noarch.rpm
1441
License:      21+
1442
Name:         Leafrog8
1443
Provides:     Leafrog8 = 8-10-0, scotch, scotch8
1444
Release:      10
1445
Requires:     
1446
Version:      8
1447

    
1448
Arch:         noarch
1449
Buildhost:    pulp3.dev
1450
Checksum:     865c3d0aee8bbef509ff61e8cc3ec967be5ae756fdbafa2f5df54772a14a5827
1451
Checksumtype: sha256
1452
Description:  SSIA
1453
Epoch:        0
1454
Filename:     tablespoon-sugar-1-0.noarch.rpm
1455
License:      No Age Limitation
1456
Name:         tablespoon-sugar
1457
Provides:     sugar, tablespoon-sugar, tablespoon-sugar = 1-0-0
1458
Release:      0
1459
Requires:     
1460
Version:      1
1461

    
1462
Arch:         noarch
1463
Buildhost:    pulp3.dev
1464
Checksum:     ff0a12a97fbe8b88cfce65a7f93f088d03d81bd84f482dc2610d0d408ef7f342
1465
Checksumtype: sha256
1466
Description:  Properly washed and gently squeezed, fresh, fresh, fresh.
1467
Epoch:        0
1468
Filename:     lemon-juice5-5-10.noarch.rpm
1469
License:      No Age Limitation
1470
Name:         lemon-juice5
1471
Provides:     citrussy, fruity, juice, lemon, lemon-juice5 = 5-10-0
1472
Release:      10
1473
Requires:     
1474
Version:      5
1475

    
1476
Arch:         noarch
1477
Buildhost:    pulp3.dev
1478
Checksum:     0c3931a3539bef14eb70c5cb1525723f84e71e2d5f49668c95aa7efb04f5c679
1479
Checksumtype: sha256
1480
Description:  Properly washed and thinly sliced, fresh, fresh, fresh.
1481
Epoch:        0
1482
Filename:     lemon-slice-1-0.noarch.rpm
1483
License:      No Age Limitation
1484
Name:         lemon-slice
1485
Provides:     citrussy, fruity, lemon, lemon-slice = 1-0-0
1486
Release:      0
1487
Requires:     
1488
Version:      1
1489

    
1490
Arch:         noarch
1491
Buildhost:    pulp3.dev
1492
Checksum:     73a128d9b89f8f812957ea9c102c88a8bb9e9c8cf9fbb3cb4821280448ac0d09
1493
Checksumtype: sha256
1494
Description:  Pealed and cut, fresh, fresh, fresh.
1495
Epoch:        0
1496
Filename:     orange-bits-2-3.noarch.rpm
1497
License:      No Age Limitation
1498
Name:         orange-bits
1499
Provides:     citrussy, fruity, orange, orange-bits, orange-bits = 2-3-0
1500
Release:      3
1501
Requires:     
1502
Version:      2
1503

    
1504
Arch:         noarch
1505
Buildhost:    pulp3.dev
1506
Checksum:     566fc7409cf0a49f88fb4af02ae2f28dfcc0ac96ac5bcb8fc78b6c2effa580be
1507
Checksumtype: sha256
1508
Description:  ... usually felt when one wants to tickle their tongue
1509
Epoch:        0
1510
Filename:     fizzy-0-1.noarch.rpm
1511
License:      No Age Limitation
1512
Name:         fizzy
1513
Provides:     fizzy = 0-1-0
1514
Release:      1
1515
Requires:     
1516
Version:      0
1517

    
1518
Arch:         noarch
1519
Buildhost:    pulp3.dev
1520
Checksum:     4a66086bbb50997f5929545bb9d52a95de1243e47fb26a84bc9161ccbcabee14
1521
Checksumtype: sha256
1522
Description:  A refreshing long drink that can be prepared in advance, so that
1523
              the fruit can soak up some of the taste and alcohol.  Put in a
1524
              Balloon glass with some ice cubes: - 8/10 Scotch - 2/10 Contireau
1525
              - table spoon sugar  Stir well and add bits of fresh fruit before
1526
              serving
1527
Epoch:        0
1528
Filename:     Cobbler-1-0.noarch.rpm
1529
License:      21+
1530
Name:         Cobbler
1531
Provides:     Cobbler = 1-0-0, bitter, citrussy, fruity, long-drink, scotch
1532
Release:      0
1533
Requires:     (scotch = 8.10 and contireau = 2.10 and tablespoon-sugar = 1.0 and
1534
              icecubes)
1535
Version:      1
1536

    
1537
Arch:         noarch
1538
Buildhost:    pulp3.dev
1539
Checksum:     220494f19e361ce0822dd857df2bc338527a2c00cc43df9a39e6d6b37edae621
1540
Checksumtype: sha256
1541
Description:  ... usually felt when one want to satisfy their Fruity passions
1542
              ...
1543
Epoch:        0
1544
Filename:     fruity-0-1.noarch.rpm
1545
License:      No Age Limitation
1546
Name:         fruity
1547
Provides:     fruity = 0-1-0
1548
Release:      1
1549
Requires:     
1550
Version:      0
1551

    
1552
Arch:         noarch
1553
Buildhost:    pulp3.dev
1554
Checksum:     9fcbd2396538fa51c09c1a73dd9e1cfc2df4b454c19e163e4e0aaba849024126
1555
Checksumtype: sha256
1556
Description:  A generic Contireau, nothing fancy.
1557
Epoch:        0
1558
Filename:     Contireau2-2-10.noarch.rpm
1559
License:      21+
1560
Name:         Contireau2
1561
Provides:     Contireau2 = 2-10-0, bitter, citrussy, contireau, contireau2,
1562
              fruity
1563
Release:      10
1564
Requires:     
1565
Version:      2
1566

    
1567

    
1568
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo content rpm --repo-id rich-deps-synced
pulp-admin rpm repo content rpm --repo-id rich-deps-synced
pulp-dadmin rpm repo create --repo-id rich-deps-copy-owidepscontipan-american
1569
Successfully created repository [rich-deps-copy-pan-american]
1570

    
1571
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ rpm repo  pulp-admin rpm repo copuy --from-repo-id pulp-richi-deps --to-repo-id rich-deps-copy-pan-american --sy--help
1572
Usage: pulp-admin [SUB_SECTION, ..] COMMAND
1573
Description: copies one or more content units between repositories
1574

    
1575
Available Commands:
1576
  all          - copy all content units from one repository to another
1577
  category     - copy package categories from one repository to another
1578
  distribution - copy distributions from one repository to another
1579
  drpm         - copy DRPMs from one repository to another
1580
  environment  - copy package environment from one repository to another
1581
  errata       - copy errata from one repository to another
1582
  group        - copy package groups from one repository to another
1583
  langpacks    - copy package langpacks from one repository to another
1584
  metafile     - copy yum repo metadata files from one repository to another
1585
  rpm          - copy RPMs from one repository to another
1586
  srpm         - copy SRPMs from one repository to another
1587
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo copy --from-repo-id rich-deps --to-repo-id rich-deps-copy-pan-american --help
[1@r[1@p[1@m[1@ 
1588
Command: rpm
1589
Description: copy RPMs from one repository to another
1590

    
1591
Available Arguments:
1592

    
1593
  --filters          - filters provided as JSON in Mongo syntax. This will
1594
                       override any options specified from the 'Filters' section
1595
                       below.
1596
  --after, -a        - matches units added to the source repository on or after
1597
                       the given time; specified as a timestamp in iso8601
1598
                       format
1599
  --before, -b       - matches units added to the source repository on or before
1600
                       the given time; specified as a timestamp in iso8601
1601
                       format
1602
  --from-repo-id, -f - (required) source repository from which units will be
1603
                       copied
1604
  --to-repo-id, -t   - (required) destination repository to copy units into
1605
  --recursive        - if specified, any dependencies of units being copied that
1606
                       are in the source repo will be copied as well
1607

    
1608
Filters
1609
  These are basic filtering options that will be AND'd together. These will be
1610
  ignored if --filters= is specified. Any option may be specified multiple
1611
  times. The value for each option should be a field name and value to match
1612
  against, specified as "name=value". Example: $ pulp-admin <command>
1613
  --str-eq="id=<repo_id>" 
1614

    
1615
  --str-eq - match where a named attribute equals a string value exactly.
1616
  --int-eq - match where a named attribute equals an int value exactly.
1617
  --match  - for a named attribute, match a regular expression using the mongo
1618
             regex engine.
1619
  --in     - for a named attribute, match where value is in the provided list of
1620
             values, expressed as one row of CSV
1621
  --not    - field and expression to omit when determining units for inclusion
1622
  --gt     - matches resources whose value for the specified field is greater
1623
             than the given value
1624
  --gte    - matches resources whose value for the specified field is greater
1625
             than or equal to the given value
1626
  --lt     - matches resources whose value for the specified field is less than
1627
             the given value
1628
  --lte    - matches resources whose value for the specified field is less than
1629
             or equal to the given value
1630

    
1631
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo copy rpm --from-repo-id rich-deps --to-repo-id rich-deps-copy-pan-american --helpstr-eq='name=PanAmerican' --recursive
1632
This command may be exited via ctrl+c without affecting the request.
1633

    
1634

    
1635
[-]
1636
Running...
1637
[\]
1638
Running...
1639

    
1640
Copied:
1641
  PanAmerican-1-0-noarch
1642
  soda-0-1-noarch
1643

    
1644
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo copy rpm --from-repo-id rich-deps --to-repo-id rich-deps-copy-pan-american --str-eq='name=PanAmerican' --recursive
pulp-admin rpm repo copy rpm --from-repo-id rich-deps --to-repo-id rich-deps-copy-pan-american --str-eq='name=PanAmerican' --recursive
pulp-admin rpm repo copy rpm --from-repo-id rich-deps --to-repo-id rich-deps-copy-pan-american --str-eq='name=PanAmerican' --recursive
pulp-admin rpm repo copy rpm --from-repo-id rich-deps --to-repo-id rich-deps-copy-pan-american --str-eq='name=PanAmerican' --recursivehelpstr-eq='name=PanAmerican' --recursiverpm contenrpm ccontent rpm --repo-did rich-deps-copy-pan-american
1645
Arch:         noarch
1646
Buildhost:    pulp3.dev
1647
Checksum:     348696c0cee098a5382d152ff684fead8cfd8627fd92aed1848efadc191b5a9b
1648
Checksumtype: sha256
1649
Description:  Soda... Sort of a sparkling water.
1650
Epoch:        0
1651
Filename:     soda-0-1.noarch.rpm
1652
License:      No Age Limitation
1653
Name:         soda
1654
Provides:     fizzy, soda, soda = 0-1-0
1655
Release:      1
1656
Requires:     
1657
Version:      0
1658

    
1659
Arch:         noarch
1660
Buildhost:    pulp3.dev
1661
Checksum:     bc9c2ef85cfd7cf937e7745c9975fecb763bf525f8119027ee125166fc2c1c92
1662
Checksumtype: sha256
1663
Description:  The amount of soda water controls how dry this cocktail will be. 
1664
              Put in a big tumbler glass with some ice:  - 5/10 Lemon juice -
1665
              5/10 cl. Bourbon - 1 tsp. sugar  stir well and top off with Soda
1666
              Water.
1667
Epoch:        0
1668
Filename:     PanAmerican-1-0.noarch.rpm
1669
License:      21+
1670
Name:         PanAmerican
1671
Provides:     PanAmerican = 1-0-0, bourbon, citrussy, fizzy, fruity, lemon,
1672
              long-drink
1673
Release:      0
1674
Requires:     (bourbon = 5.10 and tablespoon-sugar = 1.0), lemon-juice = 5.10-0,
1675
              soda
1676
Version:      1
1677

    
1678

    
1679
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo list
1680
+----------------------------------------------------------------------+
1681
                            RPM Repositories
1682
+----------------------------------------------------------------------+
1683

    
1684
Id:                  zoo
1685
Display Name:        None
1686
Description:         None
1687
Content Unit Counts: 
1688

    
1689
Id:                  modularity_test
1690
Display Name:        None
1691
Description:         None
1692
Content Unit Counts: 
1693
  Erratum:                1
1694
  Rpm:                    2698
1695
  Yum Repo Metadata File: 1
1696

    
1697
Id:                  modular_test_copy_all
1698
Display Name:        None
1699
Description:         None
1700
Content Unit Counts: 
1701
  Erratum:                1
1702
  Rpm:                    2698
1703
  Yum Repo Metadata File: 1
1704

    
1705
Id:                  mod_copy_enum
1706
Display Name:        None
1707
Description:         None
1708
Content Unit Counts: 
1709
  Rpm:                    2698
1710
  Yum Repo Metadata File: 1
1711

    
1712
Id:                  rpm-unsigned
1713
Display Name:        None
1714
Description:         None
1715
Content Unit Counts: 
1716
  Erratum:           4
1717
  Package Category:  1
1718
  Package Group:     2
1719
  Package Langpacks: 1
1720
  Rpm:               32
1721

    
1722
Id:                  mod_lazy
1723
Display Name:        None
1724
Description:         None
1725
Content Unit Counts: 
1726
  Rpm:                    2698
1727
  Yum Repo Metadata File: 1
1728

    
1729
Id:                  mod_broken
1730
Display Name:        None
1731
Description:         None
1732
Content Unit Counts: 
1733
  Yum Repo Metadata File: 1
1734

    
1735
Id:                  rich-deps
1736
Display Name:        None
1737
Description:         None
1738
Content Unit Counts: 
1739
  Rpm: 15
1740

    
1741
Id:                  rich-deps-synced
1742
Display Name:        None
1743
Description:         None
1744
Content Unit Counts: 
1745
  Rpm: 15
1746

    
1747
Id:                  rich-deps-copy-pan-american
1748
Display Name:        None
1749
Description:         None
1750
Content Unit Counts: 
1751
  Rpm: 2
1752

    
1753

    
1754
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo listcontent rpm --repo-id rich-deps-copy-pan-american
1755
Arch:         noarch
1756
Buildhost:    pulp3.dev
1757
Checksum:     a33321e45db5e0cced09a2a3482205dc5a39de3b6d6962f949e64309af571df6
1758
Checksumtype: sha256
1759
Description:  SSIA
1760
Epoch:        0
1761
Filename:     icecubes-2-3.noarch.rpm
1762
License:      No Age Limitation
1763
Name:         icecubes
1764
Provides:     ice, icecubes, icecubes = 2-3-0
1765
Release:      3
1766
Requires:     
1767
Version:      2
1768

    
1769
Arch:         noarch
1770
Buildhost:    pulp3.dev
1771
Checksum:     9bb9f1222fd36b7d72e6ee88bb0d285a30d6f965d0815094f3a66ec2fb0f1856
1772
Checksumtype: sha256
1773
Epoch:        0
1774
Filename:     lemon-0-1.noarch.rpm
1775
License:      No Age Limitation
1776
Name:         lemon
1777
Provides:     citrussy, fruity, lemon, lemon = 0-1-0
1778
Release:      1
1779
Requires:     
1780
Version:      0
1781

    
1782
Arch:         noarch
1783
Buildhost:    pulp3.dev
1784
Checksum:     348696c0cee098a5382d152ff684fead8cfd8627fd92aed1848efadc191b5a9b
1785
Checksumtype: sha256
1786
Description:  Soda... Sort of a sparkling water.
1787
Epoch:        0
1788
Filename:     soda-0-1.noarch.rpm
1789
License:      No Age Limitation
1790
Name:         soda
1791
Provides:     fizzy, soda, soda = 0-1-0
1792
Release:      1
1793
Requires:     
1794
Version:      0
1795

    
1796
Arch:         noarch
1797
Buildhost:    pulp3.dev
1798
Checksum:     bc9c2ef85cfd7cf937e7745c9975fecb763bf525f8119027ee125166fc2c1c92
1799
Checksumtype: sha256
1800
Description:  The amount of soda water controls how dry this cocktail will be. 
1801
              Put in a big tumbler glass with some ice:  - 5/10 Lemon juice -
1802
              5/10 cl. Bourbon - 1 tsp. sugar  stir well and top off with Soda
1803
              Water.
1804
Epoch:        0
1805
Filename:     PanAmerican-1-0.noarch.rpm
1806
License:      21+
1807
Name:         PanAmerican
1808
Provides:     PanAmerican = 1-0-0, bourbon, citrussy, fizzy, fruity, lemon,
1809
              long-drink
1810
Release:      0
1811
Requires:     (bourbon = 5.10 and tablespoon-sugar = 1.0), lemon-juice = 5.10-0,
1812
              soda
1813
Version:      1
1814

    
1815
Arch:         noarch
1816
Buildhost:    pulp3.dev
1817
Checksum:     64f44505065fee85bf27bb58952e481a6e18c219b91297f8a9d752800a0f1b71
1818
Checksumtype: sha256
1819
Description:  ... usually felt when one want to satisfy their Bitter passions
1820
              ...
1821
Epoch:        0
1822
Filename:     Bitter-0-1.noarch.rpm
1823
License:      No Age Limitation
1824
Name:         Bitter
1825
Provides:     Bitter = 0-1-0
1826
Release:      1
1827
Requires:     
1828
Version:      0
1829

    
1830
Arch:         noarch
1831
Buildhost:    pulp3.dev
1832
Checksum:     a3157f9d8864ceb7a89fd20329857998f2eb21c97fad3ed0e2124410f3229a7a
1833
Checksumtype: sha256
1834
Description:  A corn-grain spirit
1835
Epoch:        0
1836
Filename:     bourbon5-5-10.noarch.rpm
1837
License:      21+
1838
Name:         bourbon5
1839
Provides:     bourbon, bourbon5, bourbon5 = 5-10-0
1840
Release:      10
1841
Requires:     
1842
Version:      5
1843

    
1844
Arch:         noarch
1845
Buildhost:    pulp3.dev
1846
Checksum:     8de60c0f674276c4da6403f41195e9c9da7ce960579dde70879c15d99c4d019f
1847
Checksumtype: sha256
1848
Description:  An old-school, froggy tasting Scotch.
1849
Epoch:        0
1850
Filename:     Leafrog8-8-10.noarch.rpm
1851
License:      21+
1852
Name:         Leafrog8
1853
Provides:     Leafrog8 = 8-10-0, scotch, scotch8
1854
Release:      10
1855
Requires:     
1856
Version:      8
1857

    
1858
Arch:         noarch
1859
Buildhost:    pulp3.dev
1860
Checksum:     865c3d0aee8bbef509ff61e8cc3ec967be5ae756fdbafa2f5df54772a14a5827
1861
Checksumtype: sha256
1862
Description:  SSIA
1863
Epoch:        0
1864
Filename:     tablespoon-sugar-1-0.noarch.rpm
1865
License:      No Age Limitation
1866
Name:         tablespoon-sugar
1867
Provides:     sugar, tablespoon-sugar, tablespoon-sugar = 1-0-0
1868
Release:      0
1869
Requires:     
1870
Version:      1
1871

    
1872
Arch:         noarch
1873
Buildhost:    pulp3.dev
1874
Checksum:     ff0a12a97fbe8b88cfce65a7f93f088d03d81bd84f482dc2610d0d408ef7f342
1875
Checksumtype: sha256
1876
Description:  Properly washed and gently squeezed, fresh, fresh, fresh.
1877
Epoch:        0
1878
Filename:     lemon-juice5-5-10.noarch.rpm
1879
License:      No Age Limitation
1880
Name:         lemon-juice5
1881
Provides:     citrussy, fruity, juice, lemon, lemon-juice5 = 5-10-0
1882
Release:      10
1883
Requires:     
1884
Version:      5
1885

    
1886
Arch:         noarch
1887
Buildhost:    pulp3.dev
1888
Checksum:     0c3931a3539bef14eb70c5cb1525723f84e71e2d5f49668c95aa7efb04f5c679
1889
Checksumtype: sha256
1890
Description:  Properly washed and thinly sliced, fresh, fresh, fresh.
1891
Epoch:        0
1892
Filename:     lemon-slice-1-0.noarch.rpm
1893
License:      No Age Limitation
1894
Name:         lemon-slice
1895
Provides:     citrussy, fruity, lemon, lemon-slice = 1-0-0
1896
Release:      0
1897
Requires:     
1898
Version:      1
1899

    
1900
Arch:         noarch
1901
Buildhost:    pulp3.dev
1902
Checksum:     73a128d9b89f8f812957ea9c102c88a8bb9e9c8cf9fbb3cb4821280448ac0d09
1903
Checksumtype: sha256
1904
Description:  Pealed and cut, fresh, fresh, fresh.
1905
Epoch:        0
1906
Filename:     orange-bits-2-3.noarch.rpm
1907
License:      No Age Limitation
1908
Name:         orange-bits
1909
Provides:     citrussy, fruity, orange, orange-bits, orange-bits = 2-3-0
1910
Release:      3
1911
Requires:     
1912
Version:      2
1913

    
1914
Arch:         noarch
1915
Buildhost:    pulp3.dev
1916
Checksum:     566fc7409cf0a49f88fb4af02ae2f28dfcc0ac96ac5bcb8fc78b6c2effa580be
1917
Checksumtype: sha256
1918
Description:  ... usually felt when one wants to tickle their tongue
1919
Epoch:        0
1920
Filename:     fizzy-0-1.noarch.rpm
1921
License:      No Age Limitation
1922
Name:         fizzy
1923
Provides:     fizzy = 0-1-0
1924
Release:      1
1925
Requires:     
1926
Version:      0
1927

    
1928
Arch:         noarch
1929
Buildhost:    pulp3.dev
1930
Checksum:     4a66086bbb50997f5929545bb9d52a95de1243e47fb26a84bc9161ccbcabee14
1931
Checksumtype: sha256
1932
Description:  A refreshing long drink that can be prepared in advance, so that
1933
              the fruit can soak up some of the taste and alcohol.  Put in a
1934
              Balloon glass with some ice cubes: - 8/10 Scotch - 2/10 Contireau
1935
              - table spoon sugar  Stir well and add bits of fresh fruit before
1936
              serving
1937
Epoch:        0
1938
Filename:     Cobbler-1-0.noarch.rpm
1939
License:      21+
1940
Name:         Cobbler
1941
Provides:     Cobbler = 1-0-0, bitter, citrussy, fruity, long-drink, scotch
1942
Release:      0
1943
Requires:     (scotch = 8.10 and contireau = 2.10 and tablespoon-sugar = 1.0 and
1944
              icecubes)
1945
Version:      1
1946

    
1947
Arch:         noarch
1948
Buildhost:    pulp3.dev
1949
Checksum:     220494f19e361ce0822dd857df2bc338527a2c00cc43df9a39e6d6b37edae621
1950
Checksumtype: sha256
1951
Description:  ... usually felt when one want to satisfy their Fruity passions
1952
              ...
1953
Epoch:        0
1954
Filename:     fruity-0-1.noarch.rpm
1955
License:      No Age Limitation
1956
Name:         fruity
1957
Provides:     fruity = 0-1-0
1958
Release:      1
1959
Requires:     
1960
Version:      0
1961

    
1962
Arch:         noarch
1963
Buildhost:    pulp3.dev
1964
Checksum:     9fcbd2396538fa51c09c1a73dd9e1cfc2df4b454c19e163e4e0aaba849024126
1965
Checksumtype: sha256
1966
Description:  A generic Contireau, nothing fancy.
1967
Epoch:        0
1968
Filename:     Contireau2-2-10.noarch.rpm
1969
License:      21+
1970
Name:         Contireau2
1971
Provides:     Contireau2 = 2-10-0, bitter, citrussy, contireau, contireau2,
1972
              fruity
1973
Release:      10
1974
Requires:     
1975
Version:      2
1976

    
1977

    
1978
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo content rpm --repo-id rich-deps
[1@ [1@-[1@v[1@v 
[1@c--fields requires
1979
2018-03-05 21:00:27,890 - DEBUG - sending POST request to /pulp/api/v2/repositories/rich-deps/search/units/
1980
2018-03-05 21:00:27,931 - INFO - POST request to /pulp/api/v2/repositories/rich-deps/search/units/ with parameters {"criteria": {"fields": {"unit": ["requires"]}, "type_ids": ["rpm"], "filters": {"unit": {}}}}
1981
2018-03-05 21:00:27,931 - INFO - Response status : 200 
1982

    
1983
2018-03-05 21:00:27,932 - INFO - Response body :
1984
 [
1985
  {
1986
    "updated": "2018-03-05T20:02:42Z", 
1987
    "repo_id": "rich-deps", 
1988
    "created": "2018-03-05T20:02:42Z", 
1989
    "unit_id": "0f5a9166-e67c-4b7d-acbb-a48171007d36", 
1990
    "unit_type_id": "rpm", 
1991
    "_id": {
1992
      "$oid": "5a9da2621c39900fff947bac"
1993
    }, 
1994
    "metadata": {
1995
      "_id": "0f5a9166-e67c-4b7d-acbb-a48171007d36", 
1996
      "requires": [], 
1997
      "_content_type_id": "rpm"
1998
    }
1999
  }, 
2000
  {
2001
    "updated": "2018-03-05T20:02:35Z", 
2002
    "repo_id": "rich-deps", 
2003
    "created": "2018-03-05T20:02:35Z", 
2004
    "unit_id": "3e654ea6-ee9e-43f7-845e-0b7ed35cefea", 
2005
    "unit_type_id": "rpm", 
2006
    "_id": {
2007
      "$oid": "5a9da25b1c39900fff947a42"
2008
    }, 
2009
    "metadata": {
2010
      "_id": "3e654ea6-ee9e-43f7-845e-0b7ed35cefea", 
2011
      "requires": [], 
2012
      "_content_type_id": "rpm"
2013
    }
2014
  }, 
2015
  {
2016
    "updated": "2018-03-05T20:02:48Z", 
2017
    "repo_id": "rich-deps", 
2018
    "created": "2018-03-05T20:02:48Z", 
2019
    "unit_id": "412fb8db-5b05-49bc-ab36-2a344281d137", 
2020
    "unit_type_id": "rpm", 
2021
    "_id": {
2022
      "$oid": "5a9da2681c39900fff947ce7"
2023
    }, 
2024
    "metadata": {
2025
      "_id": "412fb8db-5b05-49bc-ab36-2a344281d137", 
2026
      "requires": [], 
2027
      "_content_type_id": "rpm"
2028
    }
2029
  }, 
2030
  {
2031
    "updated": "2018-03-05T20:02:38Z", 
2032
    "repo_id": "rich-deps", 
2033
    "created": "2018-03-05T20:02:38Z", 
2034
    "unit_id": "4ac383fb-d4de-4abc-9792-d4e0716fa69c", 
2035
    "unit_type_id": "rpm", 
2036
    "_id": {
2037
      "$oid": "5a9da25e1c39900fff947ac0"
2038
    }, 
2039
    "metadata": {
2040
      "_id": "4ac383fb-d4de-4abc-9792-d4e0716fa69c", 
2041
      "requires": [
2042
        {
2043
          "release": null, 
2044
          "epoch": null, 
2045
          "version": null, 
2046
          "flags": null, 
2047
          "name": "(bourbon = 5.10 and tablespoon-sugar = 1.0)"
2048
        }, 
2049
        {
2050
          "release": null, 
2051
          "epoch": "0", 
2052
          "version": "5.10", 
2053
          "flags": "EQ", 
2054
          "name": "lemon-juice"
2055
        }, 
2056
        {
2057
          "release": null, 
2058
          "epoch": null, 
2059
          "version": null, 
2060
          "flags": null, 
2061
          "name": "soda"
2062
        }
2063
      ], 
2064
      "_content_type_id": "rpm"
2065
    }
2066
  }, 
2067
  {
2068
    "updated": "2018-03-05T20:02:45Z", 
2069
    "repo_id": "rich-deps", 
2070
    "created": "2018-03-05T20:02:45Z", 
2071
    "unit_id": "6315a0fb-a190-4e15-9301-f1e772ae7dea", 
2072
    "unit_type_id": "rpm", 
2073
    "_id": {
2074
      "$oid": "5a9da2651c39900fff947c1d"
2075
    }, 
2076
    "metadata": {
2077
      "_id": "6315a0fb-a190-4e15-9301-f1e772ae7dea", 
2078
      "requires": [], 
2079
      "_content_type_id": "rpm"
2080
    }
2081
  }, 
2082
  {
2083
    "updated": "2018-03-05T20:02:52Z", 
2084
    "repo_id": "rich-deps", 
2085
    "created": "2018-03-05T20:02:52Z", 
2086
    "unit_id": "6f89d5cf-4096-4512-b386-5d204c2218b2", 
2087
    "unit_type_id": "rpm", 
2088
    "_id": {
2089
      "$oid": "5a9da26c1c39900fff947d96"
2090
    }, 
2091
    "metadata": {
2092
      "_id": "6f89d5cf-4096-4512-b386-5d204c2218b2", 
2093
      "requires": [], 
2094
      "_content_type_id": "rpm"
2095
    }
2096
  }, 
2097
  {
2098
    "updated": "2018-03-05T20:02:44Z", 
2099
    "repo_id": "rich-deps", 
2100
    "created": "2018-03-05T20:02:44Z", 
2101
    "unit_id": "7988070f-8e0c-4d28-89c0-ebef1c03bc95", 
2102
    "unit_type_id": "rpm", 
2103
    "_id": {
2104
      "$oid": "5a9da2631c39900fff947be8"
2105
    }, 
2106
    "metadata": {
2107
      "_id": "7988070f-8e0c-4d28-89c0-ebef1c03bc95", 
2108
      "requires": [], 
2109
      "_content_type_id": "rpm"
2110
    }
2111
  }, 
2112
  {
2113
    "updated": "2018-03-05T20:02:46Z", 
2114
    "repo_id": "rich-deps", 
2115
    "created": "2018-03-05T20:02:46Z", 
2116
    "unit_id": "835df329-10e9-44c8-8f1d-a73fb1028b8e", 
2117
    "unit_type_id": "rpm", 
2118
    "_id": {
2119
      "$oid": "5a9da2661c39900fff947c6f"
2120
    }, 
2121
    "metadata": {
2122
      "_id": "835df329-10e9-44c8-8f1d-a73fb1028b8e", 
2123
      "requires": [], 
2124
      "_content_type_id": "rpm"
2125
    }
2126
  }, 
2127
  {
2128
    "updated": "2018-03-05T20:02:40Z", 
2129
    "repo_id": "rich-deps", 
2130
    "created": "2018-03-05T20:02:40Z", 
2131
    "unit_id": "9fc7acc8-3c07-447d-844f-d4c00852239d", 
2132
    "unit_type_id": "rpm", 
2133
    "_id": {
2134
      "$oid": "5a9da2601c39900fff947b32"
2135
    }, 
2136
    "metadata": {
2137
      "_id": "9fc7acc8-3c07-447d-844f-d4c00852239d", 
2138
      "requires": [], 
2139
      "_content_type_id": "rpm"
2140
    }
2141
  }, 
2142
  {
2143
    "updated": "2018-03-05T20:02:39Z", 
2144
    "repo_id": "rich-deps", 
2145
    "created": "2018-03-05T20:02:39Z", 
2146
    "unit_id": "a3a6755d-444f-41c4-9ae5-e2d4945e91a4", 
2147
    "unit_type_id": "rpm", 
2148
    "_id": {
2149
      "$oid": "5a9da25f1c39900fff947afd"
2150
    }, 
2151
    "metadata": {
2152
      "_id": "a3a6755d-444f-41c4-9ae5-e2d4945e91a4", 
2153
      "requires": [], 
2154
      "_content_type_id": "rpm"
2155
    }
2156
  }, 
2157
  {
2158
    "updated": "2018-03-05T20:02:49Z", 
2159
    "repo_id": "rich-deps", 
2160
    "created": "2018-03-05T20:02:49Z", 
2161
    "unit_id": "a9b9b6f8-3895-469b-95b6-395d39028292", 
2162
    "unit_type_id": "rpm", 
2163
    "_id": {
2164
      "$oid": "5a9da2691c39900fff947d1c"
2165
    }, 
2166
    "metadata": {
2167
      "_id": "a9b9b6f8-3895-469b-95b6-395d39028292", 
2168
      "requires": [], 
2169
      "_content_type_id": "rpm"
2170
    }
2171
  }, 
2172
  {
2173
    "updated": "2018-03-05T20:02:36Z", 
2174
    "repo_id": "rich-deps", 
2175
    "created": "2018-03-05T20:02:36Z", 
2176
    "unit_id": "d18dabf8-2d46-4611-96cd-e170e1547686", 
2177
    "unit_type_id": "rpm", 
2178
    "_id": {
2179
      "$oid": "5a9da25c1c39900fff947a81"
2180
    }, 
2181
    "metadata": {
2182
      "_id": "d18dabf8-2d46-4611-96cd-e170e1547686", 
2183
      "requires": [], 
2184
      "_content_type_id": "rpm"
2185
    }
2186
  }, 
2187
  {
2188
    "updated": "2018-03-05T20:02:51Z", 
2189
    "repo_id": "rich-deps", 
2190
    "created": "2018-03-05T20:02:51Z", 
2191
    "unit_id": "eda3d986-a14a-4b92-9c55-8cb60387e9f0", 
2192
    "unit_type_id": "rpm", 
2193
    "_id": {
2194
      "$oid": "5a9da26b1c39900fff947d5a"
2195
    }, 
2196
    "metadata": {
2197
      "_id": "eda3d986-a14a-4b92-9c55-8cb60387e9f0", 
2198
      "requires": [
2199
        {
2200
          "release": null, 
2201
          "epoch": null, 
2202
          "version": null, 
2203
          "flags": null, 
2204
          "name": "(scotch = 8.10 and contireau = 2.10 and tablespoon-sugar = 1.0 and icecubes)"
2205
        }
2206
      ], 
2207
      "_content_type_id": "rpm"
2208
    }
2209
  }, 
2210
  {
2211
    "updated": "2018-03-05T20:02:41Z", 
2212
    "repo_id": "rich-deps", 
2213
    "created": "2018-03-05T20:02:41Z", 
2214
    "unit_id": "f0b6c100-06a4-4b16-990f-07d5266db648", 
2215
    "unit_type_id": "rpm", 
2216
    "_id": {
2217
      "$oid": "5a9da2611c39900fff947b71"
2218
    }, 
2219
    "metadata": {
2220
      "_id": "f0b6c100-06a4-4b16-990f-07d5266db648", 
2221
      "requires": [], 
2222
      "_content_type_id": "rpm"
2223
    }
2224
  }, 
2225
  {
2226
    "updated": "2018-03-05T20:02:47Z", 
2227
    "repo_id": "rich-deps", 
2228
    "created": "2018-03-05T20:02:47Z", 
2229
    "unit_id": "fee15b1f-6e63-452b-b624-db26b29bc0b0", 
2230
    "unit_type_id": "rpm", 
2231
    "_id": {
2232
      "$oid": "5a9da2671c39900fff947caa"
2233
    }, 
2234
    "metadata": {
2235
      "_id": "fee15b1f-6e63-452b-b624-db26b29bc0b0", 
2236
      "requires": [], 
2237
      "_content_type_id": "rpm"
2238
    }
2239
  }
2240
]
2241

    
2242
Requires:     
2243

    
2244
Requires:     
2245

    
2246
Requires:     
2247

    
2248
Requires:     (bourbon = 5.10 and tablespoon-sugar = 1.0), lemon-juice = 5.10-0,
2249
              soda
2250

    
2251
Requires:     
2252

    
2253
Requires:     
2254

    
2255
Requires:     
2256

    
2257
Requires:     
2258

    
2259
Requires:     
2260

    
2261
Requires:     
2262

    
2263
Requires:     
2264

    
2265
Requires:     
2266

    
2267
Requires:     (scotch = 8.10 and contireau = 2.10 and tablespoon-sugar = 1.0 and
2268
              icecubes)
2269

    
2270
Requires:     
2271

    
2272
Requires:     
2273

    
2274

    
2275
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin -vv rpm repo content rpm --repo-id rich-deps --fields requires----str-eq='name=lemon-juice5'
2276
2018-03-05 21:02:28,689 - DEBUG - sending POST request to /pulp/api/v2/repositories/rich-deps/search/units/
2277
2018-03-05 21:02:28,740 - INFO - POST request to /pulp/api/v2/repositories/rich-deps/search/units/ with parameters {"criteria": {"type_ids": ["rpm"], "filters": {"unit": {"name": "lemon-juice5"}}}}
2278
2018-03-05 21:02:28,740 - INFO - Response status : 200 
2279

    
2280
2018-03-05 21:02:28,741 - INFO - Response body :
2281
 [
2282
  {
2283
    "updated": "2018-03-05T20:02:40Z", 
2284
    "repo_id": "rich-deps", 
2285
    "created": "2018-03-05T20:02:40Z", 
2286
    "unit_id": "9fc7acc8-3c07-447d-844f-d4c00852239d", 
2287
    "unit_type_id": "rpm", 
2288
    "_id": {
2289
      "$oid": "5a9da2601c39900fff947b32"
2290
    }, 
2291
    "metadata": {
2292
      "build_time": 1520279893, 
2293
      "buildhost": "pulp3.dev", 
2294
      "pulp_user_metadata": {}, 
2295
      "_content_type_id": "rpm", 
2296
      "checksums": {
2297
        "sha256": "ff0a12a97fbe8b88cfce65a7f93f088d03d81bd84f482dc2610d0d408ef7f342", 
2298
        "md5": "ff0c74748320f1f0319fece89331f818", 
2299
        "sha1": "757662b17f993a56537388a7b6a606fe7af2b686"
2300
      }, 
2301
      "checksum": "ff0a12a97fbe8b88cfce65a7f93f088d03d81bd84f482dc2610d0d408ef7f342", 
2302
      "relativepath": "lemon-juice5-5-10.noarch.rpm", 
2303
      "size": 5962, 
2304
      "group": "Fruits", 
2305
      "_ns": "units_rpm", 
2306
      "filename": "lemon-juice5-5-10.noarch.rpm", 
2307
      "epoch": "0", 
2308
      "version": "5", 
2309
      "version_sort_index": "01-5", 
2310
      "provides": [
2311
        {
2312
          "release": null, 
2313
          "epoch": null, 
2314
          "version": null, 
2315
          "flags": null, 
2316
          "name": "citrussy"
2317
        }, 
2318
        {
2319
          "release": null, 
2320
          "epoch": null, 
2321
          "version": null, 
2322
          "flags": null, 
2323
          "name": "fruity"
2324
        }, 
2325
        {
2326
          "release": null, 
2327
          "epoch": null, 
2328
          "version": null, 
2329
          "flags": null, 
2330
          "name": "juice"
2331
        }, 
2332
        {
2333
          "release": null, 
2334
          "epoch": null, 
2335
          "version": null, 
2336
          "flags": null, 
2337
          "name": "lemon"
2338
        }, 
2339
        {
2340
          "release": "10", 
2341
          "epoch": "0", 
2342
          "version": "5", 
2343
          "flags": "EQ", 
2344
          "name": "lemon-juice5"
2345
        }
2346
      ], 
2347
      "files": {
2348
        "file": [], 
2349
        "dir": []
2350
      }, 
2351
      "repodata": {
2352
        "filelists": "<package arch=\"noarch\" name=\"lemon-juice5\" pkgid=\"{{ pkgid }}\">\n  <version epoch=\"0\" rel=\"10\" ver=\"5\" />\n</package>", 
2353
        "other": "<package arch=\"noarch\" name=\"lemon-juice5\" pkgid=\"{{ pkgid }}\">\n  <version epoch=\"0\" rel=\"10\" ver=\"5\" />\n  <changelog author=\"Mr. Bartender\" date=\"1519732800\">- washed and squeezed</changelog>\n</package>", 
2354
        "primary": "<package type=\"rpm\">\n  <name>lemon-juice5</name>\n  <arch>noarch</arch>\n  <version epoch=\"0\" rel=\"10\" ver=\"5\" />\n  <checksum pkgid=\"YES\" type=\"{{ checksumtype }}\">{{ checksum }}</checksum>\n  <summary>Lemon juice</summary>\n  <description>Properly washed and gently squeezed, fresh, fresh, fresh.</description>\n  <packager>Mr. Bartender</packager>\n  <url>http://lem.on/Fruits/</url>\n  <time build=\"1520279893\" file=\"1520280160\" />\n  <size archive=\"124\" installed=\"0\" package=\"5962\" />\n  <location href=\"Packages/l/lemon-juice5-5-10.noarch.rpm\" />\n  <format>\n    <rpm:license>No Age Limitation</rpm:license>\n    <rpm:vendor>Lem:ON!</rpm:vendor>\n    <rpm:group>Fruits</rpm:group>\n    <rpm:buildhost>pulp3.dev</rpm:buildhost>\n    <rpm:sourcerpm>lemon-juice5-5-10.src.rpm</rpm:sourcerpm>\n    <rpm:header-range end=\"5846\" start=\"4424\" />\n    <rpm:provides>\n      <rpm:entry name=\"citrussy\" />\n      <rpm:entry name=\"fruity\" />\n      <rpm:entry name=\"juice\" />\n      <rpm:entry name=\"lemon\" />\n      <rpm:entry epoch=\"0\" flags=\"EQ\" name=\"lemon-juice5\" rel=\"10\" ver=\"5\" />\n    </rpm:provides>\n    <rpm:suggests>\n      <rpm:entry name=\"(PanAmerican)\" />\n    </rpm:suggests>\n  </format>\n</package>"
2355
      }, 
2356
      "description": "Properly washed and gently squeezed, fresh, fresh, fresh.", 
2357
      "_last_updated": 1520280160, 
2358
      "downloaded": true, 
2359
      "header_range": {
2360
        "start": 4424, 
2361
        "end": 5846
2362
      }, 
2363
      "arch": "noarch", 
2364
      "checksumtype": "sha256", 
2365
      "_storage_path": "/var/lib/pulp/content/units/rpm/2b/8bca6a197e2f052773a4a41152c0a086596c8053ff6fcdc72d6d3f7d212fd6/cfbb8ed6-ee6e-4f4d-8c5d-f32f11f2f032", 
2366
      "_id": "9fc7acc8-3c07-447d-844f-d4c00852239d", 
2367
      "name": "lemon-juice5", 
2368
      "license": "No Age Limitation", 
2369
      "changelog": [], 
2370
      "url": "http://lem.on/Fruits/", 
2371
      "release_sort_index": "02-10", 
2372
      "summary": "Lemon juice", 
2373
      "time": 1520280160, 
2374
      "release": "10", 
2375
      "sourcerpm": "lemon-juice5-5-10.src.rpm", 
2376
      "requires": []
2377
    }
2378
  }
2379
]
2380

    
2381
Arch:         noarch
2382
Buildhost:    pulp3.dev
2383
Checksum:     ff0a12a97fbe8b88cfce65a7f93f088d03d81bd84f482dc2610d0d408ef7f342
2384
Checksumtype: sha256
2385
Description:  Properly washed and gently squeezed, fresh, fresh, fresh.
2386
Epoch:        0
2387
Filename:     lemon-juice5-5-10.noarch.rpm
2388
License:      No Age Limitation
2389
Name:         lemon-juice5
2390
Provides:     citrussy, fruity, juice, lemon, lemon-juice5 = 5-10-0
2391
Release:      10
2392
Requires:     
2393
Version:      5
2394

    
2395

    
2396
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin -vv rpm repo content rpm --repo-id rich-deps --str-eq='name=PanAmerican'
2397
2018-03-05 21:13:12,374 - DEBUG - sending POST request to /pulp/api/v2/repositories/rich-deps/search/units/
2398
2018-03-05 21:13:12,415 - INFO - POST request to /pulp/api/v2/repositories/rich-deps/search/units/ with parameters {"criteria": {"type_ids": ["rpm"], "filters": {"unit": {"name": "PanAmerican"}}}}
2399
2018-03-05 21:13:12,415 - INFO - Response status : 200 
2400

    
2401
2018-03-05 21:13:12,416 - INFO - Response body :
2402
 [
2403
  {
2404
    "updated": "2018-03-05T20:02:38Z", 
2405
    "repo_id": "rich-deps", 
2406
    "created": "2018-03-05T20:02:38Z", 
2407
    "unit_id": "4ac383fb-d4de-4abc-9792-d4e0716fa69c", 
2408
    "unit_type_id": "rpm", 
2409
    "_id": {
2410
      "$oid": "5a9da25e1c39900fff947ac0"
2411
    }, 
2412
    "metadata": {
2413
      "build_time": 1520279893, 
2414
      "buildhost": "pulp3.dev", 
2415
      "pulp_user_metadata": {}, 
2416
      "_content_type_id": "rpm", 
2417
      "checksums": {
2418
        "sha256": "bc9c2ef85cfd7cf937e7745c9975fecb763bf525f8119027ee125166fc2c1c92", 
2419
        "md5": "0dbd27f5c44b87762eb073ec59e5d1ea", 
2420
        "sha1": "fe8e171b48373db5837dec657efcfd67f5393101"
2421
      }, 
2422
      "checksum": "bc9c2ef85cfd7cf937e7745c9975fecb763bf525f8119027ee125166fc2c1c92", 
2423
      "relativepath": "PanAmerican-1-0.noarch.rpm", 
2424
      "size": 6270, 
2425
      "group": "Cocktails", 
2426
      "_ns": "units_rpm", 
2427
      "filename": "PanAmerican-1-0.noarch.rpm", 
2428
      "epoch": "0", 
2429
      "version": "1", 
2430
      "version_sort_index": "01-1", 
2431
      "provides": [
2432
        {
2433
          "release": "0", 
2434
          "epoch": "0", 
2435
          "version": "1", 
2436
          "flags": "EQ", 
2437
          "name": "PanAmerican"
2438
        }, 
2439
        {
2440
          "release": null, 
2441
          "epoch": null, 
2442
          "version": null, 
2443
          "flags": null, 
2444
          "name": "bourbon"
2445
        }, 
2446
        {
2447
          "release": null, 
2448
          "epoch": null, 
2449
          "version": null, 
2450
          "flags": null, 
2451
          "name": "citrussy"
2452
        }, 
2453
        {
2454
          "release": null, 
2455
          "epoch": null, 
2456
          "version": null, 
2457
          "flags": null, 
2458
          "name": "fizzy"
2459
        }, 
2460
        {
2461
          "release": null, 
2462
          "epoch": null, 
2463
          "version": null, 
2464
          "flags": null, 
2465
          "name": "fruity"
2466
        }, 
2467
        {
2468
          "release": null, 
2469
          "epoch": null, 
2470
          "version": null, 
2471
          "flags": null, 
2472
          "name": "lemon"
2473
        }, 
2474
        {
2475
          "release": null, 
2476
          "epoch": null, 
2477
          "version": null, 
2478
          "flags": null, 
2479
          "name": "long-drink"
2480
        }
2481
      ], 
2482
      "files": {
2483
        "file": [], 
2484
        "dir": []
2485
      }, 
2486
      "repodata": {
2487
        "filelists": "<package arch=\"noarch\" name=\"PanAmerican\" pkgid=\"{{ pkgid }}\">\n  <version epoch=\"0\" rel=\"0\" ver=\"1\" />\n</package>", 
2488
        "other": "<package arch=\"noarch\" name=\"PanAmerican\" pkgid=\"{{ pkgid }}\">\n  <version epoch=\"0\" rel=\"0\" ver=\"1\" />\n  <changelog author=\"Mr. Bartender\" date=\"1488196800\">- modified&amp;served</changelog>\n</package>", 
2489
        "primary": "<package type=\"rpm\">\n  <name>PanAmerican</name>\n  <arch>noarch</arch>\n  <version epoch=\"0\" rel=\"0\" ver=\"1\" />\n  <checksum pkgid=\"YES\" type=\"{{ checksumtype }}\">{{ checksum }}</checksum>\n  <summary>The Pan American drink</summary>\n  <description>The amount of soda water controls how dry this cocktail will be.\n\nPut in a big tumbler glass with some ice:\n\n- 5/10 Lemon juice\n- 5/10 cl. Bourbon\n- 1 tsp. sugar\n\nstir well and top off with Soda Water.</description>\n  <packager>Mr. Bartender</packager>\n  <url>http://www.cocktails.in.th/whiskey.html</url>\n  <time build=\"1520279893\" file=\"1520280157\" />\n  <size archive=\"124\" installed=\"0\" package=\"6270\" />\n  <location href=\"Packages/p/PanAmerican-1-0.noarch.rpm\" />\n  <format>\n    <rpm:license>21+</rpm:license>\n    <rpm:vendor>ReFresh Cocktails</rpm:vendor>\n    <rpm:group>Cocktails</rpm:group>\n    <rpm:buildhost>pulp3.dev</rpm:buildhost>\n    <rpm:sourcerpm>PanAmerican-1-0.src.rpm</rpm:sourcerpm>\n    <rpm:header-range end=\"6154\" start=\"4424\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\" flags=\"EQ\" name=\"PanAmerican\" rel=\"0\" ver=\"1\" />\n      <rpm:entry name=\"bourbon\" />\n      <rpm:entry name=\"citrussy\" />\n      <rpm:entry name=\"fizzy\" />\n      <rpm:entry name=\"fruity\" />\n      <rpm:entry name=\"lemon\" />\n      <rpm:entry name=\"long-drink\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry name=\"(bourbon = 5.10 and tablespoon-sugar = 1.0)\" />\n      <rpm:entry epoch=\"0\" flags=\"EQ\" name=\"lemon-juice\" ver=\"5.10\" />\n      <rpm:entry name=\"soda\" />\n    </rpm:requires>\n    <rpm:recommends>\n      <rpm:entry name=\"(lemon-slice if fruity)\" />\n    </rpm:recommends>\n  </format>\n</package>"
2490
      }, 
2491
      "description": "The amount of soda water controls how dry this cocktail will be.\n\nPut in a big tumbler glass with some ice:\n\n- 5/10 Lemon juice\n- 5/10 cl. Bourbon\n- 1 tsp. sugar\n\nstir well and top off with Soda Water.", 
2492
      "_last_updated": 1520280158, 
2493
      "downloaded": true, 
2494
      "header_range": {
2495
        "start": 4424, 
2496
        "end": 6154
2497
      }, 
2498
      "arch": "noarch", 
2499
      "checksumtype": "sha256", 
2500
      "_storage_path": "/var/lib/pulp/content/units/rpm/6e/a0fa51d71f2b289da88066a64d296a6b9262d4a94445e82e0fa0bc38f7dace/01eee9da-3342-4220-a4d9-dffe988e20b7", 
2501
      "_id": "4ac383fb-d4de-4abc-9792-d4e0716fa69c", 
2502
      "name": "PanAmerican", 
2503
      "license": "21+", 
2504
      "changelog": [], 
2505
      "url": "http://www.cocktails.in.th/whiskey.html", 
2506
      "release_sort_index": "01-0", 
2507
      "summary": "The Pan American drink", 
2508
      "time": 1520280157, 
2509
      "release": "0", 
2510
      "sourcerpm": "PanAmerican-1-0.src.rpm", 
2511
      "requires": [
2512
        {
2513
          "release": null, 
2514
          "epoch": null, 
2515
          "version": null, 
2516
          "flags": null, 
2517
          "name": "(bourbon = 5.10 and tablespoon-sugar = 1.0)"
2518
        }, 
2519
        {
2520
          "release": null, 
2521
          "epoch": "0", 
2522
          "version": "5.10", 
2523
          "flags": "EQ", 
2524
          "name": "lemon-juice"
2525
        }, 
2526
        {
2527
          "release": null, 
2528
          "epoch": null, 
2529
          "version": null, 
2530
          "flags": null, 
2531
          "name": "soda"
2532
        }
2533
      ]
2534
    }
2535
  }
2536
]
2537

    
2538
Arch:         noarch
2539
Buildhost:    pulp3.dev
2540
Checksum:     bc9c2ef85cfd7cf937e7745c9975fecb763bf525f8119027ee125166fc2c1c92
2541
Checksumtype: sha256
2542
Description:  The amount of soda water controls how dry this cocktail will be. 
2543
              Put in a big tumbler glass with some ice:  - 5/10 Lemon juice -
2544
              5/10 cl. Bourbon - 1 tsp. sugar  stir well and top off with Soda
2545
              Water.
2546
Epoch:        0
2547
Filename:     PanAmerican-1-0.noarch.rpm
2548
License:      21+
2549
Name:         PanAmerican
2550
Provides:     PanAmerican = 1-0-0, bourbon, citrussy, fizzy, fruity, lemon,
2551
              long-drink
2552
Release:      0
2553
Requires:     (bourbon = 5.10 and tablespoon-sugar = 1.0), lemon-juice = 5.10-0,
2554
              soda
2555
Version:      1
2556

    
2557

    
2558
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin -vv rpm repo content rpm --repo-id rich-deps --str-eq='name=PanAmerican''''''''''''L'e'm'o'n'J'u'i'c'e'''''''''''l'e'm'o'n'-'j'u'i'c'e'4''5'
2559
2018-03-05 21:14:12,823 - DEBUG - sending POST request to /pulp/api/v2/repositories/rich-deps/search/units/
2560
2018-03-05 21:14:12,866 - INFO - POST request to /pulp/api/v2/repositories/rich-deps/search/units/ with parameters {"criteria": {"type_ids": ["rpm"], "filters": {"unit": {"name": "lemon-juice5"}}}}
2561
2018-03-05 21:14:12,866 - INFO - Response status : 200 
2562

    
2563
2018-03-05 21:14:12,867 - INFO - Response body :
2564
 [
2565
  {
2566
    "updated": "2018-03-05T20:02:40Z", 
2567
    "repo_id": "rich-deps", 
2568
    "created": "2018-03-05T20:02:40Z", 
2569
    "unit_id": "9fc7acc8-3c07-447d-844f-d4c00852239d", 
2570
    "unit_type_id": "rpm", 
2571
    "_id": {
2572
      "$oid": "5a9da2601c39900fff947b32"
2573
    }, 
2574
    "metadata": {
2575
      "build_time": 1520279893, 
2576
      "buildhost": "pulp3.dev", 
2577
      "pulp_user_metadata": {}, 
2578
      "_content_type_id": "rpm", 
2579
      "checksums": {
2580
        "sha256": "ff0a12a97fbe8b88cfce65a7f93f088d03d81bd84f482dc2610d0d408ef7f342", 
2581
        "md5": "ff0c74748320f1f0319fece89331f818", 
2582
        "sha1": "757662b17f993a56537388a7b6a606fe7af2b686"
2583
      }, 
2584
      "checksum": "ff0a12a97fbe8b88cfce65a7f93f088d03d81bd84f482dc2610d0d408ef7f342", 
2585
      "relativepath": "lemon-juice5-5-10.noarch.rpm", 
2586
      "size": 5962, 
2587
      "group": "Fruits", 
2588
      "_ns": "units_rpm", 
2589
      "filename": "lemon-juice5-5-10.noarch.rpm", 
2590
      "epoch": "0", 
2591
      "version": "5", 
2592
      "version_sort_index": "01-5", 
2593
      "provides": [
2594
        {
2595
          "release": null, 
2596
          "epoch": null, 
2597
          "version": null, 
2598
          "flags": null, 
2599
          "name": "citrussy"
2600
        }, 
2601
        {
2602
          "release": null, 
2603
          "epoch": null, 
2604
          "version": null, 
2605
          "flags": null, 
2606
          "name": "fruity"
2607
        }, 
2608
        {
2609
          "release": null, 
2610
          "epoch": null, 
2611
          "version": null, 
2612
          "flags": null, 
2613
          "name": "juice"
2614
        }, 
2615
        {
2616
          "release": null, 
2617
          "epoch": null, 
2618
          "version": null, 
2619
          "flags": null, 
2620
          "name": "lemon"
2621
        }, 
2622
        {
2623
          "release": "10", 
2624
          "epoch": "0", 
2625
          "version": "5", 
2626
          "flags": "EQ", 
2627
          "name": "lemon-juice5"
2628
        }
2629
      ], 
2630
      "files": {
2631
        "file": [], 
2632
        "dir": []
2633
      }, 
2634
      "repodata": {
2635
        "filelists": "<package arch=\"noarch\" name=\"lemon-juice5\" pkgid=\"{{ pkgid }}\">\n  <version epoch=\"0\" rel=\"10\" ver=\"5\" />\n</package>", 
2636
        "other": "<package arch=\"noarch\" name=\"lemon-juice5\" pkgid=\"{{ pkgid }}\">\n  <version epoch=\"0\" rel=\"10\" ver=\"5\" />\n  <changelog author=\"Mr. Bartender\" date=\"1519732800\">- washed and squeezed</changelog>\n</package>", 
2637
        "primary": "<package type=\"rpm\">\n  <name>lemon-juice5</name>\n  <arch>noarch</arch>\n  <version epoch=\"0\" rel=\"10\" ver=\"5\" />\n  <checksum pkgid=\"YES\" type=\"{{ checksumtype }}\">{{ checksum }}</checksum>\n  <summary>Lemon juice</summary>\n  <description>Properly washed and gently squeezed, fresh, fresh, fresh.</description>\n  <packager>Mr. Bartender</packager>\n  <url>http://lem.on/Fruits/</url>\n  <time build=\"1520279893\" file=\"1520280160\" />\n  <size archive=\"124\" installed=\"0\" package=\"5962\" />\n  <location href=\"Packages/l/lemon-juice5-5-10.noarch.rpm\" />\n  <format>\n    <rpm:license>No Age Limitation</rpm:license>\n    <rpm:vendor>Lem:ON!</rpm:vendor>\n    <rpm:group>Fruits</rpm:group>\n    <rpm:buildhost>pulp3.dev</rpm:buildhost>\n    <rpm:sourcerpm>lemon-juice5-5-10.src.rpm</rpm:sourcerpm>\n    <rpm:header-range end=\"5846\" start=\"4424\" />\n    <rpm:provides>\n      <rpm:entry name=\"citrussy\" />\n      <rpm:entry name=\"fruity\" />\n      <rpm:entry name=\"juice\" />\n      <rpm:entry name=\"lemon\" />\n      <rpm:entry epoch=\"0\" flags=\"EQ\" name=\"lemon-juice5\" rel=\"10\" ver=\"5\" />\n    </rpm:provides>\n    <rpm:suggests>\n      <rpm:entry name=\"(PanAmerican)\" />\n    </rpm:suggests>\n  </format>\n</package>"
2638
      }, 
2639
      "description": "Properly washed and gently squeezed, fresh, fresh, fresh.", 
2640
      "_last_updated": 1520280160, 
2641
      "downloaded": true, 
2642
      "header_range": {
2643
        "start": 4424, 
2644
        "end": 5846
2645
      }, 
2646
      "arch": "noarch", 
2647
      "checksumtype": "sha256", 
2648
      "_storage_path": "/var/lib/pulp/content/units/rpm/2b/8bca6a197e2f052773a4a41152c0a086596c8053ff6fcdc72d6d3f7d212fd6/cfbb8ed6-ee6e-4f4d-8c5d-f32f11f2f032", 
2649
      "_id": "9fc7acc8-3c07-447d-844f-d4c00852239d", 
2650
      "name": "lemon-juice5", 
2651
      "license": "No Age Limitation", 
2652
      "changelog": [], 
2653
      "url": "http://lem.on/Fruits/", 
2654
      "release_sort_index": "02-10", 
2655
      "summary": "Lemon juice", 
2656
      "time": 1520280160, 
2657
      "release": "10", 
2658
      "sourcerpm": "lemon-juice5-5-10.src.rpm", 
2659
      "requires": []
2660
    }
2661
  }
2662
]
2663

    
2664
Arch:         noarch
2665
Buildhost:    pulp3.dev
2666
Checksum:     ff0a12a97fbe8b88cfce65a7f93f088d03d81bd84f482dc2610d0d408ef7f342
2667
Checksumtype: sha256
2668
Description:  Properly washed and gently squeezed, fresh, fresh, fresh.
2669
Epoch:        0
2670
Filename:     lemon-juice5-5-10.noarch.rpm
2671
License:      No Age Limitation
2672
Name:         lemon-juice5
2673
Provides:     citrussy, fruity, juice, lemon, lemon-juice5 = 5-10-0
2674
Release:      10
2675
Requires:     
2676
Version:      5
2677

    
2678

    
2679
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin -vv rpm repo content rpm --repo-id rich-deps --str-eq='name=lemon-juice5'
pulp-admin -vv rpm repo content rpm --repo-id rich-deps --str-eq='name=lemon-juice5'
pulp-admin -vv rpm repo content rpm --repo-id rich-deps --str-eq='name=lemon-juice5'

[vagrant@pulp2 rich-deps]$ 
[vagrant@pulp2 rich-deps]$ 
[vagrant@pulp2 rich-deps]$ 
[vagrant@pulp2 rich-deps]$ 
[vagrant@pulp2 rich-deps]$ 
[vagrant@pulp2 rich-deps]$ 
[vagrant@pulp2 rich-deps]$ pulp-admin -vv rpm repo content rpm --repo-id rich-deps --str-eq='name=lemon-juice5'
pulp-admin -vv rpm repo content rpm --repo-id rich-deps --str-eq='name=lemon-juice5'PanAmerican'
2680
Arch:         noarch
2681
Buildhost:    pulp3.dev
2682
Checksum:     bc9c2ef85cfd7cf937e7745c9975fecb763bf525f8119027ee125166fc2c1c92
2683
Checksumtype: sha256
2684
Description:  The amount of soda water controls how dry this cocktail will be. 
2685
              Put in a big tumbler glass with some ice:  - 5/10 Lemon juice -
2686
              5/10 cl. Bourbon - 1 tsp. sugar  stir well and top off with Soda
2687
              Water.
2688
Epoch:        0
2689
Filename:     PanAmerican-1-0.noarch.rpm
2690
License:      21+
2691
Name:         PanAmerican
2692
Provides:     PanAmerican = 1-0-0, bourbon, citrussy, fizzy, fruity, lemon,
2693
              long-drink
2694
Release:      0
2695
Requires:     (bourbon = 5.10 and tablespoon-sugar = 1.0), lemon-juice = 5.10-0,
2696
              soda
2697
Version:      1
2698

    
2699

    
2700
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo content rpm --repo-id rich-deps --str-eq='name=PanAmerican' ==--gorgfileld='s='Reqiuires
2701
Invalid properties: ['Field: <Requires> does not exist on objects in the
2702
<units_rpm> collection']
2703

    
2704
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo content rpm --repo-id rich-deps --str-eq='name=PanAmerican' --fields=Requiresequiresrequires
2705
Requires:     (bourbon = 5.10 and tablespoon-sugar = 1.0), lemon-juice = 5.10-0,
2706
              soda
2707

    
2708

    
2709
]0;vagrant@pulp2:~/devel/tmp/rich-deps[vagrant@pulp2 rich-deps]$ pulp-admin rpm repo content rpm --repo-id rich-deps --str-eq='name=PanAmerican' --fields=requires

(1-1/2)