didactic_cudgel (
didactic_cudgel) wrote in
dw_dev2011-05-17 02:08 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
Entry tags:
Keeping production current.
I run a production DW-powered site and I want to keep it up to date with the latest code fixes and features.
In asking #dreamwidth-dev about following this procedure: http://wiki.dwscoalition.org/notes/Dev_Maintenance firefoxfey recommended that I find out what the latest post-release final tag is an update only to that tag to avoid getting untested dev features, but didn't know the procedure. I was advised to ask here and so I am :)
If I want to keep my code current, but reduce the chance of pulling down untested code, how do I find and limit code to the post-release final tag?
Also, Fey suggested making sure that I'm aware of any database changes. Are those announced separate from code pushes?
In asking #dreamwidth-dev about following this procedure: http://wiki.dwscoalition.org/notes/Dev_Maintenance firefoxfey recommended that I find out what the latest post-release final tag is an update only to that tag to avoid getting untested dev features, but didn't know the procedure. I was advised to ask here and so I am :)
If I want to keep my code current, but reduce the chance of pulling down untested code, how do I find and limit code to the post-release final tag?
Also, Fey suggested making sure that I'm aware of any database changes. Are those announced separate from code pushes?
Full Update/Upgrade/Procedure
Does that look right? I could also, I assume, create the update scripts in the Dev_Maintenance wiki (where a lot of this info came from) and replace the relevant parts in my list here.
Re: Full Update/Upgrade/Procedure
6. You should not be overriding any files, really -- because you will miss out on any changes, and they could cause incompatibilities -- besides the config files.
What are you overriding? -- anything that DW has needed to should have a local component or a hook.
6b. See:
http://hg.dwscoalition.org/dw-nonfree/file/6883b468b6b7/schemes/_dreamwidth.tt
http://hg.dwscoalition.org/dw-nonfree/file/6883b468b6b7/schemes/gradation-vertical-local.tt
http://hg.dwscoalition.org/dw-nonfree/file/6883b468b6b7/cgi-bin/DW/Hooks/SiteScheme.pm
And then use grad-vertical-local in all your config places.
But any file you create yourself should be in your cvs/<blah> directory.
7. You should also do that to the closest tag before [tagname] ( or past, if there's a different minor ) in:
dw-free
bml
js
perlbal
s2
8. No, compare the config files with 'hg diff -r <last tag> etc/config.pl' ( and the same with the two templates in doc ) and merge in any relevant looking changes ( new options, etc... )
11. Yep, and you can 'cvsreport.pl --diff filename' if you want to see what changed.
Re: Full Update/Upgrade/Procedure
6b. Thank you :)
7. Are you saying to run hg update from each folder?
8. Thank you
11. Neat! :)
Thank you all. I have a history of jumping feet first into things I don't understand even a little. Same thing happened with phpBB3. I knew this would be complex, but, as always, I underestimated the complexity and overestimated my ability. You've helped make this so much more painless. Not only I appreciate it, but my users do too. :)