Seeking documentation on applying patches posted in rt-commit

Gentle Greetings,

Would someone be so kind as to please direct me to instructions on how to
apply patches to RT? I have searched the mail list archives, Wiki
documentation, and have read what I can find in RT Essentials (about
overlays and such, though the text quickly goes over my novice-perl head
after that).

I am subscribed to the rt-commit list, and see some items referring to
RELEASE 3.4, so I am assuming these are patches that need to be applied,
yes? Also, a pointer to information that would help me understand the
terminology used in the subject lines would be most appreciated.

Thank you in advance for your help!
Jennifer

Just check-out the 3.4-RELEASE branch from subversion. Do
an occasional ‘svn update’ and upgrade RT as necessary.

Or you could just download each release version of RT as
it comes out and do an upgrade.

There are more complicated (to set up) methods too,
involving svk.

-ToddOn Tue, Sep 20, 2005 at 06:36:11PM -0400, Jennifer I. Moore wrote:

Gentle Greetings,

Would someone be so kind as to please direct me to instructions on how to
apply patches to RT? I have searched the mail list archives, Wiki
documentation, and have read what I can find in RT Essentials (about
overlays and such, though the text quickly goes over my novice-perl head
after that).

I am subscribed to the rt-commit list, and see some items referring to
RELEASE 3.4, so I am assuming these are patches that need to be applied,
yes? Also, a pointer to information that would help me understand the
terminology used in the subject lines would be most appreciated.

Thank you in advance for your help!
Jennifer


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today!

Download a free sample chapter from http://rtbook.bestpractical.com

Hi Todd, rt-users, and rt-commit,

Thank you for your reply. It would be very helpful, if I was already
versed in the use of Subversion, and it was already installed on my
system. Unfortunately, neither is the case yet. Though I did find the
thread in the RT mail list archives on renaming the Subversion tree, so I
have a better understanding now of the subject lines (but what’s Jiffy?).

Since Subversion seems to be one of RT’s “dependencies” (in the sense of
applying patches), I was hoping to find a set of instructions in the RT
documentation that covers Subversion’s installation and use as it pertains
to RT
. Still searching, but hoping someone may be able to point me in the
right direction.

Of course I downloaded the Subversion source, read portions of the online
book, and ran the install. However, it didn’t like the idea of being
installed in a non-default location, so I had to back out for now. (We
have RT and all of its pieces in its own filesystem, which I
administer. The rest is under another sysadmin’s perview.)

I suppose the simpler questions are these:

  • Are there any patches that need to be applied to RT 3.4.4 to fix
    bugs? It appears that there may be.

  • Is it possible to cut and paste code posted to the rt-commit list into
    an overlay file and apply the patch that way? If so, what path and
    filename? Any other details needed? (Please note, Perl is still just a
    camel to me too.)

Thanks in advance. I’ll cross-post this to rt-commit as well.

Jennifer

At 9/20/2005 08:27 PM, you wrote:

Hi Todd, rt-users, and rt-commit,

Thank you for your reply. It would be very helpful, if I was already
versed in the use of Subversion, and it was already installed on my
system. Unfortunately, neither is the case yet. Though I did find the
thread in the RT mail list archives on renaming the Subversion tree, so I
have a better understanding now of the subject lines (but what’s Jiffy?).

Since Subversion seems to be one of RT’s “dependencies” (in the sense of
applying patches), I was hoping to find a set of instructions in the RT
documentation that covers Subversion’s installation and use as it pertains
to RT
. Still searching, but hoping someone may be able to point me in the
right direction.

Of course I downloaded the Subversion source, read portions of the online
book, and ran the install. However, it didn’t like the idea of being
installed in a non-default location, so I had to back out for now. (We
have RT and all of its pieces in its own filesystem, which I
administer. The rest is under another sysadmin’s perview.)

I suppose the simpler questions are these:

  • Are there any patches that need to be applied to RT 3.4.4 to fix
    bugs? It appears that there may be.

  • Is it possible to cut and paste code posted to the rt-commit list into
    an overlay file and apply the patch that way? If so, what path and
    filename? Any other details needed? (Please note, Perl is still just a
    camel to me too.)

Thanks in advance. I’ll cross-post this to rt-commit as well.

Jennifer

  1. Get subverstion installed.
  2. $ svn co svn://svn.bestpractical.com/rt/branches/3.4-RELEASE rt-3.4.x
  3. $ cd rt-3.4.x
  4. $ svn update

Run svn update anytime there have been changes to the source (as seen
in rt-commit).

-Todd

Hi Todd, rt-users, and rt-commit,
Please, don’t send anything into rt-commit ML. If you want discuss
some change use rt-devel list.

Thank you for your reply. It would be very helpful, if I was already
versed in the use of Subversion, and it was already installed on my
system. Unfortunately, neither is the case yet. Though I did find the
thread in the RT mail list archives on renaming the Subversion tree, so I
have a better understanding now of the subject lines (but what’s Jiffy?).

Since Subversion seems to be one of RT’s “dependencies” (in the sense of
applying patches), I was hoping to find a set of instructions in the RT
documentation that covers Subversion’s installation and use as it pertains
to RT
. Still searching, but hoping someone may be able to point me in the
right direction.
SVN is not RT’s dependency. If you maintain RT installation and want
to be on the bleeding edge then svn will help you. If you don’t know
anything about CVS, SVN or other versions control systems then you
could learn more about it or could ignore it.

Of course I downloaded the Subversion source, read portions of the online
book, and ran the install. However, it didn’t like the idea of being
installed in a non-default location, so I had to back out for now. (We
have RT and all of its pieces in its own filesystem, which I
administer. The rest is under another sysadmin’s perview.)
I think svn can be installed in any place you want:
./configure --prefix=~/my_apps

I suppose the simpler questions are these:

  • Are there any patches that need to be applied to RT 3.4.4 to fix
    bugs? It appears that there may be.
    Yes, 3.4 now is in maintance state and this mean almost all changes in
    this branch are bug-fixes.
  • Is it possible to cut and paste code posted to the rt-commit list into
    an overlay file and apply the patch that way? If so, what path and
    filename? Any other details needed? (Please note, Perl is still just a
    camel to me too.)
    you should learn something about diff and patch commands.
    cp dir dir-my
    change something in dir-my
    then run diff -Nru dir dir-my > my.patch
    last command output “patch” that describe changes you did in ‘dir-my’
    against conten of the ‘dir’

cd dir
patch -p1 < …/my.patch
this command will apply patch to content in dir ‘dir’.

Thanks in advance. I’ll cross-post this to rt-commit as well.

Jennifer

At 9/20/2005 08:27 PM, you wrote:

Just check-out the 3.4-RELEASE branch from subversion. Do
an occasional ‘svn update’ and upgrade RT as necessary.

Or you could just download each release version of RT as
it comes out and do an upgrade.

There are more complicated (to set up) methods too,
involving svk.

-Todd

Gentle Greetings,

Would someone be so kind as to please direct me to instructions on how to
apply patches to RT? I have searched the mail list archives, Wiki
documentation, and have read what I can find in RT Essentials (about
overlays and such, though the text quickly goes over my novice-perl head
after that).

I am subscribed to the rt-commit list, and see some items referring to
RELEASE 3.4, so I am assuming these are patches that need to be applied,
yes? Also, a pointer to information that would help me understand the
terminology used in the subject lines would be most appreciated.

Thank you in advance for your help!
Jennifer


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today!

Download a free sample chapter from http://rtbook.bestpractical.com


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today!

Download a free sample chapter from http://rtbook.bestpractical.com

Best regards, Ruslan.

Hi Todd,

Thanks for the reply.

This time I managed to get Subversion installed in the non-default
directory, and checked out the rt-3.4.x branch.
When I ran svn update, it gave this response: At revision 3891.

However, when I run make testdeps, my RT install still shows the older
version of DBIx::SearchBuilder (for example).

Looking more closely at the checkout files (e.g., config.layout), it
appears that this svn update only works if RT is installed in the default
location of /opt/rt3, true?

In the mean time, I’m trying to get the updates via CPAN.

Thanks again, for your help and patience!
Jennifer

At 9/22/2005 04:30 PM, you wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jennifer,

What you checked out from the SVN repo is the most current version of
the RT install package. Run this you will have to follow the upgrade
instructions – just as if you were upgrading from a new release.

All the svn update command does is make sure the working copy you
installed (the checked out branch of rt-3.4) is up to date – it doesn’t
upgrade your already installed RT.

Additionally, this is just the RT distribution – it doesn’t include any
of the CPAN dependancies, you still need to upgrade those independantly.

Joby Walker
ITI SSG, University of Washington


PGP key: https://staff.washington.edu/joby/joby-u-pub.asc

Jennifer I. Moore wrote:

Hi Todd,

Thanks for the reply.

This time I managed to get Subversion installed in the non-default
directory, and checked out the rt-3.4.x branch.
When I ran svn update, it gave this response: At revision 3891.

However, when I run make testdeps, my RT install still shows the older
version of DBIx::SearchBuilder (for example).

Looking more closely at the checkout files (e.g., config.layout), it
appears that this svn update only works if RT is installed in the
default location of /opt/rt3, true?

In the mean time, I’m trying to get the updates via CPAN.

Thanks again, for your help and patience!
Jennifer

At 9/22/2005 04:30 PM, you wrote:

  1. Get subverstion installed.
  2. $ svn co svn://svn.bestpractical.com/rt/branches/3.4-RELEASE rt-3.4.x
  3. $ cd rt-3.4.x
  4. $ svn update

Run svn update anytime there have been changes to the source (as seen
in rt-commit).

-Todd


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today!
Download a free sample chapter from http://rtbook.bestpractical.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDOFzwgA0gpghkf88RAqnlAKCOzhsQLdcfG9IJBpvBUBjORG+ktwCg6BTb
4ckXestm6ILAqLfyLgaj1mI=
=kTpA
-----END PGP SIGNATURE-----