Voting starts in March for the Drupal Association Board election.
Currently when importing .po files, we read a file from start to finish in one sitting. This can take longer then allowed on a shared hosting environments, and might time out the PHP process. To fix this, we should make all .po file reading support reading only a section of the file and then continue reading from the end of that in another HTTP request and so on and so forth. This is solved in Drupal 7 with the gettextapi module.
Introduce the possibility to save the position of the file when reading so we can save that state and return to that seek position in the next HTTP request. Therefore we add getSeekPos() and setSeekPos() to the stream reader.
Then using this, we can apply progressive batches to .po file reading, so we store the seek state of the reader in the batch and restore it until we reach the end of file. Then we move on to the next batch operation to read the next file.
To unify this, we also apply this progressive batch to importing single uploaded files coming from the locale import .po UI.
|#27||gettext-batch-changelog.patch||685 bytes||Gábor Hojtsy|
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch gettext-batch-changelog.patch. Unable to apply patch. See the log in the details link for more information. View
PASSED: [[SimpleTest]]: [MySQL] 40,246 pass(es). View
PASSED: [[SimpleTest]]: [MySQL] 40,247 pass(es). View