svn+ssh: коллективные соединения
Чтобы не испортить настройки клиентского ssh, в секции [tunnels] файла конфигурации ~/.subversion/config зададим нужные настройки как параметры командной строки:
ssh = $SVN_SSH ssh -o "ControlMaster=auto" -o "ControlPath=/home/user/.ssh/svn_ssh-%r@%h:%p" -o "ControlPersist=60"
При этом соединение будет создаваться каждый раз при необходимости, и закрываться через 60 секунд после того, как оно становится невостребованным. ControlPersist=yes оставит соединение навсегда, что, вероятно, не очень безопасно, но зато позволяет комфортно исполнять разные команды, типа commit или update в течении работы, если расходы на создание соединения велики.
Estendendo o modelo do usuário - Django 1.4
International Day for Privacy 2013
Heute ist, wie schon in verschiedenen Medien berichtet, der Tag für Datenschutz und Privatsphäre Im Zuge dessen gab es in mehreren Städten Kundgebungen und Demonstrationen. Unter anderem auch in Düsseldorf, wo ca. 50 bis 60 Leute für die Privatsphäre bei eisigen Temperaturen auf die Straße gingen. Neben zwei Kundgebungen, in der Altstadt sowie vor dem Landtag, wurde Passanten mit Flugblättern aufgeklärt was sich hinter Acta und INDECT verbirgt. Einer der Redebeiträge kann hier nachgelesen werden.
Hacking around with the Geekos (openSUSE 12.3 Marketing Hackathon)
Event
From 31st of January to 10th of February I participated in openSUSE 12.3 Marketing Hackathon. The Hackathon took place in SUSE Headquarters [Nuremberg,Germany] from 4/02 to 10/02. Before that we participated in FOSDEM by promoting to the crowd the openSUSE Project and the oSC13 as well. Our participation in FOSDEM was really successful cause people asked a lot of questions around the upcoming release of openSUSE and expressed their interest for this year’s openSUSE Conference. Thanks to Carlos we spread out and informed a lot of people about the oSC13.
Apart from that this year I spent more time in joining presentations. I admit that I liked more FOSDEM 2013 than FOSDEM 2012 because I found the presentations (Developer rooms especially) more interesting.
After FOSDEM we travelled to Nuremberg for the Marketing Hackathon . On the way back to Nuremberg I was impressed by the fact that openSUSE development continued even on the bus with various hackers (SUSE Employees) sitting behind their laptops, building packages. Apart from software development we drunk a lot of openSUSE beers. 
Arriving to Nuremberg , after FOSDEM , we begun to work in the 12.3 RC1 release. SUSE Employees helped us by providing all the necessary equiqment [ok , coffee , meeting rooms etc] since we worked in the SUSE offices. Interacting with people from the company was really interesting , and i admit that during a release there is a lot of work to be done (bug fixing , artwork, ,writing , promotion , etc) .
Apart from the release we enjoyed a presentation by the SUSE Documentation team , where we tested a demo of the new ActiveDoc tool.ActiveDoc is used for the documentation of openSUSE and SUSE as well. Furthermore we had visits from company management , from Ralf Flaxa, VP of engineering, and Roland Haidl. During these meetings we discussed about issues around openSUSE Project , and how the project can be improved. Ralf Flaxa and Roland Haidl thanked us for our work and they confirmed their willing to help the openSUSE Project as much as they can.
As the KDE 4.10 released during the Marketing Hackathon we all joined the KDE 4.10 release party (in Wednesday). KDE president Cornelius Schumacher and Klaas Freitag, (ownCloud Senior Developer) joined us to the party. We had really interesting discussions about various aspects (KDE , ownCloud ,oSC13 etc).
Work
Here i give a brief summary of my work
– 12.3 Screenshots (Screenshots and related wiki page) [although my laptop was broken for a while]
– 12.3 Package list and Feature (the last days)
– 12.3 Social Media messages for RC1 (and the final release as well)
– 12.3 “We are Hispanohablantes” , a new project begun , willing to centralize the Spanish speaking communities in openSUSE. Here you can find the English [1] and Spanish [2] version of the wiki page. [if you come from a Spanish spoken country , you can add stuff in the “Information Table”.]
Conclusion
I could blog about this experience for years , but i prefered to write a resume of what i have in my mind 
. Obviously i would like to thank the following people (participants and SUSE Employees) :
Participants :
Kostas , Bruno (tigerfoot – “Champignon”) , Carlos (victorck), Carlos (CarlosRibeiro), Izabel (IzabelleValverde), Marcel (tux93 or “Silent Power”), Richard (ilmehtar), Michal (|miska|).
SUSE Employees:
Jos, Henne , Ralf, Roland, James, Jan, Ludwig, Cornelius, Suzanne Augustin, Will, Christopher, Adrian, , Jurgen, Kenneth, Cassio, Alberto,
(if I forget someone ,please let me know
)
And yes we all love Vietnam 
You can find the photos of the event here and here as well.
And don’t forget!!
See you in oSC13 [18-22 July , Thessaloniki , Greece] . As the Cfp is open don’t forget to register yourself and why not submit your presentation [or workshop]!!
A lot of Geekings to everybody,
“Power to the Geeko”
Cisco IP Phone 7960 mit Fritz!Box 6360 Cable
Das das Cisco IP Phone ein schönes Gerät ist, scheint in vielen Kreisen bekannt zu sein. Das gute ist, dass es sich als IP Telefon sogar an der Fritzbox nutzen lässt. Auch wenn es ein wenig Spielerei und Gefummel ist.
Die Geräte gibt es bei eBay für 30 bis 50 Euro gebraucht bzw. neu für etwa 120 bis 200 Euro.
Bitte zuerst die Anleitung komplett lesen. Auch den unten aufgeführten Link lege ich sehr ans Herz. Durch das flashen mit der falschen Firmware kann das Gerät u.U. nicht mehr funktionieren. Die Konfigurationsdateien können immer wieder neu eingespielt werden. Falsche Konfigurationsdateien sollten das Gerät nicht unbrauchbar machen.
Fritzbox vorbereiten
Einfach unter Telefonie > Telefoniegeräte > Neues Gerät einrichten klicken und dann Telefon auswählen. Im nächsten Dialog wählen Sie LAN/WLAN (IP-Telefon) aus und geben Sie dem Gerät einen Namen. Drücken Sie dann weiter. Im nächsten Dialog notieren Sie sich die Angaben und wählen ein Passwort aus. Dann noch die Rufnummer einrichten und das war es an der Fritz!Box auch schon.
TFTP Server einrichten
Windows
Für Windows empfehle ich TFTPD32.
Linux
Diese Anleitung bezieht sich auf CentOS / Scientific Linux.
yum install tftp-server
chkconfig --level 345 xinetd on
chkconfig --level 345 tftpd on
Die benötigten Dateien können dann später nach
/var/lib/tftpboot
abgelegt werden.
(Falls noch eine Firewall läuft muss der Port noch freigegeben werden. Dies kann mit system-config-firewall-tui geschehen.)
Konfigurationsdateien
Je nachdem welche Firmware Sie auf dem Gerät installiert haben müssen Sie dieses erst flashen. Die nötigen Dateien finden Sie, wen Sie einen Supportvertrag mit Cisco haben in deren Downloadbereich oder z.B. unter
http://radiotwenterand.nl/~graver/cisco/SIP-7960/
Ich habe mich für die Release P0S3-8-12-00.zip entschieden. Dies funktionierte auch bei mir ohne Probleme. Entpacken Sie das Archiv einfach in den tftpboot Ordner.
Nun kommt die schwierigere Aufgabe. Die Konfigurationsdateien für das Telefon. Hier habe ich bei http://www.europott.org/2009/05/31/cisco-7960g-und-fritzbox-fonwlan abgeschaut. Die Anleitung ist sehr gut gemacht und die zum Download bereitstehenden Konfigurationsdateien haben bei mir funktioniert. Dort beachten Sie einfach die Kommentare in den ersten Zeilen der Dateien. Die bennenung der der SIP[MAC].cnf wird auf der oben genannten Webseite erklärt.
Allerdings müssen Sie an der SIPDefault.cnf eine änderung vornehmen. Klammern Sie
# image_version: "P0S3-08-8-00" Auskommentiert da SIP Firmware schon geladen ist
aus und ändern Sie die Zeile so ab wie die Firmware heisst. In unserem Falle
image_version: "P0S3-8-12-00"
Wenn Sich das Telefon dann die Konfiguration abholen möchte wird es sich direkt flashen. Die beiden Konfigurationsdateien kommen dann nach dem Ändern der entsprechende Zeilen auch in den tftpboot Ordner. Ändern Sie die Rechte noch mit
chmod 777 /var/lib/tftboot
ab.
Telefon einrichten
Wenn Sie jetzt das Gerät richtig angeschlossen haben (Netzwerkkabel gehört in den mit Switch beschrifteten Anschluss) wird erstmal nicht viel passieren, außer das sich das Gerät mit hoher Wahrscheinlichkeit beschwert das die Konfiguration nicht abgerufen werden kann.
Gehen Sie deshalb auf den Menübutton (der Knopf mit den zwei Quadraten und dem Haken davor) und drücken Sie 9. Das Passwort sollte im optimalen Fall das Standardpasswort cisco sein.
Drücken Sie dann 3 gefolgt von 32 und ändern Sie den Wert auf YES ab. Drücken Sie dann wieder 3 gefolgt von 7 > EDIT und geben Sie die IP Ihres TFTP-Servers ein und drücken Sie SAVE. Nun sollte sich das Gerät neu starten die Firmware laden und die Konfiguration einlesen. Sollten Sie nun nichts falsch gemacht haben, steht ein funktionierendes IP Phone vor Ihnen. Sollte das Gerät nicht neu starten einfach mal kurz den Stecker ziehen.
Distribution hacker wanted: join the openSUSE Team at SUSE
ownCloud Meetup in Nürnberg
Next week a part of the ownCloud team will meet in Nürnberg for a creative time and we thought a little meetup would be cool. Join us for a relaxed evening where we will give short talks about current state of ownCloud, new features and the near future.
Let’s meet Wednesday, February 27th, 6:00 PM at the Nuremberg Coworking Space.
Talks (short, don’t be afraid!):
- ownCloud overview by Holger Dyroff
- The updated ownCloud 5 User Interface by Jan-Christoph Borchardt
- Next steps for the ownCloud Desktop Clients by Daniel Molkentin
The evening closes with a get-together, your chance to meet the team and discuss in a relaxed atmosphere.
Everybody is welcome!
quilt и rpm
Пусть есть rpm-пакет и нужно обновить его версию, используя новый архив исходных кодов. При этом патчи останутся старыми, и не гарантируется, что они наложатся на новую версию, или не потребуется вмешательство человека, из-за того, что какой-то патч устарел. После того, как новый архив получен и Version: исправлен, можно прибегнуть к помощи quilt:
quilt setup libdc1394.spec
Эта команда создаст новую директорию в которой будут лежать распакованные исходные коды, символическая ссылка на директорию patches (хранит сами файлы патчей) и файл series (хранит порядок в котором патчи нужно применять). quilt не всегда успешно справляется с патчами, которые завернуты в %if.
Идеологически происходит следующее, у нас есть команда quilt, что-то вроде аналога git или hg, дерево исходников и стек патчей. Стек патчей в чем-то аналогичен ревизиям в системах контроля версий. Используя стек можно переходить от текущего состояния к следующему (применяя патч, quilt push) или к предыдущему (откатывая, quilt pop). Первоначально, мы находимся в самом нижнем состоянии (не модифицированные исходные коды):
>quilt top Нет применённых патчей >quilt applied Нет применённых патчей >quilt unapplied patches/libdc1394.no-x11.patch patches/libdc1394.ac.patch patches/libdc1394-swab_fix.patch patches/libdc1394.raw1394_set_iso_handler.patch patches/libdc1394-v4l-2.6.38.patch patches/libdc1394-visibility.patch
Дальше попробуем наложить первый патч (здесь потребовалась предварительная обработка из-за хитрой структуры директорий в конкретном случае),
>quilt push Наложение патча patches/libdc1394.no-x11.patch patching file libdc1394-1.2.2/examples/Makefile.am patching file libdc1394-2.2.1/configure.in Текущий патч: patches/libdc1394.no-x11.patch >quilt top patches/libdc1394.no-x11.patch >quilt applied patches/libdc1394.no-x11.patch
И так далее, пока не закончится весь стек патчей, но скорее всего так просто он не закончится. Задача — обновляя патчи, устранить конфликты. После принудительного применения (quilt push -f) следует вручную просмотреть все конфликтные места и исправить их нужным образом. Каждый патч отслеживает только некоторое число файлов (quilt files), но если отредактирован файл не из списка, то его нужно добавить (quilt add). После того как все исправлено, нужно обновить текущий патч: quilt refresh (это такой аналог commit, который исправляет текущий наложенный патч, основываясь на рабочей директории и предыдущей спрятанной копии)
>quilt refresh Патч patches/libdc1394-v4l-2.6.38.patch обновлён
A letter to my mom
Hi mother
I am writing you from Nuremberg. Of course you know by now from the pictures I sent you that I am not here to be a part of satanic cult or anything and as you can see my Geek friends I was telling you about are not aliens from a strange planet but actual people. I understand that some of the times it was hard to believe listening to me calling them as tux93 and tigerfoot, but here they are, you can see them on the photos.
Now mother please forgive me but the truth is that I actually had 'some' alcohol but there is some law here that force to drink 'some' beer, at least that is what they told me and I did not wanted to have any problems with the law.
To answer your question, what I liked and not in the 12.3 Marketing hackathon...
Dear mother I had so much fun that it should be illegal. I also learn a lot about doing things but there were some times that I had no idea what I was doing. Now I was among old openSUSE friends from previous hackathons and in a few new ones. Once again the new guys were pretty cool and we had a great bonding as a team. We also had a KDE release party, ok I know that there were a lot of KDE parties around but we were the only ones that had The KDE e.V. president making the presentation, so... Jos (you know that long hair Dutch fellow who it a lot of cheese) also made a presentation there but who cares about him anyway...One of tthe important things I have to tell you about this party mother is that Augustin exposed us as 'The Greek Mafia' so send someone here to take care of him.
I really liked Hacking for a whole week, learning new things and actually contributing with a more immediate way. We had some meetings with really interesting things. We even had a meeting with Roland Haidl and he heard what we wanted to tell him . What I did not like was that some people did not manage to come and the weather. I mean mother really the last time i was here it was like 25 degrees and this time it was all snow and rain.
So Mother I will soon be back home and I miss you
Just in case I am not, look for me in Brazil
Hugs and kisses
Your son
Kostas
