Skip to content

Conversation

@meinac
Copy link
Contributor

@meinac meinac commented Jul 21, 2015

I think this a helpful script for team members after pulling the changes from remote repository. They can add whatever they want to update their application in this script.

@rafaelfranca
Copy link
Member

@rafaelfranca rafaelfranca added this to the 5.0.0 milestone Jul 27, 2015
@dhh
Copy link
Member

dhh commented Jul 27, 2015

👍

Choose a reason for hiding this comment

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

It might be interesting to take in consideration the system! implementation added by other PR, to abort in case of a failure.

@carlosantoniodasilva
Copy link
Member

Sounds good to me.

Choose a reason for hiding this comment

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

I think we need to be a bit more descriptive here. What does "update application automatically" really mean? Is that different from deploy? Just to make intents clear.

@rafaelfranca
Copy link
Member

I've declared this method here and I don't like what I did. I think this is a bad example to show developers to repeat yourself. Maybe we can define this method in active_support to use in other places, I didn't think declaring this method inside of a file in bin folder because someone can remove it. Any advice?

It is a script so there is no problem of repeating it. Over DRy is also a problem

Copy link
Member

Choose a reason for hiding this comment

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

We need to call bundle check first.

@meinac
Copy link
Contributor Author

meinac commented Aug 6, 2015

@rafaelfranca I fixed the problems you've pointed, WDYT about this now?

Copy link
Member

Choose a reason for hiding this comment

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

Per #20992, system! never returns false

use system!

fix changelog

use bundle check first and use rake

use system instead system! for bundle check
@meinac
Copy link
Contributor Author

meinac commented Aug 7, 2015

@matthewd Thanks for the point, I've fixed it.

rafaelfranca added a commit that referenced this pull request Aug 7, 2015
Added bin/update script to update application automatically
@rafaelfranca rafaelfranca merged commit dcc4783 into rails:master Aug 7, 2015
@rafaelfranca rafaelfranca modified the milestones: 5.0.0 [temp], 5.0.0 Dec 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants