subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache subversion Wiki <comm...@subversion.apache.org>
Subject [Subversion Wiki] Update of "Inheritable-Ignores-AutoProps" by pburba
Date Tue, 13 Nov 2012 22:29:19 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Subversion Wiki" for change notification.

The "Inheritable-Ignores-AutoProps" page has been changed by pburba:
http://wiki.apache.org/subversion/Inheritable-Ignores-AutoProps?action=diff&rev1=14&rev2=15

Comment:
Tweak to reflect that we've decided the --no-ignore and --no-auto-props options disable the
new inheritable properties.

  === Behavioral Specification ===
  Two new Subversion reserved properties, "svn:auto-props" and "svn:global-ignores", will
provide additional configuration information that overrides/extends the settings found in
the user's run-time configuration.
  
- This "svn:auto-props" property will (no surprise!) override/extend the auto-props configuration
settings which dictate the properties which are automatically set  on newly added or imported
files.  Unlike traditional auto-props, which can be disabled in the run-time config (i.e.
"enable-auto-props = no"), svn:auto-props cannot be disabled by a well-behaved client.
+ This "svn:auto-props" property will (no surprise!) override/extend the auto-props configuration
settings which dictate the properties which are automatically set  on newly added or imported
files.  Unlike traditional auto-props, which can be disabled in the run-time config (i.e.
"enable-auto-props = no") or via the --config-option option, svn:auto-props are active even
when configuration auto-props are not.  The exception to this is the --no-auto-props option,
which disregards all auto-props.
  
- The "svn:global-ignores" property will extend the global-ignores configuration settings
and the existing svn:ignore property, both of which define file patterns that are ignored
by the svn status, import, and add subcommands. Like svn:auto-props, svn:global-ignores cannot
be disregarded by a well-behaved client.  The only exception to this is the 'svn status' subcommand
when the --no-ignore option is used.  In that case all unversioned paths, even if they match
a svn:global-ignores pattern, are still revealed with the "I" status.
+ The "svn:global-ignores" property will extend the global-ignores configuration settings
and the existing svn:ignore property, both of which define file patterns that are ignored
by the svn status, import, and add subcommands. The new ignore patterns provided by this property
can be disregarded with the --no-ignore option.
  
  {{{#!wiki warning
- "Well-Behaved Clients" and "Trust, But Verify"
+ This Really isn't "Dictated"
  
- The configuration dictated by the "svn:auto-props" and "svn:global-ignores" properties can
at best be only a suggestion to the client. Older clients will obviously not understand the
meaning of these properties and as open source software it is relatively easy for a malicious
user to modify a client to ignore these special properties.  Given this reality, server-side
enforcement of desired behaviors (where possible, and often via hook scripts) is still strongly
recommended.
+ The configuration dictated by the "svn:auto-props" and "svn:global-ignores" properties can
at best be only a suggestion to the client. Older clients will obviously not understand the
meaning of these properties and users can disregard the properties with the --no-ignore and
--no-auto-props options.  Given this reality, server-side enforcement of desired behaviors
(where possible, and often via hook scripts) is still strongly recommended.
  
  The new "ephemeral transaction properties" feature (see http://subversion.tigris.org/issues/show_bug.cgi?id=4124)
provide a simple way for servers to disallow commits from clients which don't claim to understand
svn:auto-props. Thus there is no new capability string required for this feature.
  }}}

Mime
View raw message