FYI - For those working w/ mercurial:
I've mirrored this morning's latest changes from Massimo to
http://bitbucket.org/yarko/web2py

On Tue, Nov 11, 2008 at 10:44 AM, Yarko T <[EMAIL PROTECTED]> wrote:

> Jonathan -
> Nice work!
>
> For everyone (I think this will work easiest - if I'm missing something,
> let me know):
>
> If you know / use mercurial, go ahead and figure out Bitbucket.org.
>
> If not, you might as well figure out Launchpad.net and bazaar.
>
> Either way, you should have a Launchpad account.  When you have something
> you want people to look at, test (make sure no one else has problems) -
> point them to your branch and ask for tests (branch on Launchpad, or  branch
> on Bitbucket - doesn't matter).
>
> The "gift" of Bitbucket is you don't need to know / use mercurial:  just
> grab an "on-demand"  zip or gzipped-tar, and away you go!
>
> When your patch is ready for Massimo,  he (I think) will appreciate being
> able to use merge tools automatically (e.g. kdiff3, ....).
>
> Massimo:  2 ways to do that:
> -   take a branch from Launchpad that someone requests be merged;
> -   take a zip from bitbucket.org that someone requests to me merged (no
> need to use mercurial)
>
> IF you use Bitbucket, you should start by forking the web2py mirror (it
> includes t2 - if you're not using it, take it out of your branch after you
> "fork").   IF YOU DO THAT,  THAT ARCHIVE ALREADY HAS  .bzr  ---- DO NOT
> REMOVE THIS - It will make it easy for Massimo to do a test merge on his
> local machine w/ bazaar.
>
> I hope this will make it easy to take contributions from more people
> without requiring them to learn bazaar if they already know mercurial.
>
> Let me know if you have questions, or if this is confusing.
>
> Regards,
> Yarko
>
>
> Just to make sure there's no confusion:
>
>
> On Tue, Nov 11, 2008 at 9:43 AM, mdipierro <[EMAIL PROTECTED]>wrote:
>
>>
>> Hi Jonathan,
>>
>> please make them into a single one IS_URL(mode="strict" or "generic")
>> and email it to me. I will include it in the official distribution. I
>> do not use bitbucket. bz only.
>>
>> Massmo
>>
>> On Nov 11, 6:28 am, Jonathan Benn <[EMAIL PROTECTED]> wrote:
>> > Hi everyone,
>> >
>> > It took me a few days but I managed to implement and thoroughly test
>> > two new validator functions for web2py:
>> >
>> > IS_GENERIC_URL: this precisely follows the URL specs (RFC 2396). It
>> > screens out strings with funny characters, and checks the inputed
>> > scheme against an authoritative list of all valid schemes. This
>> > generic function will work to validate ANY protocol that uses URLs.
>> >
>> > IS_HTTP_URL: this precisely follows the HTTP protocol URL specs (RFC
>> > 2616). It only works for http and https, but it handles all the weird
>> > cases, like relative URLs, abbreviated URLs, ports, localhost, etc.
>> > etc. It checks to make sure the domain makes sense, and it checks the
>> > top-level domain against an authoritative list. If you input an
>> > abbreviated URL, it will prepend "http://"; unless you specify
>> > otherwise when you construct the validator.
>> >
>> > As you might guess, successful validations of IS_HTTP_URL are a subset
>> > of what IS_GENERIC_URL validates.
>> >
>> > It is not possible to create a version of IS_URL that properly
>> > validates HTTP, FTP and FILE and other schemes, because each scheme is
>> > mutually exclusive as far as I can tell. They each have their own
>> > different syntaxes. Therefore, I suggest that for IS_URL we either:
>> >
>> >     (1) Make it into an "umbrella function" that runs a series of
>> > validators one after the other, returning the first that is accepted
>> >
>> > OR
>> >
>> >     (2) We rename either IS_HTTP_URL or IS_GENERIC_URL to IS_URL,
>> > depending on which one best reflects the desired implementation for
>> > IS_URL
>> >
>> > I'm going to try to figure out how to upload my changes to BitBucket
>> > tomorrow. For anyone that would like to see my results immediately,
>> > please just send me an email and I'll be happy to send you the files.
>> >
>> > I hope the above helps at least a little,
>> >
>> > --Jonathan
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to