Re: [csw-devel] psuedo sketch of web and mantis automation

2011-08-30 Thread Ben Walton
The plan is that this will halt the assembly line. Some (not sure who) will get mail. Thanks -Ben "Maciej Bliziński" wrote: 2011/8/30 Ben Walton : > I've already written tests that catch the first one case as an error, > but I think the second should be too. Although it's less harmful to > th

Re: [csw-devel] psuedo sketch of web and mantis automation

2011-08-30 Thread Maciej Bliziński
2011/8/30 Ben Walton : > I've already written tests that catch the first one case as an error, > but I think the second should be too.  Although it's less harmful to > the users, a catalog name change should be banned unless it's an > explicit action (done with a manual script/tool instead of via >

Re: [csw-devel] psuedo sketch of web and mantis automation

2011-08-29 Thread Ben Walton
Excerpts from Ben Walton's message of Fri Aug 19 21:30:46 -0400 2011: > Excerpts from Maciej Bliziński's message of Fri Aug 19 07:34:55 -0400 2011: > > > 1. Both pkgname and catalogname change, e.g. CSWfoodev/foodev → > > CSWfoo-dev/foo_dev > > 2. Only the catalogname changes (CSWfoo-dev/foodev →

Re: [csw-devel] psuedo sketch of web and mantis automation

2011-08-24 Thread Maciej Bliziński
2011/8/25 Ben Walton : > Does anyone think that case three should _not_ be an error? I say it's an error. ___ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel

Re: [csw-devel] psuedo sketch of web and mantis automation

2011-08-24 Thread Ben Walton
Excerpts from Ben Walton's message of Fri Aug 19 21:30:46 -0400 2011: > > 3. Only the pkgname changes (CSWfoodev/foo_dev → CSWfoo-dev/foo_dev) > > This should be handled by an update operation. As things are keyed on > the catalog name, a change (based on version comparison) will trigger > a ref

Re: [csw-devel] psuedo sketch of web and mantis automation

2011-08-21 Thread Ben Walton
Excerpts from Maciej Bliziński's message of Sun Aug 21 03:27:08 -0400 2011: > > As far as the catalog diff engine is concerned, both of these are > > the same.  They'll appear as the drop of one package and the > > addition of a new one.  The special case of _stub packages is > > handled in the ps

Re: [csw-devel] psuedo sketch of web and mantis automation

2011-08-21 Thread Maciej Bliziński
2011/8/20 Ben Walton : > Excerpts from Maciej Bliziński's message of Fri Aug 19 07:34:55 -0400 2011: > >> 1. Both pkgname and catalogname change, e.g. CSWfoodev/foodev → >> CSWfoo-dev/foo_dev >> 2. Only the catalogname changes (CSWfoo-dev/foodev → > >> CSWfoo-dev/foo_dev) > > As far as the catalog

Re: [csw-devel] psuedo sketch of web and mantis automation

2011-08-19 Thread Ben Walton
Excerpts from Maciej Bliziński's message of Fri Aug 19 07:34:55 -0400 2011: > 1. Both pkgname and catalogname change, e.g. CSWfoodev/foodev → > CSWfoo-dev/foo_dev > 2. Only the catalogname changes (CSWfoo-dev/foodev → > > CSWfoo-dev/foo_dev) As far as the catalog diff engine is concerned, both of

Re: [csw-devel] psuedo sketch of web and mantis automation

2011-08-19 Thread Maciej Bliziński
2011/8/19 Ben Walton : > Anyway, pseudo code.  Any obvious issues? Looks good overall, but I haven't tried hard to think about corner cases yet. On a general note, there are 3 kinds of renames: 1. Both pkgname and catalogname change, e.g. CSWfoodev/foodev → CSWfoo-dev/foo_dev 2. Only the catalog

[csw-devel] psuedo sketch of web and mantis automation

2011-08-18 Thread Ben Walton
Hi All, I've not started coding this yet as I'm still getting the environment setup, but here is the rough outline (pseudo code) of the overall flow for this. A few things of note: Must of the mantis stuff relies on info from the web database thus 'add' operations should be web then mantis whil