RELEASE 2.72 KB
Newer Older
1 2 3 4 5 6 7
How to build a release for LemonLDAP::NG
========================================

The version
-----------

- The release version should be updated in the following location:
8
* changelog (add a changelog from JIRA for the target version)
9 10
* Main modules (Common.pm/Handler.pm/Portal.pm/Manager.pm)
* Makefile.PL for cross-dependencies
Clément OUDOT's avatar
Clément OUDOT committed
11
* Doxyfile
12 13

- Then update packages information with:
14
$ make clean && make cpan
15 16

- Version must also be updated in RPM and Debian build files
17 18
  - rpm/lemonldap-ng.spec: update versions and add changelog entry
  - debian/changelog: add changelog entry
19 20 21 22 23

Before release
--------------

- Update documentation:
24
$ make documentation
25

26 27 28
For minor release
-----------------

Clément OUDOT's avatar
Clément OUDOT committed
29
- Tag the version on SVN from the branch:
30
$ svn cp branches/lemonldap-ng_version_VERSION-bugfixes tags/lemonldap-ng_version_VERSION
31 32 33 34

For major release
-----------------

Clément OUDOT's avatar
Clément OUDOT committed
35
- Create a branch on SVN from the trunk:
36
$ svn cp trunk branches/lemonldap-ng_version_VERSION-bugfixes
37

38 39
- Tag the version on SVN from the branch:
$ svn cp branches/lemonldap-ng_version_VERSION-bugfixes tags/lemonldap-ng_version_VERSION
40

41 42 43 44
- Change "latest" symlink in dokuwiki 

- Edit scripts/doc.pl in trunk to point on the new documentation path

45 46
Make the distribution
---------------------
47

48 49
- CPAN packages:
$ make clean && make cpan
50 51

- Tarball:
52 53 54 55 56 57 58
$ make clean && make dist

- RedHat packaging: see rpm/README

- Debian packaging:
Note: official packages build is now hosted on https://github.com/guimard/LemonLDAP--NG-Debian-packaging

59 60 61 62
Create the debian specific tarball:
$ make clean && make debian-dist

Untar the debian archive and launch:
63 64 65 66 67 68
$ make debian-packages

Packages are in /tmp

Sign packages:
$ dpkg-sig -p --sign builder /tmp/*.deb
69 70


71 72
Upload the distribution
---------------------
73

74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
- CPAN:
Upload modules tarballs (generated by make cpan)

- OW2 Forge:
Upload dist and bundles

- RPM: see rpm/REDAME

- DEB:
The DEB repository is hosted on http://lemonldap-ng.org/deb

Copy all generated files (*.deb, *.dsc, *.changes, ...):
$ scp *.deb *.dsc *.changes *.debian.tar.gz *.orig.tar.gz lemonldapng@lemonldap-ng.org:incoming/

Then connect on the server and launch reprepro:
$ ssh lemonldapng@lemonldap-ng.org
lemonldapng@lemonldap-ng.org$ cd deb/
lemonldapng@lemonldap-ng.org$ reprepro --ask-passphrase -Vb . include squeeze ../incoming/lemonldap-ng_VERSION_i386.changes
92 93
or
lemonldapng@sd-22107:~/deb$ reprepro --ask-passphrase -Vb . includedeb squeeze ../incoming/*VERSION*deb
94 95

See also reprepro configuration file: 'distributions'
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112

Site
----

- Update links on the download page
- Close the version on JIRA and create a new one

Spread the word
---------------

- News on OW2 forge
- Twitter account
- Freshmeat
- IRC channel subject
- User mailing list
- Optional: blogs and news sites (LinuxFR, etc.)