Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

Latest commit

 

History

History
56 lines (42 loc) · 2.15 KB

README.dev.md

File metadata and controls

56 lines (42 loc) · 2.15 KB

GitHub release

Note: Don't edit configure.ac manually to bump the version; the release script will take care of that. Just make your changes and edit the ChangeLog.md file.

Run dev-bin/release.sh.

Current PPA process

Prerequisites: See https://github.com/maxmind/libmaxminddb/blob/master/README.dev.md#ppa and https://github.com/maxmind/libmaxminddb/blob/master/README.dev.md#prerequisites-for-releasing . Basically, you need to:

  1. Have a launchpad.net account
  2. Be on the MaxMind Launchpad team
  3. Have a GPG key hooked up to your Launchpad account
  4. Install the required release packages
  5. Install hub
  6. Run dev-bin/ppa-release.sh from the ubuntu-ppa branch with DEBFULLNAME and DEBEMAIL environment variables set.

Now check out the branch ubuntu-ppa.

Note: dev-bin/ppa-release.sh should do the following for you.

  1. Type dch -i and add the appropriate debian/changelog entry.
  2. Move tarball created above to a temp directory and name it geoipupdate_1.?.?.orig.tar.gz.
  3. Unpack tarball.
  4. Copy debian directory from the ubuntu-ppa branch. We do not include it in the tarball or in master so that we don't interfere with the packaging done by Debian.
  5. Update debian/changelog for the dist you are releasing to, e.g., precise, trusty, utopic, and prefix the version with the a ~ followed by the dist name, e.g., 2.1.0-1+maxmind1~trusty.
  6. Run debuild -S -sa -rfakeroot -k<KEY>. (The key may not be necessary if your .bashrc is appropriately )
  7. Check the lintian output to make sure everything looks sane.
  8. Run dput ppa:maxmind/ppa ../<source.changes files created above> to upload.
  9. Repeat 4-8 for remaining distributions.

This dist is not yet buildable with gbp. You must build from the tarball.

Homebrew

Style

Please run dev-bin/clang-format-all.sh on any changes you make.