Opened 17 years ago
Last modified 9 years ago
#2428 new enhancement
TagsPlugin should support specifically-tagged files in svn by `svn propset`
Reported by: | Daniel Kahn Gillmor | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | TagsPlugin |
Severity: | normal | Keywords: | repository |
Cc: | Steffen Hoffmann | Trac Release: | 0.11 |
Description
svn allows users to set arbitrary properties on files. It would be good if the TagsPlugin was able to treat certain specific properties as tags, in the same way that it can treat certain fields on tickets as tags.
Example of what the trac.ini
section would look like if you wanted the tags
and flags
properties to be treated as keywords:
[tags.browser] properties=tags,flags
Here's an example of putting tag qux
on a file foo
in svn:
svn propset tags qux foo
Attachments (0)
Change History (5)
comment:1 Changed 17 years ago by
Type: | defect → enhancement |
---|
comment:2 follow-up: 3 Changed 17 years ago by
Status: | new → assigned |
---|
comment:3 Changed 15 years ago by
Replying to athomas:
This would be difficult to implement, as TagsPlugin would have to inspect every changeset for tags and there's currently no useful interface in Trac to listen for changesets :(
Related to #2404.
Perhaps this could be implemented as a post-commit hook, which puts the tags 'somewhere' that the tags plug-in can find them.
comment:4 Changed 12 years ago by
Cc: | Steffen Hoffmann added; anonymous removed |
---|---|
Keywords: | repository added |
comment:5 Changed 9 years ago by
Owner: | Alec Thomas deleted |
---|---|
Status: | assigned → new |
This would be difficult to implement, as TagsPlugin would have to inspect every changeset for tags and there's currently no useful interface in Trac to listen for changesets :(
Related to #2404.