Hi,

I would really appreciate your advice as to what is the best way to upgrade (as required) the Drupal core if using drush for other things, such as install of core, install and update of modules.

As a new Drupal user, I invested a few weeks of part-time learning drush, and would love to use drush for everything, but as I understood it, drush cannot update core at this time.

Hence I spent weeks to learn CVS, learning how to install and upgrade core and modules.
BUT I ran into core update problems using CVS - things like "[TAG] not valid, update aborted... and using -nq switch with cvs update does not work.

So I would love to use drush for everything.

But the thought of manually updating drupal core (ie. downloading the tar, unzipping it, disabling all modules, uploading the new core files over the existing core files, etc) seems so time consuming and tedious that I would hate to take that route.

So I would be very grateful is some advanced Drupal developers could share the best way to update Drupal core if using drush for other functions.

Thank you for your time and effort in advance.......

Comments

moshe weitzman’s picture

Status: Active » Closed (duplicate)

see other issue about 'perform minor core upgrades'. we are discussing how to implement this.

drupaloo-1’s picture

Hi moshe,

Thank you for your quick reply once again. I also posted http://drupal.org/node/582676 to which you also replied very quickly. :-)

I looked at the other issue 'perform minor core upgrades' - http://drupal.org/node/434944 - and I can see that this issue is being vigorously worked on, which is great to see, although unfortunately I do not understand all the technical terminology.

In this issue, there seems to be a number of people posting a number of different ways to update the core.

Due my lack of understanding of what is exactly being said, I am not sure if there is a "best" way to update core.

Could you please tell me, in the meantime, before drush can update core, what the best way would be?

moshe weitzman’s picture

drush can't help you.

see http://drupal.org/node/390448 for copious docs. now please - this drush issue is closed.

drupaloo-1’s picture

Hi moshe,

Thanks

I know that drush can't help me. That is why I am asking what is the best way to update core without drush.

It is a reasonable question. The drush page is all about what it can do, which is fine, but it does not address what options are left to update the core. Please consider mentioning the http://drupal.org/node/390448 page in the docs of drush.

"now please - this drush issue is closed." sounds very dismissive to me.

moshe weitzman’s picture

Actually, the impolite one is you. You have walked into the drush issue queue and knowingly asked questions that have little to do with drush. Everyone who is subscribed here has to be bothered with a persistent question that is off topic. One could say that you are robbing the attention of others for your own gain. Despite all that, I sent you the very link on all of drupal.org that best answers your question. I think thats pretty good service. There are 8 trillion things that drush does not do and we don't try to document where you get more info for them.

drupaloo-1’s picture

Since the update of core by drush is being discussed, by others, in other posts, it is a topic that relates to drush, and does not "have little to do with drush" as you say above.

Therefore I have not knowingly asked a question that has nothing to do with drush. I resent the implication that I have "walked" into the issue que with a non-relevant question.

Please provide the list of people who are bothered by the question. There aren't any since only you and I are subscribed to this post.

The question is clearly not off topic.

"One could say that you are robbing the attention of others for your own gain." is an extremely overly dramatic and distorted statement. It portrays me as a robber, someone doing something illegal or immoral. To portray a person who is simply asking a question as a criminal is simply over the top.

And I do agree that you send me the link and that is great service and I thank you for that.

"There are 8 trillion things that drush does not do and we don't try to document where you get more info for them." is a very dramatic and sarcastic statement.

Next time a better response may be something like "I don't think this question is applicable here" instead of being dismissive, condescending, overly dramatic, and sarcastic.

I can see that you are a great Drupal contributor and developer, but I don't think that gives you the right to treat a user this way.

owen barton’s picture

Actually, I (and probably several others) subscribe to all Drush issues.

I agree with Moshe that this issue is clearly off topic.

"That is why I am asking what is the best way to update core without drush."
If you are asking how to do X without using Y, then asking for help in the support forum for Y is not productive, as is persisting in demanding help once this has been clearly pointed out. X (in this case Drupal core) has extensive documentation in this area, as well as a number of support channels where you can request help.

drupaloo-1’s picture

Thank you Owen,

If my question was off topic I would appreciate being told it is off topic, like you just did, instead of being given a link and then being treated in a dismissive manner.

Please note that in post #1 I am not being told this, even though it seems this was the case.

In my post #4 I say "I know that drush can't help me. That is why I am asking what is the best way to update core without drush."

What I meant to say is that I know that drush can't help me at the moment, thinking that it may be able to update core in the future. I was simply trying to ask the best way to update core in the meantime.

I was wondering if there are some ways to update core that are better than others if using drush for other functions. I was concerned there are some ways to update core (without drush) that may interfere with drush in other areas. I simply wanted to avoid updating core and then seeing a problem with drush somewhere else.

For example I could install and try to update core with cvs, and then install and update modules using drush, but I was wondering if a cvs install of core would interfere with drush, since drush does not need cvs.

**** Please note I am not trying to ask the above as a question, just trying to explain myself. I will not bother anyone with questions about drush again.

I did not mean to say "Hey I know drush cant do this, drush has nothing to do with it, but I will post here anyways" - I would never do that.

As developers you may see this question as off topic, but as a relative newbie to Drupal, if drush can do all these things, except update core, I thought it would be ok to ask. Now I have learned otherwise.

As developers the answer may be clear that this has nothing to do with drush, but for me it is not so clear.

I will now be much more hesitant about asking questions on d.org.

I had no idea that anyone could even subscribe to all issues. Thank you for letting me know this. I certainly had no intention of filling people's issue cues.