Re: GSoC:Complete Package support in the pkg_install tools and cleanup

2010-05-05 Thread Wesley Shields
On Tue, May 04, 2010 at 10:30:13AM -0700, Julien Laffaye wrote:
 On Tue, May 4, 2010 at 3:15 AM, Andrew Brampton
 brampton+free...@gmail.com wrote:
 
  Hi Julien,
 
  Glad you got onto the GSoC programme. I'm curious, what benefit is a
  complete package over many individual ones?
 
 Hi Andrew,
 
 If you cant or dont want to use the remote feature of of pkg_add (ex.
 your packages are built with non default options and you think its
 overkill to setup a server to distribute them) then you make a
 complete package. You only have to copy one file (say on an usb
 device), which is less error prone than 150 files.
 The global idea is to write a meta port which depends on the desired
 ports, type `make complete-package`, copy the output file on the
 machine to bootstrap, pkg_add /path/to/complete-pkg and voila!

Do you intend to add the complete-package target also or is that out
of scope?

-- WXS
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: GSoC:Complete Package support in the pkg_install tools and cleanup

2010-05-05 Thread Julien Laffaye
On Wed, May 5, 2010 at 7:34 PM, Wesley Shields w...@freebsd.org wrote:
 On Tue, May 04, 2010 at 10:30:13AM -0700, Julien Laffaye wrote:
 On Tue, May 4, 2010 at 3:15 AM, Andrew Brampton
 brampton+free...@gmail.com wrote:
 
  Hi Julien,
 
  Glad you got onto the GSoC programme. I'm curious, what benefit is a
  complete package over many individual ones?

 Hi Andrew,

 If you cant or dont want to use the remote feature of of pkg_add (ex.
 your packages are built with non default options and you think its
 overkill to setup a server to distribute them) then you make a
 complete package. You only have to copy one file (say on an usb
 device), which is less error prone than 150 files.
 The global idea is to write a meta port which depends on the desired
 ports, type `make complete-package`, copy the output file on the
 machine to bootstrap, pkg_add /path/to/complete-pkg and voila!

 Do you intend to add the complete-package target also or is that out
 of scope?


Yes, it is scheduled to add the ability to build complete packages
from the ports tree.
The name of the target is not yet endorsed but I think that
complete-package is pretty straight forward.

Regards,
Julien
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: GSoC:Complete Package support in the pkg_install tools and cleanup

2010-05-04 Thread Andrew Brampton
On Tue, May 4, 2010 at 3:28 AM, Julien Laffaye kime...@gmail.com wrote:

 Hello,

 During this summer, I'll work on the pkg_install tools to add complete
 package support.
 A complete package is a package which includes all the required
 dependencies in its tarball.
 Unlike the PBI package format of PC-BSD, once a complete package is installed,
 it appears as every package contained in the complete package was
 installed separately.

[snip]

 Best regards,
 Julien Laffaye

Hi Julien,

Glad you got onto the GSoC programme. I'm curious, what benefit is a
complete package over many individual ones?

Andrew
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: GSoC:Complete Package support in the pkg_install tools and cleanup

2010-05-04 Thread Julien Laffaye
On Tue, May 4, 2010 at 3:15 AM, Andrew Brampton
brampton+free...@gmail.com wrote:

 Hi Julien,

 Glad you got onto the GSoC programme. I'm curious, what benefit is a
 complete package over many individual ones?

Hi Andrew,

If you cant or dont want to use the remote feature of of pkg_add (ex.
your packages are built with non default options and you think its
overkill to setup a server to distribute them) then you make a
complete package. You only have to copy one file (say on an usb
device), which is less error prone than 150 files.
The global idea is to write a meta port which depends on the desired
ports, type `make complete-package`, copy the output file on the
machine to bootstrap, pkg_add /path/to/complete-pkg and voila!

Regards,
Julien
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


GSoC:Complete Package support in the pkg_install tools and cleanup

2010-05-03 Thread Julien Laffaye
Hello,

During this summer, I'll work on the pkg_install tools to add complete
package support.
A complete package is a package which includes all the required
dependencies in its tarball.
Unlike the PBI package format of PC-BSD, once a complete package is installed,
it appears as every package contained in the complete package was
installed separately.

As a side effect, I'll add libarchive support to the pkg_add tool to
make installation as efficient
as possible and do some refactoring to allow code re usability.
I'll also surely write automated tests which would benefit to the
pkg_install tools.

My page on the wiki is http://wiki.freebsd.org/SOC2010JulienLaffaye

You can email me on or off list is you have any questions, comments or
suggestions.

Best regards,
Julien Laffaye
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org