Forum OpenACS Q&A: Changing package name on OACS 4.5b

I would like to change the package instance name (as opposed to the
URL) of a package instance (acs-subsite) which I have already mounted
with other packages mounted below.

Can anyone tell me whether there would be any negative side-effects to
simply changing the instance_name field in the apm_packages table?

Thanks

Collapse
Posted by Jun Yamog on
Hi Dave,

Should be ok.  I know I have done it a couple of times.  Although if you are paranoid you can look more in the code.  But I was ok when I did it on my sites.

Collapse
Posted by Carsten Clasohm on
I have uploaded a patch which allows you to rename package instances in the site map:

https://openacs.org/sdm/one-patch.tcl?patch_id=280

Collapse
Posted by Neophytos Demetriou on
# packages/acs-subsite/www/admin/site-map/rename.tcl

# Copyright (C) 2002 Red Hat

# This file is part of ACS.
#
Carsten, if I may ask: Is this patch part of an "official" Redhat interest/support for OpenACS? Should we expect more patches from Redhat? TIA.
Collapse
Posted by Carsten Clasohm on
Neophytos,

I have recently migrated my private Web site from ACS3 to ACS4, and the patches I have contributed in the last days are things that I added or fixed during that migration. Although I am a Red Hat employee, and part of the contributed code is owned by Red Hat and licensed under the GPL, I'm doing this more or less in my spare time, not as part of my job.

Collapse
Posted by Jade Rubick on
Carsten, if you were willing to write up even a short piece on
migrating from ACS 3 to 4, that would be extremely helpful for
others (such as myself) that will eventually have to do the same
😊
Collapse
Posted by Dave Manginelli on
I've been buried in client work and just wanted to extend a belated "thank you" to those of you who responded to my question...

Thanks.