public inbox for [email protected]  
help / color / mirror / Atom feed
Strange anoncvs sync behavior
8+ messages / 4 participants
[nested] [flat]

* Strange anoncvs sync behavior
@ 2007-10-27 05:59 Tom Lane <[email protected]>
  2007-10-27 07:27 ` Re: Strange anoncvs sync behavior Magnus Hagander <[email protected]>
  2007-11-14 14:35 ` Re: Strange anoncvs sync behavior Magnus Hagander <[email protected]>
  0 siblings, 2 replies; 8+ messages in thread

From: Tom Lane @ 2007-10-27 05:59 UTC (permalink / raw)
  To: pgsql-www

Over an hour ago, Marc applied a "cvs tag" operation to the master CVS
repository.  I saw it immediately in local "cvs log" queries, but it
didn't propagate to anoncvs AFAICS, because the cvsweb server never
showed it.  After I applied a post-tag commit
(src/backend/optimizer/path/pathkeys.c a few minutes ago), the BETA2
tag showed up in cvsweb almost immediately.

This might have been some weird timing glitch, but what it looked like
to me was that the anoncvs update trigger doesn't recognize tag
operations.  Is that accurate?  Is it fixable?

			regards, tom lane



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

* Re: Strange anoncvs sync behavior
  2007-10-27 05:59 Strange anoncvs sync behavior Tom Lane <[email protected]>
@ 2007-10-27 07:27 ` Magnus Hagander <[email protected]>
  2007-10-27 22:23   ` Re: Strange anoncvs sync behavior Marc G. Fournier <[email protected]>
  1 sibling, 1 reply; 8+ messages in thread

From: Magnus Hagander @ 2007-10-27 07:27 UTC (permalink / raw)
  To: Tom Lane <[email protected]>; +Cc: pgsql-www

Tom Lane wrote:
> Over an hour ago, Marc applied a "cvs tag" operation to the master CVS
> repository.  I saw it immediately in local "cvs log" queries, but it
> didn't propagate to anoncvs AFAICS, because the cvsweb server never
> showed it.  After I applied a post-tag commit
> (src/backend/optimizer/path/pathkeys.c a few minutes ago), the BETA2
> tag showed up in cvsweb almost immediately.
> 
> This might have been some weird timing glitch, but what it looked like
> to me was that the anoncvs update trigger doesn't recognize tag
> operations.  Is that accurate?  Is it fixable?

Yes, on both accounts.

Now that you mention it I see that actually sitting in my TODO queue -
it's pending the work that Marc was doing on the tagging scripts to deal
first with permissions and then with emails. I assume he's now either
done or buried the projects (IIRC the permissions part was buried since
we didn't really want it), but I forgot to bump it on my TODO. It's now
bumped, I'll make sure it happens.

//Magnus



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

* Re: Strange anoncvs sync behavior
  2007-10-27 05:59 Strange anoncvs sync behavior Tom Lane <[email protected]>
  2007-10-27 07:27 ` Re: Strange anoncvs sync behavior Magnus Hagander <[email protected]>
@ 2007-10-27 22:23   ` Marc G. Fournier <[email protected]>
  2007-10-28 08:26     ` Re: Strange anoncvs sync behavior Magnus Hagander <[email protected]>
  0 siblings, 1 reply; 8+ messages in thread

From: Marc G. Fournier @ 2007-10-27 22:23 UTC (permalink / raw)
  To: Magnus Hagander <[email protected]>; Tom Lane <[email protected]>; +Cc: pgsql-www

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- --On Saturday, October 27, 2007 09:27:26 +0200 Magnus Hagander 
<[email protected]> wrote:


>  work that Marc was doing on the tagging scripts to deal
> first with permissions and then with emails.

Pardon?

- ----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . [email protected]                              MSN . [email protected]
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHI7pq4QvfyHIvDvMRAsNxAJsHtezAe45Pz3g/pNt9SHjWgxrVdQCg7VVj
dlYtfp9nGhszKLF5VefTZfY=
=zP+o
-----END PGP SIGNATURE-----




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

* Re: Strange anoncvs sync behavior
  2007-10-27 05:59 Strange anoncvs sync behavior Tom Lane <[email protected]>
  2007-10-27 07:27 ` Re: Strange anoncvs sync behavior Magnus Hagander <[email protected]>
  2007-10-27 22:23   ` Re: Strange anoncvs sync behavior Marc G. Fournier <[email protected]>
@ 2007-10-28 08:26     ` Magnus Hagander <[email protected]>
  2007-10-28 16:18       ` Re: Strange anoncvs sync behavior Marc G. Fournier <[email protected]>
  0 siblings, 1 reply; 8+ messages in thread

From: Magnus Hagander @ 2007-10-28 08:26 UTC (permalink / raw)
  To: Marc G. Fournier <[email protected]>; +Cc: Tom Lane <[email protected]>; pgsql-www

Marc G. Fournier wrote:
> 
> --On Saturday, October 27, 2007 09:27:26 +0200 Magnus Hagander 
> <[email protected]> wrote:
> 
>>  work that Marc was doing on the tagging scripts to deal
>> first with permissions and then with emails.
> 
> Pardon?

You were hacking on the tag/branch stuff only to allow "pgsql" to do
that, but then IIRC people spoke up and said they wanted it the other
way around - only personal accounts doing it. Or something like that.

//Magnus



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

* Re: Strange anoncvs sync behavior
  2007-10-27 05:59 Strange anoncvs sync behavior Tom Lane <[email protected]>
  2007-10-27 07:27 ` Re: Strange anoncvs sync behavior Magnus Hagander <[email protected]>
  2007-10-27 22:23   ` Re: Strange anoncvs sync behavior Marc G. Fournier <[email protected]>
  2007-10-28 08:26     ` Re: Strange anoncvs sync behavior Magnus Hagander <[email protected]>
@ 2007-10-28 16:18       ` Marc G. Fournier <[email protected]>
  2007-10-29 06:27         ` Re: Strange anoncvs sync behavior Magnus Hagander <[email protected]>
  0 siblings, 1 reply; 8+ messages in thread

From: Marc G. Fournier @ 2007-10-28 16:18 UTC (permalink / raw)
  To: Magnus Hagander <[email protected]>; +Cc: Tom Lane <[email protected]>; pgsql-www

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- --On Sunday, October 28, 2007 09:26:18 +0100 Magnus Hagander 
<[email protected]> wrote:

> Marc G. Fournier wrote:
>>
>> --On Saturday, October 27, 2007 09:27:26 +0200 Magnus Hagander
>> <[email protected]> wrote:
>>
>>>  work that Marc was doing on the tagging scripts to deal
>>> first with permissions and then with emails.
>>
>> Pardon?
>
> You were hacking on the tag/branch stuff only to allow "pgsql" to do
> that, but then IIRC people spoke up and said they wanted it the other
> way around - only personal accounts doing it. Or something like that.

Nope, actually, the problem was that the codeI added didn't work ... the 
purpose was to prevent something like Michael Meskes accidentally running a tag 
command, which is what prompted it all .. or, rather, it was to be restricted 
to me alone vs pgsql ... shouldn't prevent doing the 'sync on tag' coding you 
need to do, but thansk for the reminder, I will re-diving into getting that 
restriction working properly ..

- ----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . [email protected]                              MSN . [email protected]
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHJLZw4QvfyHIvDvMRAvt/AJwNoruvs1qKH0vIHDClcF9oxO9IrgCgtZ7A
Y5QCxrUpmUeLdy5zUNJauIo=
=irQU
-----END PGP SIGNATURE-----




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

* Re: Strange anoncvs sync behavior
  2007-10-27 05:59 Strange anoncvs sync behavior Tom Lane <[email protected]>
  2007-10-27 07:27 ` Re: Strange anoncvs sync behavior Magnus Hagander <[email protected]>
  2007-10-27 22:23   ` Re: Strange anoncvs sync behavior Marc G. Fournier <[email protected]>
  2007-10-28 08:26     ` Re: Strange anoncvs sync behavior Magnus Hagander <[email protected]>
  2007-10-28 16:18       ` Re: Strange anoncvs sync behavior Marc G. Fournier <[email protected]>
@ 2007-10-29 06:27         ` Magnus Hagander <[email protected]>
  2007-10-29 10:16           ` Re: Strange anoncvs sync behavior Peter Eisentraut <[email protected]>
  0 siblings, 1 reply; 8+ messages in thread

From: Magnus Hagander @ 2007-10-29 06:27 UTC (permalink / raw)
  To: Marc G. Fournier <[email protected]>; +Cc: Tom Lane <[email protected]>; pgsql-www

Marc G. Fournier wrote:
> 
> 
> --On Sunday, October 28, 2007 09:26:18 +0100 Magnus Hagander 
> <[email protected]> wrote:
> 
>> Marc G. Fournier wrote:
>>> --On Saturday, October 27, 2007 09:27:26 +0200 Magnus Hagander
>>> <[email protected]> wrote:
>>>
>>>>  work that Marc was doing on the tagging scripts to deal
>>>> first with permissions and then with emails.
>>> Pardon?
>> You were hacking on the tag/branch stuff only to allow "pgsql" to do
>> that, but then IIRC people spoke up and said they wanted it the other
>> way around - only personal accounts doing it. Or something like that.
> 
> Nope, actually, the problem was that the codeI added didn't work ... the 
> purpose was to prevent something like Michael Meskes accidentally running a tag 
> command, which is what prompted it all .. or, rather, it was to be restricted 
> to me alone vs pgsql ... shouldn't prevent doing the 'sync on tag' coding you 
> need to do, but thansk for the reminder, I will re-diving into getting that 
> restriction working properly ..

Ah, that's what I meant, really :-) At least in that being the reason
why I stopped looking at the other part, and then forgot about it.

//Magnus



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

* Re: Strange anoncvs sync behavior
  2007-10-27 05:59 Strange anoncvs sync behavior Tom Lane <[email protected]>
  2007-10-27 07:27 ` Re: Strange anoncvs sync behavior Magnus Hagander <[email protected]>
  2007-10-27 22:23   ` Re: Strange anoncvs sync behavior Marc G. Fournier <[email protected]>
  2007-10-28 08:26     ` Re: Strange anoncvs sync behavior Magnus Hagander <[email protected]>
  2007-10-28 16:18       ` Re: Strange anoncvs sync behavior Marc G. Fournier <[email protected]>
  2007-10-29 06:27         ` Re: Strange anoncvs sync behavior Magnus Hagander <[email protected]>
@ 2007-10-29 10:16           ` Peter Eisentraut <[email protected]>
  0 siblings, 0 replies; 8+ messages in thread

From: Peter Eisentraut @ 2007-10-29 10:16 UTC (permalink / raw)
  To: pgsql-www; +Cc: Magnus Hagander <[email protected]>; Marc G. Fournier <[email protected]>; Tom Lane <[email protected]>

Am Montag, 29. Oktober 2007 schrieb Magnus Hagander:
> >> You were hacking on the tag/branch stuff only to allow "pgsql" to do
> >> that, but then IIRC people spoke up and said they wanted it the other
> >> way around - only personal accounts doing it. Or something like that.

> Ah, that's what I meant, really :-) At least in that being the reason
> why I stopped looking at the other part, and then forgot about it.

Would this have anything to do with this problem:

$ cvs update -rREL8_2_STABLE
cvs update: warning: cannot open /cvsroot/CVSROOT/val-tags read/write: Permission denied
cvs update: failed to create lock directory for `/cvsroot/pgsql' (/cvsroot/pgsql/#cvs.lock): Permission denied
cvs update: failed to obtain dir lock in repository `/cvsroot/pgsql'
cvs [update aborted]: read lock failed - giving up

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



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

* Re: Strange anoncvs sync behavior
  2007-10-27 05:59 Strange anoncvs sync behavior Tom Lane <[email protected]>
@ 2007-11-14 14:35 ` Magnus Hagander <[email protected]>
  1 sibling, 0 replies; 8+ messages in thread

From: Magnus Hagander @ 2007-11-14 14:35 UTC (permalink / raw)
  To: Tom Lane <[email protected]>; +Cc: pgsql-www

On Sat, Oct 27, 2007 at 01:59:04AM -0400, Tom Lane wrote:
> Over an hour ago, Marc applied a "cvs tag" operation to the master CVS
> repository.  I saw it immediately in local "cvs log" queries, but it
> didn't propagate to anoncvs AFAICS, because the cvsweb server never
> showed it.  After I applied a post-tag commit
> (src/backend/optimizer/path/pathkeys.c a few minutes ago), the BETA2
> tag showed up in cvsweb almost immediately.
> 
> This might have been some weird timing glitch, but what it looked like
> to me was that the anoncvs update trigger doesn't recognize tag
> operations.  Is that accurate?  Is it fixable?

Sorry for the wait, hopefully this is now done. cvs tag operation should now
trigger a repository replication the same way a cvs commit does. (I copied
the code over..)

//Magnus




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


end of thread, other threads:[~2007-11-14 14:35 UTC | newest]

Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-10-27 05:59 Strange anoncvs sync behavior Tom Lane <[email protected]>
2007-10-27 07:27 ` Magnus Hagander <[email protected]>
2007-10-27 22:23   ` Marc G. Fournier <[email protected]>
2007-10-28 08:26     ` Magnus Hagander <[email protected]>
2007-10-28 16:18       ` Marc G. Fournier <[email protected]>
2007-10-29 06:27         ` Magnus Hagander <[email protected]>
2007-10-29 10:16           ` Peter Eisentraut <[email protected]>
2007-11-14 14:35 ` Magnus Hagander <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox