Logs: Why Adium 2.0

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
User avatar
memark
Frappa
Posts: 163
Joined: Sat May 28, 2005 8:44 am
Location: Sweden, Göteborg

Logs: Why Adium 2.0

Post by memark »

I was just wondering why the message logs are stored in
~/Library/Application Support/Adium 2.0/Users/Default/Logs/

I even accidently threw them away once, since I figured Adium 2.0 must be some leftover from an early test version or something... :oops:

So why is this? Are there any plains to use a more (imho) proper naming?
Regards
Magnus Erik Markling
Guest

Re: Logs: Why Adium 2.0

Post by Guest »

memark wrote:I was just wondering why the message logs are stored in
~/Library/Application Support/Adium 2.0/Users/Default/Logs/

I even accidently threw them away once, since I figured Adium 2.0 must be some leftover from an early test version or something... :oops:

So why is this? Are there any plains to use a more (imho) proper naming?
ive actually done this alot too, when im switching between SVN, release, and beta..

i second memark, could it be stored in documents? or a customizable destination?

edit: actually could you create an alias folder called logs and place that in your /users/defult/logs place and have the real folder some other place? would that work? :D

edit: edit: no it dosnt work :D
User avatar
ofri
Growl Team
Posts: 303
Joined: Sat Dec 04, 2004 12:00 pm
Location: Kiryat Ono, Israel
Contact:

Re: Logs: Why Adium 2.0

Post by ofri »

SuperJeremy3000 wrote: ive actually done this alot too, when im switching between SVN, release, and beta..

i second memark, could it be stored in documents? or a customizable destination?

edit: actually could you create an alias folder called logs and place that in your /users/defult/logs place and have the real folder some other place? would that work? :D

edit: edit: no it dosnt work :D
Actually, adium has a hidden ability that does just this ;)
Right click on Adium.app > Show Package Contents > Contents > Info.plist
Open this file with Property List Editor and add a new property named "Preference Folder Location" (without the quotes) and in the value field enter a full path to where you want your prefs to be.
Enjoy :D
Gravitation is not responsible for people falling in love.
--Albert Einstein

http://www.dpompa.com
Guest

Re: Logs: Why Adium 2.0

Post by Guest »

ofri wrote:
SuperJeremy3000 wrote: ive actually done this alot too, when im switching between SVN, release, and beta..

i second memark, could it be stored in documents? or a customizable destination?

edit: actually could you create an alias folder called logs and place that in your /users/defult/logs place and have the real folder some other place? would that work? :D

edit: edit: no it dosnt work :D
Actually, adium has a hidden ability that does just this ;)
Right click on Adium.app > Show Package Contents > Contents > Info.plist
Open this file with Property List Editor and add a new property named "Preference Folder Location" (without the quotes) and in the value field enter a full path to where you want your prefs to be.
Enjoy :D
ahh thanks ofri! this should do for a quick fix, but this is also a problem because each time i upgrade, make anew build, or beta test.. i gotta redue the thing over again.

thanks again ofri :D
User avatar
jstamos
Growl Team
Posts: 334
Joined: Sun Dec 05, 2004 1:39 am
Contact:

Post by jstamos »

It was labelled 2.0 way back when it was going to be Adium 2.0 and not X. Why it wasn't changed to Adium X, I'm not really sure. Perhaps Adium had already snagged enough of a user base to make it so much that devs didn't want to hear the OMFGWHEREAREMYPREFERENCESYOUBASTARDS complaints.

It is Adium 2.0 instead of Adium beacuse originally the two sets of prefs were not compatible (Adium 2.0 and Adium 1.6) and there needed to be a way for people to switch back and forth, as the original Adium 2.0 builds weren't the most stable (and sometimes, not the most useful) of builds.
Guest

Post by Guest »

ok.. i already created a ticket for the enhancement... does anyone else have problems with deleting the logs, accidently?

editeddddd: i never thought adium 2.0 was misnamed, but i still run into the problem :/
User avatar
Catfish_Man
Cocoaforge Admin
Posts: 1203
Joined: Thu Dec 02, 2004 6:30 am
Location: Portland, Oregon
Contact:

Post by Catfish_Man »

It was renamed from Adium 2.0 to AdiumX 0.5 because it wasn't felt that the quality was up to post-1.0 standards, but going back to Adium 0.5 would be confusing.
User avatar
biglittledragoon
Crema
Posts: 282
Joined: Mon Feb 21, 2005 2:41 pm
Location: On Earth.... (France)
Contact:

Post by biglittledragoon »

I asked it before, on the old forum.
But now, the thread is hidden... :cry:
Knowledge MUST be shared!
La Connaissance ne vaut que si elle est partagée!

My X(tras)
Image The French Team on Twitter
User avatar
Damienoneill
Frappa
Posts: 116
Joined: Tue May 10, 2005 9:10 pm
Location: University of Kent

Post by Damienoneill »

I though adium had not even reached 1.0 yet? Was there a previous version, and then changed to X? :?
User avatar
jstamos
Growl Team
Posts: 334
Joined: Sun Dec 05, 2004 1:39 am
Contact:

Post by jstamos »

http://trac.adiumx.com/ticket/646

I've filed a ticket to propose to change this, because while it functionally does nothing, it does make more sense to be X than 2.0.
User avatar
Adam Iser
Crema
Posts: 427
Joined: Thu Dec 02, 2004 1:36 am

Post by Adam Iser »

http://trac.adiumx.com/wiki/VersionNumbers

I don't believe that folder will be renamed until there is a major change in the preference format. Such a change will come, but I'm not sure exactly when.

We don't want to touch the preference folder unless necessary :)
User avatar
carlj7
Frappa
Posts: 126
Joined: Sun Dec 05, 2004 5:37 am
Location: Takaoka, Japan
Contact:

Post by carlj7 »

I know it is kind of a stupid thing, but I think it's worth changing, so it's less confusing. Have Adium first look to see if there is an Adium 2.0 folder. If there is, it should rename it to "AdiumX". From there, things should proceed normally, only out of the AdiumX folder instead of Adium 2.0.

I know that this isn't really important, but I still think it would be helpful for the users who haven't been using Adium since the original, clay pigeon versions. If one user has come to the forums to report being thrown off track by it, probably means 10x as many were confused but kept silent.
User avatar
Adam Iser
Crema
Posts: 427
Joined: Thu Dec 02, 2004 1:36 am

Post by Adam Iser »

carlj7 wrote:I know it is kind of a stupid thing, but I think it's worth changing, so it's less confusing. Have Adium first look to see if there is an Adium 2.0 folder. If there is, it should rename it to "AdiumX". From there, things should proceed normally, only out of the AdiumX folder instead of Adium 2.0.
What if there's already an AdiumX folder? What if permissions are wrong and we can't rename? What it something goes wrong while renaming? What about the users who have that folder symlinked somewhere else?

Even something as simple as renaming a folder can cause a headache, so it will be avoided until necessary.
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

It's worth changing so that 1 out of a thousand people have problems with their preferences too, right?

Seriously, changing it just because of the name is idiocy.
smilr
Harmless
Posts: 2
Joined: Fri May 06, 2005 7:56 pm

Post by smilr »

Adam Iser wrote:
carlj7 wrote:I know it is kind of a stupid thing, but I think it's worth changing, so it's less confusing. Have Adium first look to see if there is an Adium 2.0 folder. If there is, it should rename it to "AdiumX". From there, things should proceed normally, only out of the AdiumX folder instead of Adium 2.0.
What if there's already an AdiumX folder? What if permissions are wrong and we can't rename? What it something goes wrong while renaming? What about the users who have that folder symlinked somewhere else?

Even something as simple as renaming a folder can cause a headache, so it will be avoided until necessary.
So? Copy the contents out to a new folder you create - then delete the old one - or, if there is an error during an attempted name-change/create/delete, alert the user about it and continue operating with the prefs inside the adium 2 folder. It may be a hassle - but sooner or later this transition should happen, better to think about it early and not be caught blindsided by it.
User avatar
Adam Iser
Crema
Posts: 427
Joined: Thu Dec 02, 2004 1:36 am

Post by Adam Iser »

smilr wrote:So?
I guess you missed my point. We're not going to take a very minor problem and work to turn it into a larger one for an insignificant benefit.
smilr wrote:Copy the contents out to a new folder you create - then delete the old one - or, if there is an error during an attempted name-change/create/delete, alert the user about it and continue operating with the prefs inside the adium 2 folder.
Scenario: User downloads a beta of Adium .9 and opens it while .8 is running, then decides to wait until .9 is finished and closes it.

1) .9 Copies the preferences to a new location and deletes the old.
2) .8 Writes back preferences as they are modified, but not all preferences are modified every session.
3) User quits Adium and goes to sleep, comes back tomorrow to find that a large portion of their preferences have been deleted.

You make it out like this is a simple change, it is not. Your code just deleted my preferences and now I'm angry.
smilr wrote:It may be a hassle - but sooner or later this transition should happen, better to think about it early and not be caught blindsided by it.

As I said, it WILL happen, but only when it becomes necessary. We have thought about it, even wrote the code for it only to decide that it wasn't worth the risks for such an insignificant benefit.
User avatar
biglittledragoon
Crema
Posts: 282
Joined: Mon Feb 21, 2005 2:41 pm
Location: On Earth.... (France)
Contact:

Post by biglittledragoon »

William Shakespeare wrote:Much Ado About Nothing
Knowledge MUST be shared!
La Connaissance ne vaut que si elle est partagée!

My X(tras)
Image The French Team on Twitter
Guest

Post by Guest »

waaiiittt... as i have installed xcode and i was going to do with ofri told me... i think what i was saying was misunderstood...

i was thinking why not place an extra function in the preferences that alows you to designate where adium saves the logs portion of the preferences.. not OMFG U guyZ R dumz 4 Adium2.0

i think if im not mistaken proteus does this, maybe ichat.. ive been using adiumx for so long that i dont know anymore :D.

just a thought!
User avatar
ofri
Growl Team
Posts: 303
Joined: Sat Dec 04, 2004 12:00 pm
Location: Kiryat Ono, Israel
Contact:

Post by ofri »

if you have a problem with editing your adium build every time, you could also try to create a symbolic link instead of your adium 2.0 folder.
i *think* it should work, but i didn't try it.
Gravitation is not responsible for people falling in love.
--Albert Einstein

http://www.dpompa.com
Guest

Post by Guest »

ofri wrote:if you have a problem with editing your adium build every time, you could also try to create a symbolic link instead of your adium 2.0 folder.
i *think* it should work, but i didn't try it.
symbolic link, like an alias? i tried an alias, didnt work :/
Post Reply