Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 340812 Details for
Bug 231482
app-admin/webapp-config-1.50.16-r1: command line options to copy instead of hard links
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
config.py: Adds copy flag for webapp-config
0001-config.py-copy-flag.patch (text/plain), 1.95 KB, created by
Devan Franchini (RETIRED)
on 2013-03-02 22:15:18 UTC
(
hide
)
Description:
config.py: Adds copy flag for webapp-config
Filename:
MIME Type:
Creator:
Devan Franchini (RETIRED)
Created:
2013-03-02 22:15:18 UTC
Size:
1.95 KB
patch
obsolete
>--- config.py 2013-03-02 16:49:10.404696624 -0500 >+++ config.py.alt 2013-03-02 14:54:06.113165999 -0500 >@@ -486,10 +486,17 @@ > > group.add_option('--soft', > action='store_true', >- help = 'Use symbolic links instead of hard links' >+ help = 'Use symbolic links instead of hard links' > ' when creating virtual files. <NOTE>: some pack' > 'ages will not work if you use this option') > >+ group.add_option('--copy', >+ '--co', >+ action='store_true', >+ help = 'Directly copy the webapp files from' >+ ' the /usr/share/webapps/ directory when installing' >+ ' the webapp.') >+ > group.add_option('--virtual-files', > '--vf', > type = 'choice', >@@ -845,8 +852,9 @@ > 'user' : 'vhost_config_uid', > 'group' : 'vhost_config_gid', > 'soft' : 'g_soft', >- 'virtual_files': 'vhost_config_virtual_files', >- 'default_dirs' : 'vhost_config_default_dirs', >+ 'copy' : 'g_copy', >+ 'virtual_files': 'vhost_config_virtual_file', >+ 'default_dirs' : 'vhost_config_default_dirs', > 'pretend' : 'g_pretend', > 'verbose' : 'g_verbose', > 'bug_report' : 'g_bugreport'} >@@ -990,6 +998,13 @@ > OUT.debug('Selecting soft links' , 7) > > self.config.set('USER', 'g_link_type', 'soft') >+ >+ elif (self.config.has_option('USER', 'g_copy') and >+ self.config.getboolean('USER', 'g_copy')): >+ >+ OUT.debug('Selecting copying of links', 7) >+ >+ self.config.set('USER', 'g_link_type', 'clone') > else: > > OUT.debug('Selecting hard links' , 7)
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 231482
:
340810
|
340812
|
340816
|
343568
|
343574
|
343688
|
349180
|
351592
|
351602