Homepage is at https://flask-limiter.readthedocs.io/
No ITP/RFP seems to have been filed yet.
Description
Description
Status | Assigned | Task | ||
---|---|---|---|---|
Migrated | gitlab-migration | T614 Open up the Software Heritage API to the world | ||
Migrated | gitlab-migration | T618 debian packaging of flask-limiter |
Event Timeline
Comment Actions
I will package those.
I started unraveling the dependency tree; need to be packaged:
- hiro (http://hiro.rtfd.org/), a test-only dependency
- limits (http://limits.rtfd.org/)
- flask-limiter
Packaging is made slightly tedious by the lack of tests in the tarballs published on PyPI, which means we need to go from git if we want tests.
Comment Actions
python-limits has a new dependency: rediscluster-py (https://pypi.python.org/pypi/rediscluster).
We'll probably need it for our deployment anyway so time to package it.
Comment Actions
hiro and redis-py-cluster passed NEW.
python-limits is in NEW.
python-flask-limiter needs a patch to disable tests depending on a running instance of redis, but should be good to go right after.
Comment Actions
Backported to the Software Heritage Debian repository:
- hiro
- hiredis
- python-hiredis
- redis-py-cluster
- python-limits
- flask-restful
- flask-limiter
Backporting script:
REPOSITORY=http://debian.internal.softwareheritage.org/ DESTHOST=pergamon.internal.softwareheritage.org DESTDIR=/srv/softwareheritage/repository # Get package source dpkg-source -x foo.dsc # or apt-get source foo cd foo-* # Prepare debian/changelog for backport dch -l ~bpo8~swh+ "Rebuild for jessie-backports-swh" dch -r --distribution jessie-backports-swh --force-distribution "" # Build package sbuild -As --build-dep-resolver=aptitude --build-failed-commands '%SBUILD_SHELL' \ --extra-repository "deb [trusted=yes] ${REPOSITORY} jessie main" \ --extra-repository "deb http://deb.debian.org/debian jessie-backports main" \ --force-orig-source # iterate until it builds # Sign package debsign ../foo_*swh*.changes # Upload and publish package dcmd scp ../foo_*swh*.changes ${DESTHOST}:${DESTDIR}/incoming ssh ${DESTHOST} reprepro -vb ${DESTDIR} processincoming incoming
Comment Actions
python-limits is still in NEW, but all packages have been uploaded to our repository.