pywikitools.resourcesbot.export_repository#
Module Contents#
Classes#
Export the html files (result of ExportHTML) to a git repository. |
- class pywikitools.resourcesbot.export_repository.ExportRepository(base_folder: str)#
Bases:
pywikitools.resourcesbot.post_processing.LanguagePostProcessorExport the html files (result of ExportHTML) to a git repository. Needs to run after ExportHTML.
- run(self, language_info: pywikitools.resourcesbot.data_structures.LanguageInfo, english_info: pywikitools.resourcesbot.data_structures.LanguageInfo, change_log: pywikitools.resourcesbot.changes.ChangeLog)#
Pushing all changes in the local repository (created by ExportHTML) to the remote repository
Currently we’re ignoring change_log and just check for changes in the git repository