Docs used by hub.darcs.net (eg the front page). Fork this and add questions/answers to make it better. (http://hub.darcs.net)

root / darcshub.journal

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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
#!/usr/bin/env hledger -f

; darcs hub project finances in hledger (and Ledger) format.
; Arbitrarily starting 2017/1/1.

; Reporting setup:
; $ hledger --version  # install from http://hledger.org/download
; $ darcs get http://hub.darcs.net/simon/darcshub-docs
; $ cd darcshub-docs
;
; Some example reports:
; $ hledger -f darcshub.journal incomestatement -M [-B]
; $ hledger -f darcshub.journal balancesheet -M
;
; Accounts overview:
; assets:      assets:paypal - a sub-balance of SM's paypal, tracked by this journal
;              assets:cash - generic other assets/"things SM paid for"
; liabilities: none
; revenues:    money donations, time donations
; expenses:    hosting, dns, services, contributor time

; start 2017 with a zero balance
2017/1/1 opening balances
    assets:cash                                               $0

; pay for hosting (a portion of SM's monthly linode VPS expense)
2017/1/1 jan hosting
    expenses:hosting                                         $30
    assets:cash

; "pay" for developer/sysadmin hours this month, in this case SM's, priced at $100/hr.
; We aren't currently able to pay for work, but record it so we see
; the true financial picture. Other darcshub/darcsden contributors
; should record their hours and typical real-world rate in the same way.
2017/1/31 jan work
    expenses:work                                           1.25 smh @ $100
    assets:cash

2017/2/1 feb hosting
    expenses:hosting                                         $30
    assets:cash

2017/2/28 feb work
    expenses:work                                           3.75 smh @ $100
    assets:cash

2017/3/1 mar hosting
    expenses:hosting                                         $30
    assets:cash

; donation received!
2017/3/15 paypal donation
    revenues:donations:paypal                               -$20
    expenses:paypal                                        $1.08
    assets:paypal                                         $18.92

2017/3/16 paypal donation
    revenues:donations:paypal                              -$100
    expenses:paypal                                        $4.20
    assets:paypal                                         $95.80

2017/03/17 paypal donation
    revenues:donations:paypal                                $-3
    expenses:paypal                                        $0.42
    assets:paypal                                          $2.58

2017/3/31 mar work
    expenses:work        22 smh @ $100
    assets:cash

2017/4/1 apr hosting
    expenses:hosting                                         $30
    assets:cash

2017/04/15 paypal donation
    revenues:donations:paypal                               $-50
    expenses:paypal                                        $1.75
    assets:paypal                                         $48.25

2017/04/17 paypal donation
    revenues:donations:paypal                                $-3
    expenses:paypal                                        $0.43
    assets:paypal                                          $2.57

2017/4/30 apr work
    expenses:work        9 smh @ $100
    assets:cash

2017/5/1 may hosting
    expenses:hosting                                         $30
    assets:cash

2017/05/10 paypal donation
    revenues:donations:paypal                               $-20
    expenses:paypal                                        $1.18
    assets:paypal                                         $18.82

2017/05/17 paypal donation
    revenues:donations:paypal                                $-3
    expenses:paypal                                        $0.43
    assets:paypal                                          $2.57

2017/5/23 paypal donation
    revenues:donations:paypal                              -$100
    expenses:paypal                                        $4.70
    assets:paypal                                         $95.30

2017/05/25 gratipay donation
    revenues:donations:gratipay                              -$3
    expenses:paypal                                        $0.06
    assets:paypal                                          $2.94

2017/5/31 may work
    expenses:work        2 smh @ $100
    assets:cash

2017/6/1 june hosting
    expenses:hosting                                         $30
    assets:cash

2017/6/8 gratipay donation
    revenues:donations:gratipay                              -$3
    expenses:paypal                                        $0.04
    assets:paypal                                          $2.96

2017/6/17 paypal donation
    revenues:donations:paypal                                -$3
    expenses:paypal                                        $0.43
    assets:paypal                                          $2.57

2017/6/22 gratipay donation
    revenues:donations:gratipay                              -$2
    expenses:paypal                                        $0.04
    assets:paypal                                          $1.96

2017/6/22 paypal donation
    revenues:donations:paypal                                -$5
    expenses:paypal                                        $0.52
    assets:paypal                                          $4.48

2017/6/30 paypal donation
    revenues:donations:paypal                               -$50
    expenses:paypal                                        $1.75
    assets:paypal                                         $48.25

2017/6/30 june work
    expenses:work        0 smh @ $100
    assets:cash

2017/7/1 july hosting
    expenses:hosting                                         $30
    assets:cash

2017/7/2 paypal donation
    revenues:donations:paypal                                -$5
    expenses:paypal                                        $0.52
    assets:paypal                                          $4.48

2017/7/6 gratipay donation
    revenues:donations:gratipay                              -$7
    expenses:paypal                                        $0.14
    assets:paypal                                          $6.86

2017/7/9 paypal donation
    revenues:donations:paypal                               -$10
    expenses:paypal                                        $0.74
    assets:paypal                                          $9.26

2017/7/12 paypal donation
    revenues:donations:paypal                               -$10
    expenses:paypal                                        $0.59
    assets:paypal                                          $9.41

2017/7/17 paypal donation
    revenues:donations:paypal                                -$3
    expenses:paypal                                        $0.43
    assets:paypal                                          $2.57

2017/7/20 gratipay donation
    revenues:donations:gratipay                              -$7
    expenses:paypal                                        $0.14
    assets:paypal                                          $6.86

2017/7/24 paypal donation
    revenues:donations:paypal                               -$30
    expenses:paypal                                        $1.62
    assets:paypal                                         $28.38

2017/7/31 july work
    expenses:work        3 smh @ $100
    assets:cash

2017/8/1 august hosting
    expenses:hosting                                         $30
    assets:cash

2017/8/3 paypal donation
    revenues:donations:paypal                               -$10
    expenses:paypal                                        $0.74
    assets:paypal                                          $9.26

2017/8/3 gratipay donation
    revenues:donations:gratipay                             -$16
    expenses:paypal                                        $0.30
    assets:paypal                                         $15.70

2017/8/6 paypal donation
    revenues:donations:paypal                               -$20
    expenses:paypal                                        $1.18
    assets:paypal                                         $18.82

2017/8/17 paypal donation
    revenues:donations:paypal                                -$3
    expenses:paypal                                        $0.43
    assets:paypal                                          $2.57

2017/8/17 gratipay donation
    revenues:donations:gratipay                              -$2
    expenses:paypal                                        $0.03
    assets:paypal                                          $1.97

2017/8/31 august work so far
    expenses:work        0 smh @ $100
    assets:cash