[PEPr] Comment on File System::S3

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

Re: Re: [PEPr] Comment on File System::S3

by shangxiao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Cesar D. Rodas wrote:

> Note this:
>
> http://news.php.net/php.pear.dev/48694
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> I was not aware of your package and DID NOT COPY ANY OF YOUR CODE.
>
> I build this code over 3 months ago and used it in the last month on a
> website and since I was using it in production decided to release it.
> I have no idea when you came up with it, but there are also other
> people who wrote similar packages.
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> http://news.php.net/php.pear.dev/48697
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> I worked on a project a while back where the client wanted to backup
> into S3. They had a bunch of wrappers (straight php, curl) but it did
> not work. So when I asked them who did this, they didn't know and said
> it was some intern and it had 0 copyrights/names on it.
>
> I ported the class to use HTTP_Request etc., recently I put in
> CRYPT_HMAC2 as well to go more PHP5 when I used it at another client.
> And now I will use MIME_Type etc. and change the behavior from global
> constants to class vars to follow suggestions given in comments.
>
> Both parties told me that they had no problem if I proposed it to PEAR
> since I made it work and polished it up. So if some intern indeed took
> your code in the beginning, I am still not aware of this. The first project
> dates back to over three months ago.
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Contradictions?, yes or not?
>
> so, why insisting on the lie?
>
> I am young and my English is not awesome, but you I am  not stupid.
>
> It would better if he just confessed and the case was closed
>

Cesar please just calm down a bit... He's not about to say "Oh yes I tooootally
copied your code and therefore withdraw all my statements."  I'm sorry that this
has happened to you but it's not like nobody else can then just go away and
write their own version of this now can they?  This stuff doesn't seem all that
complex.

But having said this I reckon perhaps you should submit your class for proposal
here and then perhaps work with Till to fix some of the issues he encountered.
I think PEAR would be a better place to host php packages for quite a few
reasons, but mainly because whenever I wanted a php library I got quite
frustrated with phpclasses.org and always found the stuff in pear to be of the
best quality - in terms of the ideas and types of packages you can find here and
also the way packages are reviewed by peers before being accepted.

--
     David Sanders
     shangxiao

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: [PEPr] Comment on File System::S3

by Bertrand Mansion-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Obviously Cesar's class was copied without great care. If Till knew  
he was stealing public code, he would have at least modified the  
comments, fixed the English mistakes and changed more, unless he is  
silly? I personally believe him when he explains how he got to work  
on the code.

Now I think he should add Cesar as author of his class since a lot of  
code comes from him. But the package is now PHP5 and cleaner than  
what is found on PHPClasses.org (although could still be improved).  
Let's try to be constructive. If Cesar is interested he could even be  
co-leader on the package. Both Till and Cesar sounds like nice persons.



--
Bertrand Mansion
Mamasam
Work : http://www.mamasam.com
Blog : http://golgote.freeflux.net

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: [PEPr] Comment on File System::S3

by Helgi Þormar Þorbjörnsson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Dec 6, 2007 11:55 AM, Bertrand Mansion <golgote@...> wrote:

> Obviously Cesar's class was copied without great care. If Till knew
> he was stealing public code, he would have at least modified the
> comments, fixed the English mistakes and changed more, unless he is
> silly? I personally believe him when he explains how he got to work
> on the code.
>
> Now I think he should add Cesar as author of his class since a lot of
> code comes from him. But the package is now PHP5 and cleaner than
> what is found on PHPClasses.org (although could still be improved).
> Let's try to be constructive. If Cesar is interested he could even be
> co-leader on the package. Both Till and Cesar sounds like nice persons.


I concur, exactly what I intended to post.
To me it would be best if Cesar wanted to join in and also get his credit,
then we will have 2 good package leads (Cesar sounds like a shoe in for it
but I don't know him personally where as I know Till will do good from
experience after working with him on a project.)

- Helgi

Re: Re: [PEPr] Comment on File System::S3

by Arnaud Limbourg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Helgi Þormar Þorbjörnsson wrote:

> On Dec 6, 2007 11:55 AM, Bertrand Mansion <golgote@...> wrote:
>
>> Obviously Cesar's class was copied without great care. If Till knew
>> he was stealing public code, he would have at least modified the
>> comments, fixed the English mistakes and changed more, unless he is
>> silly? I personally believe him when he explains how he got to work
>> on the code.
>>
>> Now I think he should add Cesar as author of his class since a lot of
>> code comes from him. But the package is now PHP5 and cleaner than
>> what is found on PHPClasses.org (although could still be improved).
>> Let's try to be constructive. If Cesar is interested he could even be
>> co-leader on the package. Both Till and Cesar sounds like nice persons.
>
>
> I concur, exactly what I intended to post.
> To me it would be best if Cesar wanted to join in and also get his credit,
> then we will have 2 good package leads (Cesar sounds like a shoe in for it
> but I don't know him personally where as I know Till will do good from
> experience after working with him on a project.)
>
> - Helgi
>

It is the more sensible course of action imho.

--
Arnaud.

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Parent Message unknown Re: [PEPr] Comment on File System::S3

by Cesar D. Rodas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

On 06/12/2007, Bertrand Mansion <golgote@...> wrote:
>
> Obviously Cesar's class was copied without great care. If Till knew
> he was stealing public code, he would have at least modified the
> comments, fixed the English mistakes and changed more, unless he is
> silly? I personally believe him when he explains how he got to work
> on the code.


Truth

Now I think he should add Cesar as author of his class since a lot of
> code comes from him. But the package is now PHP5 and cleaner than
> what is found on PHPClasses.org (although could still be improved).
> Let's try to be constructive. If Cesar is interested he could even be
> co-leader on the package. Both Till and Cesar sounds like nice persons.


I can publish my code where I want, and if I have not publish my code on
PEAR that should be for something. And why re-publish the same code on PEAR
is that is free-available on other project-hosting?

I was thinking all the day, and I think PEAR's people are so smart, and they
will not approved the proposal, it would be other thing if the guy ask
permission to port the code to pear, just for be friendly,  or at least not
modifying the copyright (you're legally free to do this)

I saw on other message that he fix the code, is that true?, he just add some
"private" "public", and change some constants name. I personally choose to
develop the code for PHP4 and greater... that was not a bug.

Other thing would be is he fix a big bug, or made useful changes for the
open source community.

--

> Bertrand Mansion
> Mamasam
> Work : http://www.mamasam.com
> Blog : http://golgote.freeflux.net
>
> --
> PEAR Development Mailing List ( http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
I will still work on the project to improve it, when I have a few of time,
because right now I am having other important projects too ;)


Saludos desde Paraguay!

--
Best Regards

Cesar D. Rodas
http://www.cesarodas.com
http://www.thyphp.com
http://www.phpajax.org
Phone: +595-961-974165

Re: Re: [PEPr] Comment on File System::S3

by JoshuaEichorn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Lets just drop this proposal.

I'd like s3 support but there is much better code out there to start
from (like the s3 code in solar)

-josh

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: [PEPr] Comment on File System::S3

by David Coallier-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

yeah I agree, it is obviously Cesar's code and after a look in solar's
code, it is indeed much better.

Cesar, I am sure Till didn't mean to take your code (And I know him
enough to cover his back on that one), he probably didn't even know
that the internals used your code (and I have seen this happen (code
used by internals from open source projects) quite often in
companies). I am sorry that happened to you and I hope you still
believe we are smart :P

Sorry for the inconvenience. Till are you ok with the choice of
pulling the proposal ?

On Dec 6, 2007 4:55 PM, Joshua Eichorn <josh@...> wrote:

> Lets just drop this proposal.
>
> I'd like s3 support but there is much better code out there to start
> from (like the s3 code in solar)
>
> -josh
>
> --
>
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



--
David Coallier,
Founder & Software Architect,
Agora Production (http://agoraproduction.com)
51.42.06.70.18

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: [PEPr] Comment on File System::S3

by tfk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Dec 6, 2007 10:55 PM, Joshua Eichorn <josh@...> wrote:
> Lets just drop this proposal.
>
> I'd like s3 support but there is much better code out there to start
> from (like the s3 code in solar)
>
> -josh

I agree and I just removed the proposal. The code is still on my server.

Since many people expressed interest in it, we'll work on something
new, clean and (probably) re-propose later on.
I'll make sure a million people see this so this doesn't happen again.

Thanks for all comments,
Till

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: [PEPr] Comment on File System::S3

by Helgi Þormar Þorbjörnsson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Dec 7, 2007 6:59 AM, till <klimpong@...> wrote:

> On Dec 6, 2007 10:55 PM, Joshua Eichorn <josh@...> wrote:
> > Lets just drop this proposal.
> >
> > I'd like s3 support but there is much better code out there to start
> > from (like the s3 code in solar)
> >
> > -josh
>
> I agree and I just removed the proposal. The code is still on my server.
>
> Since many people expressed interest in it, we'll work on something
> new, clean and (probably) re-propose later on.
> I'll make sure a million people see this so this doesn't happen again.


Make sure to keep us in the loop on this new code since there seems to be
enough interest in, even just as an observer.

- Helgi

Re: Re: [PEPr] Comment on File System::S3

by pmjones :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 06 Dec 2007, at 16:55, Joshua Eichorn wrote:

> Lets just drop this proposal.
>
> I'd like s3 support but there is much better code out there to start  
> from (like the s3 code in solar)

Which S3 code in Solar is this?  There's naught at <http://solarphp.com/svn 
 > ... perhaps there's a Solar user who has written some S3 code?  
Would be nice to have a link.



--

Paul M. Jones  <http://paul-m-jones.com>

Solar: Simple Object Library and Application Repository
for PHP5.  <http://solarphp.com>

Join the Solar community wiki!  <http://solarphp.org>

Savant: The simple, elegant, and powerful solution for
templates in PHP.  <http://phpsavant.com>

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: [PEPr] Comment on File System::S3

by Antti Holvikari-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Dec 7, 2007 4:31 PM, Paul M Jones <pmjones88@...> wrote:

>
> On 06 Dec 2007, at 16:55, Joshua Eichorn wrote:
>
> > Lets just drop this proposal.
> >
> > I'd like s3 support but there is much better code out there to start
> > from (like the s3 code in solar)
>
> Which S3 code in Solar is this?  There's naught at <http://solarphp.com/svn
>  > ... perhaps there's a Solar user who has written some S3 code?
> Would be nice to have a link.

Hey Paul,

I think it's this (by Travis):

http://solarphp-domain51.googlecode.com/svn/trunk/Domain51/Service/Amazon/

http://solarphp.org/wiki/Projects/Domain51


--
Antti Holvikari

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: [PEPr] Comment on File System::S3

by David Coallier-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Personally I would say this is the one I looked at:

http://solarphp-domain51.googlecode.com/svn/trunk/Domain51/Service/Amazon/

Maybe josh has another one...

On Dec 7, 2007 9:31 AM, Paul M Jones <pmjones88@...> wrote:

>
> On 06 Dec 2007, at 16:55, Joshua Eichorn wrote:
>
> > Lets just drop this proposal.
> >
> > I'd like s3 support but there is much better code out there to start
> > from (like the s3 code in solar)
>
> Which S3 code in Solar is this?  There's naught at <http://solarphp.com/svn
>  > ... perhaps there's a Solar user who has written some S3 code?
> Would be nice to have a link.
>
>
>
> --
>
> Paul M. Jones  <http://paul-m-jones.com>
>
> Solar: Simple Object Library and Application Repository
> for PHP5.  <http://solarphp.com>
>
> Join the Solar community wiki!  <http://solarphp.org>
>
> Savant: The simple, elegant, and powerful solution for
> templates in PHP.  <http://phpsavant.com>
>
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



--
David Coallier,
Founder & Software Architect,
Agora Production (http://agoraproduction.com)
51.42.06.70.18

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: [PEPr] Comment on File System::S3

by JoshuaEichorn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nope thats the one.
-josh
David Coallier wrote:

> Personally I would say this is the one I looked at:
>
> http://solarphp-domain51.googlecode.com/svn/trunk/Domain51/Service/Amazon/
>
> Maybe josh has another one...
>
> On Dec 7, 2007 9:31 AM, Paul M Jones <pmjones88@...> wrote:
>  
>> On 06 Dec 2007, at 16:55, Joshua Eichorn wrote:
>>
>>    
>>> Lets just drop this proposal.
>>>
>>> I'd like s3 support but there is much better code out there to start
>>> from (like the s3 code in solar)
>>>      
>> Which S3 code in Solar is this?  There's naught at <http://solarphp.com/svn
>>  > ... perhaps there's a Solar user who has written some S3 code?
>> Would be nice to have a link.
>>
>>
>>
>> --
>>
>> Paul M. Jones  <http://paul-m-jones.com>
>>
>> Solar: Simple Object Library and Application Repository
>> for PHP5.  <http://solarphp.com>
>>
>> Join the Solar community wiki!  <http://solarphp.org>
>>
>> Savant: The simple, elegant, and powerful solution for
>> templates in PHP.  <http://phpsavant.com>
>>
>>
>> --
>> PEAR Development Mailing List (http://pear.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>    
>
>
>
>  

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: [PEPr] Comment on File System::S3

by Christian Schmidt-13 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

till wrote:
> Since many people expressed interest in it, we'll work on something
> new, clean and (probably) re-propose later on.

Are you still expecting to re-propose it? If so, what is your timeframe?
I am also very interested.

Thanks,

Christian

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: [PEPr] Comment on File System::S3

by tfk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Jan 3, 2008 6:59 PM, Christian Schmidt <pear.php.net@...> wrote:

> till wrote:
> > Since many people expressed interest in it, we'll work on something
> > new, clean and (probably) re-propose later on.
>
> Are you still expecting to re-propose it? If so, what is your timeframe?
> I am also very interested.
>
> Thanks,
>
> Christian
>

Me too, but I have no ETA or general timeframe yet. I am working on
other packages this week and next week.
I'm sure I'll get to it in January.

Regards,
Till

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: [PEPr] Comment on File System::S3

by Christian Schmidt-14 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

till wrote:
>> Are you still expecting to re-propose it? If so, what is your timeframe?
>> I am also very interested.
> Me too, but I have no ETA or general timeframe yet. I am working on
> other packages this week and next week.

I actually need it by yesterday :-)

Perhaps we can join forces. If you already have done some coding,
perhaps you can share it with me so I can work on it for the next few
weeks until you have time again?

I had hoped that I could start out using Cesar's implementation and then
switch to a PEAR version later on, but it has turned out to be too
immature (doesn't support subfolders, is_dir() etc.).

For the record, I don't have anything against Cesar or his code. I just
prefer using code from PEAR for various reasons (easier upgrading,
official bug tracker, better quality asssurance etc.).


Christian

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: [PEPr] Comment on File System::S3

by Travis Swicegood :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Jan 4, 2008, at 6:44 AM, Christian Schmidt wrote:


> I had hoped that I could start out using Cesar's implementation and  
> then switch to a PEAR version later on, but it has turned out to be  
> too immature (doesn't support subfolders, is_dir() etc.).
>

That's actually hard to do without faking it.  S3 is a flat file  
system that doesn't have the concept of folders other than  
"emulated".  You can filter your search by "/bucket/path/to/", but "/
path/to/file1" is actually the name/key of the object, not a  
directory within it.

-Travis

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Parent Message unknown Re: Re: [PEPr] Comment on File System::S3

by Christian Schmidt-14 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Travis Swicegood wrote:
>> I had hoped that I could start out using Cesar's implementation and
>> then switch to a PEAR version later on, but it has turned out to be
>> too immature (doesn't support subfolders, is_dir() etc.).
>
> That's actually hard to do without faking it.

The S3Fox extension for Firefox does a pretty good job
<http://www.rjonna.com/ext/s3fox.php>. The API does support it to some
extent, e.g. with the "prefix" and "delimiter" parameters.

But yes, it is only an emulation (e.g. S3Fox supports empty folders
using a hidden file). However, in certain situations it would be useful,
but users should of course be aware that this is only an emulation and
might not resemble a local filesystem perfectly. Perhaps it can be made
an option whether mkdir() should be enabled.

Do you think it is feasible?

In any case, is_dir() should return true for the bucket itself, e.g.
is_dir('s3://mybucket').


Christian

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: [PEPr] Comment on File System::S3

by Christian Schmidt-14 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Helgi Þormar Þorbjörnsson wrote:
>
> Make sure to keep us in the loop on this new code since there seems to be
> enough interest in, even just as an observer.

For those interested I can tell that I have started working on an S3
library written from scratch. I talked to Till and he hasn't started his
implementation yet, so there is no duplicating of efforts.

I plan to write a general OO library and then write a stream wrapper
that utilizes this library. Not all aspects of the S3 API can be mapped
to a PHP stream wrapper.

The library is taking shape nicely. Next on the todo list is ACL support
and better error handling. A snapshot can be seen here (comments are
welcome):
https://dev.dev.peytz.dk/~dr/src/S3/S3/

I really needed a working stream wrapper by last week, so I wrote one
that utilizes another S3 library found on the net (this library had some
major problems, so I chose to write my own). It works pretty good
including emulated support for folders. I plan to convert this wrapper
to use my own library.

I intend to propose this to PEAR in the not too distant future.


BTW I think stream wrappers is one of the most underestimated features
in PHP. I am surprised that there aren't wrappers available for all
kinds of tree-structured data sources.


Christian

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: [PEPr] Comment on File System::S3

by Christian Schmidt-14 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Christian Schmidt skrev:
> For those interested I can tell that I have started working on an S3
> library written from scratch. [...]

The library and the stream wrapper are now in a usable state, though
they still require more testing (and a test suite).

The PEPr proposal draft is here:
http://pear.php.net/pepr/pepr-proposal-show.php?id=527


Christian

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

< Prev | 1 - 2 | Next >