Giter VIP home page Giter VIP logo

jpf-wiki-sync's People

Contributors

abhishekverma2002 avatar corinus avatar cyrille-artho avatar gayanw avatar iandarwin avatar jeandersonbc avatar manish3499 avatar mpsingh5 avatar nas-sh avatar pparizek avatar qsphan avatar quadhier avatar rmmilewi avatar sohah avatar vaibhavbsharma avatar yannicnoller avatar zubair527 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jpf-wiki-sync's Issues

Manual edits on jpf-core wiki should get merged

The current setup pushes accepted PRs on this repository to the wiki of jpf-core. However, the reverse direction is not supported. A cron job could be a solution.

However, it's actually not straightforward to pull the changes from the hidden wiki repo to our wiki repository jpf-wiki-sync, via cron.
This is because Travis only allows us to configure to run nightly builds in cron; i.e., it runs the normal build that it would otherwise also run whenever a change is pushed. For our purpose, this is not very useful.
The .travis.yml script we have pushes the changes from jpf-wiki-sync to the wiki of jpf-core. This makes sense for normal changes (merged pull requests to the wiki repo): we want them to be visible on the wiki page of jpf-core.
However, the cron should do the reverse, to merge changes people sometimes make on the wiki web interface: it should pull changes from the wiki of jpf-core, and merge them into master on jpf-wiki-sync. If not successful, it would be good to have an error message; otherwise the script should be quiet.

It is possible in theory to do this with .travis.yml, by checking if environment variable TRAVIS_EVENT_TYPE is set to "cron". However, getting all this to work well according to the criteria above, will take some work.

Perhaps someone can find an example template script, so we simply have to adapt it?

Travis merge seems to fail unless I pull/merge code?

It is possible that the current merge script only works if I accept a pull request (or push something), as it tries to set the user name to my github account, to use my github token.
This solution is not very elegant in any case; is it possible to use a group account to merge the data? Does anyone know github/Travis well enough to help fixing this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.