Modify

Opened 7 years ago

Last modified 2 years ago

#2428 assigned enhancement

TagsPlugin should support specifically-tagged files in svn by `svn propset`

Reported by: dkg Owned by: athomas
Priority: normal Component: TagsPlugin
Severity: normal Keywords: repository
Cc: hasienda 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 (4)

comment:1 Changed 7 years ago by dkg

  • Type changed from defect to enhancement

comment:2 follow-up: Changed 7 years ago by athomas

  • Status changed from new to assigned

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

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 2 years ago by hasienda

  • Cc hasienda added
  • Keywords repository added

Add Comment

Modify Ticket

Action
as assigned .
Author


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

 
Note: See TracTickets for help on using tickets.