Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5923 closed defect (wontfix)

Symlink to latest Tor build

Reported by: hellais Owned by: phobos
Priority: Medium Milestone:
Component: Webpages/Website Version:
Severity: Keywords:
Cc: maker Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

It would be nice if there were a symlink to the lastest version of the Tor builds inside of https://www.torproject.org/dist/.

This way third party applications that need to automatically fetch the latest build of Tor can use a certain URL. For example the latest Build for windows will be:
https://www.torproject.org/dist/win32/tor-latest.exe and this will redirect to:
https://www.torproject.org/dist/win32/tor-0.2.2.35-win32-1.exe.

Child Tickets

Change History (6)

comment:1 Changed 8 years ago by maker

Well, actually among the most of free software project, the dist/ or pub/ directory contains a list of subdirectories for each software version, and a symlink 'latest/' to the latest version of the same sw. I would propose this approach instead.

comment:2 Changed 8 years ago by arma

We have so far avoided doing this because it would exacerbate the problem with users not knowing what version they have. ("what version are you using?" "latest.")

comment:3 in reply to:  2 Changed 8 years ago by maker

Replying to arma:

We have so far avoided doing this because it would exacerbate the problem with users not knowing what version they have. ("what version are you using?" "latest.")

This won't happen if latest/ is a symlink to the latest version directory - filenames will be the same and third party software can be easily automated for updates.

comment:4 Changed 8 years ago by phobos

Resolution: wontfix
Status: newclosed

We should not do symlinks. We should not do 'latest' releases. We could produce an RSS feed with the latest version of tor linked in it, assuming we can do this in wml automatically. Patches welcome. Another hideous option is a 301 redirect from latest-tor to the current version, this will break with mirrors.

Frankly, I prefer to remove /dist entirely and just point at archive.tpo for all downloads and binaries. People can use bittorrent or the secure updater to get their binaries in this future.

comment:5 Changed 8 years ago by naif

Can we make a symlinks directly on http://archive.torproject.org for example on:

https://archive.torproject.org/tor-package-archive/vidalia-bundles/

so that a third party application download the latest version?

Another option for a third party is to look in the right directory at https://archive.torproject.org/, parse the HTML from the directory listing and download the tor version that match latest date available and match a specific file-name-pattern.

However it would be a dirty hack that would break before or later, like doing data scraping with HTML parser rather than having official OpenData sources.

comment:6 Changed 8 years ago by naif

It seems that vidalia bundle directory contain both the macosx dmg and the .exe and it maybe possible to do some dirty magic based on a command line like this to identify and download latest version:

curl https://archive.torproject.org/tor-package-archive/vidalia-bundles/ | grep vidalia-bundle| grep -v ppc | grep Jun-2012 | sort -rn -k 7

Note: See TracTickets for help on using tickets.