Categories
Uncategorized

pygit2 1.2.0 supports custom object and reference backends

Now Mac OS wheels are available. Dropped support for Python 3.5, libgit2 1.0 required. See the full list of changes.

Thanks to Drew DeVault, Robert Coup and Dan Cecile for their contributions to this release.

Resources:

Enjoy!

Categories
Uncategorized

pygit2 1.1.0 released, upgrades to libgit2 0.99

Now you can support pygit2, join SourceHut to fund continued development of pygit2.

pygit2 1.1 requires libgit2 0.99 (or future 1.0), continued work on custom object db backends. See the full list of changes.

Thanks to Drew DeVault, Robert Coup, Gregory Herrero and Lukas Berk for their contributions to this release.

Resources:

Enjoy!

Categories
Uncategorized

pygit2 1.0.0 released, drops Python 2.7 support

Added support for Python 3.8, dropped support for Python 2.7 & 3.4; See the full list of changes.

Thanks to Robert Coup, Dan Sully, Drew DeVault, Marcel Waldvogel, Chad Birch, Christopher Hunt, Colin Watson, David Black, Dennis Schwertel, Gregory Herrero, Isabella Stephens, Jonathan Robson, Saul Pwanson and Shane Turner for their contributions to this release.

Resources:

Categories
Uncategorized

pygit2 0.28.0 with manylinux wheels now

Upgraded to libgit2 0.28, manylinux wheels now available, support for mailmap added. See the full list of changes.

Special thanks to Sviatoslav Sydorenko for his work on manylinux wheels. Thanks too to Nika Layzell, Robert Coup, Insomnia, Benjamin Wohlwend, Jorge C. Leitao and Sriram Raghu.

Resources:

Enjoy!

Categories
Uncategorized

pygit2 0.27.3 now uses pytest, dropped support for Python 3.3

See the full list of changes.

Thanks to Matthias Bartelmeß, Robin Stocker, Assaf Nativ, Alexander Linne, Chris Jerdonek, Cristian Hotea and Jorge C. Leitao

Resources:

Enjoy!

Categories
pygit2

Pygit2 0.27.2 adds support for Python 3.7

See the full list of changes.

Thanks to Chad Dombrova, Jeremy Heiner, Ken Dreyer and Patrick Lühne.

Resources:

Enjoy!

Categories
exim mailman

Throttling outbound emails with Mailman & Exim

Many ISPs have limits on the amount of emails received in a period of time, not respecting this will reduce the reputation of the sender.

Mailman 2 doesn’t support throttling, though there’re some patches in the wild adding this feature. Exim supports rate limiting incoming emails, but not emails going out, though it may be possible to do this with some convoluted configuration.

The easy solution is to rate limit emails coming from Mailman to Exim, so Mailman will retry them later.

This is the Mailman configuration:

DELIVERY_RETRY_WAIT = minutes(15)

Here we tell Mailman to retry sending delayed emails every 15 minutes, this is the minimum possible time, because the retry process only runs every 15 minutes. The default value is 1 hour.

This is the Exim configuration:

acl_smtp_rcpt = acl_check_rcpt

[...]

acl_check_rcpt:
  [...]
  defer hosts = +relay_from_hosts
        ratelimit = 75 / 15m / per_rcpt / $domain
        message = Rate limit exceeded for $domain: \
                  $sender_rate/$sender_rate_period \
                  (max $sender_rate_limit)

Here we’re telling Exim to accept no more than 75 emails every 15 minutes for any given domain. As seen above 15 minutes is the minimum possible for Mailman. The value 75 depends on how many emails you’re sending: look at the exim logs, pick up the domain you’re sending the most emails, and adjust this value accordingly.

Categories
pygit2

Pygit2 0.26.4 adds support for worktrees

See the full list of changes.

Thanks to Raphael Medaer, Mikhail Yushkovskiy, Brandon Milton, Erik Johnson, Peter-Yi Zhang, Natanael Arndt, Nick Hynes, Andrey Trubachev, CJ Harries, Mark Adams and Remy Suen.

Resources:

Enjoy!

Categories
Uncategorized

Pygit2 0.26.0 update for libgit2 0.26, drops support for Python 3.2

This release drops support for Python 3.2, adds support for latest cffi, and requires the new libigit2 0.26

New revert and branch features, several bugs fixed.

See the full list of changes. Thanks to Lukas Fleischer, Carlos Martín Nieto, Mark Adams and Nick Hynes.

Resources:

Enjoy!

Categories
Uncategorized

Pygit2 0.25.1 adds support for stash, and more

This release adds a number of new features and improved API, including:

  • new stash methods,
  • improved support for submodules,
  • a friendlier API for branches & references,
  • support for custom backends.

See the full list of changes. Thanks to Nick Hynes, Tamir Bahar, Jason Ziglar and Matthaus Woolard.

Resources:

Enjoy!