~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/Makefile

  • Committer: Vincent Ladeuil
  • Date: 2007-10-22 15:18:24 UTC
  • mto: (2961.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 2962.
  • Revision ID: v.ladeuil+lp@free.fr-20071022151824-eol757lk393ofc38
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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
all: $(addsuffix .html,$(basename $(wildcard *.txt))) todo.html
2
 
 
3
 
clean:
4
 
        -rm *.html
5
 
 
6
 
%.html: %.txt
7
 
        rest2html $^ > $@.tmp && mv $@.tmp $@
8
 
 
9
 
todo.html: ../TODO
10
 
        rest2html $^ > $@.tmp && mv $@.tmp $@
11
 
 
12
 
 
13
 
 
14
 
upload: all
15
 
        rsync -av \
16
 
        ./ \
17
 
        escudero.ubuntu.com:/srv/www.bazaar-ng.org/www/doc/ \
18
 
        --delete \
19
 
        --include \*.html --exclude \* 
20