Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-31 Thread Andriy Gapon
on 29/03/2011 23:29 Baptiste Daroussin said the following: ok let's try to say it simpler :) the main goal is to keep it simple for now, simple and rock solid, so that we can replace pkg_install and do some cleanup in the ports tree, add the must have features while doing that. And only when

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-31 Thread Baptiste Daroussin
2011/3/31 Andriy Gapon a...@freebsd.org: on 29/03/2011 23:29 Baptiste Daroussin said the following: ok let's try to say it simpler :) the main goal is to keep it simple for now, simple and rock solid, so that we can replace pkg_install and do some cleanup in the ports tree, add the must have

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-29 Thread Baptiste Daroussin
2011/3/29 Andriy Gapon a...@freebsd.org: on 28/03/2011 21:22 Julien Laffaye said the following: On Mon, Mar 28, 2011 at 6:59 PM, Garrett Cooper gcoo...@freebsd.org wrote: III. Package naming that includes architecture, major OS version (for API/ABI), maybe more. This could be provided in

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-29 Thread Baptiste Daroussin
2011/3/29 Baptiste Daroussin b...@freebsd.org: 2011/3/29 Andriy Gapon a...@freebsd.org: on 28/03/2011 21:22 Julien Laffaye said the following: On Mon, Mar 28, 2011 at 6:59 PM, Garrett Cooper gcoo...@freebsd.org wrote: III. Package naming that includes architecture, major OS version (for

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-28 Thread Baptiste Daroussin
2011/3/29 Tim Kientzle kient...@freebsd.org: II. Package signing. That would be really nice. Right know we only planned to sign the repo database, so we can trust the sah256 of the packages stored in the database. Then if the package has the same sha256 as the one in the repo database it is

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-26 Thread Julien Laffaye
On Fri, Mar 25, 2011 at 12:33 PM, Julien Laffaye jlaff...@freebsd.org wrote: On Fri, Mar 25, 2011 at 11:52 AM, Ivan Voras ivo...@freebsd.org wrote: At this time I'd just like to suggest you add the use of WAL journal (http://www.sqlite.org/pragma.html#pragma_journal_mode) on database creation

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-26 Thread Ivan Voras
On 26 March 2011 12:15, Julien Laffaye jlaff...@freebsd.org wrote: On Fri, Mar 25, 2011 at 12:33 PM, Julien Laffaye jlaff...@freebsd.org wrote: On Fri, Mar 25, 2011 at 11:52 AM, Ivan Voras ivo...@freebsd.org wrote: At this time I'd just like to suggest you add the use of WAL journal

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-26 Thread Julien Laffaye
On Fri, Mar 25, 2011 at 10:11 AM, Baptiste Daroussin b...@freebsd.org wrote:  Developpement site: http://git.etoilebsd.net/pkgng/ FYI, we moved to github[1] in order to have a bug tracker, pull request and code review. Also, I recommend to build from the HEAD of the git repository, to not report

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Ivan Voras
On 25/03/2011 11:11, Baptiste Daroussin wrote: In term of technology we decided to use a sqlite3 database, and to prevent potential trolling, sqlite3 is used in it's amalgamation form which means it is incorporated in the code sources (as recommanded by sqlite developpers like a

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Julien Laffaye
On Fri, Mar 25, 2011 at 11:52 AM, Ivan Voras ivo...@freebsd.org wrote: On 25/03/2011 11:11, Baptiste Daroussin wrote:  In term of technology we decided to use a sqlite3 database, and to  prevent potential trolling, sqlite3 is used in it's amalgamation form  which means it is incorporated in

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Baptiste Daroussin
2011/3/25 Alexander Leidinger alexan...@leidinger.net: Quoting Baptiste Daroussin b...@freebsd.org (from Fri, 25 Mar 2011 11:11:11 +0100): pkgng is a binary package manager written from scratch for FreeBSD. I didn't had a look at it, just some comments about some parts you explained.

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Alexander Leidinger
Quoting Baptiste Daroussin b...@freebsd.org (from Fri, 25 Mar 2011 11:11:11 +0100): pkgng is a binary package manager written from scratch for FreeBSD. I didn't had a look at it, just some comments about some parts you explained. features supported are or will be : - the register

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Alexander Leidinger
Quoting Baptiste Daroussin b...@freebsd.org (from Fri, 25 Mar 2011 15:14:52 +0100): 2011/3/25 Alexander Leidinger alexan...@leidinger.net: Quoting Baptiste Daroussin b...@freebsd.org (from Fri, 25 Mar 2011 11:11:11 +0100): pkgng is a binary package manager written from scratch for FreeBSD.

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Julien Laffaye
On Fri, Mar 25, 2011 at 2:38 PM, Alexander Leidinger alexan...@leidinger.net wrote: Quoting Baptiste Daroussin b...@freebsd.org (from Fri, 25 Mar 2011 15:14:52 +0100): 2011/3/25 Alexander Leidinger alexan...@leidinger.net: Quoting Baptiste Daroussin b...@freebsd.org (from Fri, 25 Mar 2011

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Pietro Cerutti
On 2011-Mar-25, 15:03, Julien Laffaye wrote: What about DB corruption/loss? Do you keep the /var/db/pkg/package/xxx files even with pkgng and only use the DB as a way to speed up some work (so the DB corruption just requires to run pkg2ng), or are you lost of the DB is lost?

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Baptiste Daroussin
2011/3/25 Pietro Cerutti g...@freebsd.org: On 2011-Mar-25, 15:03, Julien Laffaye wrote: What about DB corruption/loss? Do you keep the /var/db/pkg/package/xxx files even with pkgng and only use the DB as a way to speed up some work (so the DB corruption just requires to run pkg2ng), or

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Baptiste Daroussin
2011/3/25 Julien Laffaye jlaff...@freebsd.org: On Fri, Mar 25, 2011 at 11:52 AM, Ivan Voras ivo...@freebsd.org wrote: On 25/03/2011 11:11, Baptiste Daroussin wrote:  In term of technology we decided to use a sqlite3 database, and to  prevent potential trolling, sqlite3 is used in it's

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Pietro Cerutti
On 2011-Mar-25, 17:04, Baptiste Daroussin wrote: if you are going to test on current please notice that make install will overwrite /usr/lib/libpkg so pkg_* tools won't work anymore. We will workaround that later by renaming our lib libpkgng for the test phase. But I won't be able to do

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Andriy Gapon
on 25/03/2011 17:35 Pietro Cerutti said the following: No need to look for strange scenarios, I'm surely going to sudo rm -f the file more sooner than later, so... maybe just save a copy? I even can rm -rf / by accident. What's your solution to this? :) P.S. one solution would be a subcase of

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Julien Laffaye
On Fri, Mar 25, 2011 at 4:14 PM, Pietro Cerutti g...@freebsd.org wrote: On 2011-Mar-25, 17:04, Baptiste Daroussin wrote: if you are going to test on current please notice that make install will overwrite /usr/lib/libpkg so pkg_* tools won't work anymore. We will workaround that later by

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Eitan Adler
On Fri, Mar 25, 2011 at 11:35 AM, Andriy Gapon a...@freebsd.org wrote: on 25/03/2011 17:35 Pietro Cerutti said the following: No need to look for strange scenarios, I'm surely going to sudo rm -f the file more sooner than later, so... maybe just save a copy? I even can rm -rf / by accident.

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Baptiste Daroussin
2011/3/25 Jason Helfman jhelf...@e-e.com: On Fri, Mar 25, 2011 at 04:18:24PM +, Julien Laffaye thus spake: On Fri, Mar 25, 2011 at 4:14 PM, Pietro Cerutti g...@freebsd.org wrote: On 2011-Mar-25, 17:04, Baptiste Daroussin wrote: if you are going to test on current please notice that make

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Jason Helfman
On Fri, Mar 25, 2011 at 04:18:24PM +, Julien Laffaye thus spake: On Fri, Mar 25, 2011 at 4:14 PM, Pietro Cerutti g...@freebsd.org wrote: On 2011-Mar-25, 17:04, Baptiste Daroussin wrote: if you are going to test on current please notice that make install will overwrite /usr/lib/libpkg so

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Thomas Dickey
On Fri, Mar 25, 2011 at 11:54:35AM -0500, Eitan Adler wrote: On Fri, Mar 25, 2011 at 11:35 AM, Andriy Gapon a...@freebsd.org wrote: on 25/03/2011 17:35 Pietro Cerutti said the following: No need to look for strange scenarios, I'm surely going to sudo rm -f the file more sooner than

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Alexander Leidinger
On Fri, 25 Mar 2011 16:35:21 +0100 Pietro Cerutti g...@freebsd.org wrote: On 2011-Mar-25, 15:03, Julien Laffaye wrote: What about DB corruption/loss? Do you keep the /var/db/pkg/package/xxx files even with pkgng and only use the DB as a way to speed up some work (so the DB

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Jos Backus
As far as package managers go, yum, which is used widely, uses SQLite. -- Peace cannot be achieved through violence, it can only be attained through understanding. ___ freebsd-current@freebsd.org mailing list

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Garrett Cooper
On Fri, Mar 25, 2011 at 1:14 PM, Alexander Leidinger alexan...@leidinger.net wrote: On Fri, 25 Mar 2011 16:35:21 +0100 Pietro Cerutti g...@freebsd.org wrote: On 2011-Mar-25, 15:03, Julien Laffaye wrote: What about DB corruption/loss? Do you keep the /var/db/pkg/package/xxx files even

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Baptiste Daroussin
2011/3/25 Yuri y...@rawbw.com: On 03/25/2011 03:11, Baptiste Daroussin wrote: Julien Laffaye (jlaffaye@) and I, helped by Philippe Pepiot (huge contributor) have been working since the end of the last GSoC on a rewrite of pkg_install. pkgng is a binary package manager written from scratch

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Alexander Leidinger
On Fri, 25 Mar 2011 13:47:13 -0700 Garrett Cooper yaneg...@gmail.com wrote: On Fri, Mar 25, 2011 at 1:14 PM, Alexander Leidinger alexan...@leidinger.net wrote: On Fri, 25 Mar 2011 16:35:21 +0100 Pietro Cerutti g...@freebsd.org wrote: On 2011-Mar-25, 15:03, Julien Laffaye wrote: What

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Yuri
On 03/25/2011 03:11, Baptiste Daroussin wrote: Julien Laffaye (jlaffaye@) and I, helped by Philippe Pepiot (huge contributor) have been working since the end of the last GSoC on a rewrite of pkg_install. pkgng is a binary package manager written from scratch for FreeBSD. How does it