Re: [Spacewalk-devel] [PATCH] Naming of cloned errata

2012-04-13 Thread Johannes Renner
On 04/11/2012 02:28 PM, Jan Pazdziora wrote: On Wed, Apr 11, 2012 at 11:43:07AM +0200, Johannes Renner wrote: I agree that clones of clones should get CM, CN, etc. instead of CL-CL-kernel*. How would you propose to detect clones for implementing this algorithm? How about having a new

Re: [Spacewalk-devel] [PATCH] Naming of cloned errata

2012-04-13 Thread Jan Pazdziora
On Fri, Apr 13, 2012 at 04:02:47PM +0200, Johannes Renner wrote: On 04/11/2012 02:28 PM, Jan Pazdziora wrote: How about having a new database table with prefixes and replacements, where the prefix could be empty (NULL) to mean prepend. Record with the longest matching prefix would

Re: [Spacewalk-devel] [PATCH] Naming of cloned errata

2012-04-11 Thread Jan Pazdziora
On Wed, Apr 11, 2012 at 11:43:07AM +0200, Johannes Renner wrote: I agree that clones of clones should get CM, CN, etc. instead of CL-CL-kernel*. How would you propose to detect clones for implementing this algorithm? How about having a new database table with prefixes and replacements,

Re: [Spacewalk-devel] [PATCH] Naming of cloned errata

2012-04-04 Thread Tomas Lestach
On Friday 30 of March 2012 17:06:17 Johannes Renner wrote: On 03/07/2012 11:57 AM, Johannes Renner wrote: On 03/06/2012 05:42 PM, Johannes Renner wrote: Hey, I want to propose a change concerning the names of cloned errata. Currently, names of cloned errata are generated like this:

Re: [Spacewalk-devel] [PATCH] Naming of cloned errata

2012-04-04 Thread Cliff Perry
On 04/04/2012 04:47 AM, Tomas Lestach wrote: On Friday 30 of March 2012 17:06:17 Johannes Renner wrote: On 03/07/2012 11:57 AM, Johannes Renner wrote: On 03/06/2012 05:42 PM, Johannes Renner wrote: Hey, I want to propose a change concerning the names of cloned errata. Currently, names of

Re: [Spacewalk-devel] [PATCH] Naming of cloned errata

2012-04-04 Thread Tomas Lestach
On Wednesday 04 of April 2012 09:42:59 Cliff Perry wrote: On 04/04/2012 04:47 AM, Tomas Lestach wrote: On Friday 30 of March 2012 17:06:17 Johannes Renner wrote: On 03/07/2012 11:57 AM, Johannes Renner wrote: On 03/06/2012 05:42 PM, Johannes Renner wrote: Hey, I want to propose a

Re: [Spacewalk-devel] [PATCH] Naming of cloned errata

2012-03-30 Thread Johannes Renner
On 03/07/2012 11:57 AM, Johannes Renner wrote: On 03/06/2012 05:42 PM, Johannes Renner wrote: Hey, I want to propose a change concerning the names of cloned errata. Currently, names of cloned errata are generated like this: String clonedAdvisoryName = CL +

Re: [Spacewalk-devel] [PATCH] Naming of cloned errata

2012-03-07 Thread Johannes Renner
On 03/06/2012 05:42 PM, Johannes Renner wrote: Hey, I want to propose a change concerning the names of cloned errata. Currently, names of cloned errata are generated like this: String clonedAdvisoryName = CL + published.getAdvisoryName().substring(3); String clonedAdvisory = CL +

[Spacewalk-devel] [PATCH] Naming of cloned errata

2012-03-06 Thread Johannes Renner
Hey, I want to propose a change concerning the names of cloned errata. Currently, names of cloned errata are generated like this: String clonedAdvisoryName = CL + published.getAdvisoryName().substring(3); String clonedAdvisory = CL + published.getAdvisory().substring(3); The reason for doing it