From: Terry D. <td...@bi...> - 2002-01-12 00:17:36
|
I have made some changes to the code that I dont want to lose when I update. Is there a way I can export that module in its current state and rename it to a different module? THat way, when I update, the main module can be updated while my "exported" module remains the same. Thank you! Hope this makes sense. -- Terry Davis Systems Administrator BirdDog Solutions, Inc. (402) 829-6059 |
From: Marcos R. <pu...@ns...> - 2002-01-12 01:04:03
|
how about to use "clone module" in the webmin configuration, modules (by memory... is in the webmin config... don't remember if clone is on modules) Cheers! Marcos On Fri, 11 Jan 2002, Terry Davis wrote: > I have made some changes to the code that I dont want to lose when I > update. Is there a way I can export that module in its current state > and rename it to a different module? THat way, when I update, the main > module can be updated while my "exported" module remains the same. > > Thank you! > Hope this makes sense. > > -- > Terry Davis > Systems Administrator > BirdDog Solutions, Inc. > (402) 829-6059 > > > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel > |
From: Terry D. <td...@bi...> - 2002-01-12 01:40:21
|
Well, I did this but it appears to only make a symlink to the original one. If I go ahead and update, the whole thing will get overwritten with the new version. I would expect cloning to make copies but it doesnt seem to do so. Marcos Rubinstein wrote: > how about to use "clone module" in the webmin configuration, modules (by > memory... is in the webmin config... don't remember if clone is on > modules) > > Cheers! > Marcos > > On Fri, 11 Jan 2002, Terry Davis wrote: > > >>I have made some changes to the code that I dont want to lose when I >>update. Is there a way I can export that module in its current state >>and rename it to a different module? THat way, when I update, the main >>module can be updated while my "exported" module remains the same. >> >>Thank you! >>Hope this makes sense. >> >>-- >>Terry Davis >>Systems Administrator >>BirdDog Solutions, Inc. >>(402) 829-6059 >> >> >>- >>Forwarded by the Webmin development list at web...@we... >>To remove yourself from this list, go to >>http://lists.sourceforge.net/lists/listinfo/webadmin-devel >> >> > > > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel > -- Terry Davis Systems Administrator BirdDog Solutions, Inc. (402) 829-6059 |
From: Jamie C. <jca...@we...> - 2002-01-12 02:04:56
|
Terry Davis wrote: > > I have made some changes to the code that I dont want to lose when I > update. Is there a way I can export that module in its current state > and rename it to a different module? THat way, when I update, the main > module can be updated while my "exported" module remains the same. > > Thank you! > Hope this makes sense. Your best option would be to copy the module directory to a new name, (making sure to copy /etc/webmin/modulename as well) and then grant yourself access to the copy rather than to the original. That way when webmin is upgraded it will leave the copy alone and only upgrade the original directory .. - Jamie |
From: Terry D. <td...@bi...> - 2002-01-12 02:13:55
|
Ok, but what if I wanted to create a whole new module out of it? Is this possible? Jamie Cameron wrote: > Terry Davis wrote: > >>I have made some changes to the code that I dont want to lose when I >>update. Is there a way I can export that module in its current state >>and rename it to a different module? THat way, when I update, the main >>module can be updated while my "exported" module remains the same. >> >>Thank you! >>Hope this makes sense. >> > > Your best option would be to copy the module directory to a new name, > (making sure to copy /etc/webmin/modulename as well) and then grant yourself > access to the copy rather than to the original. That way when webmin is upgraded > it will leave the copy alone and only upgrade the original directory .. > > - Jamie > -- Terry Davis Systems Administrator BirdDog Solutions, Inc. (402) 829-6059 |
From: Joe C. <jo...@sw...> - 2002-01-12 04:05:02
|
Have a look in the module.info file in the module directory. After copying the module directory to a new dir name (i.e. apache becomes myapache), modify the module.info to contain a new name (Apache becomes MyApache, for instance). I think that will do it. From now on, you can update Apache alongside the rest of Webmin, and your MyApache module will remain the same. Terry Davis wrote: > Ok, but what if I wanted to create a whole new module out of it? Is > this possible? > > Jamie Cameron wrote: > >> Terry Davis wrote: >> >>> I have made some changes to the code that I dont want to lose when I >>> update. Is there a way I can export that module in its current state >>> and rename it to a different module? THat way, when I update, the main >>> module can be updated while my "exported" module remains the same. >>> >>> Thank you! >>> Hope this makes sense. >>> >> >> Your best option would be to copy the module directory to a new name, >> (making sure to copy /etc/webmin/modulename as well) and then grant >> yourself >> access to the copy rather than to the original. That way when webmin >> is upgraded >> it will leave the copy alone and only upgrade the original directory .. >> >> - Jamie >> > > > -- Joe Cooper <jo...@sw...> http://www.swelltech.com Web Caching Appliances and Support |
From: Terry D. <td...@bi...> - 2002-01-12 04:13:33
|
ahhh! Thank you Joe, this is exactly what I was looking for. Joe Cooper wrote: > Have a look in the module.info file in the module directory. After > copying the module directory to a new dir name (i.e. apache becomes > myapache), modify the module.info to contain a new name (Apache becomes > MyApache, for instance). > > I think that will do it. From now on, you can update Apache alongside > the rest of Webmin, and your MyApache module will remain the same. > > Terry Davis wrote: > >> Ok, but what if I wanted to create a whole new module out of it? Is >> this possible? >> >> Jamie Cameron wrote: >> >>> Terry Davis wrote: >>> >>>> I have made some changes to the code that I dont want to lose when I >>>> update. Is there a way I can export that module in its current state >>>> and rename it to a different module? THat way, when I update, the main >>>> module can be updated while my "exported" module remains the same. >>>> >>>> Thank you! >>>> Hope this makes sense. >>>> >>> >>> Your best option would be to copy the module directory to a new name, >>> (making sure to copy /etc/webmin/modulename as well) and then grant >>> yourself >>> access to the copy rather than to the original. That way when webmin >>> is upgraded >>> it will leave the copy alone and only upgrade the original directory .. >>> >>> - Jamie >>> >> >> >> > > > -- Terry Davis Systems Administrator BirdDog Solutions, Inc. (402) 829-6059 |
From: Terry D. <td...@bi...> - 2002-01-12 04:25:07
|
Ok, this is interresting, I have an english version ( i assume ), but=20 here is my module.info file: desc_ru_SU=3D=F0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=C9 =C9 =E7=D2=D5=D0=D0=D9 risk=3Dlow medium high desc_ko_KR.euc=3D=BB=E7=BF=EB=C0=DA =B9=D7 =B1=D7=B7=EC desc_zh_TW.Big5=3D=A8=CF=A5=CE=AA=CC=BA=DE=B2z desc_pl=3DU=BFytkownicy i grupy desc_de=3DBenutzer und Gruppen name=3DUser Manager desc_zh_CN=3D=D3=C3=BB=A7=D3=EB=C8=BA=D7=E9 desc_pt=3DUtilizadores e Grupos category=3Dsystem desc_tr=3DKullan=FDc=FD ve Gruplar os_support=3Dslackware-linux redhat-linux mandrake-linux solaris=20 debian-linux suse-linux hpux freebsd osf1 open-linux unixware=20 turbo-linux openbsd corel-linux cobalt-linux irix aix netbsd msc-linux desc=3DUsers and Groups desc_es=3DUsuarios y Grupos desc_sv=3DAnv=E4ndare och grupper desc_fr=3DUtilisateurs et groupes desc_ja_JP.euc=3D=A5=E6=A1=BC=A5=B6=A4=AA=A4=E8=A4=D3=A5=B0=A5=EB=A1=BC=A5= =D7 depends=3D0.88 version=3D0.88 desc_ru_RU=3D=CF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=E8 =E8 =C3=F0=F3=EF=EF=FB Any suggestions? Thank you for your patience! Joe Cooper wrote: > Have a look in the module.info file in the module directory. After=20 > copying the module directory to a new dir name (i.e. apache becomes=20 > myapache), modify the module.info to contain a new name (Apache becomes= =20 > MyApache, for instance). >=20 > I think that will do it. From now on, you can update Apache alongside=20 > the rest of Webmin, and your MyApache module will remain the same. >=20 > Terry Davis wrote: >=20 >> Ok, but what if I wanted to create a whole new module out of it? Is=20 >> this possible? >> >> Jamie Cameron wrote: >> >>> Terry Davis wrote: >>> >>>> I have made some changes to the code that I dont want to lose when I >>>> update. Is there a way I can export that module in its current stat= e >>>> and rename it to a different module? THat way, when I update, the m= ain >>>> module can be updated while my "exported" module remains the same. >>>> >>>> Thank you! >>>> Hope this makes sense. >>>> >>> >>> Your best option would be to copy the module directory to a new name, >>> (making sure to copy /etc/webmin/modulename as well) and then grant=20 >>> yourself >>> access to the copy rather than to the original. That way when webmin=20 >>> is upgraded >>> it will leave the copy alone and only upgrade the original directory = .. >>> >>> - Jamie >>> >> >> >> >=20 >=20 >=20 --=20 Terry Davis Systems Administrator BirdDog Solutions, Inc. (402) 829-6059 |
From: Terry D. <td...@bi...> - 2002-01-12 04:52:13
|
nevermind, i am a moron. lol Terry Davis wrote: > Ok, this is interresting, I have an english version ( i assume ), but=20 > here is my module.info file: >=20 > desc_ru_SU=3D=F0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=C9 =C9 =E7=D2=D5=D0=D0=D9 > risk=3Dlow medium high > desc_ko_KR.euc=3D=BB=E7=BF=EB=C0=DA =B9=D7 =B1=D7=B7=EC > desc_zh_TW.Big5=3D=A8=CF=A5=CE=AA=CC=BA=DE=B2z > desc_pl=3DU=BFytkownicy i grupy > desc_de=3DBenutzer und Gruppen > name=3DUser Manager > desc_zh_CN=3D=D3=C3=BB=A7=D3=EB=C8=BA=D7=E9 > desc_pt=3DUtilizadores e Grupos > category=3Dsystem > desc_tr=3DKullan=FDc=FD ve Gruplar > os_support=3Dslackware-linux redhat-linux mandrake-linux solaris=20 > debian-linux suse-linux hpux freebsd osf1 open-linux unixware=20 > turbo-linux openbsd > corel-linux cobalt-linux irix aix netbsd msc-linux > desc=3DUsers and Groups > desc_es=3DUsuarios y Grupos > desc_sv=3DAnv=E4ndare och grupper > desc_fr=3DUtilisateurs et groupes > desc_ja_JP.euc=3D=A5=E6=A1=BC=A5=B6=A4=AA=A4=E8=A4=D3=A5=B0=A5=EB=A1=BC= =A5=D7 > depends=3D0.88 > version=3D0.88 > desc_ru_RU=3D=CF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=E8 =E8 =C3=F0=F3=EF=EF=FB >=20 >=20 > Any suggestions? >=20 > Thank you for your patience! >=20 >=20 > Joe Cooper wrote: >=20 >> Have a look in the module.info file in the module directory. After=20 >> copying the module directory to a new dir name (i.e. apache becomes=20 >> myapache), modify the module.info to contain a new name (Apache=20 >> becomes MyApache, for instance). >> >> I think that will do it. From now on, you can update Apache alongside= =20 >> the rest of Webmin, and your MyApache module will remain the same. >> >> Terry Davis wrote: >> >>> Ok, but what if I wanted to create a whole new module out of it? Is=20 >>> this possible? >>> >>> Jamie Cameron wrote: >>> >>>> Terry Davis wrote: >>>> >>>>> I have made some changes to the code that I dont want to lose when = I >>>>> update. Is there a way I can export that module in its current sta= te >>>>> and rename it to a different module? THat way, when I update, the=20 >>>>> main >>>>> module can be updated while my "exported" module remains the same. >>>>> >>>>> Thank you! >>>>> Hope this makes sense. >>>>> >>>> >>>> Your best option would be to copy the module directory to a new name= , >>>> (making sure to copy /etc/webmin/modulename as well) and then grant=20 >>>> yourself >>>> access to the copy rather than to the original. That way when webmin= =20 >>>> is upgraded >>>> it will leave the copy alone and only upgrade the original directory= .. >>>> >>>> - Jamie >>>> >>> >>> >>> >> >> >> >=20 >=20 >=20 --=20 Terry Davis Systems Administrator BirdDog Solutions, Inc. (402) 829-6059 |
From: Marcos R. <pu...@ns...> - 2002-01-13 05:58:57
|
lets' see if I understand correctly: the clone feature will do a symlink whith the original module... but will have different config/acl files (in /etc/webmin/module-clone and /etc/webmin/module)... in the other hand... if a modification is "hardcore" in the perl of the module itself, the best way is to copy it (something like cd /pathtowebmin/ ; cp -a module mymodule ) and then change /paththowebmin/mymodule/module.info. cheers! Marcos |
From: Marcos R. <pu...@ns...> - 2002-01-13 06:17:03
|
could tmpl_include be included in the acl's per user???? different clients have different templates for their zones!... (if not.. I think I should clone bind8... am I right?) thanks. Marcos |