Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a GenericBuildTask to handle non-differential build invocations. #41

Merged
merged 24 commits into from
Jun 30, 2015

Conversation

jjx
Copy link
Contributor

@jjx jjx commented Jun 29, 2015

@sectioneight

@lavahot
Copy link

lavahot commented Jun 29, 2015

What would be an example of a non-differential build invocation? You mean just building from Harbormaster?

@jjx
Copy link
Contributor Author

jjx commented Jun 29, 2015

Building master is an example of a non-differential build invocation. Code wise, this will be building with a blank diffID

*/
@Override
protected String getTag() {
return "generic-build";
Copy link
Contributor

Choose a reason for hiding this comment

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

this may be a little too generic for engineers outside of the two if us to understand in their build logs. perhaps call this "non-differential"? or something... naming is hard, but "generic-build" could mean anything

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Renamed this class to NonDifferentialBuildTask and updated the tag to be more explicit. We can change this name some where down the road if we get a better name.

@ascandella
Copy link
Contributor

Looks great! A few style questions just so I can learn to Java better. Merge at will. (aside from maybe the naming thing).

@@ -68,6 +68,13 @@
<artifactId>jna</artifactId>
<version>3.2.2</version>
</dependency>
<!-- test dependencies -->
Copy link
Contributor

Choose a reason for hiding this comment

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

need to rebase, i already merged this to master

jjx added a commit that referenced this pull request Jun 30, 2015
Create NonDifferentialBuildTask to handle non-differential build invocations.
@jjx jjx merged commit 77abc19 into master Jun 30, 2015
@ascandella ascandella deleted the taskify branch June 30, 2015 14:04
@lavahot
Copy link

lavahot commented Jun 30, 2015

@jjx Doesn't the plugin already do this? If you build with the Git plugin pulling master, doesn't it have the same functionality?

@ascandella
Copy link
Contributor

Yea, the plugin already does this, but it was mixing concerns. This doesn't change any functionality, just separates out the non-differential builds into its own task so the code is cleaner/more testable.

@lavahot
Copy link

lavahot commented Jun 30, 2015

Ooooohhhh. So it's just a refactor. I wish I knew java.

@ascandella
Copy link
Contributor

you and me both :)
On Tue, Jun 30, 2015 at 2:18 PM Taylor Mansfield notifications@github.com
wrote:

Ooooohhhh. So it's just a refactor. I wish I knew java.


Reply to this email directly or view it on GitHub
#41 (comment)
.

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.

3 participants