summaryrefslogtreecommitdiffstats
path: root/HACKING
blob: 3f753bcf12e52c01d73012dd96242f56678e2943 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Coding style
============

Please follow PEP-8 "Style Guide for Python Code"[1] and be consistent with
current code when proposing patches. Explicit variables names are preferred,
even if they are longer.

[1]. https://www.python.org/dev/peps/pep-0008/


Release
=======

Pull last commits:

    git checkout master
    git pull

Update translations:

    ~/path/to/tails/git/import-translations && \
    rm -f po/*.po~ && \
    git add po/*.po po/*.pot && \
    git commit po -m 'Update POT and PO files.'

Edit setup.py to increment "version=" field to $VERSION

    git add setup.py
    git commit -m "Bump version to $VERSION"

Tag the release and push

    git tag -m "Release version $VERSION" -s $VERSION
    git push --tags origin/master