Debian Codegraph @

sites/www/development.rst

raw
1 ===========
2 Development
3 ===========
4
5 Obtaining a source checkout
6 ===========================
7
8 Our Git repository is maintained on Github at `pyinvoke/invoke`_. Please
9 follow their instructions for cloning (or forking, then cloning, which is best
10 if you intend to contribute back) the repository there.
11
12 Once downloaded or checked out, you can enter the root of the repository and
13 run any command that will read our ``dev`` dependency-group, eg:
14
15 - ``pip install . --group dev`` (requires ``pip`` 25.1+)
16 - ``uv sync`` (any version of ``uv`` should work)
17
18
19 Submitting bug reports or patches
20 =================================
21
22 We follow `contribution-guide.org`_ for all of our development - please `go
23 there`_ for details on submitting patches, which branch(es) to work out of,
24 and so on. Our issue tracker is on `our GitHub page`_.
25
26 Changelog location
27 ==================
28
29 Invoke's changelog lives in ``sites/www/changelog.rst`` and is formatted
30 using the `Releases <https://releases.readthedocs.io>`_ Sphinx plugin.
31
32 Running management tasks
33 ========================
34
35 Invoke uses itself for project management and has a number of tasks you can
36 see with ``inv --list``. Some specific tasks of note:
37
38 * ``test`` and ``integration``: Runs the primary and integration test
39 suites, respectively. (Most of the time you can ignore ``integration`` -
40 it's mostly for use by CI systems or once-in-a-while sanity checks
41 locally.)
42 * ``www`` and ``docs`` (and their subtasks like ``docs.browse``): Builds
43 the WWW site and the API docs, respectively.
44
45 Another good resource is to skim our ``.circleci/config.yml`` file for the
46 commands it executes - if submissions don't pass all of those commands to some
47 degree, they won't pass CI builds either!
48
49
50 .. _go there:
51 .. _contribution-guide.org: https://contribution-guide.org
52
53 .. _our GitHub page:
54 .. _pyinvoke/invoke: https://github.com/pyinvoke/invoke