Re: [VFS] LAST_MODIFIED vs GET_LAST_MODIFIED

2014-05-17 Thread Gary Gregory
I suppose... not sure what the best path is. You pick ;)

Gary

div Original message /divdivFrom: Bernd Eckenfels 
e...@zusammenkunft.net /divdivDate:05/16/2014  21:42  (GMT-05:00) 
/divdivTo: Schalk Cronjé ysb...@gmail.com /divdivCc: 
user@commons.apache.org /divdivSubject: Re: [VFS] LAST_MODIFIED vs 
GET_LAST_MODIFIED /divdiv
/divHallo,

Really no idea, it is not used anywhere. And GET_LAST_MODIFIED is
there since the 1.0 API, so it can not even be explained with
backward compatibility. There is also nothing in JIRA or the Wiki.

I guess I would put a deprecated tag in javadoc and forget about it?

Gruss
Bernd


Am Wed, 14 May 2014 22:52:19 +0100 schrieb Schalk
Cronjé ysb...@gmail.com:

 One more Capability question. Javadoc states that
 
 GET_LAST_MODIFIED: File get last-modified time is supported.
 LAST_MODIFIED: File last-modified time is supported.
 
 These seems to be the same thing. Furthermore there is no reference
 to LAST_MODIFIED in the core code base, only to GET_LAST_MODIFIED
 (and also to SET_LAST_MODIFIED_xxx). Is LAST_MODIFIED a deprecated
 capability?
 


-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



Re: [VFS] LAST_MODIFIED vs GET_LAST_MODIFIED

2014-05-17 Thread Schalk Cronjé

Suggestion [1]

Marking LAST_MODIFIED as deprecated, updating the docs to state that 
GET_LAST_MODIFIED means that the last modification time for a file or 
can be retrieved.


Suggestion [2]

Mark both GET_LAST_MODIFED and LAST_MODIFIED as deprecated.

Split GET_LAST_MODIFIED into a GET_LAST_MODIFIED_FILE and 
GET_LAST_MODIFIED_FOLDER. I am saying this as by example on S3 it is 
possible to get the last modification time of a blob, but not on 
something marked as a directory marker.


Disclaimer: Maybe it is possible to get modification time on directory 
marker on S3, but i have based it upon what jClouds can do.


On 17/05/2014 15:19, Gary Gregory wrote:

I suppose... not sure what the best path is. You pick ;)

Gary


 Original message 
From: Bernd Eckenfels
Date:05/16/2014 21:42 (GMT-05:00)
To: Schalk Cronjé
Cc: user@commons.apache.org
Subject: Re: [VFS] LAST_MODIFIED vs GET_LAST_MODIFIED

Hallo,

Really no idea, it is not used anywhere. And GET_LAST_MODIFIED is
there since the 1.0 API, so it can not even be explained with
backward compatibility. There is also nothing in JIRA or the Wiki.

I guess I would put a deprecated tag in javadoc and forget about it?

Gruss
Bernd


Am Wed, 14 May 2014 22:52:19 +0100 schrieb Schalk
Cronjé ysb...@gmail.com:

 One more Capability question. Javadoc states that

 GET_LAST_MODIFIED: File get last-modified time is supported.
 LAST_MODIFIED: File last-modified time is supported.

 These seems to be the same thing. Furthermore there is no reference
 to LAST_MODIFIED in the core code base, only to GET_LAST_MODIFIED
 (and also to SET_LAST_MODIFIED_xxx). Is LAST_MODIFIED a deprecated
 capability?



-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org




--
Schalk W. Cronjé
@ysb33r



Re: [VFS] LAST_MODIFIED vs GET_LAST_MODIFIED

2014-05-17 Thread Bernd Eckenfels
Hello,

I have created https://issues.apache.org/jira/browse/VFS-527 for it.

I think this is a two phase process as I would prefer not to break API
compatibility and stay with the 2.1 version.

It would be allowed to deprecate the LAST_MODIFIED and maybe a bite
more cleanly describe the behaviour of GET/SET_LAST_MODIFIED_xxx (like:
GET_LAST_MODIFIED allows to get the last modified date of files, it
might also work on directories). or something?

Gruss
Bernd


 Am Sat, 17 May 2014
15:38:26 +0100 schrieb Schalk Cronjé ysb...@gmail.com:

 Suggestion [1]
 
 Marking LAST_MODIFIED as deprecated, updating the docs to state that 
 GET_LAST_MODIFIED means that the last modification time for a file or 
 can be retrieved.
 
 Suggestion [2]
 
 Mark both GET_LAST_MODIFED and LAST_MODIFIED as deprecated.
 
 Split GET_LAST_MODIFIED into a GET_LAST_MODIFIED_FILE and 
 GET_LAST_MODIFIED_FOLDER. I am saying this as by example on S3 it is 
 possible to get the last modification time of a blob, but not on 
 something marked as a directory marker.
 
 Disclaimer: Maybe it is possible to get modification time on
 directory marker on S3, but i have based it upon what jClouds can do.
 
 On 17/05/2014 15:19, Gary Gregory wrote:
  I suppose... not sure what the best path is. You pick ;)
 
  Gary
 
 
   Original message 
  From: Bernd Eckenfels
  Date:05/16/2014 21:42 (GMT-05:00)
  To: Schalk Cronjé
  Cc: user@commons.apache.org
  Subject: Re: [VFS] LAST_MODIFIED vs GET_LAST_MODIFIED
 
  Hallo,
 
  Really no idea, it is not used anywhere. And GET_LAST_MODIFIED is
  there since the 1.0 API, so it can not even be explained with
  backward compatibility. There is also nothing in JIRA or the Wiki.
 
  I guess I would put a deprecated tag in javadoc and forget about it?
 
  Gruss
  Bernd
 
 
  Am Wed, 14 May 2014 22:52:19 +0100 schrieb Schalk
  Cronjé ysb...@gmail.com:
 
   One more Capability question. Javadoc states that
  
   GET_LAST_MODIFIED: File get last-modified time is supported.
   LAST_MODIFIED: File last-modified time is supported.
  
   These seems to be the same thing. Furthermore there is no
   reference to LAST_MODIFIED in the core code base, only to
   GET_LAST_MODIFIED (and also to SET_LAST_MODIFIED_xxx). Is
   LAST_MODIFIED a deprecated capability?
  
 
 
  -
  To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
  For additional commands, e-mail: user-h...@commons.apache.org
 
 
 


-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org