Getting Stuff Into Enigma2 Git

  • Based on the recent "discussion", i'd like to improve things a bit.


    We now have an engima2-devel mailing list on https://lists.elitedvb.net/ .


    If you have any code which you want to get into the official engima2 Git, please post it there. Also, if you have any code-related questions, please ask there. It will be archived, and it's much easier to answer then on IRC or here in the board. Plus other people can easily comment on this, and discussions can spread multiple days without getting lost.


    Some rules for the list:

    • Send modifications as *patches*, not as replacement files. It's very hard to see what you have done if you send a whole file. You can create patches/diffs with "git diff", and please create unified diffs into the correct direction.
    • I'll be cruel at commenting your code if you post it with the intention of getting it into the official Git. Don't take this as a personal attack. Yes, we are extreme picky about coding style when code comes from external sources (we are more relaxed about code we write by ourselves). That doesn't mean it's impossible: If we reject a patch, we will tell you why, and probably also how to fix it, and you can always discuss why you did it that way and why you think it's better that way. Again: Don't ever take it personal! (If you ever posted patches to a kernel mailing list, you know what I'm talking about)
    • You could always just code an external plug-in, and probably put that on schwerkraft.elitedvb.net, either in the enigma2-plugins project, or into your own project. We won't limit you there. You can put all the hacks you ever wanted into your plug-ins. Feel free to also discuss technical questions about your (or other's) plug-ins on the mailing list.
    • If there is anything which can't be done in a plug-in, please complain to the mailing list, and explain what you would like to do and why it's not possible at the moment. We will try our best to fix this.
    • You know our evil enigma2 core (not plug-in) license. If not, read it (COPYING in enigma2 Git). Please "sign off" all patches which are intended to be committed to the official Git. If you add a "Signed-off-by: your name <your@email.address>", you will declare that we are allowed to put your code under our evil license into the official Git. If you don't sign off, we won't.
    • Please keep non-technical discussions away from the mailing list.
    • If possible, keep it in English. If not, just hope that other people will understand you.


    I promise to have better response times on the mailing list than I have in the forum.


    The ultimate goal is of course to improve enigma2. We are not ignoring external changes (unless we miss them), often it's just some details why we aren't using them as they are. The mailing list is now the right tool to fix these minor details.


    [Edit (obi): Updated to refer to Git instead of CVS]

    Einmal editiert, zuletzt von acid-burn ()

  • My little change is not Plugin, but a replace from Volume.py.
    The option is to have a text value in volume slider ;).
    One in all are 3 new lines added to Volume.py


  • .

    Einmal editiert, zuletzt von Kerni ()

  • Ach nee...
    Ich habe angenommen , dass there und here die geiche Leute lesen;)
    Für mich ist es OK so.... auch für die User , die das brauchen (418 zu Zeit)
    Schön... lassen wir das.

    44106818

    • Offizieller Beitrag

    Jetzt verstehe ich grad das Problem nicht...
    Die entwickler können nicht ständig die threads im Forum "überwachen" deshalb sollen Patches an die Mailinglist geschickt werden...
    Genau dafür gibt's doch diesen Thread... warum da dann gleich "beleidigt" ist muss ich jetzt nicht verstehen, oder?

  • Bin gar nicht beleidigt :grinning_squinting_face:
    Ich enschuldige mich sofort, wenn so ankekommen ist.


    Dort habe ich es auch gepostet. (eine von PC generierte Antwort macht aber kein Spass :winking_face: )


    Verstehe mich bitte richtig.
    Jedes Gerät was ich benütz habe, hat eine % Anzeige für die Lautstärke.
    Warum denn so viel Bürokratie für eine selbstverständliche Sache? (ich will nicht dass mein Dreambox Kaffe kocht, obwohl eh möglich ist :grinning_squinting_face: )
    Diese Progressbars sind zwar optisch schön, aber nicht brauchbar ohne eine Skala. Man weiss nie wieviel gerade das tatsächliche Wert ist.
    Jetzt Rechtecken zählen ist auch nicht gut :winking_face:
    Ich habe auch Skalas gezeichnet, verschiedene Farben und Rechtecke gemacht, aber das beste ist: %-Anzeige in Textformat.


    Übrigens, wir (die kleine Hoby-Bastller) kontrolieren auch sehr viele Threads, reagieren wenn nötig und helfen wo wir können.

    44106818

    3 Mal editiert, zuletzt von _vali_ ()

  • Hi,


    Ich weiss nicht wo ich das melden soll....


    git push .... funktioniert seit heute ca. 10:30h nicht mehr.


    44106818

  • Hi _vali_, danke für die Mitteilung!


    Das Problem ist jetzt behoben.


    Das Forum ist ein guter Ort für Störungsmeldungen, ausserdem noch #enigma2 auf FreeNode.

  • Leider geht bei mir noch nicht.
    Aber mit eine andere Störmeldung:

    44106818

  • Hi,
    Wollte es nur melden:
    Es komm wieder zu einen Fehler beim Einchecken. Trotzdem wird alles richtig eingecheckt :winking_face:


    44106818

  • Multiepg offten chrashes when using the 'Zap' command.
    This seems due to a bug in GuiSkin.py



    Traceback (most recent call last):
    File "/usr/lib/enigma2/python/Navigation.py", line 43, in dispatchEvent
    x(i)
    File "/usr/lib/enigma2/python/Components/ServiceEventTracker.py", line 38, in event
    func[2]()
    File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 660, in __evEventInfoChanged
    self.eventView.setEvent(self.epglist[0])
    File "/usr/lib/enigma2/python/Screens/EventView.py", line 147, in setEvent
    self.setTitle(event.getEventName())
    File "/usr/lib/enigma2/python/Components/GUISkin.py", line 67, in setTitle
    if self.instance:
    AttributeError: 'EventViewEPGSelect' object has no attribute 'instance'
    (PyObject_CallObject(<bound method Navigation.dispatchEvent of <Navigation.Navigation instance at 0x14a9a08>>,(4,)) failed)


    There is a call for the missing attribute 'instance' which causes the dreambox to crash.


    Altering GuiSkin.py by checking if 'instance' is there with if hasattr() fixes the problem:


    67,68c67,69
    < if self.instance:
    < self.instance.setTitle(title
    )
    ---
    >
    if hasattr(self, 'instance'):
    > if self.instance:
    > self.instance.setTitle(title)

    Please see the following thread for reference (in German):
    http://www.i-have-a-dreambox.c…thread.php?postid=1602712


    Please add the change to the official GIT repository.
    Thank you in advance.


    Cheers,
    Chris

  • Hallo zusammen,


    ich würde ja gerne FritzCall im Git aktuell halten, habe aber immer wieder immense Probleme mit eGit unter Eclipse... (Für einen gelegentlichen Benutzer ist das echt hart!) Im Moment kann ich das Repository nicht mal anlegen in Eclipse, Fehler siehe Attachment.


    Gibt es eine einfache, webbasierte Möglichkeit, Änderungen hochzuladen? Oder eine einfache Anleitung für Eclipse mit eGit?


    So kann ich jedenfalls das Git nicht mehr aktuell halten...


    DrMichael

  • Hi DrMichael!


    Es scheint ein Problem mit EGit und der Anmeldung mit Benutzername und Passwort zu geben, ich kann den Fehler hier nachvollziehen.
    Ich selbst benutze EGit sonst nicht, deswegen kann ich dazu leider nicht mehr sagen.


    Du könntest versuchen, Dich stattdessen über SSH-Schlüssel anzumelden.


    Dazu kannst Du in den Eclipse-Einstellungen unter Network Connections - SSH2 im Reiter "Key Management" ein Schlüsselpaar erstellen und speichern.
    Dieses Schlüsselpaar besteht aus einem privaten Teil und einem öffentlichen.
    Der private Teil ist geheim und bleibt nur bei Dir.
    Optional kannst Du beim Erstellen ein Passwort angeben, das den privaten Teil schützt.
    Der öffentliche Teil wird Dir im Textfeld angezeigt und ausserdem mit der Dateiendung .pub neben dem privaten gespeichert.


    Unter dem Reiter "General" muss dann das "SSH2 home" auf den Ordner gesetzt werden, in dem Du den privaten Schlüssel gespeichert hast.


    Wenn Du Dich auf der Weboberfläche unter https://schwerkraft.elitedvb.net anmeldest, kannst Du über "My Account" oben rechts zu Deinen Einstellungen kommen.
    Ganz unten hast Du da dann die Möglichkeit, SSH-Schlüssel für Dein Konto zu verwalten.
    Dort würdest Du dann den öffentlichen Teil des Schlüssels (z.B. aus dem Textfeld) einfügen und anschliessend speichern.
    Je nach Uhrzeit kann es bis zu einer Stunde dauern, bis der Schlüssel aktiv wird (Updates zu jeder vollen Stunde).


    Die Anmeldung über Schlüssel wird von Eclipse automatisch bevorzugt und muss nicht noch gesondert eingestellt werden.
    Beim nächsten Verbindungsversuch wirst Du jetzt nach dem Passwort für den privaten Schlüssel gefragt, wenn Du eins gesetzt hast.
    Dein Passwort für das Konto auf schwerkraft wird von Eclipse/EGit nicht mehr benötigt.


    Grüße und schöne Feiertage,


    borni