[mythtv-users] Persistent link to newest version of a file on github?

Kevin Kuphal kkuphal at gmail.com
Wed Dec 8 15:47:38 UTC 2010


On Wed, Dec 8, 2010 at 9:43 AM, Jan Ceuleers <jan.ceuleers at computer.org>wrote:

> On 08/12/10 14:54, Kevin Kuphal wrote:
>
>> I'm no git expert, but If you look at this page:
>>
>>
>> https://github.com/MythTV/mythtv/blob/master/mythtv/libs/libmyth/dbutil.cpp
>>
>> <
>> https://github.com/MythTV/mythtv/blob/master/mythtv/libs/libmyth/dbutil.cpp
>> >There
>> is a link labelled "raw" that links to:
>>
>> https://github.com/MythTV/mythtv/raw/master/mythtv/libs/libmyth/dbutil.cpp
>>
>> Wouldn't that be the file itself and the most recent version?
>>
>
> Kevin,
>
> Thanks for that. It works, and I've successfully made the first updates on
> the wiki.
>
> However, I'm puzzled as to how you found this out. I had indeed also used
> the "raw" links before, but in my case these links contained the git commit
> ID in the location where your URL shows "master". Manually editing the URLs
> to replace the commit ID by "master" does seem to produce what looks like a
> persistent link to the current version though.
>

I just browsed to github.com and followed the links to the file.

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20101208/d5de876f/attachment.htm>


More information about the mythtv-users mailing list