Skip to content
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

Use tar to validate what files are in the DataArchive #152

Merged
merged 1 commit into from
Jul 1, 2015

Conversation

stojg
Copy link

@stojg stojg commented Jul 1, 2015

This speeds up the validation process immensely when dealing with multiple GB snapshots and doesn't use any more diskspace

@halkyon
Copy link
Contributor

halkyon commented Jul 1, 2015

@stojg Tests fail because you used short-hand array syntax. Probably should fix to the traditional syntax until we ditch 5.3 support in framework.

$archive->ArchiveFile()->Filename = __DIR__.'/sspaks/assets.sspak';
$result = $archive->validateArchiveContents('db');
$this->assertFalse($result->valid());
$this->assertEquals('The snapshot is missing the database.', $result->messageList()[0]);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's actually these guys failing the tests

@stojg stojg force-pushed the quicker-validate-archive branch from 734d649 to f75a62c Compare July 1, 2015 04:20
This speeds up the validation process immensely when dealing with multiple GB snapshots and doesn't use any more diskspace
@stojg stojg force-pushed the quicker-validate-archive branch from f75a62c to 1fe1a41 Compare July 1, 2015 04:24
@stojg
Copy link
Author

stojg commented Jul 1, 2015

Finally the test passed, I had to bump them until various network failures stopped messing with composer.

halkyon pushed a commit that referenced this pull request Jul 1, 2015
Use `tar` to validate what files are in the DataArchive
@halkyon halkyon merged commit f56c8a5 into master Jul 1, 2015
@halkyon halkyon deleted the quicker-validate-archive branch July 1, 2015 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants