# Ticket #2404 (assigned enhancement)

Opened 5 years ago

## Ability to tag a changeset

Reported by: Assigned to: anonymous athomas (accepted) normal TagsPlugin normal changeset repository DefaultTagProvider itamarost@gmail.com, rjollos, otaku42, osimons 0.10

### Description

For the tags plugin(s) I'd like the ability to tag a changeset (currently it only supports wiki and tickets).

E.g. tag a changeset that deals with a certain target platform, feature, etc.

I would post this to the Tags trac but it's full of spam!

## Change History

### 01/20/08 17:28:56 changed by athomas

• status changed from new to assigned.

This would be useful.

### (follow-up: ↓ 5 ) 02/13/08 14:07:24 changed by nat at ilike dash inc dot com

tagging a changeset would be great, but since i'm not sure where that would hang in the schema i would also be happy with just having a changeset tagspace based on title,author and time-range support in ListTagged? so I could pull up e.g. important changesets in the current milestone:

[[ListTagged(expression="+REVIEW+(time>2008/02/01)+(time<2008/02/08)", tagspace=changesets)]


yeah, this is sort of a bastardization of the query language and tags, but time ranges are pretty important for tickets & changesets, ranges would be great to have in ListTagged?.

### 08/04/09 04:08:21 changed by rjollos

• cc set to rjollos.
• summary changed from ability to tag a changeset to Ability to tag a changeset.

### (in reply to: ↑ description ) 09/06/10 01:14:09 changed by hasienda

• keywords set to changeset repository DefaultTagProvider.

For the tags plugin(s) I'd like the ability to tag a changeset (currently it only supports wiki and tickets).

Sorry, but this is simply not true (see: http://trac-hacks.org/browser/screenshotsplugin/0.11/tracscreenshots/tags.py). So you just would need to create a new ChangesetTagProvider(DefaultTagProvider) to integrate such an additional realm into TagsSystem. I've done testing of http://trac-hacks.org/wiki/ScreenshotsPlugin, and it works great with that realm 'screenshots'.

E.g. tag a changeset that deals with a certain target platform, feature, etc.

Of course this could be useful.

I would post this to the Tags trac but it's full of spam!

? I know both, t-h.o and t.e.o, and think this is not valid, so what Trac other than do you refer to here?

### (in reply to: ↑ 2 ) 10/17/11 00:24:58 changed by hasienda

• cc changed from rjollos to itamarost@gmail.com, rjollos, otaku42, osimons.

Replying to nat at ilike dash inc dot com:

tagging a changeset would be great, but since i'm not sure where that would hang in the schema i would also be happy with just having a changeset tagspace based on title,author and time-range support in ListTagged so I could pull up e.g. important changesets in the current milestone: [...] yeah, this is sort of a bastardization of the query language and tags, but time ranges are pretty important for tickets & changesets, ranges would be great to have in ListTagged.

You name it. Additional tagged resource properties are not included by any tag provider into the tag data domain. What you ask for here is more or less a request, that must be fulfilled by a query inside repositories, that should be aware of the TagsPlugin, query it and re-use it's data. IIRC FullBlogPlugin and ScreenshotsPlugin are good examples for implementations of tagging into realms other than 'ticket'.

'Wiki' is not. A request similar to this one here is #2429 for the 'wiki' realm - both connected by the absence of a distinct keywords/tags attribute/field. I feel a strong distraction, to do something like that inside the TagsPlugin. It would be monkey-patching the other realms data storage. Better add it there directly. And never try to bring additional resource data into the tag realm. Keeping data inside the resulting db schema consistent would be a real mess.

### Add/Change #2404 (Ability to tag a changeset)

Change Properties