Edgewall Software

Ticket #1160 (closed enhancement: fixed)

Opened 4 years ago

Last modified 2 years ago

Specify Revision Log RSS target URL

Reported by: xamen Owned by: cboos
Priority: normal Milestone: 0.10
Component: version control/log view Version: 0.8
Severity: normal Keywords: log rss restricted changeset
Cc:

Description

I would like to be able to specify what the RSS target URL should point to, for example:

Currently: http://projects.edgewall.com/trac/browser/?rev=1140

I would like to be able to specify going directly to the Changeset instead: http://projects.edgewall.com/trac/changeset/1140

So that when I view the RSS feed, I can see exactly which files have changed.

Attachments

Change History

Changed 4 years ago by xamen

Well, I'm not sure this is the best way, but I've changed the file Log.py on line 75 from this:

                item['file_href'] = self.env.href.browser(path, item['rev'])

to this:

            if self.args.get('format') == 'rss':
                item['file_href'] = self.env.href.changeset(item['rev'])
            else:
                item['file_href'] = self.env.href.browser(path, item['rev'])

Changed 3 years ago by cboos

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

Well, the Changeset View is now ([1864]) the targeted URL for each changeset item in the Revision Log feed.

I think that's a reasonable default for now.

With the TracDiff features, however, it would be possible to link to the restricted changeset view, i.e. the changes that happened below the path on which the Revision Log feed was created.

Changed 3 years ago by cboos

  • keywords restricted added
  • milestone set to 1.0

Changed 3 years ago by cboos

As TracDiff is now in trunk, it would be now possible to implement the above suggestion, but I'm not sure if that's such a good idea.

Better to link to the full changeset, no?

Changed 3 years ago by cboos

  • status changed from assigned to closed
  • resolution set to fixed
  • milestone changed from 1.0 to 0.10

Well, as it's easily possible to go from the restricted changeset to the full changeset, it's maybe better to show the restricted changeset.

That way, the navigation (Previous Change/Next Change) stays on the path from which the RSS feed was subscribed.

Fixed in r2821.

Add/Change #1160 (Specify Revision Log RSS target URL)

Author



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