/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/developers/contribution-quickstart.txt

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-11-16 18:26:22 UTC
  • mfrom: (7167.1.4 run-flake8)
  • Revision ID: breezy.the.bot@gmail.com-20181116182622-qw3gan3hz78a2imw
Add a flake8 test.

Merged from https://code.launchpad.net/~jelmer/brz/run-flake8/+merge/358902

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
you should set it to "In Progress" and if you wish assign it to yourself.
27
27
 
28
28
You might like to start with a bug tagged `easy
29
 
<https://bugs.edge.launchpad.net/bzr/+bugs?field.tag=easy>`_.
 
29
<https://bugs.launchpad.net/bzr/+bugs?field.tag=easy>`_.
 
30
 
 
31
If you are wondering if your understanding of the bug is correct, or if the 
 
32
approach you have in mind is likely to work, feel to ask about it on the bug,
 
33
in ``#bzr`` or on the mailing list.
30
34
 
31
35
Making a branch
32
36
---------------
65
69
with your local and Launchpad usernames inserted.
66
70
 
67
71
 
 
72
 
 
73
Publishing your changes
 
74
-----------------------
 
75
 
 
76
After you've locally committed your changes, the configuration above
 
77
should be enough that you can push them to Launchpad with a simple ::
 
78
 
 
79
    $ bzr push
 
80
 
 
81
 
68
82
Writing tests
69
83
-------------
70
84
 
74
88
merge that does not yet have tests.
75
89
 
76
90
Normally for command-line code you should look in
77
 
``bzrlib.tests.blackbox`` and for library code in ``bzrlib.tests``.  For
 
91
``breezy.tests.blackbox`` and for library code in ``breezy.tests``.  For
78
92
functions on an interface for which there are multiple implementations,
79
 
like `Transport`, look in ``bzrlib.tests.per_transport``.
 
93
like `Transport`, look in ``breezy.tests.per_transport``.
80
94
 
81
95
It's a good idea to search the tests for something related to the thing
82
96
you're changing and you may find a test you can modify or adapt.
86
100
    $ ./bzr selftest
87
101
 
88
102
Normally the tests will skip if some library dependencies are not present.
89
 
On Ubuntu, you can install them with this command (you must have some
 
103
On Ubuntu, you can install them with this command (you must have source
90
104
repositories enabled in Software Sources)::
91
105
 
92
106
    $ sudo apt-get build-dep bzr
103
117
 
104
118
 
105
119
Then propose a merge into bzr; for bzr 2.2 and later you can use the ``bzr
106
 
propose-merge`` command.  In the comment for your merge proposal please
 
120
lp-propose-merge`` command.  In the comment for your merge proposal please
107
121
explain what you're trying to do and why.  For `example
108
122
<https://code.launchpad.net/~ian-clatworthy/bzr/whats-new-in-2.1/+merge/19677>`_:
109
123