Development

What’s in the pipeline, how it works, how it’s made…

Doing commits in the correct order

Lately, I’ve been thinking and writing about how to list ports that depend upon this port. Today, another special situation arose: doing commits out of order. Case in question: this commit support for databases/php5-sqlite3 to lang/php5-extensions. The lang/php5-extensions commit was at 15:52:14. However, databases/php5-sqlite3 was not created until 15:54:29. I am not sure how to

Doing commits in the correct order Read More »

Storing dates in date fields

From time to time, ports/security/vuxml/vuln.xml gets a date field containing an invalid date. FreshPorts stores these entries in a table that looks like this: freshports.org=# \d vuxml Table “public.vuxml” Column | Type | Modifiers —————-+————–+—————————————————- id | integer | not null default nextval(‘vuxml_id_seq’::regclass) vid | text | not null topic | text | not null

Storing dates in date fields Read More »

What ports are dependant upon this port?

An interesting discussion started earlier this week: upstream dependents. At present, FreshPorts captures and displays the information output from: make -V BUILD_DEPENDS -V RUN_DEPENDS -V LIB_DEPENDS For a given port, this tells up what that port depends upon for building, running, and libraries. The request is for this same information, but in the reverse ordering;

What ports are dependant upon this port? Read More »

Where’s the diff?

A few months ago, Dmitry Marakasov asked for a new feature: a link to diff. The problem I had was figuring out the previous revision. The code always has the current revision. That is stored in the table: freshports.org=# \d commit_log_elements Table “public.commit_log_elements” Column | Type | Modifiers —————+————–+—————————————————————— id | integer | not null

Where’s the diff? Read More »

Search doesn’t display enough commits per page

Bjoern A. Zeeb pointed out a problem today. On the following URL, there should be more commits per page. Only three are shown (at the time of writing). http://www.freshports.org/search.php?stype=committer&method=exact&query=jb&num=100&orderby=category&orderbyupdown=asc&search=Search&include_src_commits=include_src_commits The page is showing 100 results per page. This should be 100 commits, but the result set is showing only 100 files. The SQL query has

Search doesn’t display enough commits per page Read More »

Scroll to Top