Edgewall Software

Ticket #2945 (closed enhancement: fixed)

Opened 3 years ago

Last modified 16 months ago

tickets with version control

Reported by: anonymous Owned by: cboos
Priority: normal Milestone: 0.11
Component: ticket system Version: 0.9.4
Severity: major Keywords: tracobject version history
Cc: rhind@…

Description

it would be great to have the tickets under version control. with this you can use the ticket system easy as an requirement tool.

Attachments

Change History

  Changed 3 years ago by coderanger

Ticket changes are indeed versioned already, though there is no real support for things like rollbacks (yet). What would you need in addition to the current features?

  Changed 3 years ago by cboos

  • keywords ticket added; tickes removed
  • component changed from general to ticket system
  • summary changed from tikets with version control to tickets with version control

Are you thinking about having an history for the description, similar to what we have for the wiki (Page history)?

  Changed 3 years ago by mgood

  • status changed from new to closed
  • resolution set to duplicate

Duplicate of #1132

  Changed 3 years ago by cboos

  • keywords tracobject added; ticket control removed
  • status changed from closed to reopened
  • resolution duplicate deleted

Well, I agree that #1132 suggests a possible implementation for this feature.

But strictly speaking, the use of a versioning system backend is not required for being able to version ticket descriptions, which I believe is what was requested here.

Actually the description is already versioned in the ticket_change table, so it could be possible to provide a Ticket History showing the evolution of a ticket description, diffs between version in a way completely similar to the wiki Page History, without the need of #1132...

  Changed 3 years ago by anonymous

a Ticket History showing the evolution of a ticket description is exactly what i need. the idea is, that if i want to use tickets for my requirements i must be able to a) see the history of the ticket evolution b) diff the history c) be able to recover/display all tickets for a given tag/date with this it should be possible to handle the requirements for a project as tickets with type enhancment.

  Changed 3 years ago by cboos

  • owner changed from jonas to cboos
  • status changed from reopened to new

Yes, so that's what I thought. Also to be considered here is a Wiki syntax for linking to explicit versions and diffs, similar to what is discussed for Wiki content (see #2635).

As a side note, there's nothing special about ticket type names, you're free to create an explicit requirement ticket type, using either TracAdmin or the WebAdmin plugin.

  Changed 2 years ago by Russell Hind <rhind@…>

  • cc rhind@… added

I'd also like to see a full history for a ticket. We don't (yet!) require rollback capabilities, but being able to view the full history would be extremely useful. It would also be able to see actual date times. Currently I have a ticket which says 'Opened 1 year ago' and 'Last modified 2 hours ago'. The '1 year ago' is very vague. At least the yy/mm/dd would be more useful.

Thanks

Russell

follow-up: ↓ 11   Changed 2 years ago by athomas

Viewing the complete ticket history is now possible in trunk since r3305. Each ticket exports an RSS feed and CSV formats with all changes and full dates.

  Changed 2 years ago by mgood

You can see the full date/time for the "1 year ago" by hovering your mouse over the text.

  Changed 2 years ago by Russell Hind <rhind@…>

Great, thanks.

Russell

in reply to: ↑ 8   Changed 2 years ago by cboos

Replying to athomas:

... Each ticket exports an RSS feed and CSV formats with all changes and full dates.

The RSS feed actually has the all changes, but the CSV format has not, only the current values. Can you please clarify what was intended?

  Changed 2 years ago by Russell Hind <rhind@…>

  • milestone 0.5 deleted

follow-up: ↓ 15   Changed 23 months ago by cboos

  • keywords history added
  • status changed from new to assigned
  • severity changed from normal to major
  • milestone set to 0.11

I'm currently working on this. So far I've got the history page. The diff and the ability to view the ticket at a specific version will follow.

in reply to: ↑ 14   Changed 23 months ago by Russell Hind <rhind@…>

Replying to cboos:

I'm currently working on this. So far I've got the history page. The diff and the ability to view the ticket at a specific version will follow.

Does this mean that entries such as 'Description Changed' won't show up in the comments from now on?

We currently constantly edit the description for some items which act as a to do list or just have many commits as we put the commit number and cross out done items in the description, but currently this then puts a lot of entries in as comments of just 'Description Changed'

If there is a history page with this information, then could these be removed from the comments (unless a comment is also supplied, then it would be useful to see what changed with that comment).

Cheers

Russell

follow-up: ↓ 17   Changed 23 months ago by cboos

Description Changed is not really part of the comment. It's a special, concise way to display a text field change (the description in this case). So in the description history list, you won't see that, only the comment if given.

in reply to: ↑ 16   Changed 23 months ago by anonymous

Replying to cboos:

Description Changed is not really part of the comment. It's a special, concise way to display a text field change (the description in this case). So in the description history list, you won't see that, only the comment if given.

Just to clarify then: So if we modify the description, but don't supply a comment, then there will be no 'comment' for that change as there is at the moment, but the description history will be available via the ticket history you are working on?

That sounds like a really useful feature. 0.11 Looks like it will be an excellent release.

Cheers

Russell

  Changed 23 months ago by cboos

Yes. Eventually the Description changed will be augmented by a (diff) link, for showing the actual changes.

  Changed 23 months ago by cboos

  • status changed from assigned to closed
  • resolution set to fixed

Implemented in r4347. Feedback welcomed!

If there's any issue with this new feature, please file a new ticket.

  Changed 16 months ago by abublic@…

Just where is it? I'm keen for this but can't see the diff link in my local 0.10.4 nor in http://trac.edgewall.org (0.10.5 dev currently).

  Changed 16 months ago by anonymous

As the milestone field says: 0.11

  Changed 16 months ago by abublic@…

cool, thanks

Add/Change #2945 (tickets with version control)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.