**** BEGIN LOGGING AT Fri Oct 21 02:59:57 2011 Oct 21 09:42:38 nbd: ping Oct 21 11:36:07 nico * r28500 /trunk/tools/upx/Makefile: Oct 21 11:36:07 [tools] upx: fix build error Oct 21 11:36:07 g++ -O2 -Wall -W -Wcast-align -Wcast-qual -Wpointer-arith -Wshadow -Wwrite-strings -Werror -o compress.o -c compress.cpp Oct 21 11:36:07 cc1plus: warnings being treated as errors Oct 21 11:36:07 compress.cpp:75: error: unused parameter 'src' Oct 21 11:36:08 ... Oct 21 12:47:42 nbd * r28501 /trunk/package/netifd/Makefile: netifd: add missing dependencies on libuci and libnl-tiny Oct 21 12:57:30 nbd * r28502 /trunk/tools/lzma-old/patches/100-lzma_zlib.patch: tools/lzma-old fix compile issues (patch from #10253) Oct 21 13:08:18 nbd * r28503 /trunk/scripts/feeds: scripts/feeds: override the OPENWRT_BUILD variable when calling internal targets (based on patch from #10212) Oct 21 13:14:53 nbd: ping Oct 21 13:21:29 nbd: i made uci package for archlinux yesterday, this small patch enables that ucimap get build like a shared library as well Oct 21 13:21:33 http://pastie.org/2734410 Oct 21 13:25:30 nbd * r28504 /trunk/package/uci/Makefile: uci: update to latest version (includes several bugfixes) Oct 21 13:26:26 luka12345|wiik: ucimap is deprecated, that's the reason why i made it a static library Oct 21 13:27:52 ok, i did not know that Oct 21 13:28:50 mostly i just used c/p method to get uci working, any suggestions with what to replace ucimap? Oct 21 13:29:40 i got the same situation like this one: http://nbd.name/gitweb.cgi?p=owsip.git;a=blob;f=config.c Oct 21 13:30:25 i'm still working on infrastructure for making config handling much easier, especially wrt. reloading config changes Oct 21 13:30:35 you can find a prototype of what i'm doing in netifd Oct 21 13:30:49 the main thing that i'm doing is i no longer use libuci directly throughout the core Oct 21 13:31:07 i have some core code in netifd that converts uci data to blobmsg data, based on attribute lists from the individual modules Oct 21 13:31:19 that allows each module to keep a tiny snapshot of its config state Oct 21 13:31:41 then i have some core code to allow modules to easily figure out the differences between their snapshot state and the new requested config state Oct 21 13:31:50 making it easy to handle config reload in a generic way Oct 21 13:32:01 right now the conversion and checking code is in netifd itself Oct 21 13:32:12 but i was planning on moving it to a library soon Oct 21 13:32:17 to make use of it in other projects Oct 21 13:32:44 i'd suggest reading the netifd code related to config handling Oct 21 13:33:34 let me know if you need me to clarify or explain some parts Oct 21 13:34:28 the main reason why i abandoned my work on ucimap was that i felt that it put too many restrictions on the user of the api Oct 21 13:34:31 and it didn't help with config reload at all Oct 21 13:35:53 once i'm done moving stuff to a library, i should probably write a long blog post about that ;) Oct 21 13:36:14 thanks for the description :) Oct 21 13:36:40 i think that long blog post is not needed, one good simple example will do (i think) Oct 21 13:37:22 netifd tree is here Oct 21 13:37:26 all the uci handling code is in config.c Oct 21 13:37:31 nothing outside of that interacts with uci Oct 21 13:37:55 you can find an example of an attribute list specification here: http://nbd.name/gitweb.cgi?p=luci2/netifd.git;a=blob;f=proto-static.c;h=ca39b7c8edf86271c8c72226c88cebacad59cf6c;hb=HEAD#l14 Oct 21 13:37:59 now i do not know weather i should start with the netifd or with the old approach until that checking code is in the library Oct 21 13:38:14 i pulled that git just now Oct 21 13:38:44 that checking code, now it's in the config.c ? Oct 21 13:39:44 have you looked at libubox / blobmsg yet? Oct 21 13:39:51 no Oct 21 13:39:54 ok Oct 21 13:40:09 it's basically a binary format with a structure similar to json Oct 21 13:40:17 with a parser/generator api similar to netlink Oct 21 13:40:58 it's used a lot in ubus Oct 21 13:41:06 which i use to control netifd Oct 21 13:42:08 the nice thing about blobmsg is that you can all kinds of structured and nested data in a way that's easy to iterate over in just one memory block Oct 21 13:42:31 generating it is done on a growing buffer with no external metadata outside of that buffer Oct 21 13:42:45 and the core code in libubox handles validating attributes Oct 21 13:43:10 so in netifd, every module has a list of attributes that it's interested in Oct 21 13:43:24 this list is used in two ways: Oct 21 13:44:02 it is the format that the library uses for quickly looking up a group of attributes Oct 21 13:44:13 and at the same time it is used by the config.c code to generate blobmsg data from uci Oct 21 13:44:57 for reload checking there's a function that takes an attribute list and two blobmsg 'blobs' Oct 21 13:45:12 it simply checks whether all attributes listed in the attribute list are the same for both blobs Oct 21 13:45:52 brb Oct 21 13:46:09 ok, i got a bit lost Oct 21 13:46:34 it's quite different from a lot of the existing code and will definitely take some getting used to Oct 21 13:46:53 but i think it can make a lot of things smaller, easier and more powerful Oct 21 13:47:29 is this implemeted in netifd ? Oct 21 13:50:01 * luka12345|wiik hates myself when i ask stupid questions Oct 21 13:51:44 nbd: thx for the info, i'll explore it Oct 21 13:59:35 build #79 of sibyte is complete: Success [build successful] Build details are at http://buildbot.openwrt.org:8010/builders/sibyte/builds/79 Oct 21 14:15:40 luka12345|wiik: the blobmsg functions are in libubox, the uci conversion is in netifd Oct 21 14:41:33 obsy * r28505 /packages/net/transmission/Makefile: [packages] transmission: update to 2.42 Oct 21 17:39:33 build #96 of ubicom32 is complete: Failure [failed compile_3] Build details are at http://buildbot.openwrt.org:8010/builders/ubicom32/builds/96 Oct 21 18:18:45 build #98 of at91 is complete: Failure [failed compile_4] Build details are at http://buildbot.openwrt.org:8010/builders/at91/builds/98 Oct 21 19:03:55 nico * r28506 /packages/multimedia/darkice/ (. Makefile patches/ patches/001-upstream_svn_r494.patch): [packages] add darkice (closes: #8186, thanks to Artur Wronowski) Oct 21 20:55:07 nbd * r28507 /trunk/package/uci/Makefile: uci: fix segfault on import of anonymous sections (#10204) Oct 21 21:00:47 mhei * r28508 /packages/lang/php5/Makefile: [packages] php5: Rework/fix config var handlin when built in SDK Oct 21 21:03:30 mhei * r28509 /packages/lang/php5/Makefile: Oct 21 21:03:30 [packages] php5: Introduce conditional dependencies Oct 21 21:03:30 Thanks jow for the suggestion. Oct 21 21:17:08 mhei * r28510 /packages/lang/php5/Makefile: Oct 21 21:17:08 [packages] php5: don't hide modules which are depended from other options, Oct 21 21:17:08 instead select such options when module is enabled. Should fix the problem Oct 21 21:17:08 described in #9839, backport to backfire TBD. Oct 21 22:15:00 hm.. looks like linx just went tits-up Oct 21 22:59:51 nico * r28511 /packages/net/nginx/ (6 files in 2 dirs): [packages] nginx: update to latest stable 1.0.8 (closes: #8510) Oct 21 23:04:59 nico * r28512 /packages/net/usbip/ (4 files in 2 dirs): [packages] usbip: cleanup dependencies (closes: #8230), fix usb.ids location Oct 21 23:13:33 nico * r28513 /trunk/package/busybox/ (58 files in 26 dirs): [package] busybox: update to 1.19.2 (thanks to Peter Wagner) Oct 22 00:24:33 Is openwrt compactable with usb 3.0 now? Oct 22 00:31:41 as compatible as the linux kernel you're openwrt image uses Oct 22 01:56:43 nbd * r28514 /trunk/package/netifd/Makefile: netifd: add a dependency on jshn **** ENDING LOGGING AT Sat Oct 22 02:59:56 2011