search for: create_link

Displaying 20 results from an estimated 21 matches for "create_link".

2010 May 13
1
link_to using smart API
Trying to use the "smart" API for link_to def create_link(object, label = nil) label ||= auth_labels[:new] link = link_to(label, [:new, object]) if can?(:create, object) link.sub /new\./, ''new/'' end But this generates a link like /projects/new.1 , instead of /projects/ new I would assume it would make sense to pass it the clas...
2019 Mar 10
3
sieve vacation to an alias group
...lder access. > > Yassine. > As a request for comments and improvements, here's a my script to share folders via acl files and symlinks (dovecot must be configured accordingly) : root at messagerie[10.10.10.19] /usr/local/scripts/mail # cat sharemailbox.single #!/bin/bash function create_link { ??? l_src=$1 ??? l_dst=$2 ??? l_maildir=$3 ??? t_maildir=$(echo "$3" | tr . ?) ??? t_dst="$l_dst"/.shared."$t_maildir" ??? echo pointing "$t_dst" to "$l_src" ??? echo ln -s "$l_src/" "$t_dst" ??? ln -s "$l_src/&quo...
2019 Mar 10
2
sieve vacation to an alias group
...ents and improvements, here's a my script to > share folders via acl files and symlinks (dovecot must be > configured accordingly) : > > root at messagerie[10.10.10.19] /usr/local/scripts/mail # cat > sharemailbox.single > #!/bin/bash > > function create_link { > ??? l_src=$1 > ??? l_dst=$2 > ??? l_maildir=$3 > ??? t_maildir=$(echo "$3" | tr . ?) > ??? t_dst="$l_dst"/.shared."$t_maildir" > ??? echo pointing "$t_dst" to "$l_src" > ??? echo ln -s "$l_sr...
2008 Jun 12
5
[RFC][PATCH 0/3] configfs: Miscellaneous fixes
Hi, The following patches fix few bugs/APIs in configfs. The third one depends on the patch introducing configfs_dirent_lock previously submitted in http://lkml.org/lkml/2008/6/12/232 Louis -- Dr Louis Rilling Kerlabs Skype: louis.rilling Batiment Germanium Phone: (+33|0) 6 80 89 08 23 80 avenue des Buttes de Coesmes http://www.kerlabs.com/ 35700 Rennes
2019 Mar 10
0
sieve vacation to an alias group
...t; As a request for comments and improvements, here's a my script to share > folders via acl files and symlinks (dovecot must be configured accordingly) > : > > root at messagerie[10.10.10.19] /usr/local/scripts/mail # cat > sharemailbox.single > #!/bin/bash > > function create_link { > l_src=$1 > l_dst=$2 > l_maildir=$3 > t_maildir=$(echo "$3" | tr . ?) > t_dst="$l_dst"/.shared."$t_maildir" > echo pointing "$t_dst" to "$l_src" > echo ln -s "$l_src/" "$t_dst"...
2019 Mar 10
0
sieve vacation to an alias group
...s a my script to >> share folders via acl files and symlinks (dovecot must be >> configured accordingly) : >> >> root at messagerie[10.10.10.19] /usr/local/scripts/mail # cat >> sharemailbox.single >> #!/bin/bash >> >> function create_link { >> ??? l_src=$1 >> ??? l_dst=$2 >> ??? l_maildir=$3 >> ??? t_maildir=$(echo "$3" | tr . ?) >> ??? t_dst="$l_dst"/.shared."$t_maildir" >> ??? echo pointing "$t_dst" to "$l_src" >>...
2019 Mar 10
2
sieve vacation to an alias group
...improvements, here's a my script to share >> folders via acl files and symlinks (dovecot must be configured accordingly) >> : >> >> root at messagerie[10.10.10.19] /usr/local/scripts/mail # cat >> sharemailbox.single >> #!/bin/bash >> >> function create_link { >> l_src=$1 >> l_dst=$2 >> l_maildir=$3 >> t_maildir=$(echo "$3" | tr . ?) >> t_dst="$l_dst"/.shared."$t_maildir" >> echo pointing "$t_dst" to "$l_src" >> echo ln -s "$l_sr...
2019 Mar 09
4
sieve vacation to an alias group
Hi, We have an alias group named xyz at example.com, this alias group has 3 actual users a at example.com, b at example.com and c at example.com We set vacation rule on the generic sieve rule, the problem is that 3 responses are sent to the original sender. (obviously because the rule is being executed with each user in the alias group) Is it possible to set auto response only once, we tried
2008 Jul 14
18
[git patches] Ocfs2 and Configfs updates for 2.6.27
...Protect configfs_dirent s_links list mutations configfs: Make configfs_new_dirent() return error code instead of NULL configfs: Fix deadlock with racing rmdir() and rename() configfs: Fix failing mkdir() making racing rmdir() fail configfs: call drop_link() to cleanup after create_link() failure Randy Dunlap (1): ocfs2: fix printk format warnings with OCFS2_FS_STATS=n Sunil Mushran (4): ocfs2: Add CONFIG_OCFS2_FS_STATS config option ocfs2: Instrument fs cluster locks ocfs2: Silence an error message in ocfs2_file_aio_read() ocfs2/net: Silence build...
2016 Apr 13
0
[PATCH 1/1] x32 support
...+#!/bin/sh + +[ "$V" = "1" ] && set -x +set -e + +USR_KLIBC="usr/klibc/arch/x32" +KLIBC_LINKS="Kbuild sigreturn.S syscall.S sysstub.ph" + +USR_INCLUDE="usr/include/arch/x32" +INCLUDE_LINKS="klibc/archconfig.h klibc/archsignal.h" + +create_links() { + for l in $INCLUDE_LINKS; do + ln -sf ../../x86_64/$l $USR_INCLUDE/$l + done + + for l in $KLIBC_LINKS; do + ln -sf ../x86_64/$l $USR_KLIBC/$l + done +} + +del_links() { + for l in $KLIBC_LINKS; do + rm -f $USR_KLIBC/$l + done + + for l in $INCLUDE_LINKS; do + rm -f $USR_INCLUDE/$l + done +}...
2020 Mar 26
12
Upgrading LLVM's minimum required CMake version
...te_symlink supported on Windows * target_link_directories() and target_link_options() commands to set link options instead of awkwardly having to use target_link_libraries() for this purpose * UseSWIG can manage INCLUDE_DIRECTORIES for SWIG compilation CMake 3.14 (released March 14th 2019): * file(CREATE_LINK) to create hard or symbolic links * if(DEFINED CACHE{VAR}) for checking if a cache variable is defined * $<IN_LIST:...> generator expression correctly handles empty argument * Fixes for object library linking propagation * Link options to manage position independent executables added automati...
2020 Mar 26
4
Upgrading LLVM's minimum required CMake version
...arget_link_directories() and target_link_options() commands to set link options instead of awkwardly having to use target_link_libraries() for this purpose >> * UseSWIG can manage INCLUDE_DIRECTORIES for SWIG compilation >> >> CMake 3.14 (released March 14th 2019): >> * file(CREATE_LINK) to create hard or symbolic links >> * if(DEFINED CACHE{VAR}) for checking if a cache variable is defined >> * $<IN_LIST:...> generator expression correctly handles empty argument >> * Fixes for object library linking propagation >> * Link options to manage position in...
2020 Apr 02
2
Upgrading LLVM's minimum required CMake version
...te_symlink supported on Windows * target_link_directories() and target_link_options() commands to set link options instead of awkwardly having to use target_link_libraries() for this purpose * UseSWIG can manage INCLUDE_DIRECTORIES for SWIG compilation CMake 3.14 (released March 14th 2019): * file(CREATE_LINK) to create hard or symbolic links * if(DEFINED CACHE{VAR}) for checking if a cache variable is defined * $<IN_LIST:...> generator expression correctly handles empty argument * Fixes for object library linking propagation * Link options to manage position independent executables added automati...
2020 Apr 02
2
Upgrading LLVM's minimum required CMake version
...te_symlink supported on Windows * target_link_directories() and target_link_options() commands to set link options instead of awkwardly having to use target_link_libraries() for this purpose * UseSWIG can manage INCLUDE_DIRECTORIES for SWIG compilation CMake 3.14 (released March 14th 2019): * file(CREATE_LINK) to create hard or symbolic links * if(DEFINED CACHE{VAR}) for checking if a cache variable is defined * $<IN_LIST:...> generator expression correctly handles empty argument * Fixes for object library linking propagation * Link options to manage position independent executables added automati...
2020 Mar 26
2
Upgrading LLVM's minimum required CMake version
...te_symlink supported on Windows * target_link_directories() and target_link_options() commands to set link options instead of awkwardly having to use target_link_libraries() for this purpose * UseSWIG can manage INCLUDE_DIRECTORIES for SWIG compilation CMake 3.14 (released March 14th 2019): * file(CREATE_LINK) to create hard or symbolic links * if(DEFINED CACHE{VAR}) for checking if a cache variable is defined * $<IN_LIST:...> generator expression correctly handles empty argument * Fixes for object library linking propagation * Link options to manage position independent executables added automati...
2020 Apr 08
3
Upgrading LLVM's minimum required CMake version
...rget_link_directories() and target_link_options() commands to set link options instead of awkwardly having to use target_link_libraries() for this purpose >> * UseSWIG can manage INCLUDE_DIRECTORIES for SWIG compilation >> >> CMake 3.14 (released March 14th 2019): >> * file(CREATE_LINK) to create hard or symbolic links >> * if(DEFINED CACHE{VAR}) for checking if a cache variable is defined >> * $<IN_LIST:...> generator expression correctly handles empty argument >> * Fixes for object library linking propagation >> * Link options to manage position in...
2020 Apr 04
3
Upgrading LLVM's minimum required CMake version
...t_link_options() commands > to set link options instead of awkwardly having to use > target_link_libraries() for this purpose > * UseSWIG can manage INCLUDE_DIRECTORIES for SWIG compilation > > CMake 3.14 (released March 14th 2019): > * file(CREATE_LINK) to create hard or symbolic links > * if(DEFINED CACHE{VAR}) for checking if a cache variable is > defined > * $<IN_LIST:...> generator expression correctly handles empty > argument > * Fixes for object library linking propagation >...
2020 Apr 06
5
Upgrading LLVM's minimum required CMake version
...te_symlink supported on Windows * target_link_directories() and target_link_options() commands to set link options instead of awkwardly having to use target_link_libraries() for this purpose * UseSWIG can manage INCLUDE_DIRECTORIES for SWIG compilation CMake 3.14 (released March 14th 2019): * file(CREATE_LINK) to create hard or symbolic links * if(DEFINED CACHE{VAR}) for checking if a cache variable is defined * $<IN_LIST:...> generator expression correctly handles empty argument * Fixes for object library linking propagation * Link options to manage position independent executables added automati...
2020 Apr 07
2
Upgrading LLVM's minimum required CMake version
...te_symlink supported on Windows * target_link_directories() and target_link_options() commands to set link options instead of awkwardly having to use target_link_libraries() for this purpose * UseSWIG can manage INCLUDE_DIRECTORIES for SWIG compilation CMake 3.14 (released March 14th 2019): * file(CREATE_LINK) to create hard or symbolic links * if(DEFINED CACHE{VAR}) for checking if a cache variable is defined * $<IN_LIST:...> generator expression correctly handles empty argument * Fixes for object library linking propagation * Link options to manage position independent executables added automati...
2020 Apr 07
3
Upgrading LLVM's minimum required CMake version
...ries() and target_link_options() commands to set >> link options instead of awkwardly having to use target_link_libraries() for >> this purpose >> * UseSWIG can manage INCLUDE_DIRECTORIES for SWIG compilation >> >> CMake 3.14 (released March 14th 2019): >> * file(CREATE_LINK) to create hard or symbolic links >> * if(DEFINED CACHE{VAR}) for checking if a cache variable is defined >> * $<IN_LIST:...> generator expression correctly handles empty argument >> * Fixes for object library linking propagation >> * Link options to manage position in...