[pca] pca feature request .. better handling with release dates

Martin Paul martin at par.univie.ac.at
Mon Sep 5 10:18:32 CEST 2011


Hi Daniel,

> i'm missing in pca few less important features like for example
> possibility to list released patches by date ..

You're right, there is currently no way to show the release date of a patch with 
PCA, only the age.

I've fixed that in the current development release (20110905-01). The "--format" 
option now supports a new specifier (%d) to include the release date in PCA's 
output. Instead of the date format used in patchdiag.xref, the date is shown in 
ISO format (yyyy-mm-dd) to make sorting easier. Some examples:

# Show output in the usual format, but replace Age with Date
pca --format '%p %i %e %c %r%s%b %d %y'

# Show all patches which were released in May 2010, sorted by date
pca -H --format '%p-%c %d %y' -l total | grep 2010-05 | sort +1

BTW, I still believe that it's better to leave selecting/sorting to grep/sort 
instead of trying to implement that into PCA itself.

Hope this helps, and thanks for bringing this up,

Martin.



More information about the pca mailing list