Thread: Releases: 7.0.1, 7.0.2

Releases: 7.0.1, 7.0.2

From
Eugene Karpachov
Date:
Excuse me, but why postgresql team doesn't release patches? I mean something
like postgresql-7.0-7.0.1.diff.gz etc. It is big waste of traffic to download
all the source distribution again.

--
jk

Re: Releases: 7.0.1, 7.0.2

From
The Hermit Hacker
Date:
On Tue, 6 Jun 2000, Eugene Karpachov wrote:

> Excuse me, but why postgresql team doesn't release patches? I mean something
> like postgresql-7.0-7.0.1.diff.gz etc. It is big waste of traffic to download
> all the source distribution again.

we've tried in the past, and so far nobody has been able to give us a
patch command that works effectively *shrug*  each time we've tried, the
patch has blown up in someone's face :(



Re: Releases: 7.0.1, 7.0.2

From
Eugene Karpachov
Date:
Tue, Jun 06, 2000 at 03:24:56PM -0300, The Hermit Hacker пишет:
> On Tue, 6 Jun 2000, Eugene Karpachov wrote:
>
> > Excuse me, but why postgresql team doesn't release patches? I mean something
> > like postgresql-7.0-7.0.1.diff.gz etc. It is big waste of traffic to download
> > all the source distribution again.
>
> we've tried in the past, and so far nobody has been able to give us a
> patch command that works effectively *shrug*  each time we've tried, the
> patch has blown up in someone's face :(

Ok, I'll try it myself.

I have no 7.0.1 so I trying to make diff from 7.0 to 7.0.2.

%tar -zxf postgresql-7.0.tar.gz
%tar -zxf postgresql-7.0.2.tar.gz
%diff -rNU 3 postgresql-7.0 postgresql-7.0.2 > postgresql-7.0-7.0.2.diff
%wc postgresql-7.0-7.0.2.diff
  23411  103967  914476 postgresql-7.0-7.0.2.diff

It has not blown up in my face! 914476 bytes only.

And better:
%diff -rNU 3 postgresql-7.0 postgresql-7.0.2 |
    gzip -9 >postgresql-7.0-7.0.2.diff.gz
%wc -c postgresql-7.0-7.0.2.diff.gz
 163903 postgresql-7.0-7.0.2.diff.gz

or better:
%diff -rNU 3 postgresql-7.0 postgresql-7.0.2 |
    bzip2 >postgresql-7.0-7.0.2.diff.bz2
%wc -c postgresql-7.0-7.0.2.diff.gz
 131978 postgresql-7.0-7.0.2.diff.bz2

131978 bytes - it is not the same as 7211311 (postgresql-7.0.2.tar.gz)!

The only problem is how to deal with binary files - those .gz etc?
May be include them into distribution untarred/ungzipped because the
whole distribution is gzipped anyway?

--
jk

Re: Releases: 7.0.1, 7.0.2

From
Vince Vielhaber
Date:
On Wed, 7 Jun 2000, Eugene Karpachov wrote:

> Tue, Jun 06, 2000 at 03:24:56PM -0300, The Hermit Hacker �����:
> > On Tue, 6 Jun 2000, Eugene Karpachov wrote:
> >
> > > Excuse me, but why postgresql team doesn't release patches? I mean something
> > > like postgresql-7.0-7.0.1.diff.gz etc. It is big waste of traffic to download
> > > all the source distribution again.
> >
> > we've tried in the past, and so far nobody has been able to give us a
> > patch command that works effectively *shrug*  each time we've tried, the
> > patch has blown up in someone's face :(
>
> Ok, I'll try it myself.
>
> I have no 7.0.1 so I trying to make diff from 7.0 to 7.0.2.
>
> %tar -zxf postgresql-7.0.tar.gz
> %tar -zxf postgresql-7.0.2.tar.gz
> %diff -rNU 3 postgresql-7.0 postgresql-7.0.2 > postgresql-7.0-7.0.2.diff
> %wc postgresql-7.0-7.0.2.diff
>   23411  103967  914476 postgresql-7.0-7.0.2.diff
>
> It has not blown up in my face! 914476 bytes only.
>
> And better:
> %diff -rNU 3 postgresql-7.0 postgresql-7.0.2 |
>     gzip -9 >postgresql-7.0-7.0.2.diff.gz
> %wc -c postgresql-7.0-7.0.2.diff.gz
>  163903 postgresql-7.0-7.0.2.diff.gz
>
> or better:
> %diff -rNU 3 postgresql-7.0 postgresql-7.0.2 |
>     bzip2 >postgresql-7.0-7.0.2.diff.bz2
> %wc -c postgresql-7.0-7.0.2.diff.gz
>  131978 postgresql-7.0-7.0.2.diff.bz2
>
> 131978 bytes - it is not the same as 7211311 (postgresql-7.0.2.tar.gz)!
>
> The only problem is how to deal with binary files - those .gz etc?
> May be include them into distribution untarred/ungzipped because the
> whole distribution is gzipped anyway?
>
>

The problem wasn't in creating the diff, that can be done out of cvs
easily enough.  The problem was the resultant patch that wasn't 100%
portable on all systems and would blow up in someone's face when they
tried to apply it.

Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH    email: vev@michvhf.com    http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================