public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles: ChangeLog use.local.desc
       [not found] <E1LImjm-0000E7-9E@stork.gentoo.org>
@ 2009-01-02 16:20 ` Tobias Scherbaum
  2009-01-02 21:40 ` Alec Warner
  1 sibling, 0 replies; 9+ messages in thread
From: Tobias Scherbaum @ 2009-01-02 16:20 UTC (permalink / raw
  To: gentoo-dev, matsuu

[-- Attachment #1: Type: text/plain, Size: 343 bytes --]

Matsuu Takuto (matsuu) wrote:
> matsuu      09/01/02 16:19:02
> 
>   Modified:             ChangeLog use.local.desc
>   Log:
>   Adding local use flags for app-i18n/ibus-table-{erbi,wubi,zhengma}.

Please add local use flags to metadata.xml ... see GLEP 56 for
reference. http://www.gentoo.org/proj/en/glep/glep-0056.html

  Tobias

[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles: ChangeLog use.local.desc
       [not found] <E1LImjm-0000E7-9E@stork.gentoo.org>
  2009-01-02 16:20 ` Tobias Scherbaum
@ 2009-01-02 21:40 ` Alec Warner
  2009-01-02 21:53   ` Robin H. Johnson
  2009-01-02 21:56   ` Doug Goldstein
  1 sibling, 2 replies; 9+ messages in thread
From: Alec Warner @ 2009-01-02 21:40 UTC (permalink / raw
  To: gentoo-dev, matsuu, robbat2

How hard would it be to change permissions on the ,v file for this and
just run the use.local.desc updater as a user with different
privileges?

-Alec

On Fri, Jan 2, 2009 at 8:19 AM, Matsuu Takuto (matsuu)
<matsuu@gentoo.org> wrote:
> matsuu      09/01/02 16:19:02
>
>  Modified:             ChangeLog use.local.desc
>  Log:
>  Adding local use flags for app-i18n/ibus-table-{erbi,wubi,zhengma}.
>
> Revision  Changes    Path
> 1.2227               profiles/ChangeLog
>
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/ChangeLog?rev=1.2227&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/ChangeLog?rev=1.2227&content-type=text/plain
> diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/ChangeLog?r1=1.2226&r2=1.2227
>
> Index: ChangeLog
> ===================================================================
> RCS file: /var/cvsroot/gentoo-x86/profiles/ChangeLog,v
> retrieving revision 1.2226
> retrieving revision 1.2227
> diff -u -r1.2226 -r1.2227
> --- ChangeLog   1 Jan 2009 15:39:46 -0000       1.2226
> +++ ChangeLog   2 Jan 2009 16:19:01 -0000       1.2227
> @@ -1,11 +1,14 @@
>  # ChangeLog for profile directory
>  # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
> -# $Header: /var/cvsroot/gentoo-x86/profiles/ChangeLog,v 1.2226 2009/01/01 15:39:46 loki_val Exp $
> +# $Header: /var/cvsroot/gentoo-x86/profiles/ChangeLog,v 1.2227 2009/01/02 16:19:01 matsuu Exp $
>  #
>  # This ChangeLog should include records for all changes in profiles directory.
>  # Only typo fixes which don't affect portage/repoman behaviour could be avoided
>  # here. If in doubt put a record here!
>
> +  02 Jan 2009; MATSUU Takuto <matsuu@gentoo.org> use.local.desc:
> +  Adding local use flags for app-i18n/ibus-table-{erbi,wubi,zhengma}.
> +
>   01 Jan 2009; Peter Alfredsen <loki_val@gentoo.org> package.mask:
>   Removing gtksourceview-sharp mask
>
>
>
>
> 1.4092               profiles/use.local.desc
>
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/use.local.desc?rev=1.4092&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/use.local.desc?rev=1.4092&content-type=text/plain
> diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/use.local.desc?r1=1.4091&r2=1.4092
>
> Index: use.local.desc
> ===================================================================
> RCS file: /var/cvsroot/gentoo-x86/profiles/use.local.desc,v
> retrieving revision 1.4091
> retrieving revision 1.4092
> diff -u -r1.4091 -r1.4092
> --- use.local.desc      2 Jan 2009 15:27:49 -0000       1.4091
> +++ use.local.desc      2 Jan 2009 16:19:02 -0000       1.4092
> @@ -1,6 +1,6 @@
>  # Copyright 1999-2008 Gentoo Foundation.
>  # Distributed under the terms of the GNU General Public License v2
> -# $Header: /var/cvsroot/gentoo-x86/profiles/use.local.desc,v 1.4091 2009/01/02 15:27:49 robbat2 Exp $
> +# $Header: /var/cvsroot/gentoo-x86/profiles/use.local.desc,v 1.4092 2009/01/02 16:19:02 matsuu Exp $
>  # This file contains descriptions of local USE flags, and the ebuilds which
>  # contain them.
>  # Keep it sorted (use "LC_ALL=C sort -t: -k1,1 -k2 | LC_ALL=C sort -s -t/ -k1,1")
> @@ -260,6 +260,9 @@
>  app-i18n/ibus-table:extra-phrases - Add extra phrases into builded Engine
>  app-i18n/ibus-table:wubi - Enable to generate WuBi86 and WuBi98 Engine
>  app-i18n/ibus-table:zhengma - Enable to generate ZhengMa Engine
> +app-i18n/ibus-table-erbi:extra-phrases - Add extra phrases into builded Engine
> +app-i18n/ibus-table-wubi:extra-phrases - Add extra phrases into builded Engine
> +app-i18n/ibus-table-zhengma:extra-phrases - Add extra phrases into builded Engine
>  app-i18n/im-ja:anthy - Support for Anthy input method
>  app-i18n/im-ja:skk - Support for SKK input method
>  app-i18n/kimera:anthy - Support for Anthy input method
>
>
>
>
>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles: ChangeLog use.local.desc
  2009-01-02 21:40 ` Alec Warner
@ 2009-01-02 21:53   ` Robin H. Johnson
  2009-01-02 22:21     ` Dawid Węgliński
  2009-01-02 21:56   ` Doug Goldstein
  1 sibling, 1 reply; 9+ messages in thread
From: Robin H. Johnson @ 2009-01-02 21:53 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1142 bytes --]

On Fri, Jan 02, 2009 at 01:40:09PM -0800, Alec Warner wrote:
> How hard would it be to change permissions on the ,v file for this and
> just run the use.local.desc updater as a user with different
> privileges?
It does have different permissions. It's the directory permissions that
matter however. I already tried the file permissions. If we want to
truly block it while not affecting commits to the rest of the directory,
we need to add CVS ACLS, which I've been meaning to do, but just never
got around to.

CVS does (the short version):
1. Take a file-based lock (#A) for the target ,v file. 
   No writes permitted, reads are permitted.
2. Build the new version of the ,v in the temp space.
3. Copy the new version to a different name in the target directory.
4. Upgrade lock #A, no reads permitted now.
5. unlink the old ,v file 
   (the kernel checks the directory permissions, not the file perms).
6. rename the new file into place.
7. Release lock #A.

-- 
Robin Hugh Johnson
Gentoo Linux Developer & Infra Guy
E-Mail     : robbat2@gentoo.org
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

[-- Attachment #2: Type: application/pgp-signature, Size: 329 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles: ChangeLog use.local.desc
  2009-01-02 21:40 ` Alec Warner
  2009-01-02 21:53   ` Robin H. Johnson
@ 2009-01-02 21:56   ` Doug Goldstein
  2009-01-03  0:15     ` Alec Warner
  2009-01-03  4:05     ` Jeroen Roovers
  1 sibling, 2 replies; 9+ messages in thread
From: Doug Goldstein @ 2009-01-02 21:56 UTC (permalink / raw
  To: gentoo-dev

Alec Warner wrote:
> How hard would it be to change permissions on the ,v file for this and
> just run the use.local.desc updater as a user with different
> privileges?
>
>   
Probably about as hard as it would be to get you to stop top posting
like an Outlook 95 user...



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles: ChangeLog use.local.desc
  2009-01-02 21:53   ` Robin H. Johnson
@ 2009-01-02 22:21     ` Dawid Węgliński
  2009-01-02 22:22       ` Robin H. Johnson
  0 siblings, 1 reply; 9+ messages in thread
From: Dawid Węgliński @ 2009-01-02 22:21 UTC (permalink / raw
  To: gentoo-dev; +Cc: Robin H. Johnson

On Friday 02 of January 2009 22:53:36 Robin H. Johnson wrote:
> On Fri, Jan 02, 2009 at 01:40:09PM -0800, Alec Warner wrote:
> > How hard would it be to change permissions on the ,v file for this and
> > just run the use.local.desc updater as a user with different
> > privileges?
>
> It does have different permissions. It's the directory permissions that
> matter however. I already tried the file permissions. If we want to
> truly block it while not affecting commits to the rest of the directory,
> we need to add CVS ACLS, which I've been meaning to do, but just never
> got around to.
>
> CVS does (the short version):
> 1. Take a file-based lock (#A) for the target ,v file.
>    No writes permitted, reads are permitted.
> 2. Build the new version of the ,v in the temp space.
> 3. Copy the new version to a different name in the target directory.
> 4. Upgrade lock #A, no reads permitted now.
> 5. unlink the old ,v file
>    (the kernel checks the directory permissions, not the file perms).
> 6. rename the new file into place.
> 7. Release lock #A.

What about creating a hook that checks if commited file is the one in question 
and fails the commit, if true? I don't know much about cvs hooks, however in 
svn it would be simple to setup.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles: ChangeLog use.local.desc
  2009-01-02 22:21     ` Dawid Węgliński
@ 2009-01-02 22:22       ` Robin H. Johnson
  0 siblings, 0 replies; 9+ messages in thread
From: Robin H. Johnson @ 2009-01-02 22:22 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 536 bytes --]

> > we need to add CVS ACLS, which I've been meaning to do, but just never
> > got around to.
> What about creating a hook that checks if commited file is the one in question 
> and fails the commit, if true? I don't know much about cvs hooks, however in 
> svn it would be simple to setup.
Exactly what you describe is commonly called CVS ACLs, which I said
already!

-- 
Robin Hugh Johnson
Gentoo Linux Developer & Infra Guy
E-Mail     : robbat2@gentoo.org
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

[-- Attachment #2: Type: application/pgp-signature, Size: 329 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles: ChangeLog use.local.desc
  2009-01-02 21:56   ` Doug Goldstein
@ 2009-01-03  0:15     ` Alec Warner
  2009-01-03  4:05     ` Jeroen Roovers
  1 sibling, 0 replies; 9+ messages in thread
From: Alec Warner @ 2009-01-03  0:15 UTC (permalink / raw
  To: gentoo-dev

Eudora actually, I use a classy mail client.

On Fri, Jan 2, 2009 at 1:56 PM, Doug Goldstein <cardoe@gentoo.org> wrote:
> Alec Warner wrote:
>> How hard would it be to change permissions on the ,v file for this and
>> just run the use.local.desc updater as a user with different
>> privileges?
>>
>>
> Probably about as hard as it would be to get you to stop top posting
> like an Outlook 95 user...
>
>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles: ChangeLog use.local.desc
  2009-01-02 21:56   ` Doug Goldstein
  2009-01-03  0:15     ` Alec Warner
@ 2009-01-03  4:05     ` Jeroen Roovers
  1 sibling, 0 replies; 9+ messages in thread
From: Jeroen Roovers @ 2009-01-03  4:05 UTC (permalink / raw
  To: gentoo-dev

On Fri, 02 Jan 2009 16:56:18 -0500
Doug Goldstein <cardoe@gentoo.org> wrote:

> Probably about as hard as it would be to get you to stop top posting
> like an Outlook 95 user...

IMHO the problem isn't top posting, but excessive quoting. :)


Kind regards,
     jer



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles: ChangeLog use.local.desc
       [not found] <E1LL90r-0001Lk-RG@stork.gentoo.org>
@ 2009-01-09 13:16 ` Christian Faulhammer
  0 siblings, 0 replies; 9+ messages in thread
From: Christian Faulhammer @ 2009-01-09 13:16 UTC (permalink / raw
  To: gentoo-dev, marineam; +Cc: gentoo-dev-announce, gentoo-commits

[-- Attachment #1: Type: text/plain, Size: 589 bytes --]

Hi,

"Micheal Marineau (marineam)" <marineam@gentoo.org>:
> marineam    09/01/09 04:30:25
> 
>   Modified:             ChangeLog use.local.desc
>   Log:
>   Add lxc and uml use flags for libvirt

 Please, please don't modify use.local.desc anymore, we have a new
description scheme for USE flags in action.  Local USE flags are
defined in metadata.xml, see
<URL:http://www.gentoo.org/proj/en/glep/glep-0056.html>

V-Li

-- 
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

<URL:http://www.faulhammer.org/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-01-09 13:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1LL90r-0001Lk-RG@stork.gentoo.org>
2009-01-09 13:16 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles: ChangeLog use.local.desc Christian Faulhammer
     [not found] <E1LImjm-0000E7-9E@stork.gentoo.org>
2009-01-02 16:20 ` Tobias Scherbaum
2009-01-02 21:40 ` Alec Warner
2009-01-02 21:53   ` Robin H. Johnson
2009-01-02 22:21     ` Dawid Węgliński
2009-01-02 22:22       ` Robin H. Johnson
2009-01-02 21:56   ` Doug Goldstein
2009-01-03  0:15     ` Alec Warner
2009-01-03  4:05     ` Jeroen Roovers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox