https://forge.softwareheritage.org/source/swh-scheduler.git
Revision 4fc7a89178782acc95a6d3829611a10f74a5eaf1 authored by David Douard on 30 January 2019, 09:19:11 UTC, committed by David Douard on 30 January 2019, 10:51:22 UTC
and strip these urls as well.

It makes no sense to register 2 different URLs when they are equal to a
trailing ws detail.
As a result, we must preaggregate them because the swh_cache_put() sql
function won't allow several 'on conflict' for the same id.
1 parent 4117d5a
History
Tip revision: 4fc7a89178782acc95a6d3829611a10f74a5eaf1 authored by David Douard on 30 January 2019, 09:19:11 UTC
Make the prepare_event helper function pre-aggregate the events with same url
Tip revision: 4fc7a89
File Mode Size
bin
data
debian
docs
sql
swh
.gitignore -rw-r--r-- 102 bytes
AUTHORS -rw-r--r-- 112 bytes
LICENSE -rw-r--r-- 34.3 KB
LICENSE.Celery -rw-r--r-- 2.6 KB
MANIFEST.in -rw-r--r-- 151 bytes
Makefile -rw-r--r-- 163 bytes
README.md -rw-r--r-- 1.3 KB
pytest.ini -rw-r--r-- 54 bytes
requirements-swh.txt -rw-r--r-- 19 bytes
requirements-test.txt -rw-r--r-- 123 bytes
requirements.txt -rw-r--r-- 337 bytes
setup.py -rwxr-xr-x 2.2 KB
tox.ini -rw-r--r-- 309 bytes

README.md

back to top