-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dates, owners, and permissions of things under /hpkg #59
Comments
The aborted builds are as you said. The symlink date not being cleared seems like something that should be fixed. We can choose any date we want for the store date, Its currently just set to 0. 1970 is a bit ugly, we could choose another date. |
Is date / time info preserved when build artifacts are transferred via send / recv? If date / time info varies between 2 builds of the same package definition then I guess the build artifacs won't look the same? Or may be I'm misunderstanding something... |
Build times are wiped after build completes but before the package is added to the set of installed packages. send/recv sends packages that have been installed, so have times wiped. It is a possibility for packages that don't specify :content to differ. In practice this doesn't affect much, but is part of the reason why package signing is needed. |
I just checked under /hpkg here and there is only one directory that has a date of Jan 1 1970 (it's The content within these directories appears for the most part to have a date of Jan 1 1970. I just checked on another machine and there is a similar situation there. So may be because everything within the directory has the same date / time, it's fine -- the containing directory |
No matter how a package was installed, it's date should be wiped by the pkgstore/storify function. Seems like a bug. |
I just noticed the following:
Here I guess the dates reflect the build. That doesn't really bother me much (actually it's convenient), but may be that's not good?
I'm guessing the owner and permission info of the first item is the result of an aborted build. Invoking
hermes gc
seemed to have gotten rid of all of the ones I noticed.Typical symlinks to shared objects under
/hpkg/<hash>-<name>/lib/
appear to have dates that reflect the build:The symlinks inMay be none of these things are problems, but FWIW.
The text was updated successfully, but these errors were encountered: