Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2017 16:10:11 +0200
From:      Torsten Zuehlsdorff <mailinglists@toco-domains.de>
To:        Dan Langille <dan@langille.org>, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: FreshPorts API
Message-ID:  <0ff44346-046c-722d-8c5c-e857044658ad@toco-domains.de>
In-Reply-To: <769D72EC-0F40-4D83-9672-B2635AB9D4B4@langille.org>
References:  <769D72EC-0F40-4D83-9672-B2635AB9D4B4@langille.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On 21.09.2017 14:31, Dan Langille wrote:
> FreshPorts contains more than just ports. It contains all commits to the FreeBSD repository.
> 
> This is all stored in a database. It can be queried. We just need an API.
> 
> The goal is to start gradually, based on the ideas started at https://duck.co/ideas/idea/936/grab-bsd-port-summary-from-freshports <https://duck.co/ideas/idea/936/grab-bsd-port-summary-from-freshports>;
> and later at https://github.com/FreshPorts/freshports/issues/4 <https://github.com/FreshPorts/freshports/issues/4>;
> 
> I did start using https://github.com/marcj/php-rest-service <https://github.com/marcj/php-rest-service>; (I didn't get to the
> point of having methods invoked), I'm looking for others to help get this started.
> 
> The goal is a PHP-based API. Why? Existing PHP code for database access.

But what problem to you want to solve with it?

I regularly dump the ports-tree into a database for some research or 
hacking. But beside this very specific cases i never needed it. So what 
do you want to accomplish?

Greetings,
Torsten



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0ff44346-046c-722d-8c5c-e857044658ad>