Date: Sun, 14 Jul 2013 06:45:54 +0000 From: "Teske, Devin" <Devin.Teske@fisglobal.com> To: Garrett Wollman <wollman@hergotha.csail.mit.edu> Cc: Devin Teske <dteske@freebsd.org>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: Re: [HEADSUP] No more pkg_install on HEAD by default Message-ID: <13CA24D6AB415D428143D44749F57D7201FC5019@ltcfiswmsgmb21> In-Reply-To: <201307140613.r6E6Dsov002016@hergotha.csail.mit.edu> References: <20130712231637.GS85556@ithaqua.etoilebsd.net> <13CA24D6AB415D428143D44749F57D7201FC2DBD@ltcfiswmsgmb21> <20130713080732.GV85556@ithaqua.etoilebsd.net> <13CA24D6AB415D428143D44749F57D7201FC3AA2@ltcfiswmsgmb21> <13CA24D6AB415D428143D44749F57D7201FC3C92@ltcfiswmsgmb21> <CA%2B7WWSe7C2UXAsEX3OZH7nPJJbxotpQ_iYBxgake4R68sbUtLA@mail.gmail.com> <13CA24D6AB415D428143D44749F57D7201FC3FAA@ltcfiswmsgmb21> <CAGE5yCoH2auer_kKpUT_caFUZPpVM5TdAFH5tJcGgF4Ji12f0g@mail.gmail.com> <201307140613.r6E6Dsov002016@hergotha.csail.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 13, 2013, at 11:13 PM, Garrett Wollman wrote: > In article <20130714054840$7f8f@grapevine.csail.mit.edu>, > dteske@freebsd.org writes: >=20 >> How about rquery? What protocol does that use? and what does it talk to? >=20 > It accesses the sqlite database in /var/db/pkg that was previously > retrieved from the remote repository. >=20 This "previously retrieved" has me worried. One of the things that you could do with sysinstall was: 1. Browse packages (nothing else) 2. Exit sysinstall And your system is completely unmodified and the mirror your chose is forgo= tten. Now from what you explained of pkg, I'm worried that for bsdconfig: 1. Browse packages (nothing else) 2. Exit bsdconfig and now because the "pkg rquery" has staged a db, future "pkg" commands are= now influenced. In which case, I think I would best off downloading the sqlite db to a temp= orary location and pointing pkg at it (if that's possible). Because I'm not= sure that I want adhoc browsing in bsdconfig to change the default mirror = (but maybe that's desired? I'm not sure). >> Question: Where can I learn more about the actual format of what's in >> the new tarballs? This is going to be important not for bsdconfig, but >> $work (we have our own build platform; I'm going to have to rewrite it >> from mastering PLIST files to mastering YAML MANIFEST files and I want >> to know all the gritty details). >=20 > You really shouldn't know about the actual format of the tarballs; > your time would be better spent learning the new "pkg create", "pkg > register", and "pkg repo" commands. Depending on your needs, you > might want to write to the libpkg API instead. >=20 That won't work for us. You're not going to like the answer, but it does mean that things like "pkg= create", "pkg register" and "pkg repo" won't work for us. Because FreeBSD packages are just tar-balls, I created a build-system that = allows us to master and re-master them on *any* platform with nothing more = than "make" and a few standard UNIX utilities such as "awk" and etc. This m= akes it extremely convenient for developers and integrators. You can feel f= ree to check out the build tree on Mac OS X, make some changes to a file, c= heck them in, build the package, throw it in the repos, and all from the co= mfort of your own OS. Yes, it flies in the face of "dog-fooding", but the value-add that it bring= s to the table is quite tangible w/respect to our workflow. So the format is still something I want to know quite well. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13CA24D6AB415D428143D44749F57D7201FC5019>