You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contrib/devtools/README.md
+20-6Lines changed: 20 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,14 @@
1
1
Contents
2
-
===========
2
+
========
3
3
This directory contains tools for developers working on this repository.
4
4
5
+
clang-format.py
6
+
===============
7
+
8
+
A script to format cpp source code according to [.clang-format](../../src/.clang-format). This should only be applied to new files or files which are currently not actively developed on. Also, git subtrees are not subject to formatting.
9
+
5
10
github-merge.sh
6
-
==================
11
+
===============
7
12
8
13
A small script to automate merging pull-requests securely and sign them with GPG.
9
14
@@ -37,23 +42,31 @@ Configuring the github-merge tool for the bitcoin repository is done in the foll
37
42
git config --global user.signingkey mykeyid (if you want to GPG sign)
38
43
39
44
fix-copyright-headers.py
40
-
===========================
45
+
========================
41
46
42
47
Every year newly updated files need to have its copyright headers updated to reflect the current year.
43
48
If you run this script from src/ it will automatically update the year on the copyright header for all
44
49
.cpp and .h files if these have a git commit from the current year.
45
50
46
51
For example a file changed in 2014 (with 2014 being the current year):
52
+
47
53
```// Copyright (c) 2009-2013 The Bitcoin Core developers```
48
54
49
55
would be changed to:
56
+
50
57
```// Copyright (c) 2009-2014 The Bitcoin Core developers```
51
58
59
+
optimize-pngs.py
60
+
================
61
+
62
+
A script to optimize png files in the bitcoin
63
+
repository (requires pngcrush).
64
+
52
65
symbol-check.py
53
-
==================
66
+
===============
54
67
55
68
A script to check that the (Linux) executables produced by gitian only contain
56
-
allowed gcc, glibc and libstdc++ version symbols. This makes sure they are
69
+
allowed gcc, glibc and libstdc++ version symbols. This makes sure they are
57
70
still compatible with the minimum supported Linux distribution versions.
58
71
59
72
Example usage after a gitian build:
@@ -70,7 +83,7 @@ If there are 'unsupported' symbols, the return value will be 1 a list like this
70
83
.../64/test_bitcoin: symbol _ZNSt8__detail15_List_nod from unsupported version GLIBCXX_3.4.15
71
84
72
85
update-translations.py
73
-
=======================
86
+
======================
74
87
75
88
Run this script from the root of the repository to update all translations from transifex.
76
89
It will do the following automatically:
@@ -93,4 +106,5 @@ maintained:
93
106
* for sec/leveldb: https://github.com/bitcoin/leveldb.git (branch bitcoin-fork)
94
107
95
108
Usage: git-subtree-check.sh DIR COMMIT
109
+
96
110
COMMIT may be omitted, in which case HEAD is used.
0 commit comments