Skip to content

Base patched Trackler gem off actual version tag. - #431

Merged
jtigger merged 1 commit into
exercism:masterfrom
jtigger:fix-bundler-patching
Apr 20, 2017
Merged

jtigger merged 1 commit into
exercism:masterfrom
jtigger:fix-bundler-patching

Conversation

@jtigger

@jtigger jtigger commented Apr 20, 2017

Copy link
Copy Markdown
Contributor
  • was: hand-rolling a version of Trackler based of master and then
    applying changes from the PR/commit/local change to that trackler gem.
  • now: using the exact tagged version of Trackler as the basis for the
    hand-rolled gem.

This fixes the issue where a change make to Trackler's master is
incompatible with the current version of x-api. In short, we were
building the Trackler gem wrong.

@jtigger jtigger mentioned this pull request Apr 20, 2017
@jtigger

jtigger commented Apr 20, 2017

Copy link
Copy Markdown
Contributor Author

This come up by inadvertently breaking PR #430.

Our journey test puts a complete install of Exercism through its paces, ensuring that each and every exercise in the Java track can be fetched and solved.

In preparation for that journey, we stand-up two key components of Exercism: x-api (the endpoint which clients obtain exercises) and trackler (the versioned library of those exercises).

In order to test the patch of Java exercise code, we need to hand-roll a version of the trackler gem to a) be compatible with the latest version of x-api and b) include the changes we're currently testing.

To date, we were grabbing the master branch of trackler and applying the Java track changes. At the time, I didn't appreciate that this ran the risk that if there were changes to Trackler code itself they may be incompatible with the latest x-api. Today, they did.

The right way to do this is to first check-out the local check-out of Trackler to the tagged version. That's what this patch does.

- was: hand-rolling a version of Trackler based of master and then
  applying changes from the PR/commit/local change to that trackler gem.
- now: using the exact tagged version of Trackler as the basis for the
  hand-rolled gem.

This fixes the issue where a change make to Trackler's master is
incompatible with the current version of x-api.  In short, we were
building the Trackler gem wrong.
@jtigger
jtigger force-pushed the fix-bundler-patching branch from 7626429 to f413146 Compare April 20, 2017 14:37
@jtigger

jtigger commented Apr 20, 2017

Copy link
Copy Markdown
Contributor Author

@exercism/java could I get a second pair of eyes on this?

Two reasons:

  1. I'd rather we be right than fast.
  2. I'd rather we have some insight into how our CI works, generally. Here's a good/meaningful peek into the journey test.

Thank you!

@FridaTveit FridaTveit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me :)

@jtigger

jtigger commented Apr 20, 2017

Copy link
Copy Markdown
Contributor Author

Thank you, @FridaTveit!

@jtigger
jtigger merged commit d4522cd into exercism:master Apr 20, 2017
@jtigger
jtigger deleted the fix-bundler-patching branch April 20, 2017 15:05
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