Project

Profile

Help

Issue #6538

Updated by pulpbot over 2 years ago

 

 **Ticket moved to GitHub**: "pulp/pulp_deb/383":https://github.com/pulp/pulp_deb/issues/383 




 ---- 


 After creating a release 

 ~~~ 
 http -j -a 'admin:password' POST http://pulp3.home.plexis.eu/pulp/api/v3/content/deb/releases/ codename=foo distribution=foo suite=foo 
 ~~~ 

 it isn't possible to create a ReleaseArchitecture or ReleaseComponent: 

 ~~~ 
 $ http -j -a 'admin:password' :24817/pulp/api/v3/content/deb/releases/ 
 HTTP/1.1 200 OK 
 Allow: GET, POST, HEAD, OPTIONS 
 Connection: close 
 Content-Length: 236 
 Content-Type: application/json 
 Date: Tue, 21 Apr 2020 15:47:45 GMT 
 Server: gunicorn/20.0.4 
 Vary: Accept, Cookie 
 X-Frame-Options: SAMEORIGIN 

 { 
     "count": 1, 
     "next": null, 
     "previous": null, 
     "results": [ 
         { 
             "codename": "foo", 
             "distribution": "foo", 
             "pulp_created": "2020-04-17T16:09:02.264431Z", 
             "pulp_href": "/pulp/api/v3/content/deb/releases/624b65f8-c8f6-486b-a75a-318591552009/", 
             "suite": "foo" 
         } 
     ] 
 } 

 $ http -j -a 'admin:password' POST :24817/pulp/api/v3/content/deb/release_architectures/ architecture=amd64 release='/pulp/api/v3/content/deb/releases/624b65f8-c8f6-486b-a75a-318591552009/' 
 HTTP/1.1 400 Bad Request 
 Allow: GET, POST, HEAD, OPTIONS 
 Connection: close 
 Content-Length: 56 
 Content-Type: application/json 
 Date: Tue, 21 Apr 2020 15:53:02 GMT 
 Server: gunicorn/20.0.4 
 Vary: Accept, Cookie 
 X-Frame-Options: SAMEORIGIN 

 { 
     "release": [ 
         "Invalid hyperlink - Incorrect URL match." 
     ] 
 } 

 ~~~ 


 Being able to do this should enable 'structured publishing' for non-mirrored debian repositories (I'm told) 

 

Back