Re: Fwd: [UPDATE] py-django 1.1

2009-09-17 Thread Ryan Boggs
Has anyone else had a chance to take a look at this update yet?  Is it
ok?  If so, can someone please commit?

Please let me know if more is needed.

Thanks,
Ryan

On Sun, Sep 13, 2009 at 12:05 PM, Ryan Boggs
 wrote:
> On Sun, Sep 13, 2009 at 10:27 AM, Toni Mueller  wrote:
>>
>> Hi Ryan,
>>
>> On Sun, 13.09.2009 at 09:23:45 -0700, Ryan Boggs 
>>  wrote:
>>> On Sun, Sep 13, 2009 at 12:32:48PM +0200, Toni Mueller wrote:
>>> > The MESSAGE file has a reference to Django 1.0, which is not
>>> > suitable for Django 1.1.
>>> I will fix this and repost later today.  Since there are no 1.1
>>> specific docs, I will reference dev if that is ok.
>>
>> that would be ok for me. I'd like to point out that the docs are
>> _quite_ different for 1.0 and dev, the former being MUCH less
>> extensive, and also wrong/incomplete with respect to the current API.
>>
>>> Both of the 1.0.3 and 1.1 updates came well after the 4.6 ports lock so
>>> I don't know if there was anything we could have done to get it in in
>>> 4.6.
>>
>> Sorry, then.
>>
>> I thought these two releases had come in time, but didn't closely
>> monitor the ports tree locking and unlocking.
>>
>>
>> Kind regards,
>> --Toni++
>>
>>
>
> Attached is an updated diff with the edit to the MESSAGE file.  Please
> let me know if more changes are needed.
>
> Out of curiosity, should I remove the section in the MESSAGE file that
> talks about upgrading from version 0.96 to 1.0?  It helps those who
> need to upgrade but as it was mentioned before, most of the projects
> nowadays are for 1.0+.
>
> --
> Thanks,
> Ryan
>


django11.diff
Description: Binary data


Re: Fwd: [UPDATE] py-django 1.1

2009-09-13 Thread Ryan Boggs
On Sun, Sep 13, 2009 at 10:27 AM, Toni Mueller  wrote:
>
> Hi Ryan,
>
> On Sun, 13.09.2009 at 09:23:45 -0700, Ryan Boggs 
>  wrote:
>> On Sun, Sep 13, 2009 at 12:32:48PM +0200, Toni Mueller wrote:
>> > The MESSAGE file has a reference to Django 1.0, which is not
>> > suitable for Django 1.1.
>> I will fix this and repost later today.  Since there are no 1.1
>> specific docs, I will reference dev if that is ok.
>
> that would be ok for me. I'd like to point out that the docs are
> _quite_ different for 1.0 and dev, the former being MUCH less
> extensive, and also wrong/incomplete with respect to the current API.
>
>> Both of the 1.0.3 and 1.1 updates came well after the 4.6 ports lock so
>> I don't know if there was anything we could have done to get it in in
>> 4.6.
>
> Sorry, then.
>
> I thought these two releases had come in time, but didn't closely
> monitor the ports tree locking and unlocking.
>
>
> Kind regards,
> --Toni++
>
>

Attached is an updated diff with the edit to the MESSAGE file.  Please
let me know if more changes are needed.

Out of curiosity, should I remove the section in the MESSAGE file that
talks about upgrading from version 0.96 to 1.0?  It helps those who
need to upgrade but as it was mentioned before, most of the projects
nowadays are for 1.0+.

-- 
Thanks,
Ryan


django11.diff
Description: Binary data


Re: Fwd: [UPDATE] py-django 1.1

2009-09-13 Thread Toni Mueller

Hi Ryan,

On Sun, 13.09.2009 at 09:23:45 -0700, Ryan Boggs  
wrote:
> On Sun, Sep 13, 2009 at 12:32:48PM +0200, Toni Mueller wrote:
> > The MESSAGE file has a reference to Django 1.0, which is not
> > suitable for Django 1.1.
> I will fix this and repost later today.  Since there are no 1.1 
> specific docs, I will reference dev if that is ok.

that would be ok for me. I'd like to point out that the docs are
_quite_ different for 1.0 and dev, the former being MUCH less
extensive, and also wrong/incomplete with respect to the current API.

> Both of the 1.0.3 and 1.1 updates came well after the 4.6 ports lock so 
> I don't know if there was anything we could have done to get it in in 
> 4.6. 

Sorry, then.

I thought these two releases had come in time, but didn't closely
monitor the ports tree locking and unlocking.


Kind regards,
--Toni++



Re: Fwd: [UPDATE] py-django 1.1

2009-09-13 Thread Ryan Boggs
On Sun, Sep 13, 2009 at 12:32:48PM +0200, Toni Mueller wrote:
> 
> Hi,
> 
> On Sat, 05.09.2009 at 13:57:00 -0700, Ryan Boggs  wrote:
> > Has anyone else tested the attached diff yet?  If so, are there any changes 
> > that need to 
> > be made before it can be committed?  Please let me know so I can make the 
> > necessary 
> > adjustments.
> 
> I'm just looking into it, after creating a simple-minded update myself,
> because I didn't look into this list first.
> 
> The MESSAGE file has a reference to Django 1.0, which is not
> suitable for Django 1.1.
> 
I will fix this and repost later today.  Since there are no 1.1 
specific docs, I will reference dev if that is ok.
> 
> Slightly off-topic, but we should make an effort to get Django 1.1 into
> ports RSN, as both Django apps tend to depend on 1.1, and 1.0.2 has a
> known security hole. It should imho have been in 4.6, but I can blame
> myself for not spotting the problem and investing work myself in time,
> too.
> 
Both of the 1.0.3 and 1.1 updates came well after the 4.6 ports lock so 
I don't know if there was anything we could have done to get it in in 
4.6. 
> 
> Kind regards,
> --Toni++
> 



Re: Fwd: [UPDATE] py-django 1.1

2009-09-13 Thread Toni Mueller

Hi,

On Sat, 05.09.2009 at 13:57:00 -0700, Ryan Boggs  wrote:
> Has anyone else tested the attached diff yet?  If so, are there any changes 
> that need to 
> be made before it can be committed?  Please let me know so I can make the 
> necessary 
> adjustments.

I'm just looking into it, after creating a simple-minded update myself,
because I didn't look into this list first.

The MESSAGE file has a reference to Django 1.0, which is not
suitable for Django 1.1.


Slightly off-topic, but we should make an effort to get Django 1.1 into
ports RSN, as both Django apps tend to depend on 1.1, and 1.0.2 has a
known security hole. It should imho have been in 4.6, but I can blame
myself for not spotting the problem and investing work myself in time,
too.


Kind regards,
--Toni++



Re: Fwd: [UPDATE] py-django 1.1

2009-09-05 Thread Ryan Boggs
Hi,

Sorry if this is a double post but it doesn't look like the email I sent 
yesterday made it 
to the list.

Has anyone else tested the attached diff yet?  If so, are there any changes 
that need to 
be made before it can be committed?  Please let me know so I can make the 
necessary 
adjustments.

Also, can someone commit if/when this is approved?

Thanks,
Ryan 

Date: Fri, 4 Sep 2009 18:12:08 +0200
From: Mark Patruck 
To: Ryan Boggs 
Cc: ports@openbsd.org
Subject: Re: Fwd: [UPDATE] py-django 1.1

Tested on i386 and amd64.

On Fri, Sep 04, 2009 at 06:21:34AM -0700, Ryan Boggs wrote:
> 
> 
> >From: Ryan Boggs 
> >Date: August 9, 2009 9:53:33 AM PDT
> >To: ports@openbsd.org
> >Subject: Re: [UPDATE] py-django 1.1
> >
> 
> >On Thu, Jul 30, 2009 at 10:37 PM, Ryan Boggs wrote:
> >>Hi,
> >>
> >>Attached is the diff for py-django 1.1.  I've tested it on i386 and
> >>amd64 with a sample site and with the regression tests it comes with.
> >>
> >>Comments? ok?
> >>
> >>Thanks,
> >>Ryan
> >>
> >
> >Hi,
> >Has anyone had a chance to test/review this yet?
> >
> >Thanks,
> >Ryan
> 
> >
> 
> Hi,
> 
> It's been awhile but I haven't rec'd any feedback on this update
> yet.  Has anyone tested this update?  If so, are there any changes
> that need to be made?  Please let me know.
> 
> Also, can someone commit once it's been reviewed by others?
> 
> Thanks,
> Ryan
> 
> 
> >
> 
Index: Makefile
===
RCS file: /cvs/ports/www/py-django/Makefile,v
retrieving revision 1.7
diff -u -p Makefile
--- Makefile3 Jun 2009 17:02:54 -   1.7
+++ Makefile30 Jul 2009 01:00:50 -
@@ -2,11 +2,10 @@
 
 COMMENT=   high-level Python web framework
 
-V= 1.0.2
-MODPY_EGG_VERSION= ${V}-final
+MODPY_EGG_VERSION= 1.1
 LNAME= django
 DISTNAME=  Django-${MODPY_EGG_VERSION}
-PKGNAME=   py-${LNAME}-${V}
+PKGNAME=   py-${LNAME}-${MODPY_EGG_VERSION}
 CATEGORIES=www
 
 HOMEPAGE=  http://www.djangoproject.com/
@@ -19,13 +18,13 @@ PERMIT_PACKAGE_FTP= Yes
 PERMIT_DISTFILES_CDROM=Yes
 PERMIT_DISTFILES_FTP=  Yes
 
-MASTER_SITES=  http://media.djangoproject.com/releases/${V}/
+MASTER_SITES=  http://media.djangoproject.com/releases/${MODPY_EGG_VERSION}/
 
 MODULES=   lang/python
 
 NO_REGRESS=Yes
 
-SUBST_VARS+=   V LNAME
+SUBST_VARS+=   LNAME
 
 post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${LNAME}
Index: distinfo
===
RCS file: /cvs/ports/www/py-django/distinfo,v
retrieving revision 1.4
diff -u -p distinfo
--- distinfo3 Jun 2009 17:02:54 -   1.4
+++ distinfo30 Jul 2009 01:00:50 -
@@ -1,5 +1,5 @@
-MD5 (Django-1.0.2-final.tar.gz) = iTU+N0lmh3jxNw0uRE863A==
-RMD160 (Django-1.0.2-final.tar.gz) = DP6mIN8IMTENpO9R727k7xtll04=
-SHA1 (Django-1.0.2-final.tar.gz) = 8tkIjxev9H6hfldndAyrZ7KnO2s=
-SHA256 (Django-1.0.2-final.tar.gz) = 
UKXSKHQ6aaaCiZsgFBGUv4/T/XXq8zul8pMvQ+qT6g0=
-SIZE (Django-1.0.2-final.tar.gz) = 4649433
+MD5 (Django-1.1.tar.gz) = stdbRFejnEBforNr+Ca/aw==
+RMD160 (Django-1.1.tar.gz) = w64Gss0q88iqYFh0esvXZG6oPP0=
+SHA1 (Django-1.1.tar.gz) = aQ3aOVldcGeIQOkX1xL8kW0TfBY=
+SHA256 (Django-1.1.tar.gz) = V4M4vjKI7/hTA5rUmCl97Nw7sgJloMTe4J79+OJnyQA=
+SIZE (Django-1.1.tar.gz) = 5609609
? django11.diff
Index: pkg/MESSAGE
===
RCS file: /cvs/ports/www/py-django/pkg/MESSAGE,v
retrieving revision 1.2
diff -u -p pkg/MESSAGE
--- pkg/MESSAGE 3 Jun 2009 17:02:54 -   1.2
+++ pkg/MESSAGE 30 Jul 2009 01:00:50 -
@@ -4,6 +4,10 @@ ${PREFIX}/share/doc/${LNAME}/
 or online:
 http://www.djangoproject.com/documentation/1.0/
 
+Release notes about the changes that occurred in
+this release may be found online at:
+http://docs.djangoproject.com/en/dev/releases/${MODPY_EGG_VERSION}/
+
 If you want a database for Django you should install the Python
 database adapter(s) of your choice ('pkg_add py-psycopg2',
 'pkg_add py-mysql', etc).
@@ -13,3 +17,4 @@ version 0.96 and 1.0 that may cause problems when upgr
 projects.  A guide for upgrading projects can be found
 online at:
 http://docs.djangoproject.com/en/1.0/releases/1.0-porting-guide/
+
Index: pkg/PLIST
===
RCS file: /cvs/ports/www/py-django/pkg/PLIST,v
retrieving revision 1.4
diff -u -p pkg/PLIST
--- pkg/PLIST   3 Jun 2009 17:02:54 -   1.4
+++ pkg/PLIST   30 Jul 2009 01:00:52 -
@@ -1,6 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.4 2009/06/03 17:02:54 ian Exp $
 bin/${LNAME}-admin.py
-lib/python${MODPY_VERSION}/site-p

Re: Fwd: [UPDATE] py-django 1.1

2009-09-04 Thread Mark Patruck
Tested on i386 and amd64.

On Fri, Sep 04, 2009 at 06:21:34AM -0700, Ryan Boggs wrote:
> 
> 
> >From: Ryan Boggs 
> >Date: August 9, 2009 9:53:33 AM PDT
> >To: ports@openbsd.org
> >Subject: Re: [UPDATE] py-django 1.1
> >
> 
> >On Thu, Jul 30, 2009 at 10:37 PM, Ryan Boggs wrote:
> >>Hi,
> >>
> >>Attached is the diff for py-django 1.1.  I've tested it on i386 and
> >>amd64 with a sample site and with the regression tests it comes with.
> >>
> >>Comments? ok?
> >>
> >>Thanks,
> >>Ryan
> >>
> >
> >Hi,
> >Has anyone had a chance to test/review this yet?
> >
> >Thanks,
> >Ryan
> 
> >
> 
> Hi,
> 
> It's been awhile but I haven't rec'd any feedback on this update
> yet.  Has anyone tested this update?  If so, are there any changes
> that need to be made?  Please let me know.
> 
> Also, can someone commit once it's been reviewed by others?
> 
> Thanks,
> Ryan
> 
> 
> >
> 

-- 
Mark Patruck ( mark at wrapped.cx )
GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74  F644 0D3C F66F F286 5E51

http://www.wrapped.cx