Page MenuHomeSoftware Heritage

setup: prepare for pypi upload

Authored by douardda on Oct 5 2018, 11:27 AM.




  • docs: rename README.db_testing as and add doc about testing with pifpaf
  • add build/ to gitignore

related to T1242

Test Plan

Diff Detail

rDARC Software Heritage Archiver
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

douardda created this revision.Oct 5 2018, 11:27 AM
ardumont added inline comments.Oct 5 2018, 11:34 AM

This module's tests need a postgres db to run. It's recommended to run those but they can be skipped:



vlorentz added a subscriber: vlorentz.EditedOct 10 2018, 3:26 PM

Running the suggested test command hangs after this:

$ pifpaf run postgresql make test-db
python3 -m nose -sv --with-doctest -a 'db'
/home/dev/.local/lib/python3.5/site-packages/psycopg2/ UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <>.
A content missing with enough copies shouldn't be archived. ... ok
Run archiver on a missing content should archive it. ... 

(I tried with an empty ~/.config.)

douardda updated this revision to Diff 1586.Oct 10 2018, 5:04 PM
douardda marked 2 inline comments as done.

rebased and apply comments (rephrase and typo)

ardumont accepted this revision.Oct 10 2018, 5:27 PM
This revision is now accepted and ready to land.Oct 10 2018, 5:27 PM
This revision was automatically updated to reflect the committed changes.