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

Sitelink support (merge only after #55) #57

Merged
merged 5 commits into from
Apr 16, 2014
Merged

Sitelink support (merge only after #55) #57

merged 5 commits into from
Apr 16, 2014

Conversation

mkroetzsch
Copy link
Member

Several extension to add sitelinks support (issue #37). This is based on the changes done in #55, which should be merged first.

  • Extend dump file management to support gzipped dump files that do not
    contain page revisions
  • Simplify some methods in the file/Web utils for better support of
    various compressions
  • Simplify and generalize some methods in the dump file management;
    fewer method names refer to specific dump files now
  • Support new dump type "SITES" for sites table dump
  • Add Sites interface and implementation to datamodel to hold and use
    sites data
  • Add new dump file processor for parsing SITES dumps to get Sites
    object
  • Add example program that shows how instrument all this to make use of
    sites data
  • Renamed MwDumpFileProcessorImpl to MwRevisionDumpFileProcessor, since
    we have several such classes for several types of dumps now
  • Updated processing code and tests to work with the changes

* Extend dump file management to support gzipped dump files that do not
contain page revisions
* Simplify some methods in the file/Web utils for better support of
various compressions
* Simplify and generalize some methods in the dump file management;
fewer method names refer to specific dump files now
* Support new dump type "SITES" for sites table dump
* Add Sites interface and implementation to datamodel to hold and use
sites data
* Add new dump file processor for parsing SITES dumps to get Sites
object
* Add example program that shows how instrument all this to make use of
sites data
* Renamed MwDumpFileProcessorImpl to MwRevisionDumpFileProcessor, since
we have several such classes for several types of dumps now
* Updated processing code and tests to work with the changes
@mkroetzsch
Copy link
Member Author

The test error is "unrealistic CPU time" in the util timer package. Maybe we need to change these tests to be even more forgiving. Otherwise we might get spurious test failures like this in the future as well.

@julianmendez
Copy link
Member

I agree. We maybe should avoid this kind of tests.

This should largely avoid random test failures even under very strange
conditions. If not, we can always increase the new tolerance constant
even further.
@mkroetzsch
Copy link
Member Author

This is now ready for review/merge.

@fer-rum
Copy link
Member

fer-rum commented Apr 16, 2014

Looks fine to me - merging.

fer-rum pushed a commit that referenced this pull request Apr 16, 2014
Sitelink support (merge only after #55)
@fer-rum fer-rum merged commit cbf1cc8 into master Apr 16, 2014
@mkroetzsch mkroetzsch deleted the sitelink-support branch April 17, 2014 12:14
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.

None yet

3 participants