Rev 2962: Authentication ring implementation (read-only) in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Sun Nov 4 18:51:44 GMT 2007


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 2962
revision-id: pqm at pqm.ubuntu.com-20071104185139-kaio3sneodg2kp71
parent: pqm at pqm.ubuntu.com-20071104041002-f0vk33xqo463lnt6
parent: v.ladeuil+lp at free.fr-20071104175903-shj4jdc44zpg3duq
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Sun 2007-11-04 18:51:39 +0000
message:
  Authentication ring implementation (read-only)
added:
  doc/en/user-guide/authentication_conf.txt authentication_conf.-20071104135035-glfv0ri355tyg1nf-1
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/config.py               config.py-20051011043216-070c74f4e9e338e8
  bzrlib/debug.py                debug.py-20061102062349-vdhrw9qdpck8cl35-1
  bzrlib/help_topics.py          help_topics.py-20060920210027-rnim90q9e0bwxvy4-1
  bzrlib/plugins/launchpad/lp_registration.py lp_registration.py-20060315190948-daa617eafe3a8d48
  bzrlib/smtp_connection.py      smtp_connection.py-20070618204456-nu6wag1ste4biuk2-1
  bzrlib/tests/HTTPTestUtil.py   HTTPTestUtil.py-20050914180604-247d3aafb7a43343
  bzrlib/tests/blackbox/test_whoami.py test_whoami.py-20060629025641-8h3m2ch7kutqx7ug-1
  bzrlib/tests/test_config.py    testconfig.py-20051011041908-742d0c15d8d8c8eb
  bzrlib/tests/test_ftp_transport.py test_aftp_transport.-20060823221619-98mwjzxtwtkt527k-1
  bzrlib/tests/test_http.py      testhttp.py-20051018020158-b2eef6e867c514d9
  bzrlib/tests/test_smart_transport.py test_ssh_transport.py-20060608202016-c25gvf1ob7ypbus6-2
  bzrlib/tests/test_smtp_connection.py test_smtp_connection-20070618204509-wuyxc0r0ztrecv7e-1
  bzrlib/tests/test_transport.py testtransport.py-20050718175618-e5cdb99f4555ddce
  bzrlib/tests/test_transport_implementations.py test_transport_implementations.py-20051227111451-f97c5c7d5c49fce7
  bzrlib/transport/__init__.py   transport.py-20050711165921-4978aa7ce1285ad5
  bzrlib/transport/ftp.py        ftp.py-20051116161804-58dc9506548c2a53
  bzrlib/transport/http/_urllib.py _urlgrabber.py-20060113083826-0bbf7d992fbf090c
  bzrlib/transport/http/_urllib2_wrappers.py _urllib2_wrappers.py-20060913231729-ha9ugi48ktx481ao-1
  bzrlib/transport/ssh.py        ssh.py-20060824042150-0s9787kng6zv1nwq-1
  doc/developers/authentication-ring.txt authring.txt-20070718200437-q5tdik0ne6lor86d-1
  doc/en/user-guide/configuration.txt configuration.txt-20060314161707-868350809502af01
    ------------------------------------------------------------
    revno: 2961.1.1
    merged: v.ladeuil+lp at free.fr-20071104175903-shj4jdc44zpg3duq
    parent: pqm at pqm.ubuntu.com-20071104041002-f0vk33xqo463lnt6
    parent: v.ladeuil+lp at free.fr-20071104154432-hxcely69cx6acqzb
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: trunk
    timestamp: Sun 2007-11-04 18:59:03 +0100
    message:
       Authentication ring implementation (read-only)
    ------------------------------------------------------------
    revno: 2900.2.26
    merged: v.ladeuil+lp at free.fr-20071104154432-hxcely69cx6acqzb
    parent: v.ladeuil+lp at free.fr-20071104152917-nrsumxpk3dikso2c
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Sun 2007-11-04 16:44:32 +0100
    message:
      Fix forgotten reference to _get_filename and duplicated code.
      
      * bzrlib/transport/http/_urllib.py:
      (HttpTransport_urllib._perform): Delete duplicate declarations.
      
      * bzrlib/config.py:
      (AuthenticationConfig._save): _get_filename() has been replaced by
      _filename.
    ------------------------------------------------------------
    revno: 2900.2.25
    merged: v.ladeuil+lp at free.fr-20071104152917-nrsumxpk3dikso2c
    parent: v.ladeuil+lp at free.fr-20071104152427-p9k7e4toywa87wfc
    parent: pqm at pqm.ubuntu.com-20071104041002-f0vk33xqo463lnt6
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Sun 2007-11-04 16:29:17 +0100
    message:
      Merge bzr.dev
    ------------------------------------------------------------
    revno: 2900.2.24
    merged: v.ladeuil+lp at free.fr-20071104152427-p9k7e4toywa87wfc
    parent: v.ladeuil+lp at free.fr-20071023144744-33llcbc104e98ej5
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Sun 2007-11-04 16:24:27 +0100
    message:
      Review feedback.
      
      * doc/en/user-guide/authentication_conf.txt: 
      New file. Authentication configuration file documentation.
      
      * doc/en/user-guide/configuration.txt: 
      Slight modifications, add authentication.conf reference.
      
      * doc/en/mini-tutorial/index.txt: 
      Fix make docs warning.
      
      * doc/developers/authentication-ring.txt: 
      Small cleanups noticed during
      doc/en/user-guide/authentication_conf.txt redaction.
      
      * bzrlib/transport/http/_urllib.py:
      (HttpTransport_urllib._perform): Use a dict() instead of {} syntax.
      
      * bzrlib/tests/blackbox/test_whoami.py:
      (TestWhoami.test_whoami_branch): Delete BZREMAIL related tests.
      
      * bzrlib/config.py:
      (Config.username): BZREMAIL deleted, has been obsolete for more
      than a year.
      (AuthenticationConfig.__init__): Review feedback, since keeping a
      callback as an attribute is useless, call it now and keep the
      filename itself as an attribute.
      (AuthenticationConfig.get_credentials): Use a dict() instead of {}
      syntax.
      
      * NEWS: 
      Updated as per Martin's suggestion.
    ------------------------------------------------------------
    revno: 2900.2.23
    merged: v.ladeuil+lp at free.fr-20071023144744-33llcbc104e98ej5
    parent: v.ladeuil+lp at free.fr-20071023143110-xzvdlw5ltdwqlfxj
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Tue 2007-10-23 16:47:44 +0200
    message:
      Update NEWS.
    ------------------------------------------------------------
    revno: 2900.2.22
    merged: v.ladeuil+lp at free.fr-20071023143110-xzvdlw5ltdwqlfxj
    parent: v.ladeuil+lp at free.fr-20071023125011-xfe73s1iki0wpl2w
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Tue 2007-10-23 16:31:10 +0200
    message:
      Polishing.
      
      * bzrlib/config.py: 
      Use cStringIO instead of StringIO.
      
      * bzrlib/tests/test_config.py:
      (TestAuthenticationConfigFile.test_broken_config): Add one more test.
      
      * bzrlib/plugins/launchpad/lp_registration.py: 
      Fix import again.
      
      * bzrlib/config.py:
      (AuthenticationConfig.get_credentials): Slightly rework ValueError
      exceptions.
      (AuthenticationConfig.decode_password): Change signature, it will
      be needed anyway in the short future.
    ------------------------------------------------------------
    revno: 2900.2.21
    merged: v.ladeuil+lp at free.fr-20071023125011-xfe73s1iki0wpl2w
    parent: v.ladeuil+lp at free.fr-20071023105809-gtokg8o2zd0oeuyl
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Tue 2007-10-23 14:50:11 +0200
    message:
      Make lp_registration aware of authentication config.
      
      * bzrlib/plugins/launchpad/lp_registration.py:
      (LaunchpadService.gather_user_credentials): 
    ------------------------------------------------------------
    revno: 2900.2.20
    merged: v.ladeuil+lp at free.fr-20071023105809-gtokg8o2zd0oeuyl
    parent: v.ladeuil+lp at free.fr-20071023085109-60tarfj3wg23yd2a
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Tue 2007-10-23 12:58:09 +0200
    message:
      http can query AuthenticationConfig for logins too.
      
      * bzrlib/transport/http/_urllib2_wrappers.py:
      (AbstractAuthHandler.get_user_password): Renamed from get_pasword,
      query AuthenticationConfig for user too, default to
      getpass.getuser as other schemes.
    ------------------------------------------------------------
    revno: 2900.2.19
    merged: v.ladeuil+lp at free.fr-20071023085109-60tarfj3wg23yd2a
    parent: v.ladeuil+lp at free.fr-20071023072541-vlvixrrl50k3d9yc
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Tue 2007-10-23 10:51:09 +0200
    message:
      Mention proxy and https in the password prompts, with tests.
      
      * bzrlib/transport/http/_urllib2_wrappers.py:
      (AbstractAuthHandler.get_password): Use our specific prompt
      building to address proxy and https needs.
      (AbstractAuthHandler._build_password_prompt): New method, helper
      to build the prompt.
      (HTTPAuthHandler.build_password_prompt): Default implementation is
      ok.
      (ProxyAuthHandler.build_password_prompt): Prefix with 'Proxy '.
      
      * bzrlib/tests/test_http.py:
      (TestAuth.test_prompt_for_password): Check the prompt too.
      
      * bzrlib/tests/test_config.py:
      (TestAuthenticationConfig.test_default_prompts): Delete HTTP tests
      which need special handling.
      
      * bzrlib/transport/http/_urllib2_wrappers.py:
      (AbstractAuthHandler.build_password_prompt): New method to build
      the prompt and mention the protocol sed (http or https).
      (ProxyAuthHandler.build_password_prompt): Put proxy in front of
      the prompt.
      
      * bzrlib/config.py:
      (AuthenticationConfig.get_password): Simplified by taking out http
      specifics (which were not enough to address all the cases anyway).
    ------------------------------------------------------------
    revno: 2900.2.18
    merged: v.ladeuil+lp at free.fr-20071023072541-vlvixrrl50k3d9yc
    parent: v.ladeuil+lp at free.fr-20071023071513-elryt6g2at34d2ur
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Tue 2007-10-23 09:25:41 +0200
    message:
      Previous commits didn't check the test suite enough.
      
      * bzrlib/transport/ssh.py: 
      Fix missing import. Rewrote the import statements and fix PEP8
      issues (lines too long, etc) since we are there.
    ------------------------------------------------------------
    revno: 2900.2.17
    merged: v.ladeuil+lp at free.fr-20071023071513-elryt6g2at34d2ur
    parent: v.ladeuil+lp at free.fr-20071022211913-119445k3qco40sx0
    parent: pqm at pqm.ubuntu.com-20071022204528-m4i3ievs46d19324
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Tue 2007-10-23 09:15:13 +0200
    message:
      merge bzr.dev
    ------------------------------------------------------------
    revno: 2900.2.16
    merged: v.ladeuil+lp at free.fr-20071022211913-119445k3qco40sx0
    parent: v.ladeuil+lp at free.fr-20071022151824-eol757lk393ofc38
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Mon 2007-10-22 23:19:13 +0200
    message:
      Make hhtp proxy aware of AuthenticationConfig (for password).
      
      * bzrlib/transport/http/_urllib2_wrappers.py:
      (Request.__init__): Update the auth dict content documentation.
      (extract_credentials, extract_authentication_uri): Deleted.
      (PasswordManager): Deleted.
      (ProxyHandler.set_proxy): Query AuthenticationConfig for the
      password. Simplified.
      (AbstractAuthHandler): Looong forgotten feedback review about
      _retry_count. The behaviour is not changed.
      (AbstractAuthHandler.get_password): Change signature now that the
      auth dict contains all relevant information. Simplified.
      (DigestAuthHandler.auth_match): Delete gratuitous differences with
      BasicAuthHandler.
      (Opener.__init__): Get rid of PasswordManager.
      
      * bzrlib/transport/http/_urllib.py:
      (HttpTransport_urllib._perform): Replace authuri by its components
      in the auth dict.
      
      * bzrlib/transport/ftp.py: 
      Register 'aftp' for urlparse (revealed by the host empty test in
      _split_url).
      
      * bzrlib/transport/__init__.py:
      (ConnectedTransport._split_url): Check that host is not empty. Was
      first needed to make a proxy test pass, but revealed more bugs in
      the test suite.
      
      * bzrlib/tests/test_transport_implementations.py:
      (TransportTests.test__reuse_for): Fix bug revealed by the host
      empty test in _split_url.
      
      * bzrlib/tests/test_transport.py:
      (TestConnectedTransport.test_connection_sharing_propagate_credentials): 
      Fix bug revealed by the host empty test in _split_url.
      
      * bzrlib/tests/test_smart_transport.py:
      (HTTPTunnellingSmokeTest._test_bulk_data): Fix bug revealed by the
      host empty test in _split_url.
      
      * bzrlib/tests/test_http.py:
      (TestHttpTransportUrls.test_invalid_http_urls): ConnectionError
      can't be raised here.
      (TestHttpProxyWhiteBox._proxied_request): No more PasswordManager,
      yeah !
      (TestProxyHttpServer): Delete FIXME, tests have been added a long
      time ago.
      
      * bzrlib/config.py:
      (AuthenticationConfig.get_user): Fix silly copy/paste.
      (AuthenticationConfig.get_password): Fix oversight.
    ------------------------------------------------------------
    revno: 2900.2.15
    merged: v.ladeuil+lp at free.fr-20071022151824-eol757lk393ofc38
    parent: v.ladeuil+lp at free.fr-20071021104922-lc4hyrz0g06sj5u9
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Mon 2007-10-22 17:18:24 +0200
    message:
      AuthenticationConfig can be queried for logins too (first step).
      
      * bzrlib/transport/ssh.py:
      (_paramiko_auth): Try to get a user from AuthenticationConfig.
      
      * bzrlib/smtp_connection.py:
      (SMTPConnection._authenticate): Try to get a user from
      AuthenticationConfig.
      
      * bzrlib/transport/ftp.py:
      (FtpTransport._create_connection): Try to get a user from
      AuthenticationConfig. Credentials are now (user, password) instead
      of just password.
      
      * bzrlib/tests/test_ftp_transport.py:
      (TestFTPServerUI._add_authorized_user): Cleanup by refactoring.
      
      * bzrlib/config.py:
      (AuthenticationConfig.get_user): New method to get logins.
    ------------------------------------------------------------
    revno: 2900.2.14
    merged: v.ladeuil+lp at free.fr-20071021104922-lc4hyrz0g06sj5u9
    parent: v.ladeuil+lp at free.fr-20071021085941-w5ji5t385d8b5o26
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Sun 2007-10-21 12:49:22 +0200
    message:
      More tests.
      
      * bzrlib/tests/test_config.py:
      (TestAuthenticationConfig): Add tests for default prompts.
      
      * bzrlib/config.py:
      (AuthenticationConfig.get_password): Oops, remove debug statement.
    ------------------------------------------------------------
    revno: 2900.2.13
    merged: v.ladeuil+lp at free.fr-20071021085941-w5ji5t385d8b5o26
    parent: v.ladeuil+lp at free.fr-20071020164914-zr8s4gimxnbmvecd
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Sun 2007-10-21 10:59:41 +0200
    message:
      Cleanup.
      
      * bzrlib/tests/test_smtp_connection.py:
      (TestSMTPConnection.get_connection): No more need for a private
      shared function.
    ------------------------------------------------------------
    revno: 2900.2.12
    merged: v.ladeuil+lp at free.fr-20071020164914-zr8s4gimxnbmvecd
    parent: v.ladeuil+lp at free.fr-20071018205418-mj1g30cn3n4u1ge1
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Sat 2007-10-20 18:49:14 +0200
    message:
      Since all schemes query AuthenticationConfig then prompt user, make that
      a method.
      
      * bzrlib/transport/ssh.py:
      (_paramiko_auth): Simplified.
      
      * bzrlib/transport/http/_urllib2_wrappers.py:
      Add FIXME about https never mentioned in prompts.
      (AbstractAuthHandler.get_password): Simplified.
      
      * bzrlib/transport/ftp.py:
      (FtpTransport._create_connection): Simplified.
      
      * bzrlib/tests/test_smtp_connection.py:
      (TestSMTPConnection.test_smtp_password_from_user): Moved from
      TestSMTPConnectionWithUI and given a proper stdout for ui_factory.
      (TestSMTPConnectionWithUI): Deleted.
      
      * bzrlib/tests/test_http.py:
      (TestAuth.setUp): Mother class already install a SilentUIFactory
      and restore the proper one, so there is no need to do that
      ourselves.
      (TestAuth.restoreUIFactory): Deleted.
      (TestAuth.test_prompt_for_password,
      TestAuth.test_no_prompt_for_password_when_using_auth_config):
      Provides a suitable stdout to TestUIFactory.
      
      
      * bzrlib/tests/test_ftp_transport.py:
      (TestFTPServerUI.setUp, TestFTPServerUI.restoreUIFactory):
      Deleted. Mother class already install a SilentUIFactory and
      restore the proper one, so there is no need to do that ourselves.
      (TestFTPServerUI.test_prompt_for_password,
      TestFTPServerUI.test_no_prompt_for_password_when_using_auth_config):
      Provides a suitable stdout to TestUIFactory.
      
      * bzrlib/smtp_connection.py:
      (SMTPConnection._authenticate): Simplified.
      
      * bzrlib/config.py:
      (AuthenticationConfig.get_password): Encapsulate pattern common to
      all schemes actually used.
    ------------------------------------------------------------
    revno: 2900.2.11
    merged: v.ladeuil+lp at free.fr-20071018205418-mj1g30cn3n4u1ge1
    parent: v.ladeuil+lp at free.fr-20071018103311-ysh1obz1wo75lzx0
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Thu 2007-10-18 22:54:18 +0200
    message:
      Make smtp aware of authentication config.
      
      * bzrlib/smtp_connection.py:
      (SMTPConnection._authenticate): Try the authentication config
      before prompting the user.
      
      * bzrlib/tests/test_smtp_connection.py:
      Fix some imports.
      (everybody_is_welcome): Fake auth smtp server.
      (TestSMTPConnection): Now inherits from tests.TestCaseInTempDir so
      that we can create an authentication.conf in a protected env.
      (TestSMTPConnection.test_smtp_password_from_auth_config): New test.
      (TestSMTPConnectionWithUI): New test for prompting user.
    ------------------------------------------------------------
    revno: 2900.2.10
    merged: v.ladeuil+lp at free.fr-20071018103311-ysh1obz1wo75lzx0
    parent: v.ladeuil+lp at free.fr-20071017210348-vvgoku2ygprnsh7n
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Thu 2007-10-18 12:33:11 +0200
    message:
      Add -Dauth handling.
      
      * doc/developers/authentication-ring.txt:
      (Use Cases): Add sub-domains example.
      
      * bzrlib/help_topics.py:
      (_global_options): Add auth.
      
      * bzrlib/debug.py: 
      Add 'auth'. Fix alphabetical order.
      
      * bzrlib/config.py: 
      Fix imports.
      (AuthenticationConfig.get_credentials): Report the matching
      section if -Dauth is used.
    ------------------------------------------------------------
    revno: 2900.2.9
    merged: v.ladeuil+lp at free.fr-20071017210348-vvgoku2ygprnsh7n
    parent: v.ladeuil+lp at free.fr-20071017204740-71pnib4rh910c4ss
    parent: pqm at pqm.ubuntu.com-20071017083250-zstfljmmitbo4e1j
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Wed 2007-10-17 23:03:48 +0200
    message:
      merge bzr.dev
    ------------------------------------------------------------
    revno: 2900.2.8
    merged: v.ladeuil+lp at free.fr-20071017204740-71pnib4rh910c4ss
    parent: v.ladeuil+lp at free.fr-20071017172517-yud7gi7494nga3z8
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Wed 2007-10-17 22:47:40 +0200
    message:
      Make sftp and bzr+ssh aware of authentication config.
      
      * doc/developers/authentication-ring.txt: 
      Add a remark about ssh being the scheme used for authentication
      for sftp and bzr+ssh.
      
      * bzrlib/transport/ssh.py:
      (_paramiko_auth): Add a 'port' parameter. Try the authentication
      config before prompting the user.
    ------------------------------------------------------------
    revno: 2900.2.7
    merged: v.ladeuil+lp at free.fr-20071017172517-yud7gi7494nga3z8
    parent: v.ladeuil+lp at free.fr-20071017172226-335k9oh78ljavh54
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Wed 2007-10-17 19:25:17 +0200
    message:
      Partly revert previous commit.
      
      * bzrlib/transport/ftp.py:
      (FtpTransport._create_connection): Ghaa, ftp can't provide
      different authentications for different paths, *no* need to
      provide path to get_credentials.
    ------------------------------------------------------------
    revno: 2900.2.6
    merged: v.ladeuil+lp at free.fr-20071017172226-335k9oh78ljavh54
    parent: v.ladeuil+lp at free.fr-20071017153620-7q8uml5d78jli2fl
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Wed 2007-10-17 19:22:26 +0200
    message:
      Make http aware of authentication config.
      
      * bzrlib/transport/ftp.py:
      (FtpTransport._create_connection): Also provides port and path to
      get_credentials since we know them.
      
      * bzrlib/transport/http/_urllib2_wrappers.py:
      (AbstractAuthHandler.get_password): Try the authentication config
      before prompting the user.
      
      * bzrlib/tests/test_http.py:
      (TestAuth.test_no_prompt_for_password_when_using_auth_config):
      Corresponding test (applies to raw http and proxy).
    ------------------------------------------------------------
    revno: 2900.2.5
    merged: v.ladeuil+lp at free.fr-20071017153620-7q8uml5d78jli2fl
    parent: v.ladeuil+lp at free.fr-20071013102322-0bn7g2dh4tq63la6
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Wed 2007-10-17 17:36:20 +0200
    message:
      ake ftp aware of authentication config.
      
       bzrlib/transport/ftp.py:
      FtpTransport._create_connection): Try the authentication config
      efore prompting the user.
      
       bzrlib/tests/test_ftp_transport.py:
      TestFTPServerUI.test_prompt_for_password): New test.
      
       bzrlib/tests/test_config.py:
      TestConfigPath.test_authentication_config_filename): Add test,
      ot tested on windows, but should work.
      
       bzrlib/tests/HTTPTestUtil.py:
      AuthServer.authorized): Fix typo.
      
       bzrlib/config.py:
      AuthenticationConfig.__init__): Track the filename getter, we
      eed it for _save().
      AuthenticationConfig._save): Needed for tests.
      AuthenticationConfig._set_option): Basic setter, needed for
      ests.
      AuthenticationConfig.get_credentials): Rework 'port' acquisition.
    ------------------------------------------------------------
    revno: 2900.2.4
    merged: v.ladeuil+lp at free.fr-20071013102322-0bn7g2dh4tq63la6
    parent: v.ladeuil+lp at free.fr-20071012161931-2an2ctxh3n5ibw4k
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Sat 2007-10-13 12:23:22 +0200
    message:
      Cosmetic changes.
      
      * bzrlib/tests/test_config.py: 
      Fix the imports.
      (TestAuthenticationConfig.test_broken_config): Add test.
      
      * bzrlib/config.py:
      (AuthenticationConfig.get_credentials): Add doc string. Cometic changes.
    ------------------------------------------------------------
    revno: 2900.2.3
    merged: v.ladeuil+lp at free.fr-20071012161931-2an2ctxh3n5ibw4k
    parent: v.ladeuil+lp at free.fr-20071010103634-7bgg0uunq3u7b5ix
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Fri 2007-10-12 18:19:31 +0200
    message:
      Credentials matching implementation.
      
      * bzrlib/tests/test_config.py:
      (TestAuthenticationConfig): Test the matching mechanism of
      the authentication.conf file
      
      * bzrlib/config.py:
      (AuthenticationConfig): New class.
      
      * doc/developers/authentication-ring.txt: 
      Clarify some details.
    ------------------------------------------------------------
    revno: 2900.2.2
    merged: v.ladeuil+lp at free.fr-20071010103634-7bgg0uunq3u7b5ix
    parent: v.ladeuil+lp at free.fr-20071010103423-azg2q71barzrp3tw
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Wed 2007-10-10 12:36:34 +0200
    message:
      Rephrase some sentences.
      
      * doc/developers/authentication-ring.txt:
      Slight update.
    ------------------------------------------------------------
    revno: 2900.2.1
    merged: v.ladeuil+lp at free.fr-20071010103423-azg2q71barzrp3tw
    parent: pqm at pqm.ubuntu.com-20071009084347-m6boff8rxmzsz28f
    parent: pqm at pqm.ubuntu.com-20071010085229-7x5al1tirr29mq0l
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: auth.ring
    timestamp: Wed 2007-10-10 12:34:23 +0200
    message:
      merge bzr.dev

Diff too large for email (2680 lines, the limit is 1000).



More information about the bazaar-commits mailing list