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

Fixes #7912, add --force-idsegments parameter and --skip-all-segments parameter to core:archive command. #8080

Merged
merged 4 commits into from Jun 16, 2015

Conversation

diosmosis
Copy link
Member

As title.

Also includes a change to CronArchive/CronArchiveTest.php which allows using a mock CliMulti instance with CronArchive. Speeds CronArchiveTest.php by ~10s.

Refs #7912

@diosmosis diosmosis added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Needs Review PRs that need a code review labels Jun 10, 2015
@diosmosis diosmosis added this to the 2.14.0 milestone Jun 10, 2015
@diosmosis diosmosis self-assigned this Jun 10, 2015
@mattab mattab added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Jun 10, 2015
@tsteur
Copy link
Member

tsteur commented Jun 15, 2015

There are some tests failing. Do you mind having a look whether it is caused by this PR? Just for understanding: Was the only reason to add this to save 10 seconds or other things as well?

@diosmosis
Copy link
Member Author

Was the only reason to add this to save 10 seconds or other things as well?

The issue is to fix #7912, that's the main reason for this PR.

The test change was just so my additional test wouldn't result in a longer test run.

Will look at the build failure now.

diosmosis added 4 commits June 15, 2015 19:38
…e parameter in CronArchive.php class. New parameter limits list of segments that should be archived during archiving, all other segments are skipped.
@diosmosis
Copy link
Member Author

The build failure was due to a bug, should be fixed in the code I pushed.

@diosmosis
Copy link
Member Author

@tsteur or @mattab, ping-ing for review; it's a pretty small change.

tsteur added a commit that referenced this pull request Jun 16, 2015
Fixes #7912, add --force-idsegments parameter and --skip-all-segments parameter to core:archive command.
@tsteur tsteur merged commit 3370d36 into master Jun 16, 2015
@tsteur tsteur deleted the 7912_archiving_segments branch June 16, 2015 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants