Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 175277 Details for
Bug 243260
app-admin/webapp-config: upgrade overwrites existing config_protected files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
webapp-config-1.50.16-config-protected-md5.patch
webapp-config-1.50.16-config-protected-md5.patch (text/plain), 1.88 KB, created by
Peter Volkov (RETIRED)
on 2008-12-14 20:33:44 UTC
(
hide
)
Description:
webapp-config-1.50.16-config-protected-md5.patch
Filename:
MIME Type:
Creator:
Peter Volkov (RETIRED)
Created:
2008-12-14 20:33:44 UTC
Size:
1.88 KB
patch
obsolete
>Index: WebappConfig/worker.py >=================================================================== >--- WebappConfig/worker.py (revision 61) >+++ WebappConfig/worker.py (working copy) >@@ -386,6 +386,7 @@ > dirtype, > self.__destd, > directory, >+ directory, > self.__relative) > > def mkfile(self, filename): >@@ -555,6 +556,7 @@ > file_type, > self.__destd, > filename, >+ dst_name, > self.__relative) > > >Index: WebappConfig/content.py >=================================================================== >--- WebappConfig/content.py (revision 61) >+++ WebappConfig/content.py (working copy) >@@ -321,6 +321,7 @@ > ctype, > destination, > path, >+ real_path, > relative = True): > ''' > Add an entry to the contents file. >@@ -376,7 +377,9 @@ > ctype - internal webapp-config type > - (server-owned | config-owned | virtual) > destination - install dir (normally $G_INSTALLDIR) >- entry - filename inside 'destination' >+ path - filename inside 'destination' >+ real_path - for config-protected files realpath =! path >+ (and this is important for md5) > relative - 1 for storing a relative filename, 0 otherwise > > >>> OUT.color_off() >@@ -509,7 +512,7 @@ > ctype, > '"' + path + '"', > self.file_time(entry), >- a[1](entry), >+ a[1](real_path), > a[2](entry)] > > if self.__v:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 243260
: 175277