offspot / wikifundi

Create a pre-configured Mediawiki for offline Wikipedia contribution teaching
11 stars 2 forks source link

Configure Wikifundi refresh with Travis #31

Closed kelson42 closed 6 years ago

kelson42 commented 6 years ago
florentk commented 6 years ago

@kelson42 I write scripts and config for travis, this is here : https://github.com/florentk/wikifundi_management The script wikifundi_management.sh allow to restarting all or specific lang, lauch a partial mirroring and a full mirroring. .travis file configure the environnement to start the script with travis, it install sloppy CLI and lauch script. In branch master, it not lauch mirroring, but just restart all instance. I add two branch to mirroring : _fullmirroring and _partialmirroring. But, I can't configure a cron for moment with other branch than master, I don't understand. Maybe use branchs is not a good solution for that ...

kelson42 commented 6 years ago

@florentk Not understanding everything, but why this is not in the official git repo/wiki? Why you do not simply deal with git master?

florentk commented 6 years ago

@kelson42 We can put that in official git, it is just for test because I have not authorized to use the official repository with Travis. I can't deal with git master only because in cron config in Travis, I don't change env variable, or select a specific travis config file (to specify partial or full mirroring), it use always .travis file in root of repository.

florentk commented 6 years ago

@kelson42 actually, maybe that the branch is not GIT branch but Travis branch, but I don't see to configure that

florentk commented 6 years ago

@kelson42 I had add scripts and config for Travis on official repos, but we must see how config Travis to implement two different mirroring