[pacman-dev] [GIT] pacman branch, master now at v3.0.0-434-g48bf088

Xavier shiningxc at gmail.com
Tue Oct 2 17:21:56 EDT 2007


On Tue, Oct 02, 2007 at 04:06:32PM -0500, Aaron Griffin wrote:
> On 10/2/07, Xavier <shiningxc at gmail.com> wrote:
> > What about packages built with 3.0 that are installed / upgraded with 3.1 ?
> > Apparently, for these packages, the build time isn't copied over to the local
> > database. But the install date is generated and stored, in UNIX epoch.
> >
> > I am not saying this behavior is bad or anything, I rather just want to check
> > this is the intended behavior :)
> 
> Just to see if I understand you - builddate is only valid for remote packages?
> 

Well, now, I don't understand the question. Let me try with an example :

1) package built and installed with 3.0 :

$ cat /var/lib/pacman/local/sdl-1.2.12-1/desc | grep DATE -A1
%BUILDDATE%
Sun Aug  5 13:37:03 2007
--
%INSTALLDATE%
Mon Aug  6 19:59:09 2007

2) package built with 3.0 but installed with git :

$ cat /var/lib/pacman/local/git-1.5.3.3-1/desc | grep DATE -A1
%INSTALLDATE%
1191220054

3) package built and installed with git :

$ cat /var/lib/pacman/local/moc-2.5.0_alpha2-1/desc | grep DATE -A1
%BUILDDATE%
1191172788
--
%INSTALLDATE%
1191173034


No problems with 1 and 3.
About 2, I don't think it's wrong, but there might also be other ways to handle this case,
so I was just asking.




More information about the pacman-dev mailing list