1. Adopt OpenJDK
  2. Untitled project
  3. Betterrev
Issue #31 new

Automatically Update the bitbucket repositories

Richard Warburton
created an issue

Pull from openjdk repositories

Push to bitbucket repositories

do it on some time based delay

Bonus Points: emall betterrev@googlegroups.com if things go wrong

Comments (6)

  1. Nicky Chorley

    As the adoptopenjdk user, we need to pull changes from the upstream OpenJDK repository on to the Betterrev server and then push those changes to the AdoptOpenJDK organisation's Bitbucket repository.

    Mani Sarkar is also working on this.

  2. Mani Sarkar

    UpstreamImporter - needs work (Constantly polls openjdk repos in order to pull in changes, into the Betterrev server.)

    MercurialImporter does some stuff already, needs more work (Pulls in code from a mercurial repository, keeping an internal hg repository up to date.) - has MercurialImporterTest as well. Richard Warburton thinks this one is pulling code from the adoptopenjdk sub-repos under Adopt OpenJDK org into the Betterrev server.

    ./scripts/hgforest.sh - push changes from local machine to adoptopenjdk organisation as user adoptopenjdk / otheruser We need to write a wrapper (akka-fy) around hgforest.sh to be able to call it from the server to push code into the Adopt Openjdk sub-repos in the Adoptopenjdk organisation in Bitbucket.

  3. Mani Sarkar

    Workflow

    1. Bring UpstreamImporter to life, use MercurialImporter as an example, apply abstraction wherever applicable (follow the Akka actors model here)

    2. When done, refactor to extract common elements from both UpstreamImporter and MercurialImporter into a generic class (abstract/interface) entity.

    3. Rename the hgforest.sh to something more meaningful.

    4. Write a wrapper (follow the Akka actors model) around hgforest.sh (renamed) to be able to call it directly from within the Betterrev App.

  4. Log in to comment