2010-10-15 10:36:36 +00:00
|
|
|
# -*- mode:org -*-
|
|
|
|
|
2013-03-23 16:34:19 +00:00
|
|
|
#+TITLE: Org maintainer tasks
|
2012-09-03 09:58:06 +00:00
|
|
|
#+STARTUP: noindent
|
2014-04-22 09:53:48 +00:00
|
|
|
#+OPTIONS: ^:nil
|
2010-10-15 10:36:36 +00:00
|
|
|
|
|
|
|
This document describes the tasks the Org-mode maintainer has to do
|
|
|
|
and how they are performed.
|
|
|
|
|
2012-09-03 09:58:06 +00:00
|
|
|
* Git workflow
|
|
|
|
|
|
|
|
The git repository has two branches:
|
|
|
|
|
|
|
|
- master :: for current development.
|
|
|
|
|
|
|
|
- maint :: for bug fixes against latest major or minor release.
|
|
|
|
|
|
|
|
Bug fixes always go on =maint= then are merged on =master=.
|
|
|
|
|
|
|
|
New features always go on =master=.
|
|
|
|
|
|
|
|
* Releasing
|
|
|
|
|
|
|
|
** Major release
|
|
|
|
|
2018-02-26 08:18:19 +00:00
|
|
|
The release number for main releases look like this: =9.1=
|
2012-09-03 09:58:06 +00:00
|
|
|
|
|
|
|
Main releases are made whenever Org is in a state where the feature
|
|
|
|
set is consistent and we feel that the features that are implemented
|
|
|
|
is something we want to support in the future.
|
|
|
|
|
|
|
|
A major release turns the current state of the master branch into a
|
|
|
|
release.
|
|
|
|
|
|
|
|
When doing a /major release/, make sure all changes from the maint
|
|
|
|
branch are merged into the the master branch, then merge the master
|
2015-08-21 20:26:11 +00:00
|
|
|
branch back into maint to synchronize the two.
|
2012-09-03 09:58:06 +00:00
|
|
|
|
|
|
|
** Minor release
|
|
|
|
|
2018-02-26 08:18:19 +00:00
|
|
|
The release number for minor releases look like this: =9.1.7=
|
2012-09-03 09:58:06 +00:00
|
|
|
|
|
|
|
Minor releases are small amends to main releases. Usually they fix
|
|
|
|
critical bugs discovered in a main release. Minor bugs are usually
|
2015-08-21 20:26:11 +00:00
|
|
|
not fixed -- they will be adressed in the next main release.
|
2012-09-03 09:58:06 +00:00
|
|
|
|
|
|
|
Only the fix to the bug is bundled into a release, without the main
|
|
|
|
development work going on in the master branch. Since the bug fix
|
|
|
|
will also be needed in the master branch, usually the fix is made in
|
|
|
|
maint then merged in master.
|
|
|
|
|
|
|
|
** Tagging the release
|
|
|
|
|
2013-03-23 16:34:19 +00:00
|
|
|
When doing a major and a minor release, after all necessary merging is
|
|
|
|
done, tag the _maint_ branch for the release with:
|
2012-09-03 09:58:06 +00:00
|
|
|
|
2018-02-26 08:18:19 +00:00
|
|
|
git tag -a release_9.1.7 -m "Adding release tag"
|
2012-09-03 09:58:06 +00:00
|
|
|
|
|
|
|
and push tags with
|
|
|
|
|
|
|
|
git push --tags
|
|
|
|
|
2013-03-23 16:34:19 +00:00
|
|
|
We also encourage you to sign release tags like this:
|
|
|
|
|
2018-02-26 08:18:19 +00:00
|
|
|
git tag -s release_9.1.7 -m "Adding release tag"
|
2013-03-23 16:34:19 +00:00
|
|
|
|
2012-09-03 09:58:06 +00:00
|
|
|
** Uploading the release files from the orgmode.org server
|
|
|
|
|
|
|
|
Log on the orgmode.org server as the emacs user and cd to
|
|
|
|
~/git/org-mode
|
|
|
|
|
|
|
|
From there do
|
2012-09-22 08:32:46 +00:00
|
|
|
|
2012-09-03 09:58:06 +00:00
|
|
|
make release
|
|
|
|
make upload
|
|
|
|
|
2018-02-26 08:18:19 +00:00
|
|
|
to create the =.tar.gz= and =.zip= files, the documentation, and to upload
|
|
|
|
everything at the right place.
|
2012-09-03 09:58:06 +00:00
|
|
|
|
2013-09-02 11:16:03 +00:00
|
|
|
* Available Org's builds on the server
|
|
|
|
|
|
|
|
There are two cron tasks on the server: one that builds the ELPA
|
2018-02-26 08:18:19 +00:00
|
|
|
packages and one that builds =org-latest.tar.gz= and =org-latest.zip=.
|
2013-09-02 11:16:03 +00:00
|
|
|
|
|
|
|
ELPA packages are built from the *maint* branch. One ELPA package
|
|
|
|
contains Org's core, another one called "org-plus-contrib" contains
|
|
|
|
Org and contributed libraries.
|
|
|
|
|
2018-02-26 08:18:19 +00:00
|
|
|
=org-latest*= snapshots are built from the *master* branch.
|
2013-09-02 11:16:03 +00:00
|
|
|
|
2017-07-03 09:48:58 +00:00
|
|
|
* Synchronization Org and upstream Emacs
|
2017-08-18 07:09:34 +00:00
|
|
|
|
2017-07-03 09:48:58 +00:00
|
|
|
Below it is described how Org is kept in sync with the upstream Emacs.
|
2017-08-18 07:09:34 +00:00
|
|
|
|
2017-07-03 09:48:58 +00:00
|
|
|
** Backporting changes from upstream Emacs
|
2017-08-18 07:09:34 +00:00
|
|
|
|
2017-07-03 09:48:58 +00:00
|
|
|
Sometimes Emacs maintainers make changes to Org files. The process of
|
|
|
|
propagating the changes back to the Org repository is called
|
|
|
|
/backporting/ for historical reasons.
|
|
|
|
|
|
|
|
To find changes that need to be backported from the Emacs repository,
|
|
|
|
the following =git= command, courtesy of [[http://permalink.gmane.org/gmane.emacs.devel/215861][Kyle Meyer]], can be used:
|
2017-08-18 07:09:34 +00:00
|
|
|
|
2017-07-03 09:48:58 +00:00
|
|
|
#+begin_src shell
|
|
|
|
git log $rev..origin/emacs-25 -- lisp/org doc/misc/org.texi \
|
|
|
|
etc/refcards/orgcard.tex etc/ORG-NEWS etc/org \
|
|
|
|
etc/schema/od-manifest-schema-v1.2-os.rnc \
|
|
|
|
etc/schema/od-schema-v1.2-os.rnc
|
|
|
|
#+end_src
|
2017-08-18 07:09:34 +00:00
|
|
|
|
2017-07-03 09:48:58 +00:00
|
|
|
here, =$rev= is the last commit from the =emacs-25= branch that was
|
|
|
|
backported. The should also be done for the =master= branch.
|
|
|
|
|
|
|
|
There is also a [[http://git.savannah.gnu.org/cgit/emacs.git/atom/lisp/org/][feed]] to keep track of new changes in the =lisp/org=
|
|
|
|
folder in the Emacs repository.
|
2017-08-18 07:09:34 +00:00
|
|
|
|
2017-07-03 09:48:58 +00:00
|
|
|
** Updating the Org version in upstream Emacs
|
2017-08-18 07:09:34 +00:00
|
|
|
|
2017-07-03 09:48:58 +00:00
|
|
|
New releases of Org should be added to the [[https://git.savannah.gnu.org/cgit/emacs.git][Emacs repository]].
|
|
|
|
|
|
|
|
Typically, Org can be synchronized by copying over files from the
|
|
|
|
=emacs-sync= branch of the Org repository to the =master= branch of Emacs
|
2018-02-26 08:18:19 +00:00
|
|
|
repository. The =emacs-sync= branch has a few extra changes compared
|
|
|
|
with the =maint= branch. If the Emacs maintainers are planning a new
|
|
|
|
release of Emacs soon, it is possible that another branch should be
|
|
|
|
used.
|
2017-07-03 09:48:58 +00:00
|
|
|
|
|
|
|
If the new release of Org contains many changes, it may be useful to
|
|
|
|
use a separate branch before merging, e.g. =scratch/org-mode-merge=.
|
|
|
|
This branch can then be merged with the =master= branch, when everything
|
|
|
|
has been tested.
|
|
|
|
|
|
|
|
Please see [[http://git.savannah.gnu.org/cgit/emacs.git/tree/CONTRIBUTE][CONTRIBUTE]] in the Emacs repository for guidelines on
|
|
|
|
contributing to the Emacs repository.
|
2017-08-18 07:09:34 +00:00
|
|
|
|
2017-07-03 09:48:58 +00:00
|
|
|
*** Where to files go
|
2017-08-18 07:09:34 +00:00
|
|
|
|
2018-02-26 08:18:19 +00:00
|
|
|
The following list shows where files in Org repository are copied to
|
|
|
|
in the Emacs repository, folder by folder.
|
2017-08-18 07:09:34 +00:00
|
|
|
|
2017-07-03 09:48:58 +00:00
|
|
|
**** =org-mode/doc=
|
2017-08-18 07:09:34 +00:00
|
|
|
|
2017-07-03 09:48:58 +00:00
|
|
|
- =org.texi= :: Copy to =emacs/doc/misc=. It may be necessary to replace,
|
2017-08-18 07:09:34 +00:00
|
|
|
~@include org-version.inc~ with ~@set VERSION 9.0.9~ or similar.
|
|
|
|
|
2017-08-29 08:35:10 +00:00
|
|
|
- =orgcard.tex= :: Copy to =emacs/etc/refcards=. Make sure that
|
2017-08-18 07:09:34 +00:00
|
|
|
~\def\orgversionnumber~ and ~\def\versionyear~ are up to date.
|
|
|
|
|
2018-02-26 08:18:19 +00:00
|
|
|
**** =org-mode/etc=
|
2017-08-18 07:09:34 +00:00
|
|
|
|
2017-07-03 09:48:58 +00:00
|
|
|
- =styles/*= :: Copy to =emacs/etc/org=.
|
2017-08-18 07:09:34 +00:00
|
|
|
|
2017-07-03 09:48:58 +00:00
|
|
|
- =schema/*.rnc= :: Copy to =emacs/etc/schema=.
|
2017-08-18 07:09:34 +00:00
|
|
|
|
2017-07-03 09:48:58 +00:00
|
|
|
- =schema/schemas.xml= :: Any new entries in this file should be added
|
|
|
|
to =emacs/etc/schema/schemas.xml=.
|
2017-08-18 07:09:34 +00:00
|
|
|
|
2017-07-03 09:48:58 +00:00
|
|
|
- =ORG-NEWS= :: Copy to =emacs/etc=
|
2017-08-18 07:09:34 +00:00
|
|
|
|
2017-07-03 09:48:58 +00:00
|
|
|
**** =org-mode/lisp=
|
2017-08-18 07:09:34 +00:00
|
|
|
|
|
|
|
- Copy =*.el= files to =emacs/lisp/org=, except =org-loaddefs.el=!
|
|
|
|
|
2017-07-03 09:48:58 +00:00
|
|
|
- You should create =org-version.el= in =emacs/lisp/org=. The file is
|
|
|
|
created when you =make= Org.
|
2017-08-18 07:09:34 +00:00
|
|
|
|
2017-07-03 09:48:58 +00:00
|
|
|
**** TODO =org-mode/testing=
|
2017-08-18 07:09:34 +00:00
|
|
|
|
2017-12-06 13:51:06 +00:00
|
|
|
*** Update =emacs/etc/NEWS=
|
2018-02-26 08:18:19 +00:00
|
|
|
|
2017-12-06 13:51:06 +00:00
|
|
|
Whenever a new (major) version of Org is synchronized to the Emacs
|
|
|
|
repository, it should be mentioned in the NEWS file.
|
2018-02-26 08:18:19 +00:00
|
|
|
|
2012-09-03 09:58:06 +00:00
|
|
|
* Updating the list of hooks/commands/options on Worg
|
|
|
|
|
2017-08-18 07:09:34 +00:00
|
|
|
Load the =mk/eldo.el= file then =M-x eldo-make-doc RET=.
|
2012-09-03 09:58:06 +00:00
|
|
|
|
2017-08-18 07:09:34 +00:00
|
|
|
This will produce an org file with the documentation.
|
2012-09-03 09:58:06 +00:00
|
|
|
|
2017-08-18 07:09:34 +00:00
|
|
|
Import this file into =worg/doc.org=, leaving the header untouched
|
|
|
|
(except for the release number).
|
2010-11-17 08:26:04 +00:00
|
|
|
|
2017-08-18 07:09:34 +00:00
|
|
|
Then commit and push the change on the =worg.git= repository.
|
2010-11-17 12:51:22 +00:00
|
|
|
|
|
|
|
* Copyright assignments
|
|
|
|
|
2017-08-18 07:09:34 +00:00
|
|
|
The maintainer needs to keep track of copyright assignments. Even
|
|
|
|
better, find a volunteer to do this.
|
2013-03-23 16:34:19 +00:00
|
|
|
|
2017-08-18 07:09:34 +00:00
|
|
|
The assignment form is included in the repository as a file that you
|
|
|
|
can send to contributors: =request-assign-future.txt=
|
2011-01-18 14:18:32 +00:00
|
|
|
|
2017-08-18 07:09:34 +00:00
|
|
|
The list of all contributors from who we have the papers is kept on
|
2018-01-16 16:22:00 +00:00
|
|
|
Worg at https://orgmode.org/worg/org-contribute.html, so that
|
2017-08-18 07:09:34 +00:00
|
|
|
committers can check if a patch can go into the core.
|
2011-01-18 14:18:32 +00:00
|
|
|
|
2017-08-18 07:09:34 +00:00
|
|
|
The assignment process does not allways go smoothly, and it has
|
|
|
|
happened several times that it gets stuck or forgotten at the FSF.
|
|
|
|
The contact at the FSF for this is: mailto:copyright-clerk@fsf.org
|
2011-01-18 14:18:32 +00:00
|
|
|
|
2017-08-18 07:09:34 +00:00
|
|
|
Emails from the paper submitter have been ignored in the past, but an
|
|
|
|
email from me (Carsten) as the maintainer of Org mode has usually
|
|
|
|
fixed such cases within a few days.
|