search for: odate

Displaying 11 results from an estimated 11 matches for "odate".

Did you mean: date
2020 Apr 03
5
[supermin PATCH 0/4] Check for output results for --if-newer (RHBZ#1813809)
This is an attempt to make supermin check for the existing results of an output when checking whether the appliance must be rebuilt using --if-newer. At the moment it is implemented only for the build mode, and for its ext2 output format. Pino Toscano (4): build: factor ext2 filenames Tighten Unix_error check for missing outputdir Extend modes with list of outputs build: set
2020 Apr 03
0
[supermin PATCH 3/4] Extend modes with list of outputs
...et_outputs (args...) inputs] gets the potential outputs for the + appliance. *) diff --git a/src/supermin.ml b/src/supermin.ml index 80c48e6..4091f1d 100644 --- a/src/supermin.ml +++ b/src/supermin.ml @@ -236,10 +236,15 @@ appliance automatically. *) if if_newer then ( try - let odate = (lstat outputdir).st_mtime in + let mode_outputs = + match mode with + | Prepare -> Mode_prepare.get_outputs args inputs + | Build -> Mode_build.get_outputs args inputs in + let mode_outputs = List.map ((//) outputdir) mode_outputs in + let odates = List....
2020 Apr 03
0
[supermin PATCH v2 4/4] build: check for outputs in --if-newer check (RHBZ#1813809)
...uts] gets the potential outputs for the + appliance. *) diff --git a/src/supermin.ml b/src/supermin.ml index 6e93b83..e923111 100644 --- a/src/supermin.ml +++ b/src/supermin.ml @@ -236,10 +236,12 @@ appliance automatically. *) if mode = Build && if_newer then ( try - let odate = (lstat outputdir).st_mtime in + let outputs = Mode_build.get_outputs args inputs in + let outputs = List.map ((//) outputdir) outputs in + let odates = List.map (fun d -> (lstat d).st_mtime) (outputdir :: outputs) in let idates = List.map (fun d -> (lstat d).st_mtime)...
2020 Apr 03
2
Re: [supermin PATCH 3/4] Extend modes with list of outputs
...tputs for the > + appliance. *) > diff --git a/src/supermin.ml b/src/supermin.ml > index 80c48e6..4091f1d 100644 > --- a/src/supermin.ml > +++ b/src/supermin.ml > @@ -236,10 +236,15 @@ appliance automatically. > *) > if if_newer then ( > try > - let odate = (lstat outputdir).st_mtime in > + let mode_outputs = > + match mode with > + | Prepare -> Mode_prepare.get_outputs args inputs > + | Build -> Mode_build.get_outputs args inputs in We actually document that --if-newer can only be used in build mode. It...
2020 Apr 03
5
[supermin PATCH v2 0/4] Check for output results for --if-newer (RHBZ#1813809)
This is an attempt to make supermin check for the existing results of an output when checking whether the appliance must be rebuilt using --if-newer. At the moment it is implemented only for the ext2 output format of the build mode. Changes from v1: - drop empty stub for the prepare mode - add patch to ignore --if-newer on modes different than build - squash patch with stub for the build mode
2019 Mar 04
2
[supermin PATCH] rebuild the output it when SUPERMIN_KERNEL or SUPERMIN_MODULES are defined
...min.ml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/supermin.ml b/src/supermin.ml index 7c7135b3..b997643 100644 --- a/src/supermin.ml +++ b/src/supermin.ml @@ -236,13 +236,17 @@ appliance automatically. *) if if_newer then ( try - let odate = (lstat outputdir).st_mtime in - let idates = List.map (fun d -> (lstat d).st_mtime) inputs in - let pdate = (get_package_handler ()).ph_get_package_database_mtime () in - if List.for_all (fun idate -> idate < odate) (pdate :: idates) then ( - if debug >= 1 then -...
2007 Apr 27
0
Update of xlsReadWrite package
...(not only for data.frame) - explicit rowNames argument in interface. (stimulated by email Adrian Dusa) - support for DATE and TIME values: Excel date and/or time values can be retrieved as ISO-8601 format string. - Either explicitly with the colClasses entries: - "isodate" as "YYYY-MM-DD" - "isotime" as "hh:mm:ss" - "isodatetime"as "YYYY-MM-DD hh:mm:ss" - Or for data.frame an eventual date/time type can be automatically determined from the value(s) of the first Excel row (determined from...
2007 Jul 13
2
nearest correlation to polychoric
Dear all, Has someone implemented in R (or any other language) Knol DL, ten Berge JMF. Least-squares approximation of an improper correlation matrix by a proper one. Psychometrika, 1989, 54, 53-61. or any other similar algorithm? Best regards Jens Oehlschl?gel Background: I want to factanal() matrices of polychoric correlations which have negative eigenvalue. I coded Highham 2002
2006 Aug 21
0
Dovecot authorisation problem
Hi List, I am trying to set up dovecot on my mail server and am having some difficulties? I want to use virtual mailboxes and so have set up a passwd-file for userdb and passdb and created entries for a user but they don?t seem to be working? I have included the relevant lines from all three files below? Dovecot.conf? auth_userdb = passwd-file /etc/dovecot/users auth_passdb =
2009 Jun 18
1
delete and update
Hi All, I need to update or delete some documents from a Xapian database. and I haven't been able to find anything in the API , Is there a way to do it ? What would be the easiest way to do it ? Thanks.
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...was given, check the dates on input files, + * package database and output directory. If the output directory + * does not exist, or if the dates of either input files or package + * database is newer, then we rebuild. Else we can just exit. + *) + if if_newer then ( + try + let odate = (lstat outputdir).st_mtime in + let idates = List.map (fun d -> (lstat d).st_mtime) inputs in + let pdate = (get_package_handler ()).ph_get_package_database_mtime () in + if List.for_all (fun idate -> idate < odate) (pdate :: idates) then ( + if debug >= 1 then +...