1 #+TITLE: How to contribute to Org?
3 #+EMAIL: mdl AT imapmail DOT org
4 #+OPTIONS: H:3 num:nil toc:t \n:nil ::t |:t ^:nil -:t f:t *:t tex:t d:(HIDE) tags:not-in-toc
5 #+STARTUP: align fold nodlcheck hidestars oddeven lognotestate
6 #+SEQ_TODO: TODO(t) INPROGRESS(i) WAITING(w@) | DONE(d) CANCELED(c@)
7 #+TAGS: Write(w) Update(u) Fix(f) Check(c)
12 # This file is the default header for new Org files in Worg. Feel free
13 # to tailor it to your needs.
15 [[file:index.org][{Back to Worg's index}]]
17 * Types of contributions
19 :CUSTOM_ID: types-of-contributions
22 Every contribution to Org is very welcome. Here is a list of areas
23 where your contribution will be useful:
25 - bug reports :: Before sending a bug report, make sure you have read
26 this section of Org's manual: [[https://orgmode.org/org.html#Feedback][Feedback]] You can also read this great
27 text: "[[http://www.chiark.greenend.org.uk/~sgtatham/bugs.html][How to Send Bug Reports Effectively]]"
29 - patches :: You can submit patches to the mailing list. See the [[For Org contributors: preferred way of submitting
30 patches][Preferred way of submitting patches]] section for details. You can run
31 =make test= to check that your patch does not introduce new bugs.
33 If your patch is against a file that is part of Emacs, then your
34 total contribution (all patches you submit) should change /less than
35 15 lines/ (See the [[http://git.savannah.gnu.org/cgit/emacs.git/tree/CONTRIBUTE][CONTRIBUTE file in GNU Emacs]].) If you contribute
36 more, you have to assign the copyright of your contribution to the
37 Free Software Foundation (see below).
39 - material to the Worg website :: This website is made of Org files
40 that you can contribute to. Learn what Worg is [[file:worg-about.org][about]] and how to
41 contribute to it [[file:worg-git.org][through git]].
43 - feature requests :: Org is already mature, but new ideas keep
44 popping up. If you want to request a feature, first dig into the
45 mailing list to find similar proposals. If you cannot find any,
46 subscribe to [[file:org-mailing-list.org][the mailing list]], read it for a while, then make your
47 proposal. Formulate it as detailed as possible, if possible with
50 - Org add-ons :: there are many Org add-ons.
51 - The best way is to submit your code to [[file:org-mailing-list.org][the mailing list]] to discuss
53 - If it is useful, you might consider contributing it to the
54 =lisp/contrib/= directory in the git repository. It will be
55 reviewed, and if it passes, it will be included. The
56 =lisp/contrib/= directory is somehow relaxed: it is not distributed
57 with Emacs, and does not require a formal copyright assignment.
58 - If you decide to sign the [[*Copyright issues when contributing to Emacs Org mode][assignment contract with the FSF]], we
59 might include your contribution in the distribution, and then in
62 * Copyright issues when contributing to Emacs Org mode
64 :CUSTOM_ID: copyright-issues
67 Org is made of many files. Most of them are also distributed as part
68 of GNU Emacs. These files are called the /Org core/, and they are all
69 copyrighted by the [[http://www.fsf.org][Free Software Foundation, Inc]].
71 If you consider contributing to these files, your first need to grant
72 the right to include your works in GNU Emacs to the FSF. For this you
73 need to complete [[https://orgmode.org/request-assign-future.txt][this form]], and send it to [[mailto:assign@gnu.org][assign@gnu.org]].
75 The FSF will send you the assignment contract that both you and the
76 FSF will sign. Please let the Org mode maintainer know when this
79 If you want to learn more about /why/ copyright assignments are
80 collected, read this: [[http://www.gnu.org/licenses/why-assign.html][Why the FSF gets copyright assignments from
83 By submitting patches to =emacs-orgmode@gnu.org= or by pushing changes
84 to Org's core files, you are placing these changes under the same
85 licensing terms as those under which GNU Emacs is published.
88 ;; GNU Emacs is free software: you can redistribute it and/or modify
89 ;; it under the terms of the GNU General Public License as published by
90 ;; the Free Software Foundation, either version 3 of the License, or
91 ;; (at your option) any later version.
94 If at the time you submit or push these changes you do have active
95 copyright assignment papers with the FSF, for future changes to either
96 Org mode or to Emacs, this means that copyright to these changes is
97 automatically transferred to the FSF.
99 The Org mode repository is seen as upstream repository for Emacs,
100 anything contained in it can potentially end up in Emacs. If you do
101 not have signed papers with the FSF, only changes to files in the
102 =contrib/= part of the repository will be accepted, as well as very
103 minor changes (so-called /tiny changes/) to core files. We will ask you
104 to sign FSF papers at the moment we attempt to move a =contrib/= file
105 into the Org core, or into Emacs.
112 Org developers are those who have write access to the repository.
116 Please read Worg's page on [[https://orgmode.org/worg/org-maintainance.html][Org maintainance]].
118 ** Pushing your first commit
120 1. Send [[mailto:bzgATgnuDOTorg][Bastien]] the username you want for https://code.orgmode.org
121 2. Add your public key to the account
122 3. Clone =org-mode.git=: =~$ git clone git@code.orgmode.org:bzg/org-mode.git=
123 4. Commit your changes against the code and the documentation.
125 6. If the tests pass, push your changes.
127 If you are undertaking big changes, please create a dedicated branch
128 and make sure you have a clean commit history before merging it into
129 the maint or master branch.
131 * For Org contributors: preferred way of submitting patches
136 ** Coding conventions
138 Org is part of Emacs, so any contribution should follow the [[http://www.gnu.org/software/emacs/manual/html_node/elisp/Coding-Conventions.html][GNU Emacs
139 Lisp coding conventions]] described in Emacs manual.
141 ** Sending patch with git
143 Please use Git to make patches and send them via email -- this is
144 perfectly fine for major and minor changes.
146 When sending a patch (either using =git diff= or =git format-patch=)
147 please *always add a properly formatted Emacs ChangeLog entry*. See
148 [[#commit-messages][this section]] for details on how to create such a ChangeLog.
152 For every patch you send, we suggest to use =git format-patch=.
154 This is easy for small patches and more consequent ones. Sometimes,
155 you might even want to work in several steps and send each commit
156 separately. Here is the suggested workflow:
159 : ~$ git pull # make sure your repo is up to date
160 : ~$ git branch my-changes # create a new branch from master
161 : ~$ git checkout my-changes # switch to this new branch
163 ... make some changes (1) ...
165 : ~$ git commit -a -m "This is change (1)" # Commit your change
167 ... make another change (2) ...
169 : ~$ git commit -a -m "This is change (2)" # Commit your change
170 : ~$ git format-patch master # Creates two patches
172 ... Then two patches for your two commits are ready to be sent to
176 To finally send the patches, you can either add them as attachments to
177 your email, or use [[https://git-scm.com/docs/git-send-email][git send-email]], if it's properly configured.
179 Write useful commit messages: please provide 1) a reason for it in
180 your email and 2) a ChangeLog entry in the commit message (see [[#commit-messages][this
181 section]] on how to format a ChangeLog entry.)
183 ** Sending quick fixes for testing purpose
185 If you want to send a quick fix that needs to be further tested by
186 other people (before you submit a real patch), here is how you can do:
189 This command will make a patch between the staging area (in your
190 computer), and the file you modified:
192 : git diff -p org-whatever.el > org-whatever.el.diff
194 If you already committed your changes to your index (staging area), then
195 you should compare against a particular branch (in this example,
198 : git diff -p origin/master org-whatever.el > org-whatever.el.diff
200 You email the output to the mailing list, adding =[PATCH]= to the
201 subject, and description of what you fixed or changed.
204 Note that small patches sent like this still need to have a ChangeLog
205 entry to be applied. If your patch looks good to you, it's always
206 better to send a patch through =git format-patch=.
208 ** Sharing changes from a public branch
210 When discussing important changes, it is sometimes not so useful to
211 send long and/or numerous patches.
213 In this case, you can maintain your changes on a public branch of a
214 public clone of Org and send a link to the diff between your changes
215 and the latest Org commit that sits in your clone.
217 If the discussion settles and your change is accepted, you can now
218 send it as (a list of) patch(es) to the latest Org version.
220 * Commit messages and ChangeLog entries
222 :CUSTOM_ID: commit-messages
225 We have decided to no longer keep a ChangeLog file to record changes
226 to individual functions.
228 A commit message should be constructed in the following way:
230 - Line 1 of the commit message should always be a short description of
231 the overall change. Line 1 does /not/ get a dot at the end and does
232 not start with a star. Generally, it starts with the filename that
233 has been changed, followed by a colon.
235 - Line 2 is an empty line.
237 - In line 3, the ChangeLog entry should start. A ChangeLog entry
238 looks like [[https://orgmode.org/cgit.cgi/org-mode.git/commit/?id%3Dd49957ef021e256f19092c907d127390d39ec1ed][this]]:
240 : * org-timer.el (org-timer-cancel-timer, org-timer-stop): Enhance
242 : (org-timer-set-timer): Use the number of minutes in the Effort
243 : property as the default timer value. Three prefix arguments will
244 : ignore the Effort value property.
246 - After the changelog, another empty line should come before any
247 additional information that the committer wishes to provide in order
248 to explain the patch.
250 - If the change is a minor change made by a committer without
251 copyright assignment to the FSF, the commit message should also
252 contain the cookie =TINYCHANGE= (anywhere in the message). When we
253 later produce the ChangeLog file for Emacs, the change will be
254 marked appropriately.
256 - Variables and functions names are quoted like `this' (backquote and
259 - Sentences should be separated by two spaces.
261 - Sentences should start with an uppercase letter.
263 - Avoid the passive form: i.e., use "change" instead of "changed".
265 Here is an example for such a message:
268 org-capture.el: Fix the case of using a template file
270 ,* lisp/org-capture.el (org-capture-set-plist): Make sure txt is a
271 string before calling `string-match'.
272 (org-capture-templates): Fix customization type.
274 ,* doc/org.texi (Capture): Document using a file for a template.
276 The problem here was that a wrong keyword was given in the
277 customization type. This let to a string-match against a list value.
279 Modified from a patch proposal by Johan Friis.
284 If you are using /magit.el/ in Emacs, the ChangeLog for such entries are
285 easily produced by pressing =C= in the diff listing.
287 Another option to produce the entries is to use `C-x 4 a' in the
288 changed function or in the diff listing. This will create entries in
289 the ChangeLog file, and you can then cut and paste these to the commit
290 message and remove the indentation.
292 - Further reference: [[http://git.savannah.gnu.org/cgit/emacs.git/plain/CONTRIBUTE][Contribution guide from Emacs repo]]
294 * Copyrighted contributors to Org mode
296 :CUSTOM_ID: copyrighted-contributors
299 Here is the list of people who have contributed actual code to the Org
300 mode core. Note that the manual contains a more extensive list with
301 acknowledgments, including contributed ideas! The lists below are
302 mostly for house keeping, to help the maintainers keep track of
305 ** Current contributors
307 :CUSTOM_ID: contributors_with_fsf_papers
310 Here is the list of people who signed the papers with the Free Software
311 Foundation and can now freely submit code to Org files that are included
328 - Andrzej Lichnerowicz
335 - Barry Leonard Gidden
351 - Christopher Miles Gray
352 - Christopher Schmidt
353 - Christopher Suckling
354 - Clément Pit--Claudel
357 - Daniel M.\nbsp{}Hackney
358 - David Arroyo Menéndez
365 - Emmanuel Charpentier
368 - Eric S.\nbsp{}Fraga
374 - Francesco Pizzolante
377 - George Kettleborough
381 - Grégoire Jadi (aka Daimrod)
383 - Henning Dietmar Weiss
407 - Jonathan Leech-Pepin
409 - José L.\nbsp{}Doménech
418 - Kevin Brubeck Unhammer
427 - Leonard Avery Randall
436 - Mark A.\nbsp{}Hershberger
445 - Miguel A.\nbsp{}Figueroa-Villanueva
462 - Pedro Alexandre Marcelino Costa da Silva
473 - Rasmus Pank Roulund
478 - Robert Michael Irelan
492 - Siraphob Phipathananunth
507 - Thomas S.\nbsp{}Dye
511 - Titus von der Malsburg
526 - Yuri D.\nbsp{}Lensky
528 - Zhuo Qingliang (Killy Draw)
532 These people have been asked to sign the papers, and they are
533 currently considering it or a request is being processed by the FSF.
535 - Felipe Lema [2020-02-25 mar.]
536 - Terje Larsen [2020-02-17 lun.]
537 - Brian Carlson [2016-05-24 Tue]
538 - Mats Kindahl (as of 2013-04-06) for [[http://mid.gmane.org/513BAB7D.1000603@oracle.com][this patch]]
543 These people have submitted tiny change patches that made it into Org
544 without FSF papers. When they submit more, we need to get papers
545 eventually. The limit is a cumulative change of 20 non-repetitive
546 change lines. Details are given in [[http://www.gnu.org/prep/maintain/maintain.html#Legally-Significant ][this document]].
548 - Aaron L.\nbsp{}Zeng
549 - Abhishek Chandratre
561 - Arne Babenhauserheide
571 - Christian Schwarzgruber
588 - Francesco Montanari
593 - Greg Tucker-Kellogg
595 - Ivan Vilata i Balaguer
605 - Joaquín Aguirrezabalaga
614 - Konstantin Kliakhandler
617 - Leslie Harlley Watter
656 - Richard Y.\nbsp{}Kim (Kim)
659 - Robert P.\nbsp{}Goldman
663 - Saulius Menkevičius
664 - Sebastien Le Maguer
671 - Stefan-W.\nbsp{}Hahn
678 - Thomas Alexander Gerds
688 - Xavier Martinez-Hidalgo
693 - Zane D.\nbsp{}Purvis
696 (This list may be incomplete - please help completing it.)
700 These people cannot or prefer to not sign the FSF copyright papers,
701 and we can only accept patches that do not change the core files (the
702 ones that are also in Emacs).
704 Luckily, this list is still empty.
706 #+BEGIN: timestamp :string "Last update: " :format "%Y-%m-%d @ %H:%M"