Truncate commit title longer than 255 characters

* chore(gitea-git-clone): update changelog and package version
* fix(gitea-git-clone): truncate commit titles and bodies longer than 255 and 65535 characters respectively
* feat(gitea-git-clone): show warning messages when commit titles and bodies are truncated
This commit is contained in:
2024-10-23 12:19:17 +02:00
parent a5aaa54906
commit aea0ffbac6
5 changed files with 38 additions and 8 deletions

View File

@ -34,6 +34,8 @@
"giteaClone.defaultBranchError": "Fehler beim Abrufen des Basis-Branches: {0}",
"giteaClone.repoError": "Fehler beim Abrufen der Repositories: {0}",
"giteaClone.authFailed": "Authentifizierung fehlgeschlagen: {0}",
"giteaClone.pullRequestsError": "Fehler beim Abrufen der Pull Requests: {0}"
"giteaClone.pullRequestsError": "Fehler beim Abrufen der Pull Requests: {0}",
"giteaClone.titleTruncated": "Die Commit-Nachricht war zu lang und wurde für den Pull-Request-Titel gekürzt.",
"giteaClone.bodyTruncated": "Der Commit-Nachrichtentext war zu lang und wurde für die Pull-Request-Beschreibung gekürzt."
}

View File

@ -34,6 +34,8 @@
"giteaClone.defaultBranchError": "Error retrieving the base branch: {0}",
"giteaClone.repoError": "Error retrieving repositories: {0}",
"giteaClone.authFailed": "Authentication failed: {0}",
"giteaClone.pullRequestsError": "Error retrieving pull requests: {0}"
"giteaClone.pullRequestsError": "Error retrieving pull requests: {0}",
"giteaClone.titleTruncated": "The commit message was too long and has been truncated for the pull request title.",
"giteaClone.bodyTruncated": "The commit message body was too long and has been truncated for the pull request description."
}