From owner-freebsd-vuxml@FreeBSD.ORG Wed Nov 17 13:19:28 2004 Return-Path: Delivered-To: freebsd-vuxml@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E349E16A4CE for ; Wed, 17 Nov 2004 13:19:28 +0000 (GMT) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB56A43D4C for ; Wed, 17 Nov 2004 13:19:28 +0000 (GMT) (envelope-from dan@langille.org) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id 295B63D40 for ; Wed, 17 Nov 2004 08:19:28 -0500 (EST) From: "Dan Langille" To: freebsd-vuxml@freebsd.org Date: Wed, 17 Nov 2004 08:19:28 -0500 MIME-Version: 1.0 Message-ID: <419B0990.577.4099175C@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (4.21c) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: FreshPorts and linking URLs by package name X-BeenThere: freebsd-vuxml@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documenting security issues in VuXML List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 13:19:29 -0000 Hi folks, beta FreshPorts has a special linking mechanism... http://beta.freshports.org/?package=ABC will show you the package ABC. However, I just noticed that this code uses LATEST_LINK, not PKGNAME. I think the code is wrong. I'm asking for comments here because this linking mechanism was designed with VuXML in mind. I found the issue when looking up ruby. Here is what the database says: freshports.org=# select id, name, category, latest_link, package_name from ports_active where package_name = 'ruby' or latest_link = 'ruby'; id | name | category | latest_link | package_name -------+--------+----------+-------------+-------------- 10419 | ruby18 | lang | ruby-devel | ruby 10838 | ruby16 | lang | ruby | ruby (2 rows) As you can see, latest_link differs for each port, but the package name is the same. Therefore, I think that when you browse to http://beta.freshports.org/?package=ruby, you should be asked which ruby you want. I have made that change in FreshPorts beta (this feature is not yet available in production). Any suggestions/comments, thanks. -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http://www.bsdcan.org/ From owner-freebsd-vuxml@FreeBSD.ORG Wed Nov 17 22:39:56 2004 Return-Path: Delivered-To: freebsd-vuxml@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37C5016A4CE for ; Wed, 17 Nov 2004 22:39:56 +0000 (GMT) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 056F743D54 for ; Wed, 17 Nov 2004 22:39:56 +0000 (GMT) (envelope-from dan@langille.org) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id 211CB3D37 for ; Wed, 17 Nov 2004 17:39:54 -0500 (EST) From: "Dan Langille" To: freebsd-vuxml@freebsd.org Date: Wed, 17 Nov 2004 17:39:55 -0500 MIME-Version: 1.0 Message-ID: <419B8CEB.13115.429A34C8@localhost> Priority: normal In-reply-to: <419B0990.577.4099175C@localhost> X-mailer: Pegasus Mail for Windows (4.21c) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: FreshPorts and linking URLs by package name X-BeenThere: freebsd-vuxml@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documenting security issues in VuXML List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 22:39:56 -0000 On 17 Nov 2004 at 8:19, Dan Langille wrote: > Hi folks, > > beta FreshPorts has a special linking mechanism... > http://beta.freshports.org/?package=ABC will show you the package ABC. > However, I just noticed that this code uses LATEST_LINK, not PKGNAME. > I think the code is wrong. > > I'm asking for comments here because this linking mechanism was > designed with VuXML in mind. > > I found the issue when looking up ruby. Here is what the database > says: > > freshports.org=# select id, name, category, latest_link, package_name > from ports_active where package_name = 'ruby' or latest_link = 'ruby'; > id | name | category | latest_link | package_name > -------+--------+----------+-------------+-------------- > 10419 | ruby18 | lang | ruby-devel | ruby > 10838 | ruby16 | lang | ruby | ruby > (2 rows) > > As you can see, latest_link differs for each port, but the package > name is the same. Therefore, I think that when you browse to > http://beta.freshports.org/?package=ruby, you should be asked which > ruby you want. Given that there are two ports with a package name of 'ruby', I may a change to how this situation is handled. Now when you browse to http://beta.freshports.org/?package=ruby, you will be redirected to http://beta.freshports.org/search.php where the list of ports that have a package name of ruby will be displayed. -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http://www.bsdcan.org/ From owner-freebsd-vuxml@FreeBSD.ORG Fri Nov 19 02:41:08 2004 Return-Path: Delivered-To: freebsd-vuxml@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5574C16A4CE for ; Fri, 19 Nov 2004 02:41:08 +0000 (GMT) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF40843D39 for ; Fri, 19 Nov 2004 02:41:07 +0000 (GMT) (envelope-from dan@langille.org) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id 4BBBF3D37 for ; Thu, 18 Nov 2004 21:41:07 -0500 (EST) From: "Dan Langille" To: freebsd-vuxml@freebsd.org Date: Thu, 18 Nov 2004 21:41:07 -0500 MIME-Version: 1.0 Message-ID: <419D16F3.4430.489D657F@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (4.21c) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: FreshPorts - VuXML dry run X-BeenThere: freebsd-vuxml@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documenting security issues in VuXML List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2004 02:41:08 -0000 Hi folks, This weekend I plan to move the VuXML work from beta into production on http://www.freshports.org/. I have done a test run of the migration/update process and the results are available at http://dan.freshports.org/. If you have time, please have a look and see if you notice any problems or issues. Please note: this dry run will not update itself with new commits. Thank you. -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http://www.bsdcan.org/ From owner-freebsd-vuxml@FreeBSD.ORG Sat Nov 20 22:53:15 2004 Return-Path: Delivered-To: freebsd-vuxml@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C6E616A4CE for ; Sat, 20 Nov 2004 22:53:15 +0000 (GMT) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 446D843D48 for ; Sat, 20 Nov 2004 22:53:15 +0000 (GMT) (envelope-from dan@langille.org) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id A1E393D37 for ; Sat, 20 Nov 2004 17:53:14 -0500 (EST) From: "Dan Langille" To: freebsd-vuxml@freebsd.org Date: Sat, 20 Nov 2004 17:53:14 -0500 MIME-Version: 1.0 Message-ID: <419F848A.9802.52197E26@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (4.21c) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: FreshPorts - VuXML now in production X-BeenThere: freebsd-vuxml@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documenting security issues in VuXML List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Nov 2004 22:53:15 -0000 Hi folks, The FreshPorts - VuXML is now in production. My thanks to those that help me with the project. cheers. -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http://www.bsdcan.org/