2008-02-13 22:58:17 +00:00
|
|
|
This file is a release HOWTO, more or less a reminder before releasing
|
|
|
|
a new version of Hamlib.
|
|
|
|
|
2011-05-31 14:01:14 +00:00
|
|
|
TODO: With the switch to Git SCM discuss the use of branches
|
|
|
|
for releases and point releases.
|
2008-02-13 22:58:17 +00:00
|
|
|
|
|
|
|
Before deciding release:
|
|
|
|
-----------------------
|
2010-01-28 22:44:56 +00:00
|
|
|
* Anticipate what problems would users experience with the new release,
|
2008-02-13 22:58:17 +00:00
|
|
|
so you can fix the problems before making the release.
|
2011-05-31 14:01:14 +00:00
|
|
|
Basically, this is making sure the package will compile on a whole
|
|
|
|
breed of systems (arch, OS, library, gcc, etc. combo),
|
2008-02-13 22:58:17 +00:00
|
|
|
that there's no regression, and the API evolution is managed well.
|
2010-01-28 22:44:56 +00:00
|
|
|
|
2011-05-31 14:01:14 +00:00
|
|
|
* Announce version freeze on hamlib-developer mailing list,
|
2008-02-13 22:58:17 +00:00
|
|
|
so developers have time to check in their contributions.
|
2011-05-31 14:01:14 +00:00
|
|
|
In order to provide for a timely release schedule with the popular
|
|
|
|
Ubuntu distribution, announcing a freeze around January 1 and July 1
|
|
|
|
of each year will provide about a month of testing before release.
|
2010-01-28 22:44:56 +00:00
|
|
|
|
2011-03-20 18:42:14 +00:00
|
|
|
* Update the configuration:
|
2012-10-08 18:07:35 +00:00
|
|
|
clean the tree (removing all files not tracked by Git):
|
2011-06-20 11:27:13 +00:00
|
|
|
make dist clean; git clean -dxf
|
2008-02-13 22:58:17 +00:00
|
|
|
|
|
|
|
Releasing Hamlib:
|
|
|
|
----------------
|
2011-05-31 14:01:14 +00:00
|
|
|
In the master branch of your local repository (the key to working with Git
|
|
|
|
is that all work is committed to the local repository and then pushed to the
|
|
|
|
remote repository, "origin"):
|
|
|
|
|
|
|
|
* Assure the local repository is sync'ed with origin/master:
|
|
|
|
git fetch
|
|
|
|
git status
|
|
|
|
|
|
|
|
At this point Git may produce a message such as:
|
|
|
|
|
|
|
|
$ git status
|
|
|
|
# On branch master
|
|
|
|
# Your branch is behind 'origin/master' by 2 commits, and can be fast-forwarded.
|
|
|
|
#
|
|
|
|
nothing to commit (working directory clean)
|
|
|
|
|
|
|
|
As there appear to be no conflicts, the following command will sync your
|
|
|
|
local repository to origin/master:
|
|
|
|
|
|
|
|
$ git reset --hard origin/master
|
2012-10-08 18:07:35 +00:00
|
|
|
HEAD is now at ??????? Last commit message summary
|
2011-05-31 14:01:14 +00:00
|
|
|
|
|
|
|
Thanks, Kamal Mostafa, KA6MAL
|
|
|
|
|
2008-02-13 22:58:17 +00:00
|
|
|
* Update NEWS, TODO, AUTHORS
|
2010-01-28 22:44:56 +00:00
|
|
|
|
2011-05-31 14:01:14 +00:00
|
|
|
* Commit the changes to master:
|
|
|
|
git status # Assure that only the previous files are modified
|
|
|
|
git commit -a # Commit all modified files locally
|
2010-01-28 22:44:56 +00:00
|
|
|
|
2011-05-31 14:01:14 +00:00
|
|
|
* Create a new branch for the release:
|
2012-10-08 18:07:35 +00:00
|
|
|
git branch Hamlib-3.1
|
2010-01-28 22:44:56 +00:00
|
|
|
|
2011-05-31 14:01:14 +00:00
|
|
|
* Push the changes (check for validity):
|
|
|
|
git push origin # pushes previous commit to sf.net repository
|
2012-10-08 18:07:35 +00:00
|
|
|
git push -u origin Hamlib-3.1 # push the branch and set "upstream"
|
2010-01-28 22:44:56 +00:00
|
|
|
|
2011-05-31 14:01:14 +00:00
|
|
|
* Update the version in the macro AC_INIT of configure.ac (advance to next
|
2012-10-08 18:07:35 +00:00
|
|
|
version, e.g. 3.1~git) and the ABI_RELEASE value in configure.ac.
|
|
|
|
|
|
|
|
Note that -version-info is a libtool link mode argument and reflects ABI
|
|
|
|
compatibility between Hamlib releases. The values of ABI_VERSION,
|
|
|
|
ABI_REVISION, and ABI_AGE are set in configure.ac. ABI_VERSION should be
|
|
|
|
advanced when the ABI is affected by changes in the library interface.
|
|
|
|
ABI_REVISION is the revision and indicates source changes in Hamlib but no
|
Fix spelling errors
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 07:02:12 +00:00
|
|
|
change in ABI. ABI_AGE reflects backward compatibility to a previous version.
|
2012-10-08 18:07:35 +00:00
|
|
|
Per the libtool manual, this value is subtracted from ABI_VERSION to note
|
|
|
|
compatible prior versions. Per the libtool manual, so long as the library
|
|
|
|
interface is added to and nothing is removed or changed, backward
|
Fix spelling errors
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 07:02:12 +00:00
|
|
|
compatibility should exist. When the API is changed, ABI_VERSION will be
|
2012-10-08 18:07:35 +00:00
|
|
|
advanced, ABI_REVISION will be reset to 0, and ABI_AGE may be advanced
|
|
|
|
pending API/ABI changes.
|
2010-01-28 22:44:56 +00:00
|
|
|
|
2011-05-31 14:01:14 +00:00
|
|
|
Format is ABI version:revision:age. Setting age to other than 0 causes
|
|
|
|
strange DLL naming in Win32 cross-compile builds.
|
2010-01-28 22:44:56 +00:00
|
|
|
|
2011-05-31 14:01:14 +00:00
|
|
|
* Commit the changes to configure.ac and src/Makefile.am and push them to
|
|
|
|
the remote repository.
|
|
|
|
|
|
|
|
At this point the master branch is ahead of the new release branch, however,
|
|
|
|
the version in the branch's version needs to have the "~git" changed to "~rc1"
|
|
|
|
which will be advanced for the next release candidate or stripped for final
|
|
|
|
release:
|
|
|
|
|
|
|
|
* Checkout the release branch:
|
2012-10-08 18:07:35 +00:00
|
|
|
git checkout Hamlib-3.1
|
2011-05-31 14:01:14 +00:00
|
|
|
|
|
|
|
* Edit config.ac, commit it and push it. The branch is now ready for
|
|
|
|
rc testing/release.
|
|
|
|
|
2011-06-20 11:27:13 +00:00
|
|
|
* Build source tarball from a cleaned tree (as above):
|
2017-07-28 02:30:13 +00:00
|
|
|
./bootstrap
|
|
|
|
./configure
|
2011-05-31 14:01:14 +00:00
|
|
|
make dist
|
|
|
|
|
2012-10-08 18:07:35 +00:00
|
|
|
The resulting tarball--hamlib-3.y[.z].tar.gz--should be tested as much
|
2011-06-20 11:27:13 +00:00
|
|
|
as possible to assure compilation integrity. etc.
|
|
|
|
|
2011-05-31 14:01:14 +00:00
|
|
|
|
|
|
|
Win32 binary build release
|
|
|
|
--------------------------
|
|
|
|
|
2011-06-20 11:27:13 +00:00
|
|
|
A new helper script is available in the scripts/ directory, build-win32.sh.
|
|
|
|
See README.build-win32 for information on prerequisites, etc.
|
2011-05-31 14:01:14 +00:00
|
|
|
|
2011-06-20 11:27:13 +00:00
|
|
|
* Build Windows DLL with cdecl convention using build-win32.sh
|
2008-02-13 22:58:17 +00:00
|
|
|
|
2011-06-20 11:27:13 +00:00
|
|
|
* Build Windows DLL with stdcall convention (script in progress):
|
2008-02-18 21:17:32 +00:00
|
|
|
Ditto but with HAMLIB_API set to __stdcall in include/hamlib/rig_dll.h before re-compiling.
|
Fix spelling errors
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 07:02:12 +00:00
|
|
|
Substitute cdecl by stdcall in README.txt.
|
2008-02-13 22:58:17 +00:00
|
|
|
|
2011-05-31 14:01:14 +00:00
|
|
|
|
2008-02-13 22:58:17 +00:00
|
|
|
* Release the file(s)
|
2011-03-13 02:43:45 +00:00
|
|
|
- https://sourceforge.net/projects/hamlib/files/
|
|
|
|
- Select Hamlib
|
2012-10-08 18:07:35 +00:00
|
|
|
- Click Add Folder, name it X.Y[.Z]
|
|
|
|
- Select X.Y[.Z]
|
2011-03-13 02:43:45 +00:00
|
|
|
- Click Add File button
|
|
|
|
- Click Choose File button
|
|
|
|
- Click Upload
|
2011-05-22 21:23:46 +00:00
|
|
|
- Click on (i) icon, select appropriate OS for "Default Download"
|
2010-03-07 14:07:42 +00:00
|
|
|
|
2010-01-28 22:44:56 +00:00
|
|
|
* Update http://www.hamlib.org Wiki
|
2008-02-13 22:58:17 +00:00
|
|
|
- Download section
|
2010-03-07 14:07:42 +00:00
|
|
|
https://sourceforge.net/apps/mediawiki/hamlib/index.php?title=Download
|
|
|
|
|
2008-02-18 21:17:32 +00:00
|
|
|
- Documentation (requires doxygen)
|
2010-01-28 22:44:56 +00:00
|
|
|
make -C doc doc
|
2011-07-31 15:54:08 +00:00
|
|
|
ssh -t USER,hamlib@shell.sourceforge.net create
|
|
|
|
mkdir /home/project-web/hamlib/htdocs/manuals/x-y-z
|
|
|
|
scp -r doc/html/* USER,hamlib@shell.sourceforge.net:/home/project-web/hamlib/htdocs/manuals/x-y-z/.
|
2010-01-28 22:44:56 +00:00
|
|
|
Edit Wiki Documentation section
|
2010-03-07 14:07:42 +00:00
|
|
|
|
2008-02-18 21:17:32 +00:00
|
|
|
- Supported Radios/Rotators
|
2010-01-28 22:44:56 +00:00
|
|
|
make -C tests rigmatrix.html
|
2010-03-07 14:07:42 +00:00
|
|
|
ssh -t USER,hamlib@shell.sourceforge.net create
|
2011-03-13 02:43:45 +00:00
|
|
|
scp -r tests/sup-info/* USER,hamlib@shell.sourceforge.net:/home/project-web/hamlib/htdocs/sup-info/.
|
2010-01-28 22:44:56 +00:00
|
|
|
|
2008-02-13 22:58:17 +00:00
|
|
|
* Notify various sites:
|
|
|
|
- Sourceforge/News: https://sourceforge.net/news/submit.php?group_id=8305
|
|
|
|
- Freshmeat: http://freshmeat.net/projects/hamlib
|
2008-02-18 21:17:32 +00:00
|
|
|
- http://radio.linux.org.au/pkgdetail.phtml?pkgid=243 Linux Hamradio App: rigctl category
|
2010-01-28 22:44:56 +00:00
|
|
|
|
2011-06-20 11:27:13 +00:00
|
|
|
* Send announce to mailing lists: [ANN] hamlib-developer, linux-ham,
|
|
|
|
debian-hams, fldigi-alpha, ham-linux
|
2008-02-13 22:58:17 +00:00
|
|
|
|
|
|
|
To advertise:
|
2010-01-28 22:44:56 +00:00
|
|
|
- list the rigs supported so far,
|
2008-02-13 22:58:17 +00:00
|
|
|
- what was major work achieved,
|
2010-01-28 22:44:56 +00:00
|
|
|
- where we're heading,
|
2008-02-13 22:58:17 +00:00
|
|
|
- what kind of support we need
|
|
|
|
|