[RFC] New ignore schema and properties
Jan Hudec
bulb at ucw.cz
Sun Feb 5 13:26:47 GMT 2006
Hello All,
I want to discuss some issues about the new ignore schema.
See also http://bazaar.canonical.com/NewIgnoreRulesSpec
The main point is that I'd like to make ignore lists a directory property and
store it in the inventory. That has some advantages:
* When you rename the directory, the patterns come along.
* No new weaves need to be introduced and handled.
* They would still apply recursively, so one can still write them as now and
attach them to root.
It has some disadvantages too:
* It adds stuff to inventory.weave, which has many revisions and tends to be
a bottle-neck.
* Merging has to be implemented for the property.
An interesting question also is how it will play with subtree branches. If
we, one day, want to allow branching subtrees only, how will we propagate the
ignore patterns? Will it be easier with whole-tree patterns (but absolute
paths won't work there then) or with per-directory ones?
On a related issue, we plan to add more properties (see
http://bazaar.canonical.com/LineEndings,
http://bazaar.canonical.com/KeywordExpansion). It may be a good time to
beat inventory module to a shape when adding these is easy and
backward-compatible where possible.
Regards,
Jan Hudec
--
Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060205/20b6ce40/attachment.pgp
More information about the bazaar
mailing list