Topic: Renaming Categories

Just wondering:
Is there an easy way to rename categories, because it's really annoying having to go to each app and rename the category individually.

An idea I was thinking about was to have "Rename category" or "Change category" in the right-click menu.

I love this app!
Thank you,
Kris

Re: Renaming Categories

Well a context menu option would be faster... If you don't get it here's how to do it:

- Select the applications you wish to rename
- Export select jobs using File>Export selected...
- Open XML in Notepad
- With the 'Replace' feature search for (example)

<Category>Clean</Category>

and replace with

<Category>Tweak</Category>

- Save XML als UTF-8
- Import back to Ketarin using File>Import


This description looks more complicated than what really is. wink

Re: Renaming Categories

Some things (example: CIV) do NOT export to XML.  (I have asked, Flo's answer is still "no"). 

So you will not necessarily end up with with an equivalent database except for desired category change, by exporting and re-importing, depending on how your apps are configured. 

Worst case you will just redownload some apps that do not need to be redownloaded, so it is not a monumental problem.  Just wanted to point this out, so anyone going this route is not surprised by any change in Ketarin's behavior following re-import.

--appyface

Re: Renaming Categories

Actually CIV is a bad example because you can 'reset' value replacing

<VariableChangeIndicator>{version}</VariableChangeIndicator>

with

<VariableChangeIndicator />

using the same procedure. But I know what you're talking about wink, there are a lot of settings not available in XML export.


@krislin, others

IF you also use category in paths and commands remember to change those as well. The alternative is to use a {category} variable. Technible for instance would save users some trouble if they used this (and other built-in variables).

Re: Renaming Categories

FranciscoR wrote:

Actually CIV is a bad example

Actually, it's a perfect example.  Results may not be predictable because not all values are exported to the XML.  The context of this thread is changing the category and re-importing the XML, not other tweaks to the XML.

--appyface

Re: Renaming Categories

You are not talking of CIV (variable), you are talking of CIV content. For the record I have never experienced such a problem, XML import is very predictable.

Re: Renaming Categories

FranciscoR wrote:

XML import is very predictable...

It has been for me also FranciscoR, although some content/data is not preserved such as 'CIV' content/data, and if my memory serves me correctly 'version' content/data that existed before.

Re: Renaming Categories

FranciscoR wrote:

You are not talking of CIV (variable), you are talking of CIV content.

I haven't any idea what you are arguing, sorry.

I came in to this thread, I saw a person had asked about easier way to rename categories .  A workaround was suggested, in the form of exporting the XML, mass-updating the categories as desired, and then re-importing the XML.  I simply pointed out this method *may* not result in Ketarin behaving the same as it would have, had the person not followed this workraound, because not all values are exported to XML.

I stand by what I wrote.  Flo has chosen to not export everything and he has written about this in at least one of previous posts here.

--appyface

Re: Renaming Categories

appyface wrote:
FranciscoR wrote:

You are not talking of CIV (variable), you are talking of CIV content.

I haven't any idea what you are arguing, sorry.

I believe FranciscoR means that the xml stores

<VariableChangeIndicator>{version}</VariableChangeIndicator>

for example but not the content/data related to that from the Jobs.db such as version '1.2.3' for the last run of Ketarin. Otherwise, I don't believe FranciscoR is disagreeing with your assessment appyface. wink

Re: Renaming Categories

OK - but what was the point of mentioning that?  I still don't get what relevance or significance that has to the conversation that was taking place.  Sorry.  It doesn't make any sense to me.

--appyface

Re: Renaming Categories

Noted... FranciscoR will have to answer that one. wink

Re: Renaming Categories

appyface wrote:

I simply pointed out this method *may* not result in Ketarin behaving the same as it would have, had the person not followed this workraound, because not all values are exported to XML.

This is an IRRELEVANT piece of information as such a bug as never been reported. Case closed.

Re: Renaming Categories

You are incorrect sir on all your assumptions.  It is not a bug, it is a decision Flo made deliberately.  Ketarin will behave differently if your configuration of Ketarin apps requires the missing data.  Find the post.  Case closed.

Last edited by appyface (2009-08-30 14:19:19)

Re: Renaming Categories

I'd actually prefer if such discussions could go without that somewhat unfriendly tone.

Anyway:
1. No, renaming categories is not possible easily and it hasn't been intented so far.
2. When exporting and importing, you might lose some information. Nothing critical, but there simply is some information that should not be transfered to other users' databases.
3. At some point, there *might* be a category management, but it doesn't seem necessary currently. Maybe it'll also be replaced by tags or something like this.

Re: Renaming Categories

Some additional "category like" management could be very helpful.  Thanks Flo!

I do apologize for responding in kind.  My "tone" could have been better. 

--appyface

Last edited by appyface (2009-08-30 15:06:50)

Re: Renaming Categories

Yes indeed... let us not forget we are all on the same team. wink

Re: Renaming Categories

Thanks for your help FranciscoR.

Flo, (or anyone else that can help,) out of curiosity, exactly what information is not exported?