/srv/irclogs.ubuntu.com/2012/10/27/#ubuntu-devel.txt

=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== cpg is now known as cpg|away
=== frewsxcv is now known as frewsxcv94040
=== Sarvatt_ is now known as Sarvatt
=== cpg|away is now known as cpg
=== frewsxcv94040 is now known as frewsxcv94709
=== morphis|away is now known as morphis
=== doko_ is now known as doko
=== cpg is now known as cpg|away
=== morphis is now known as morphis|away
=== morphis|away is now known as morphis
apw@pilot out12:27
=== udevbot changed the topic of #ubuntu-devel to: Ubuntu 12.10 (Quantal Quetzal) released! | Archive: Frozen | Dev' of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and dicussion of hardy -> quantal | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: infinity
infinity@pilot out12:28
=== udevbot changed the topic of #ubuntu-devel to: Ubuntu 12.10 (Quantal Quetzal) released! | Archive: Frozen | Dev' of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and dicussion of hardy -> quantal | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots:
xnoxbarry: what is the "right" solution when unit-tests rely on dict ordering?12:35
xnoxbarry: use ordereddict in the unit-test or make the code use ordereddicts? or compare taking into account that it could be slightly "random"12:36
xnox?12:36
jtaylorsort the result what is expected to be non-random?12:38
barryxnox: sort12:47
xnoxbarry: hmm... well looking into subunit build-failure it compares the final output which embeds pieces of random string. I'd rather not mangle that output but make subunit return sorted output in that field.12:51
xnoxotherwise the tests that use subunit will have to change depending if it's 3.2 or 3.312:52
xnoxbarry: also strangely we see hash ordering on 32 bit platforms, but not 64 bit...12:53
=== Ursinha_ is now known as Ursinha
=== Ursinha is now known as 36DACCO59
=== 36DACCO59 is now known as Ursinha
xnoxbarry: jtaylor: please review for sanity https://code.launchpad.net/~xnox/subunit/hash-ordering/+merge/13173213:25
=== morphis is now known as morphis|away
stediHi, I need to "serialize" package versions version and revision parts (epoch is easy enough) so I can pick latest among several candidates using ordinary sort functionality (in databases). I have looked at verrevcmp function but am hesitant about just appending several order() results into a string of unsigned shorts. Or would this work?14:13
=== wzssyqa1 is now known as wzssyqa
=== wzssyqa is now known as Guest14402
=== Guest14402 is now known as wzssyqa
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== sraue_ is now known as sraue
=== Ursinha is now known as Ursinha-afk
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
alexbligh1I have an apache module packaged for debian. It has a conf file /etc/apache2/mods-available/mymodule.load. When I remove it (but not purge it), it leaves the conffile there, which is as expected I guess. However, this variously breaks apache. How do I ensure it is removed on a package remove? I guess I'm asking for it either to be treated not as a conf file, or removed if it is unchanged. This is for Lucid.17:46
alexbligh1(if I rm it from my prerm script, it thinks the user has changed it, which in turn means reinstalling it won't reinstall the conf file)17:47
jelmeralexbligh1: it shouldn't be an issue if the file is just in /etc/apache2/mods-available if the module is not installed17:54
jelmeralexbligh1: only if the file is actually in /etc/apache2/mods-enabled (or symlinked there)17:54
alexbligh1jelmer, hmm, that makes sense. I wonder why it is causing issues.17:57
jelmeralexbligh1: the apache log should be of help - a directive in that file isn't understood by apache?17:58
alexbligh1jelmer, I think the problem was that it wasn't doing the a2dismod, but removing the .so, and I got confused by the .load being there.18:00
alexbligh1thanks for your help18:00
alexbligh1... though I'm sort of intrigued why they are conffiles anyway. Are they intended to be user editable?18:01
xnoxalexbligh1: hmm... well mods-enabled has symlinks to conffiles in mods-available. And apache reads conffiles to get the names & system settings for a particular loadable .so. Apache doesn't know where to find them and which onces to load and which onces not to load =)18:09
alexbligh1xnox, no I meant why is the .load file a conffile (or, if you prefer why is mods-available in /etc/ not a symlink to elsewhere, or the files copied in on postinst and removed in prerm), given they are not user editable as far as I can tell, unlike (e.g.) sites-avaialble.18:13
alexbligh1as the .load file hanging around makes no sense if the .so has gone.18:13
xnoxalexbligh1: I don't see a reason to ever modify them, but maybe I am not advanced user.18:14
xnoxno idea about handling.18:14
alexbligh1aaaah, for what it's worth the bug is that if you remove, but not purge, an apache module, then someone a2enmods it, then it successfully creates the link and a2enmod does not error, but reloading apache fails even if the module is not used :-/18:20
=== tkamppeter_ is now known as tkamppeter
=== cpg|away is now known as cpg
=== dendrobates is now known as dendro-afk
=== cpg is now known as cpg|away
=== cpg|away is now known as cpg
=== allquixotic_ is now known as allquixotic
=== cpg is now known as cpg|away

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!