Modify

Opened 9 years ago

Last modified 20 months 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 9 years ago by Daniel Kahn Gillmor

Type: defectenhancement

comment:2 Changed 9 years ago by Alec Thomas

Status: newassigned

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.

comment:3 in reply to:  2 Changed 8 years ago by Ryan J Ollos

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 5 years ago by Steffen Hoffmann

Cc: Steffen Hoffmann added; anonymous removed
Keywords: repository added

comment:5 Changed 20 months ago by Ryan J Ollos

Owner: Alec Thomas deleted
Status: assignednew

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.