Re: Remove unused labels?

2016-09-16 Thread Jacques Le Roux
Le 16/09/2016 à 11:18, Taher Alkhateeb a écrit : Hi Jacques, Yeah I looked at your explanation, still doable, in fact, it seems to be a great thing to do in Groovy. A couple of hours in authoring a script could iterate through all the variations and clean them up, and that could be part of our

Re: Remove unused labels?

2016-09-16 Thread Taher Alkhateeb
Hi Jacques, Yeah I looked at your explanation, still doable, in fact, it seems to be a great thing to do in Groovy. A couple of hours in authoring a script could iterate through all the variations and clean them up, and that could be part of our tools. We would really benefit from writing scripts

Re: Remove unused labels?

2016-09-15 Thread Jacques Le Roux
Did you have a look at OFBIZ-8154 and the related code :-o ? Jacques Le 16/09/2016 à 07:16, Taher Alkhateeb a écrit : Simple, loop over the labels, and for each label if it exists anywhere don't delete it, else, delete it. On Sep 16, 2016 8:15 AM, "Jacques Le Roux"

Re: Remove unused labels?

2016-09-15 Thread Taher Alkhateeb
Simple, loop over the labels, and for each label if it exists anywhere don't delete it, else, delete it. On Sep 16, 2016 8:15 AM, "Jacques Le Roux" wrote: > You need to know which patterns to use, the difficulty is not technical > but functional > > Jacques > > >

Re: Remove unused labels?

2016-09-15 Thread Jacques Le Roux
You need to know which patterns to use, the difficulty is not technical but functional Jacques Le 16/09/2016 à 07:04, Taher Alkhateeb a écrit : Why would you think it is difficult? Seems like good old pattern matching to me. On Sep 15, 2016 10:28 PM, "Jacques Le Roux"

Re: Remove unused labels?

2016-09-15 Thread Taher Alkhateeb
Why would you think it is difficult? Seems like good old pattern matching to me. On Sep 15, 2016 10:28 PM, "Jacques Le Roux" wrote: > Le 15/09/2016 à 21:19, Taher Alkhateeb a écrit : > >> I think unused labels should be removed. I also think it is not too hard >>

Re: Remove unused labels?

2016-09-15 Thread Jacques Le Roux
Le 15/09/2016 à 21:19, Taher Alkhateeb a écrit : I think unused labels should be removed. I also think it is not too hard to find and delete all such labels in one shot. We can develop a script to do that and use it on a recurring basis actually. Actually this already exists, and it's maybe

Re: Remove unused labels?

2016-09-15 Thread Taher Alkhateeb
I think unused labels should be removed. I also think it is not too hard to find and delete all such labels in one shot. We can develop a script to do that and use it on a recurring basis actually. Unfortunately we have unused XML not only in labels but many other XML resources making them dead

Re: Remove unused labels?

2016-09-15 Thread Pierre Smits
Maybe we should discuss each individual label? Or do you believe you can use your own judgement to do the right thing? Pierre Smits ORRTIZ.COM OFBiz based solutions & services OFBiz Extensions Marketplace http://oem.ofbizci.net/oci-2/ On Thu, Sep 15, 2016 at 9:09 PM,

Re: Remove unused labels?

2016-09-15 Thread Pierre Smits
That goes to show that not much attention was paid when they got in. Pierre Smits ORRTIZ.COM OFBiz based solutions & services OFBiz Extensions Marketplace http://oem.ofbizci.net/oci-2/ On Thu, Sep 15, 2016 at 8:50 PM, jler...@apache.org wrote: >

Remove unused labels?

2016-09-15 Thread jler...@apache.org
Hi, While working on OFBIZ-8154 I noticed that the labels beginning by "HumanResServices." are never used. So, it's a pity, but I think they should be removed. Actually my question is more if we agree about removing all unused labels, not only those ones. Thanks