TT-RSS commit feed with wrong URL

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
kaistian
Bear Rating Trainee
Bear Rating Trainee
Posts: 9
Joined: 07 Feb 2015, 14:01

TT-RSS commit feed with wrong URL

Postby kaistian » 10 Aug 2015, 14:33

When tt-rss changed git hosting I changed the URL for the commit feed from github to tt-rss.org.

Today I press the link in "This reverts commit" and the link took me to

Code: Select all

https://github.com/gitlab/fox/tt-rss/commit/14ce0e25043dfa70d87985a1d4fa06c1d3d1c8b4


The feed look like this:

Code: Select all

This reverts commit <a href="/gitlab/fox/tt-rss/commit/14ce0e25043dfa70d87985a1d4fa06c1d3d1c8b4" title="Commit: Andrew Dolgov - update: reenable first ref_id/id transaction" class="gfm gfm-commit">14ce0e25</a>.


Since the href does not have the full URL, it has to get github.com from somewhere.
I checked around in the database and found this:

Code: Select all

mysql> select feed_url,site_url from ttrss_feeds where id=128;
+----------------------------------------------------------+---------------------------------------------------------+
| feed_url                                                 | site_url                                                |
+----------------------------------------------------------+---------------------------------------------------------+
| https://tt-rss.org/gitlab/fox/tt-rss/commits/master.atom | https://github.com/gothfox/Tiny-Tiny-RSS/commits/master |
+----------------------------------------------------------+---------------------------------------------------------+


Does it use site_url to generate the URL?
And should site_url be updated when feed URL is changed from the web GUI?

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: TT-RSS commit feed with wrong URL

Postby fox » 10 Aug 2015, 15:09

yeah site_url and other stuff are not updated on url change, it is an easy enough fix i guess

e; https://tt-rss.org/gitlab/fox/tt-rss/co ... 494d3f71a1

e2: "other stuff" is title if not set already i guess


Return to “Support”

Who is online

Users browsing this forum: No registered users and 16 guests