X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-ew0-f221.google.com (mail-ew0-f221.google.com [209.85.219.221]) by lists.alpinelinux.org (Postfix) with ESMTP id B5468360F71C for ; Tue, 2 Mar 2010 07:40:46 +0000 (UTC) Received: by ewy21 with SMTP id 21so229479ewy.25 for ; Mon, 01 Mar 2010 23:40:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=03pVwdeZGz9NF44RqvYU9IeF/SF97ck1Ul93QPjpNxc=; b=k7uNpO0IwzyJ/bZ+9TG3p79NtCOjGbMJsKXuRIal5B7AG6z/YfFzRypxHeX2y79w/R yBWPB8dhZkToqf1FloNwwtOIChM9f2GeVvPsTJ755aNvmCQ2lg484Zcb+cyhyvUcAu4H GB2GlsYbgZxn70t5fYVRxjrJGWJR4aYLazT4Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=myZLPlBqbe2XOR24yJiN46Qix4RVRiX+oRRdBBcipDWQeglqwPGk0o6RhYwpBiCm/P NQ4fNGW6LGJZ18qhF60xahEAMDdah6Nvs8oRS06GhNMBUuhZIKSlSAAjnm8HQLahNyBo ha8R4DO9Ow4a4FvNAbFGWxuJKPPZ5O8o0G2co= X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.213.100.7 with SMTP id w7mr4392767ebn.23.1267515646074; Mon, 01 Mar 2010 23:40:46 -0800 (PST) Date: Tue, 2 Mar 2010 08:40:46 +0100 Message-ID: <95408c821003012340w72402e30mbf177585e74bede7@mail.gmail.com> Subject: [alpine-devel] apk-tools idea: runtime plugins From: Natanael Copa To: Alpine Developers Content-Type: text/plain; charset=ISO-8859-1 Other idea I have been thinking for some time: runtime plugins for apk-tools What triggered this idea was that it would be nice to have a "real" http/ftp downloader via curl or similar instead of fork/exec bb wget, however, would not be nice to need libcurl in the initramfs image. Some options: We could have fetcher plugins. install /lib/apk/fetch_curl.so and suddenly you have http and ftp support. Install /lib/apk/fetch_scp.so and suddenly apk-tools understands scp:// repositories. We could have applet plugins. Install /lib/apk/index.so and you get 'apk index' etc. In future we could have /lib/apk/gtk-progress-bar.so etc... Other option is that we could have only one plugin that have all the "extended" stuff. So you have an apk-tools-base or similar, containing only the basic functionallity, apk add, apk del and thats it. It could use the busybox wget to fetch from http. Then you have another package apk-tools-extras or similar that includes plugins for http download via curl, includes the developer stuff like apk index etc. In any case, it would be nice to be able have a framework for runtime plugins. -- Natanael Copa --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---