[Pulp-list] Package APIs

Jason L Connor jconnor at redhat.com
Tue Jun 8 19:40:54 UTC 2010


On Tue, 2010-06-08 at 12:30 -0400, Jason Dobies wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Below is what I'm currently thinking for the package APIs (these don't
> have anything on groups). Create is already in the repo apis under
> upload; I don't think we currently have a use case where we'd want to
> create a PackageVersion doc without the actual RPM bits. Thoughts?
> 
> /packages/
> GET    -  List of all package names
> 
> /packages/<name>
> GET    -  All package versions for that package name
> DELETE -  Delete all package versions for that package name
> 
> /packages/<name>/<version>/<release>/<epoch>/<arch>
> GET    -  Package version details for that package version
> DELETE -  Delete the specific package version identified
> 
> 
> As a side note, I think we should agree on the order we expect
> version/release/epoch to appear so the API is consistent (the actual
> *Api classes already differ). I'm thinking we use that order since that
> is (to my understanding) the priority of what they represent. Am I
> looking at that right or does another order make sense?
> 
> 
> - -- 
> Jason Dobies
> RHCE# 805008743336126
> Freenode: jdob
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.14 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
> 
> iQEcBAEBAgAGBQJMDnAkAAoJEOMmcTqOSQHCw9sIAJbEJgk5cYtbOLBMHjoVUkim
> TmdeAGGUGcp7/eDhJY0s1Y2txkgTEbq0j2FSRH9FsHXGkZKPtQwJJrrDswYMV2S0
> X1WtY1GrnRy4c8keFipFYLy/Qh7d+TEvA/7U6HAPaeH5y8dfRAjAowSK1W+3uQLM
> H35Oh8dwf3FiaGQBQWrVB2kwmB/fuzAxtwh/FhBAp7tyVUv8yFhYRnCAjNcjIJ4P
> pZ2cSqSCmt1TiuLFyr26LDCZN0IImWymdK7oarqhda8G9JbT/V2j8SyfhfBJTW6d
> sChUkHWQWj4m5jNbWicR1GJNqTWgfy+KyXSD7TtUqxOKz2bXwfquQyDwtjMMWqc=
> =LW69
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list

+1 to this ordering.
-- 
Jason L Connor
Senior Software Engineer
Systems Management and Cloud Enablement
Red Hat, Inc.
+1.919.890.8331
Freenode: linear
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20100608/aa3ee6dd/attachment.sig>


More information about the Pulp-list mailing list