Ticket #2428 (assigned enhancement)

Opened 5 years ago

Last modified 8 months ago

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

Reported by: dkg Assigned to: athomas (accepted)
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

Change History

01/17/08 06:42:29 changed by dkg

  • type changed from defect to enhancement.

(follow-up: ↓ 3 ) 01/20/08 17:35:34 changed 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.

(in reply to: ↑ 2 ) 08/04/09 04:08:08 changed 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.

10/01/12 23:43:07 changed by hasienda

  • cc set to hasienda.
  • keywords set to repository.

Add/Change #2428 (TagsPlugin should support specifically-tagged files in svn by `svn propset`)




Change Properties
Action