[Trevor Watson:] | In addition to Darren's comments, I would prefer to see the use of symbolic | HTTP return codes from httplib - eg in: | | + if e.code == 401
I will update it to use symbolic constants. | It would be good to find a mechanism to either cache the user credentials | in a safe manner (like option #1 below) or get the depot server to return a | cookie on successful authentication, which then could be easily cached. I would like to use the mechanism prefered by svn and cvs (i.e. cvs login stores your credentials for future sessions in the home directory.) | In some ways it would be nice if it were possible to open a long-lived | connection to the depot from pkgsend. Thinking out loud, maybe have an | interactive option to pkgsend which opens a session with the user's | credentials and then allows you to perform multiple operations within that | session. | | Eg. | | $ pkgsend -i -u myname -s https://agneyam.india.sun.com:8080/ | Password: xxx | > send SUNWipkg | ... | > send abc | ... | > exit | $ rahul -- 1. e4 _ _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
