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 1JVUrO-0008Jc-Tn for garchives@archives.gentoo.org; Sat, 01 Mar 2008 16:46:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE311E01A3; Sat, 1 Mar 2008 16:46:51 +0000 (UTC) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by pigeon.gentoo.org (Postfix) with ESMTP id 80E56E01A3 for ; Sat, 1 Mar 2008 16:46:51 +0000 (UTC) Received: by ug-out-1314.google.com with SMTP id j3so838446ugf.49 for ; Sat, 01 Mar 2008 08:46:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=8p3jtbZcylrNWD7/6v6KiJ7HzDhcvGGED2SewKkjw8A=; b=mQ7nftoTEmskoLWapOjURdtkIYTEySqZXh9Aba7NWSZjr3MzPWTNUTyQ+O49ipP3w5j7000y9Wa0fjUHx7KBRJxc3RS0S4NdQVmm3F6xN4nc2Ihg4CLg7/2Uua1tQpxjaCgoxBG2nbyKPs1KhqtYoUYQQSqaJfdU7Fhp5h9xrYI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=NIA0WEmYkf9WY1uWcOy9AwZ1NoxNeyRo9deIn9RengIv8G4taufH8xAZXASIGfj1CygXm97f+l56s8EE0Z7Mmi5Ol2V8YYu+uCzkCfBoYmZShIyRwOlmhgBWicuC0AwJqK3zWGu79qeDfcOEappAVmAvWkaBGVxxBDNinOjH/oA= Received: by 10.78.205.7 with SMTP id c7mr12140136hug.27.1204390010485; Sat, 01 Mar 2008 08:46:50 -0800 (PST) Received: from ?192.168.0.46? ( [87.227.44.92]) by mx.google.com with ESMTPS id f8sm19990518nfh.13.2008.03.01.08.46.48 (version=SSLv3 cipher=RC4-MD5); Sat, 01 Mar 2008 08:46:49 -0800 (PST) Message-ID: <47C9891E.9010902@gmail.com> Date: Sat, 01 Mar 2008 17:49:34 +0100 From: Erik User-Agent: Thunderbird 2.0.0.9 (X11/20071124) 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] Set a property on a file and have it remove when the file is modified? References: <47C94EB4.1060803@gmail.com> <50ba04d20803010838t55713774ge9ed320cfac5386e@mail.gmail.com> In-Reply-To: <50ba04d20803010838t55713774ge9ed320cfac5386e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 386eb085-d707-481b-a6a9-d6e3546d72b3 X-Archives-Hash: cad57ef7e1915c16ca3b621cda2af8a3 Matthias Guede skrev: > 2008/3/1, Erik : > >> Is it possible to set a property on a file and have it remove >> automatically when the file is modified? >> >> Suppose that we have a style checker that checks a lot of source code >> files. Once it examined a file and found it to be clean, it should set a >> property on the file ("style-clean"). Whenever the style checker is >> executed it skips files with this property. Whenever the file is >> modified, the filesystem removes the property. >> >> Is this possible? Which filesystems does it work on? >> > > One solution would be using 'make'. With rules like the following > only modified files will > be proceeded: > > timestamp: myFile > doSomthingWidth myFile > touch timestamp > We have thought about that, but we would like to avoid having a parallel file hierarchy of timestamp files for our source tree. Therefore something like the archive attribute (suggested by Etanoi Shrdlu) would be better. -- gentoo-user@lists.gentoo.org mailing list