Skip to content

Conversation

@huntc
Copy link

@huntc huntc commented Sep 16, 2015

Use the ref field of a web hook to determine a version number. The web hook conveys which branch should be updated.

Fixed up a failing test also.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this ConductRDocRenderer?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question. We no longer need to do this. The mapping of versions to renderers should be localised to the Application. I will change this.

On 18 Sep 2015, at 7:06 am, Markus Jura notifications@github.com wrote:

In app/controllers/Application.scala:

   }
  • }

  •  .flatMap(_.get(pathVersion))
    

    }
    }

    class Application @Inject() (
    @nAmed("ConductRDocRenderer") conductrDocRenderer: ActorRef,
    Why do we need this ConductRDocRenderer?


Reply to this email directly or view it on GitHub.

@markusjura
Copy link

LGTM (beside comments which are only style related). Also tested it locally and it is working fine.

@huntc
Copy link
Author

huntc commented Sep 17, 2015

Great. I'll create a test for the webhook notification via the controller today in order to finish it off. Thanks.

On 18 Sep 2015, at 7:21 am, Markus Jura notifications@github.com wrote:

LGTM (beside comments which are only style related). Also tested it locally and it is working fine.


Reply to this email directly or view it on GitHub.

Use the ref field of a web hook to determine a version number. The web hook conveys which branch should be updated.
@markusjura
Copy link

LGTM

huntc added a commit that referenced this pull request Sep 18, 2015
WIP - DO NOT MERGE - Interpret a version from a ref
@huntc huntc merged commit 60cf876 into typesafehub:master Sep 18, 2015
@huntc huntc deleted the more-versions branch September 18, 2015 08:21
@huntc huntc changed the title WIP - DO NOT MERGE - Interpret a version from a ref Interpret a version from a ref Sep 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants