Commit Graph

29 Commits

Author SHA1 Message Date
David Taylor 8e3f37c5ec FIX: Add --tags to git fetch in updater
Overwrites local tags with those from github (useful if they've been changed on github)

From https://git-scm.com/docs/git-fetch#git-fetch---tags

--tags
    Fetch all tags from the remote (i.e., fetch remote tags refs/tags/* into local tags with the same name), in addition to whatever else would otherwise be fetched.

See https://meta.discourse.org/t/latest-version-bug/58165
2017-03-07 18:20:29 +00:00
Robin Ward 0a2e0690f9 Upgrade to new Ember, Ember CLI 2017-01-11 13:47:06 -05:00
riking 1f5c290e93 FIX: Unbuffer upgrader output using Open3.popen2e 2014-09-03 12:59:49 -07:00
Sam Saffron 80d20bae5a Revert "Use the tests-passed branch when upgrading Discourse for stability."
This reverts commit e025c32fde.
2014-06-17 19:50:55 +10:00
Sam Saffron e105402a23 Revert "FIX: Don't use checkout, use reset"
This reverts commit 89a7ad0e7d.
2014-06-17 19:50:21 +10:00
Robin Ward 89a7ad0e7d FIX: Don't use checkout, use reset 2014-06-16 14:58:38 -04:00
Robin Ward e025c32fde Use the tests-passed branch when upgrading Discourse for stability. 2014-06-10 17:16:26 -04:00
Robin Ward 0a15ed8a3e Trivial visual change to make it more obvious that the upgrade has
started.
2014-05-09 15:23:47 -04:00
Robin Ward 6a22a873dd Animated progress bar, refresh fix. 2014-05-07 13:51:47 -04:00
Robin Ward 3c804ec605 Major upgrade: Docker Manager is now a Standalone Ember App, contains
many improvements.
2014-05-02 16:52:27 -04:00
Jeff Atwood 4e34f7b43f add big ass "upgrade complete" pre-alert 2014-03-26 23:31:39 -07:00
Jeff Atwood 9b23f2aeef make "be patient" step a lot more visible 2014-03-26 10:36:53 -07:00
Régis Hanol 6a6cfc1d44 be patient 2014-03-26 18:20:43 +01:00
Sam 7940a5b839 Merge pull request #2 from darwin/master
git pull is no good after doing rebase upstream
2014-03-24 08:43:59 +11:00
Neil Lalonde 4483f35cf1 Upgrade does multisite:migrate instead of just db:migrate 2014-03-21 10:29:30 -04:00
Antonin Hildebrand a58650a49a git pull is no good after doing rebase upstream
More generally, when you rewrite history in upstream, git will try to merge.
Not only that merging could fail with conflicts, but it also needs git username.

This was my log shown at http://{mydiscourse.com}/admin/docker when doing upgrade:

    $ cd /var/www/discourse && git pull
    *** Please tell me who you are.

    Run

      git config --global user.email "you@example.com"
      git config --global user.name "Your Name"

    to set your account's default identity.
    Omit --global to set the identity only in this repository.

    fatal: empty ident   not allowed
2014-03-14 18:37:07 -04:00
Sam ccd859f5fb Don't clear up the Discourse env, we need it 2014-01-03 08:03:04 +11:00
Sam ae43630b15 don't nuke redis config from env 2013-11-30 07:35:47 +11:00
Sam 4886f38c50 try to clear up the env with more force 2013-11-26 15:12:07 +11:00
Sam 6d4d67faeb more logging 2013-11-26 14:59:15 +11:00
Sam 3ce4e93173 clear more env 2013-11-26 14:54:38 +11:00
Sam eea17bb21d clear ruby opt, it is a problem 2013-11-26 14:46:02 +11:00
Sam 8cf48f2636 need to run commands in production 2013-11-26 14:16:35 +11:00
Sam e926a41a14 add error handling 2013-11-26 14:12:07 +11:00
Sam dc1b033750 show pid 2013-11-14 19:27:09 +11:00
Sam 759dac8791 exclude sudo launcher 2013-11-14 19:20:58 +11:00
Sam 467ad9b225 better kill sidekiq 2013-11-14 17:15:15 +11:00
Sam 5c99dc4113 we need to bundle install :) 2013-11-14 16:59:28 +11:00
Sam dd9f16622c basic upgrade support from dash 2013-11-14 16:38:26 +11:00