Univention Bugzilla – Attachment 9965 Details for
Bug 49235
Remove unnecessary default values in univention.admin.property descriptions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Script to drop default values of properties
49235-udm-cleanup.sh (text/plain), 1.03 KB, created by
Philipp Hahn
on 2019-04-11 16:13:07 CEST
(
hide
)
Description:
Script to drop default values of properties
Filename:
MIME Type:
Creator:
Philipp Hahn
Created:
2019-04-11 16:13:07 CEST
Size:
1.03 KB
patch
obsolete
>#!/bin/bash ># vim: set expandtab ts=30 : >set -e -u -x > >cd ~/REPOS/ucs >while read -r prop val >do > case "$prop" in > \#*) continue > esac > declare -a cmd=(sed -i -re "/\<univention\.admin\.property\(/,/^\s*\),?$/{/^\s*\<$prop\>\s*=\s*($val)\s*,?\s*(#.*)?$/d}") > find management/univention-directory-manager-modules/modules/univention/admin/handlers -name \*.py -type f \ > -exec "${cmd[@]}" {} + \ > -exec git add {} + > git commit -m "Bug #49235 udm: Drop default property $prop=$val > >${cmd[*]} *.py" || : >done <<__UDM__ >#short_description ''|"" >#long_description ''|"" >syntax None >module_search None >multivalue False|0 >one_only False|0 >parent None >options \[\] >license \[\] >required False|0 >may_change True|1 >identifies False|0 >unique False|0 >default None >prevent_umc_default_popup False|0 >dontsearch False|0 >show_in_lists False|0 >editable True|1 >configObjectPosition None >configAttributeName None >include_in_default_search False|0 >nonempty_is_default False|0 >readonly_when_synced False|0 >size None >copyable False|0 >__UDM__
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 Raw
Actions:
View
Attachments on
bug 49235
: 9965