Page MenuHomeSoftware Heritage

loader: Add scenarii around new visit with changes since last visit
ClosedPublic

Authored by ardumont on Sep 18 2018, 6:44 PM.

Details

Summary

In this scenario, a visit has already taken place for the origin. So,
an existing snapshot exists.

But, this time, the PyPI project has changed and a new release has
been uploaded.

The visit must then result in a new snapshot.

The snapshot shares the same history as prior visit.

Related T421

To be rebased and merged after olasd's diffs (done once).

Test Plan

make test

Diff Detail

Repository
rDLDPY PyPI loader
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Rebased on latest origin/master
and add a scenario that captures the wrong behavior regarding the unpublishing release scenario

  • tests: Make the data human readable
  • tests: Remove unneeded instruction
  • loader: Add scenario around new visit with changes since last visit
  • loader: Add scenario for new visit with unpublished release
ardumont retitled this revision from loader: Add scenario around new visit with changes since last visit to loader: Add scenarii around new visit with changes since last visit.Sep 19 2018, 11:53 AM
ardumont edited the summary of this revision. (Show Details)
  • tests: Add missing archive artifacts
This revision is now accepted and ready to land.Sep 19 2018, 12:04 PM
This revision was automatically updated to reflect the committed changes.