Hi, The missing time & build_time fields on manually uploaded RPMs is probably 
more oversight than design.  Please open a bug at 
https://bugzilla.redhat.com/enter_bug.cgi?product=Pulp.  

For an example of using the upload API in a pythonic way check out 
pulp/client_lib/pulp/client/upload/manager.py:UploadManager for the code that 
the Pulp CLI uses to perform uploads.  Regards,

-Barnaby

----- Original Message -----
From: "Jake Davis" <j...@imapenguin.com>
To: "pulp-list" <pulp-list@redhat.com>
Sent: Thursday, December 11, 2014 10:55:20 AM
Subject: [Pulp-list] time and build_time missing

Greetings. I've noticed that when I add rpms to a repo via 'pulp-admin repo 
uploads rpm --repo-id=XX --file=XX' The resulting unit has no 'time' or 
'build_time' metadata. Is that by design? 

Also, can anyone point me to a pythonic example of performing a unit upload via 
the rest API? I've seen the API docs here 
https://pulp-dev-guide.readthedocs.org/en/latest/integration/rest-api/content/upload.html
 But there's not quite enough detail for someone like me. Specifically, I was 
hoping to see how to generate the PUT request body required for the second step 
"upload bits" in more detail. Is it expecting a base64 string, or something 
else? And how to track the offset for larger uploads? 

Thanks! 
-Jake 


_______________________________________________
Pulp-list mailing list
Pulp-list@redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list

_______________________________________________
Pulp-list mailing list
Pulp-list@redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to