Repository navigation
feat(integrations): GitLab-Client und Token-Verschlüsselung (Regel der Zwei: orientierBAR, ansehbar) - #57
Merged
Conversation
Neue Module gitlab (Extra [gitlab]) und encryption (Extra [encryption]) aus den Kopien in orientierBAR und ansehbar (Regel der Zwei). System-Check basicbar_integrations.E001, Setting TOKEN_ENCRYPTION_KEY. Golden-Chiffrate aus orientierBARs bisherigem Code sichern, dass gespeicherte Tokens lesbar bleiben. Ohne Extras laufen setup und check weiter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, labels) - _send mappt jede Ausnahme beim Bauen/Senden der Anfrage auf GitLabError (nur Klassenname); check_project wirft nie, auch bei Nicht-ASCII-Token oder ungültigem IDNA-Host - kaputte web_url (z. B. "https://[evil/x") ergibt web_url=None statt ValueError - same_origin weist Netlocs mit "@" oder "\" ab (Umgehung per evil\@host) - parse_project_url: "/g/.git" ergibt "g" - labels als einzelner String ist ein TypeError - Tests für die genannten Fälle, "einmal pro Art" und die Exception-Kette - README: httpx-Logzeile mit Projektpfad korrekt beschrieben Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…or dokumentieren _send meldet "GitLab unreachable" nur noch für httpx.HTTPError; alle anderen Ausnahmen beim Bauen der Anfrage (Nicht-ASCII-Token, ungültiger IDNA-Host) heißen "GitLab request could not be sent (<Klasse>)". Der TypeError bei labels als einzelnem String steht im Docstring und im README. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Was
basicbar-integrations0.5.0 -> 0.6.0: neue Modulegitlab(Extra[gitlab]) undencryption(Extra[encryption]) sowie der System-Checkbasicbar_integrations.E001. orientierBAR und ansehbar tragen heute je eine eigene Kopie (Regel der Zwei). Nichts Bestehendes ändert sich; ohne Extras laufendjango.setup()undmanage.py checkweiter (Test mit gesperrtemhttpx/cryptographyim Unterprozess).Entscheidungen beim Zusammenführen
[gitlab];aiundtranslation_servicebleiben bei urllibgitlab,encryption,test; kein Pflicht-Upgrade für andere Toolsproject_url,tokenstattcfg-Objektallow_http=Falseals Parameter (ansehbar übergibtsettings.DEBUG).gitam Endeconfidential=Trueverlangt die Bestätigung in der Antwort, sonstGitLabErrorIssue.web_urlnur bei gleichem Schema, Host, Port wie die Projekt-URLsame_origin(a, b)upload_fileim Paket (gleicher Token-Pfad)EncryptionKeyError(ImproperlyConfigured, ValueError)reset_warnings()basicbar_integrations.E001, nur bei gesetztem Settingbasicbar_integrations.encryptionTOKEN_ENCRYPTION_KEY, Default""; Ableitung ausSECRET_KEYByte für Byte wie vorherbasicbar_integrations.gitlab._transportAbsicherung
common.encryption(Weg überSECRET_KEYund überTOKEN_ENCRYPTION_KEY) werden vom Paket zum selben Klartext entschlüsselt.CHANGELOG enthält die Migrationsschritte. Tag
integrations/v0.6.0setzt der Mensch nach dem Merge.🤖 Generated with Claude Code