Merge lp:~cristiklein/update-notifier/use-xdg-folders into lp:update-notifier
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Merge reported by: | Michael Vogt | ||||
| Merged at revision: | not available | ||||
| Proposed branch: | lp:~cristiklein/update-notifier/use-xdg-folders | ||||
| Merge into: | lp:update-notifier | ||||
| Diff against target: |
124 lines (+25/-10) 5 files modified
INSTALL (+14/-3) config.h.in (+3/-0) data/hooks.py (+2/-1) src/hooks.c (+4/-4) src/update-notifier.c (+2/-2) |
||||
| To merge this branch: | bzr merge lp:~cristiklein/update-notifier/use-xdg-folders | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Sebastian Geiger (community) | obsolete | Disapprove on 2010-08-25 | |
| Ubuntu Core Development Team | 2009-11-19 | Pending | |
|
Review via email:
|
|||
| Cristian Klein (cristiklein) wrote : | # |
> Is there any particular reason why you put the files into XDG_USER_DATA
> instead of XDG_USER_CONFIG or XDG_USER_CACHE?
Hello,
I used [1] to take this decision. If "hooks_seen" is deleted the user won't say "Damn, I will have to reconfigure all" and he doesn't say "It's bloody slow those days". So, by elimination, I assumed it is user data an should belong to XDG_USER_DATA.
Of course, I don't know the application too well, so I might be wrong.
Cristi.
[1] http://
| Sebastian Geiger (lanoxx) wrote : | # |
Hi Christian,
thanks for the reply. I used XDG_CONFIG_HOME now, since update-notifier regenerates the HOOKS_SEEN file if you delete it. So the only change for the user is, that he has to acknowledge the notify dialog if the file gets deleted.
The patches have now been merged into upstream from separate patches, see rev 589 through 591.
Cheers Sebastian
| Cristian Klein (cristiklein) wrote : | # |
Hello,
Are you sure HOOKS_SEEN is CONFIG? IMHO, it doesn't trigger the "Damn, I will have to reconfigure all" reaction of the user. Could you please explain your choice?
Thanks,
Cristi.
| Sebastian Geiger (lanoxx) wrote : | # |
You can test it, simply but deleting the HOOKS_SEEN file and then manually starting update-notifier from the console. It will open a dialog telling you a few things you have to do, like restart Firefox, etc. and afterwards, after you close it, a new HOOKS_SEEN files is generated.
One more question, are the changes you made to INSTALL and config.h.in important? If yes, then we could send them as a separate patch to mvo.
P.S I will try to get Michael to put you name into the commit message, since most of my patch was inspired by your branch.
| Cristian Klein (cristiklein) wrote : | # |
Okey, your argument is good enough for me. :)
Regarding, INSTALL and config.h.in, these changes are most likely because I used a newer version of autoconf/make and should be ignored. Sorry for that, I should not have let these changes leak.
Thank you for your time.
| Sebastian Geiger (lanoxx) wrote : | # |
Not at all, its one bug less after all :)

Is there any particular reason why you put the files into XDG_USER_DATA instead of XDG_USER_CONFIG or XDG_USER_CACHE?