Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#46 2005-09-15 23:22:21
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Textpattern 4.0.1 Released
Files changed between 4.0 and 4.0.1:
$ svn diff --diff-cmd diff -x -q http://svn.textpattern.com/releases/4.0.0/source/ http://svn.textpattern.com/releases/4.0.1/source/ | grep Index
Index: textpattern/setup/txpsql.php
Index: textpattern/setup/setup-langs.php
Index: textpattern/setup/index.php
Index: textpattern/setup/en-gb.php
Index: textpattern/lang/en-gb.txt
Index: textpattern/update/_to_1.0.0.php
Index: textpattern/update/_to_4.0.1.php
Index: textpattern/update/_update.php
Index: textpattern/include/txp_form.php
Index: textpattern/include/txp_diag.php
Index: textpattern/include/txp_list.php
Index: textpattern/include/txp_page.php
Index: textpattern/include/txp_discuss.php
Index: textpattern/include/txp_article.php
Index: textpattern/include/import/import_b2.php
Index: textpattern/include/import/import_wp.php
Index: textpattern/lib/admin_config.php
Index: textpattern/lib/i18n-ascii.txt
Index: textpattern/lib/txplib_misc.php
Index: textpattern/lib/class.thumb.php
Index: textpattern/lib/txplib_head.php
Index: textpattern/lib/classTextile.php
Index: textpattern/lib/txplib_update.php
Index: textpattern/lib/txplib_db.php
Index: textpattern/publish/taghandlers.php
Index: textpattern/publish/atom.php
Index: textpattern/publish/log.php
Index: textpattern/publish/comment.php
Index: textpattern/publish/search.php
Index: textpattern/publish/rss.php
Index: textpattern/textpattern.css
Index: textpattern/publish.php
Index: textpattern/index.php
Index: textpattern/css.php
Index: .htaccess
Index: README
Index: index.php
Expect a similar story with 4.0.2, 4.0.3, etc. This is why we recommend writing plugins instead of hacking the source.
If you must alter the source, I’d suggest using subversion. It’ll help you find and merge changes.
Alex
Offline
Re: Textpattern 4.0.1 Released
Thanks zem!
I wouldn’t hack the source if TXP didn’t requested it to set several things up properly. Most of the questions I posted were answered by “well you’ll have to hack your way through for now”…
Also, I download TXP on my windows, edit stuff and upload it on my unix hosting (no shell access). How can I use subversion in that setup?
Anyway, I’ll try to update the needed files.
Offline
Re: Textpattern 4.0.1 Released
What you will be able to do Boby is keep your own version of the repository on your PC/Mac. If you use an application such as TortoiseSVN you can create a new folder/directory and connect to the TXP repository and obtain the latest revision. If you have already done a few hacks you can then use the built-in Diff/Merge to compare the new file to your hacked one so that you can merge them together. This may be the most work you need to do but once set up there are advantages. First of all the files in your folder will be over-layed with either a green “tick” or red “cross” icon. A tick means that the file is as per the original, a cross means that it has been modified, so you can see at a glance which files you have hacked. When you connect to TXP again to download the latest revision you will get a list, which you need to write down, of the new files. You only get those files which have been changed since your last download and you only need to upload those files to your site. As Tortoise downloads the files it checks them against what you currently have and if you have hacked a particular file it will try to merge your modifications with the new file. It will tell you if this is successful. If it can’t merge them it gives you a warning and you will end up with both a copy of your current file and a copy of the new one. You will then have to use Tortoise’s Merge application to merge the files yourself manually. This is very simple as you will see both files on-screen side-by-side and the differences between the two are highlighted. Once you have merged them you can then upload to your site. Tortoise also keeps a log so that you can see all the revisions you have downloaded and which files were modified in each revision. And if you have any problems with a particular revision, maybe a bug or something, a click of a button will allow you to revert back to a revision that you know works. It’s very nice stuff really. Well recommended. I hope I explained all that clearly. :)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#49 2005-09-19 19:19:14
- TheUsability
- Member
- Registered: 2005-05-03
- Posts: 51
Re: Textpattern 4.0.1 Released
Could someone please explain me the new permission level thing? (article.edit.own.published) Can a staff writer now change his articles after they are published?
Thanks,
_TU
Offline
Re: Textpattern 4.0.1 Released
Hey Stuart, thanks! Actually, I was looking around for a topic about Windows and SVN, but couldn’t find it… Anyway, gonna give TortoiseSVN a spin!
Offline
Re: Textpattern 4.0.1 Released
TheUsability wrote:
> Could someone please explain me the new permission level thing? (article.edit.own.published)
> Can a staff writer now change his articles after they are published?
Seems to be exactly what it does, since so many people had issues with staff not being able to edit their own articles once published.
You cooin’ with my bird?
Offline
Re: Textpattern 4.0.1 Released
upgrade went without a hitch… upgraded from 1RC3…. awesome job.
Offline
Re: Textpattern 4.0.1 Released
Beautiful.
love, IAN
[url=http://dropic.org/]dropic.org/[/url]
[url=http://droporg.org/]droporg.org/[/url]
Offline
Re: Textpattern 4.0.1 Released
I´m still scared of updating 4.0 > 4.0.1
Last time I updated my textpattern files the whole site was broken into pieces… took me two days to fix everything that time. But I´m gathering some braveness for this one… ;)
Offline
#55 2005-10-10 22:16:31
- Vitruvius
- Plugin Author
- Registered: 2004-09-21
- Posts: 125
Re: Textpattern 4.0.1 Released
For what its worth — my experience going from 4.0 -> 4.0.1 was blissful ;) (Mind you — it sounds like 4.0.2 will be a killer release — so maybe you should wait)
SH
Offline
Re: Textpattern 4.0.1 Released
Oh definitely a “killer release”. :)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Offline
Re: Textpattern 4.0.1 Released
You shouldn’t wait for an update. As the announcement says updates to 4.0.1 are strongly recommended, also it will be easier to troubleshoot when it is known whether your problems are due to the update of 4.0 to 4.0.1 rather than if you jump two versions.
Finally: the release of 4.0.2 may still be several weeks away.
Offline
Re: Textpattern 4.0.1 Released
skoggy wrote:
> I´m still scared of updating 4.0 > 4.0.1
> Last time I updated my textpattern files the whole site was broken into
> pieces… took me two days to fix everything that time. But I´m gathering some
> braveness for this one… ;)
I went from 1.0RC1 to 4.0 with only one major problem, and I figured it out pretty quickly. 4.0 to 4.0.1 was painless.
You cooin’ with my bird?
Offline
Re: Textpattern 4.0.1 Released
Ok. Good to hear. Will do it… soon. Thanx for your inputs.
Offline