From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KHz7c-0002I4-50 for garchives@archives.gentoo.org; Sun, 13 Jul 2008 10:48:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF6F9E0312; Sun, 13 Jul 2008 10:48:01 +0000 (UTC) Received: from mx-node2.seclan.com (mx-node2.seclan.com [81.19.112.79]) by pigeon.gentoo.org (Postfix) with ESMTP id 82524E0312 for ; Sun, 13 Jul 2008 10:48:01 +0000 (UTC) Received: from [10.19.112.147] (husku.net [81.19.112.146]) by mx-node2.seclan.com (Postfix) with ESMTP id E134A638F5 for ; Sun, 13 Jul 2008 13:48:00 +0300 (EEST) Message-ID: <4879DD60.60206@husku.net> Date: Sun, 13 Jul 2008 13:48:00 +0300 From: Mikko Husari User-Agent: Thunderbird 2.0.0.14 (X11/20080710) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Simplistic bash-script to manage package.use References: <48791FFC.5040901@husku.net> <487929A2.1040806@husku.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 00ebd7c1-4929-474c-8913-80ce96db6f4c X-Archives-Hash: 31c3357686c6c06750aa2de8154cd6e8 Gentoo User wrote: > Hi, > I don't want to make your work bad. > After thinking it over I think it is actually a useful script, because > it adds a little bit more security to editing the package.use file > (I'm always fearing the day when I'm writing echo "stuff" > > /etc/portage/package.use"). > But do you know that package.use can also be a directory which can > contain several files storing the use flags? > > > > Geralt. > > On 7/13/08, Mikko Husari wrote: > >> Gentoo User wrote: >> >> >>> Hi, >>> >>> the question is: is it really necessary? If I want to add a new entry >>> into this file I just call echo "category/package myflags" >> >>> /etc/portage/package.use and if I want to edit them I just call my >>> favorite editor, use its search capabilities and change the line. >>> So I don't really see the benefit of a command line tool, since I >>> still need to write flags, package and everything and the tools I'm >>> using now (mostly echo, grep and vim) to do this are not very >>> complicated and most of the typing goes to the use flags and package >>> name anyway. >>> >>> >>> Just my opinion. >>> >>> >>> Best regards >>> >>> Geralt >>> >>> >>> On 7/12/08, Mikko Husari wrote: >>> >>> >>> >>>> greetings earthlings, >>>> >>>> i did not found (nor did i look for long enough) any tools/scripts to >>>> easily manage package.use file, so i did my own. now i started to think >>>> that, if there really is not any, my creation would be sufficient >>>> >> (although >> >>>> possibly buggy) for most users who wish to have "easy" control over >>>> package.use. >>>> >>>> yes, i know this is not the best place to "announce" but, this is not >>>> >> an >> >>>> real announcement, this is an query for an superior solution which would >>>> show my creation to be useless/dublicate/stupid. (if mine is >>>> >> useless/stupid >> >>>> it would be nice, so i would not have to maintain it and i also could >>>> >> use >> >>>> some real software). >>>> >>>> -- husku >>>> >>>> >>>> >>>> >>>> >> well, i cant argue with you on that. although, i also used >> vim,grep,sed,echo to change my flags. still i felt i needes an easier way, >> thats why i wrote it and thats why i think this is "easier" than >> vim+handwork. basicly that script is only an interface to sed,echo,grep and >> equery. >> >> did you try to use it? id bet i could get changes applied much more rapidly >> with that script than with vim or echo. (can not necessarily compete with >> echo if you are sure it is an new addition) >> -- >> gentoo-user@lists.gentoo.org mailing list >> >> >> i did not know that, (also the script ignores make.conf ). how does that directory approach work, any documentation about it? -- husku -- gentoo-user@lists.gentoo.org mailing list