-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test .zip archives #513
base: master
Are you sure you want to change the base?
test .zip archives #513
Commits on May 11, 2024
-
tests: add assert_index_updated and assert_index_not_updated
The previous method for checking this was generic, which is nice, but sort of verbose to use. Worse, though, I don't think it was reliable. That code, ->file_updated_ok and ->file_not_updated_ok, worked by keeping a cache of file stats -- but it didn't precompute those stats, it computed them on demand. So given this program: $pause = PAUSE::TestPause->new; do_stuff(); my $r1 = $pause->test_reindex; do_other_stuff(); $pause->file_updated_ok("A"); my $r2 = $pause->test_reindex; do_more_stuff(); my $r3 = $pause->test_reindex; Calling `->file_updated_ok("A")` at the end would test since the previous call. Calling `->file_updated_ok("B")` at the end would test starting from nothing. In reality, we only use this method for tracking 02packages, so I've added specific tracking of that file, with the check put onto the Result object, considering only what changed in the `test_reindex` call that created that Result.
Configuration menu - View commit details
-
Copy full SHA for f410511 - Browse repository at this point
Copy the full SHA f410511View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b6dcdb - Browse repository at this point
Copy the full SHA 4b6dcdbView commit details
Commits on May 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 565cb74 - Browse repository at this point
Copy the full SHA 565cb74View commit details -
Configuration menu - View commit details
-
Copy full SHA for aff528f - Browse repository at this point
Copy the full SHA aff528fView commit details -
TestPAUSE: add upload_author_garbage to upload non-archive noise
(I want to test files we can't extract.)
Configuration menu - View commit details
-
Copy full SHA for f2d6656 - Browse repository at this point
Copy the full SHA f2d6656View commit details -
TestPAUSE: track per-index-run log events
...and add methods to check or print them.
Configuration menu - View commit details
-
Copy full SHA for ca4b0a4 - Browse repository at this point
Copy the full SHA ca4b0a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35f09ea - Browse repository at this point
Copy the full SHA 35f09eaView commit details -
indexer tests: clarify which case our existing not-indexed test is
(Specificaly: it is perl-like, not unauthorized real perl.)
Configuration menu - View commit details
-
Copy full SHA for 97ac932 - Browse repository at this point
Copy the full SHA 97ac932View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79903b6 - Browse repository at this point
Copy the full SHA 79903b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 640cb08 - Browse repository at this point
Copy the full SHA 640cb08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cb7ab4 - Browse repository at this point
Copy the full SHA 5cb7ab4View commit details -
indexer tests: test dual-life release primacy
That is: a new relase of perl-5, even if it contains a higher version of some dual-life package, should not replace the old package in the index, if it comes from a non-perl distribution.
Configuration menu - View commit details
-
Copy full SHA for 350b4da - Browse repository at this point
Copy the full SHA 350b4daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79b1a07 - Browse repository at this point
Copy the full SHA 79b1a07View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac8bded - Browse repository at this point
Copy the full SHA ac8bdedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 663a238 - Browse repository at this point
Copy the full SHA 663a238View commit details -
Configuration menu - View commit details
-
Copy full SHA for 280532c - Browse repository at this point
Copy the full SHA 280532cView commit details -
indexer tests: test ZIP archives
This will not work until Module-Faker with chmod 0644-ing of files is released.
Configuration menu - View commit details
-
Copy full SHA for 84592b6 - Browse repository at this point
Copy the full SHA 84592b6View commit details