Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chenrui333/geoipupdate-legacy


https://github.com/chenrui333/geoipupdate-legacy

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# 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`. (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 ../` to
upload.
9. Repeat 4-8 for remaining distributions.

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

# Homebrew

* Go to https://github.com/Homebrew/homebrew-core/blob/master/Formula/geoipupdate.rb
* Edit the file to update the url and sha256. You can get the sha256 for the
tarball with the `sha256sum` command line utility.
* Make a commit with the summary `geoipupdate `
* Submit a PR with the changes you just made.

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