The "Once More, with Working" release.
Set a homepage for the module.
It seems like roughly release time.
Rename afs.afs to afs._util so that absolute imports from afs work. Signed-off-by: Evan Broder <broder@mit.edu>
Add a simple afs._fs module that exposes a whichcell function, and an afs.fs module that simply exports the same whichcell function. Signed-off-by: Evan Broder <broder@mit.edu>
Figure out what realm an afs._pts.PTS instance authenticates against. Store the Kerberos realm as an attribute for later retrieval. Signed-off-by: Evan Broder <broder@mit.edu>
Allow for extending the build flags in a PyAFSExtension without changing them for all extensions.
If the PIC versions of the AFS libraries are available, link against those instead of the non-PIC versions. Signed-off-by: Evan Broder <broder@mit.edu>
PyAFS doesn't seem to be using libafsutil - tests still pass if it's dropped. And it's not one of the libraries built with a PIC version in openafs bbab48b047000db0d1821e2f65917c2e8c2c7768. Signed-off-by: Evan Broder <broder@mit.edu>
ACL implementation. Current features: * afs.acl.ACL.retrieve(), equivalent to fs listacl * afs.acl.getCallerAccess(), equivalent to fs getcalleraccess Permissions are bitmasked, which can be masked against afs.acl.READ, afs.acl.WRITE, etc. Implementation is based off of Perl AFS module, although there are some notable differences in API. Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
setuptools apparently is too retarded for Cython. Switch to distutils. Signed-off-by: Evan Broder <broder@mit.edu>
Simplify the extension declarations in setup.py. Signed-off-by: Evan Broder <broder@mit.edu>
Create an afs.afs module for common functions, like error handling. Signed-off-by: Evan Broder <broder@mit.edu>
Fix a typo in one of the #defines. Signed-off-by: Evan Broder <broder@mit.edu>
Simplify the libraries being used. Thanks to -c shadow @ANDREW.CMU.EDU for the assistance. Signed-off-by: Evan Broder <broder@mit.edu>
Get PyAFS to build on Linux. I'm...not even entirely sure what all I had to do here. Signed-off-by: Evan Broder <broder@mit.edu>
Switch to Cython instead of Pyrex Signed-off-by: Evan Broder <broder@mit.edu>
Get information about the current cell. This will almost certainly want to get pulled out into some utility functions eventually. Also, we now have 3 different error mechanisms: arbitrary return codes, errno/strerror, and com_err. Yay! Signed-off-by: Evan Broder <broder@mit.edu>
It'll probably be useful to have the libraries being used in a separate list. Signed-off-by: Evan Broder <broder@mit.edu>
MIT License? Did I say MIT License? I meant GPL. Signed-off-by: Evan Broder <broder@mit.edu>