Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-12 Thread Bryan Drewery
On 10/31/2014 1:56 PM, Baptiste Daroussin wrote: Hi all, tijl@ spotted an interesting point, distinfo and pkg-descr files files convenient are taking a lot of space for free, we can reduce the size of the while ports tree by a factor 2 by simply merging them into one of the other files

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-12 Thread Bryan Drewery
On 11/4/2014 3:21 PM, Chris H wrote: IMHO sorting out all the pkg(8) issues still at large, would be more prudent use of time, and resources. Just saying. +1 -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-07 Thread Bartek Rutkowski
On Fri, Oct 31, 2014 at 6:56 PM, Baptiste Daroussin b...@freebsd.org wrote: Hi all, tijl@ spotted an interesting point, distinfo and pkg-descr files files convenient are taking a lot of space for free, we can reduce the size of the while ports tree by a factor 2 by simply merging them into

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-07 Thread Chris H
On Fri, 7 Nov 2014 09:08:28 + Bartek Rutkowski ro...@freebsd.org wrote On Fri, Oct 31, 2014 at 6:56 PM, Baptiste Daroussin b...@freebsd.org wrote: Hi all, tijl@ spotted an interesting point, distinfo and pkg-descr files files convenient are taking a lot of space for free, we can

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-07 Thread Bartek Rutkowski
On Fri, Nov 7, 2014 at 6:47 PM, Chris H bsd-li...@bsdforge.com wrote: On Fri, 7 Nov 2014 09:08:28 + Bartek Rutkowski ro...@freebsd.org wrote On Fri, Oct 31, 2014 at 6:56 PM, Baptiste Daroussin b...@freebsd.org wrote: Hi all, tijl@ spotted an interesting point, distinfo and pkg-descr

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-07 Thread Chris H
On Fri, 7 Nov 2014 19:32:25 +0100 Bartek Rutkowski ro...@freebsd.org wrote On Fri, Nov 7, 2014 at 6:47 PM, Chris H bsd-li...@bsdforge.com wrote: On Fri, 7 Nov 2014 09:08:28 + Bartek Rutkowski ro...@freebsd.org wrote On Fri, Oct 31, 2014 at 6:56 PM, Baptiste Daroussin b...@freebsd.org

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-07 Thread Jeffrey Bouquet via freebsd-ports
On 11/07/14 10:32, Bartek Rutkowski wrote: On Fri, Nov 7, 2014 at 6:47 PM, Chris H bsd-li...@bsdforge.com wrote: On Fri, 7 Nov 2014 09:08:28 + Bartek Rutkowski ro...@freebsd.org wrote On Fri, Oct 31, 2014 at 6:56 PM, Baptiste Daroussin b...@freebsd.org wrote: Hi all, tijl@ spotted an

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-07 Thread Bartek Rutkowski
On Fri, Nov 7, 2014 at 9:15 PM, Jeffrey Bouquet via freebsd-ports freebsd-ports@freebsd.org wrote: On 11/07/14 10:32, Bartek Rutkowski wrote: On Fri, Nov 7, 2014 at 6:47 PM, Chris H bsd-li...@bsdforge.com wrote: On Fri, 7 Nov 2014 09:08:28 + Bartek Rutkowski ro...@freebsd.org wrote On

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-06 Thread Anton Shterenlikht
I've been following this discussion with growing alarm. A similarly elevated tone conversation led to dougb@ (the portmaster author) leaving the project a few years back, when pkg was first introduced. I think the project has lost as a result. As a user, I see and appreciate the initiative and

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-06 Thread Mark Felder
On Thu, Nov 6, 2014, at 03:24, Anton Shterenlikht wrote: I'm not sure what you mean here. I've systems where I install 99% of packages from official repo servers, and then rebuild 1% from ports where the default options are no good for me. Is this not supported? Or do you mean something

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-06 Thread Freddie Cash
On Nov 6, 2014 8:26 PM, Mark Felder f...@freebsd.org wrote: On Thu, Nov 6, 2014, at 03:24, Anton Shterenlikht wrote: I'm not sure what you mean here. I've systems where I install 99% of packages from official repo servers, and then rebuild 1% from ports where the default options are

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-06 Thread Chris H
On Thu, 06 Nov 2014 22:26:07 -0600 Mark Felder f...@freebsd.org wrote On Thu, Nov 6, 2014, at 03:24, Anton Shterenlikht wrote: I'm not sure what you mean here. I've systems where I install 99% of packages from official repo servers, and then rebuild 1% from ports where the default

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-06 Thread Darren Pilgrim
On 11/6/2014 8:35 PM, Freddie Cash wrote: I know there was talk about it in the recent past, but has the export the svn revision of the ports tree used to build packages feature been added to the repo metadata? That would eliminate a lot of the issues associated with mixing ports and packages,

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-05 Thread Jeffrey Bouquet via freebsd-ports
: Subject: Re: Reducing the size of the ports tree (brainstorm v2) To: Matthias Andree matthias.and...@gmx.de Cc: Tijl Coosemans t...@freebsd.org, FreeBSD Ports freebsd-ports@freebsd.org Date: Tuesday, November 4, 2014, 5:59 PM On Tue, Nov 4, 2014 at 5:39 PM, Matthias Andree matthias.and

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-05 Thread Lowell Gilbert
Chris H bsd-li...@bsdforge.com writes: Difficult to tell for sure. I haven't examined the [UFS/ZFS] source to know for sure. Be valuable info. :) Reading source not required: start with man newfs; note blocksize and frag-size. ___

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-05 Thread Chris H
On Wed, 05 Nov 2014 07:26:01 -0500 Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org wrote Chris H bsd-li...@bsdforge.com writes: Difficult to tell for sure. I haven't examined the [UFS/ZFS] source to know for sure. Be valuable info. :) Reading source not required: start with man

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-05 Thread Roger Marquis
Darren Pilgrim wrote: The issue of 512b sector storage media going underlies this discussion. Whether the block size or fragment size is 512b or 512k it still seems trivial given drive capacities. What's missing here is a business case. Would it be worth all the refactoring that myself and

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-05 Thread Mark Felder
On Wed, Nov 5, 2014, at 10:16, Roger Marquis wrote: Was a time when FreeBSD was believed to be a more stable and compatible platform than Linux. Of course all that backwards compatibility was thrown out the window with this year's make and pkg updates, which made management at my business

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-05 Thread Roger Marquis
Mark Felder wrote: Here's the lifecycle of a typical pre-pkgng server: 1) Install FreeBSD 2) Install your ports/packages 3) Server is in production 4) Attempt to update ports/packages 5) Disaster is now waiting to happen Perhaps typical for you but everywhere I've worked has had a much easier

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-05 Thread Jeffrey Bouquet via freebsd-ports
On 11/05/14 13:30, Mark Felder wrote: On Wed, Nov 5, 2014, at 10:16, Roger Marquis wrote: Was a time when FreeBSD was believed to be a more stable and compatible platform than Linux. Of course all that backwards compatibility was thrown out the window with this year's make and pkg updates,

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-05 Thread Mark Felder
On Wed, Nov 5, 2014, at 18:01, Jeffrey Bouquet wrote: On 11/05/14 13:30, Mark Felder wrote: - duplicate packages registered in pkg_info I could simply /bin/rm -rf the duplicate subdirectory. Your're treating the symptom not the problem. This solves nothing and leaves potentially

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-05 Thread Jeffrey Bouquet via freebsd-ports
On 11/05/14 16:42, Mark Felder wrote: On Wed, Nov 5, 2014, at 18:01, Jeffrey Bouquet wrote: On 11/05/14 13:30, Mark Felder wrote: - duplicate packages registered in pkg_info I could simply /bin/rm -rf the duplicate subdirectory. Your're treating the symptom not the problem. This solves

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-04 Thread Chris H
On Mon, 3 Nov 2014 21:24:38 +0100 Tijl Coosemans t...@freebsd.org wrote On Mon, 03 Nov 2014 09:22:09 +0100 Matthias Andree matthias.and...@gmx.de wrote: Am 31.10.2014 um 19:56 schrieb Baptiste Daroussin: Hi all, tijl@ spotted an interesting point, distinfo and pkg-descr files files

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-04 Thread Chris H
On Tue, 04 Nov 2014 13:21:31 -0800 Chris H bsd-li...@bsdforge.com wrote On Mon, 3 Nov 2014 21:24:38 +0100 Tijl Coosemans t...@freebsd.org wrote On Mon, 03 Nov 2014 09:22:09 +0100 Matthias Andree matthias.and...@gmx.de wrote: Am 31.10.2014 um 19:56 schrieb Baptiste Daroussin: Hi all,

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-04 Thread Warren Block
On Tue, 4 Nov 2014, Chris H wrote: gpart(8) -a gives you what you need. If it's truly as bad as all that, mounting the ports tree on a 512k aligned slice will reduce the slack you appear to be referring to. zfs(8) also has this ability. Not alignment, but filesystem block size. But that can

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-04 Thread Darren Pilgrim
On 11/4/2014 2:28 PM, Chris H wrote: On Tue, 04 Nov 2014 13:21:31 -0800 Chris H bsd-li...@bsdforge.com wrote gpart(8) -a gives you what you need. If it's truly as bad as all that, mounting the ports tree on a 512k aligned slice will reduce the slack ahem... that was s/512k/512b/g The issue

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-04 Thread Matthias Andree
Am 03.11.2014 um 21:24 schrieb Tijl Coosemans: Other tools won't change anything. It's the file system that would have to change which is not going to happen. When the ports tree was created disks were much smaller and file systems were better (still not good) at storing small files. Today

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-04 Thread Chris H
On Tue, 4 Nov 2014 16:16:09 -0700 (MST) Warren Block wbl...@wonkity.com wrote On Tue, 4 Nov 2014, Chris H wrote: gpart(8) -a gives you what you need. If it's truly as bad as all that, mounting the ports tree on a 512k aligned slice will reduce the slack you appear to be referring to.

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-04 Thread Adam Vande More
On Tue, Nov 4, 2014 at 5:39 PM, Matthias Andree matthias.and...@gmx.de wrote: Am 03.11.2014 um 21:24 schrieb Tijl Coosemans: Other tools won't change anything. It's the file system that would have to change which is not going to happen. When the ports tree was created disks were much

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-04 Thread Warren Block
On Tue, 4 Nov 2014, Chris H wrote: On Tue, 4 Nov 2014 16:16:09 -0700 (MST) Warren Block wbl...@wonkity.com wrote On Tue, 4 Nov 2014, Chris H wrote: gpart(8) -a gives you what you need. If it's truly as bad as all that, mounting the ports tree on a 512k aligned slice will reduce the slack

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-04 Thread Chris H
On Tue, 4 Nov 2014 20:29:44 -0700 (MST) Warren Block wbl...@wonkity.com wrote On Tue, 4 Nov 2014, Chris H wrote: On Tue, 4 Nov 2014 16:16:09 -0700 (MST) Warren Block wbl...@wonkity.com wrote On Tue, 4 Nov 2014, Chris H wrote: gpart(8) -a gives you what you need. If it's truly as bad

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-03 Thread Matthias Andree
Am 31.10.2014 um 19:56 schrieb Baptiste Daroussin: Hi all, tijl@ spotted an interesting point, distinfo and pkg-descr files files convenient are taking a lot of space for free, we can reduce the size of the while ports tree by a factor 2 by simply merging them into one of the other files

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-03 Thread Tijl Coosemans
On Mon, 03 Nov 2014 09:22:09 +0100 Matthias Andree matthias.and...@gmx.de wrote: Am 31.10.2014 um 19:56 schrieb Baptiste Daroussin: Hi all, tijl@ spotted an interesting point, distinfo and pkg-descr files files convenient are taking a lot of space for free, we can reduce the size of the

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-03 Thread Christian Weisgerber
On 2014-10-31, Tijl Coosemans t...@freebsd.org wrote: For distinfo I was thinking about something like this in the Makefile: DIST_FILES= FOO BAR FOO_FILE= foo-1.0 FOO_SITES=http://www.example.com/foo/ FOO_SIZE= 12345 FOO_SHA256= 0123456789abcdef. This is where

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-03 Thread Matthias Andree
Am 02.11.2014 um 19:50 schrieb Tijl Coosemans: The reason I looked into this is because many subversion operations are slow on the ports tree. For me it's about saving time there and not so much about saving disk space. Which is exactly my point of using inferior tools for the job.

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-03 Thread Matthew Seaman
On 02/11/2014 18:18, Jos Backus wrote: How about using SQLite to store this metadata? Doesn't really mix with version control nicely. Collecting ports metadata and storing it in some sort of sqlite daabase for operational purposes is certainly a possibility, but that can't be the primary data

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-02 Thread RW
On Sat, 1 Nov 2014 00:07:23 +0100 Tijl Coosemans wrote: On Fri, 31 Oct 2014 19:56:21 +0100 Baptiste Daroussin b...@freebsd.org wrote: Hi all, tijl@ spotted an interesting point, distinfo and pkg-descr files files convenient are taking a lot of space for free, we can reduce the size

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-02 Thread Jos Backus
How about using SQLite to store this metadata? Jos ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-02 Thread Tijl Coosemans
On Sun, 2 Nov 2014 18:16:23 + RW rwmailli...@googlemail.com wrote: On Sat, 1 Nov 2014 00:07:23 +0100 Tijl Coosemans wrote: On Fri, 31 Oct 2014 19:56:21 +0100 Baptiste Daroussin b...@freebsd.org wrote: tijl@ spotted an interesting point, distinfo and pkg-descr files files convenient are

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-02 Thread Alfred Perlstein
On 11/2/14, 10:50 AM, Tijl Coosemans wrote: On Sun, 2 Nov 2014 18:16:23 + RW rwmailli...@googlemail.com wrote: On Sat, 1 Nov 2014 00:07:23 +0100 Tijl Coosemans wrote: On Fri, 31 Oct 2014 19:56:21 +0100 Baptiste Daroussin b...@freebsd.org wrote: tijl@ spotted an interesting point,

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-01 Thread Matthew Seaman
On 31/10/2014 18:56, Baptiste Daroussin wrote: Hi all, tijl@ spotted an interesting point, distinfo and pkg-descr files files convenient are taking a lot of space for free, we can reduce the size of the while ports tree by a factor 2 by simply merging them into one of the other files

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-01 Thread Darren Pilgrim
On 11/1/2014 2:20 AM, Matthew Seaman wrote: However, I wonder if it wouldn't make more sense to create one file which includes all of the other bits of port infrastructure. This should be a text format that people can read easily and manipulate with a text editor or standard unix tools.

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-01 Thread Matthew Seaman
On 01/11/2014 10:19, Darren Pilgrim wrote: On 11/1/2014 2:20 AM, Matthew Seaman wrote: However, I wonder if it wouldn't make more sense to create one file which includes all of the other bits of port infrastructure. This should be a text format that people can read easily and manipulate with

Re: Reducing the size of the ports tree (brainstorm v2)

2014-11-01 Thread Alex Kozlov
On Sat, Nov 01, 2014 at 12:07:23AM +0100, Tijl Coosemans wrote: On Fri, 31 Oct 2014 19:56:21 +0100 Baptiste Daroussin b...@freebsd.org wrote: tijl@ spotted an interesting point, distinfo and pkg-descr files files convenient are taking a lot of space for free, we can reduce the size of

Reducing the size of the ports tree (brainstorm v2)

2014-10-31 Thread Baptiste Daroussin
Hi all, tijl@ spotted an interesting point, distinfo and pkg-descr files files convenient are taking a lot of space for free, we can reduce the size of the while ports tree by a factor 2 by simply merging them into one of the other files (Makefile and/or pkg-plist) from my testing it really

Re: Reducing the size of the ports tree (brainstorm v2)

2014-10-31 Thread Tijl Coosemans
On Fri, 31 Oct 2014 19:56:21 +0100 Baptiste Daroussin b...@freebsd.org wrote: Hi all, tijl@ spotted an interesting point, distinfo and pkg-descr files files convenient are taking a lot of space for free, we can reduce the size of the while ports tree by a factor 2 by simply merging them into

Re: Reducing the size of the ports tree (brainstorm v2)

2014-10-31 Thread Erich Dollansky
Hi, On Fri, 31 Oct 2014 19:56:21 +0100 Baptiste Daroussin b...@freebsd.org wrote: tijl@ spotted an interesting point, distinfo and pkg-descr files files convenient are taking a lot of space for free, we can reduce the size of the while ports tree by a factor 2 by simply merging them into one

Re: Reducing the size of the ports tree (brainstorm v2)

2014-10-31 Thread Darren Pilgrim
On 10/31/2014 11:56 AM, Baptiste Daroussin wrote: tijl@ spotted an interesting point, distinfo and pkg-descr files files convenient are taking a lot of space for free, we can reduce the size of the while ports tree by a factor 2 by simply merging them into one of the other files (Makefile and/or

Re: Reducing the size of the ports tree (brainstorm v2)

2014-10-31 Thread Alfred Perlstein
On 10/31/14, 11:56 AM, Baptiste Daroussin wrote: Hi all, tijl@ spotted an interesting point, distinfo and pkg-descr files files convenient are taking a lot of space for free, we can reduce the size of the while ports tree by a factor 2 by simply merging them into one of the other files