Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
889109bf77 | ||
|
|
164eded8f8 | ||
|
|
ce1ab99ddc | ||
|
|
8f96cb21f6 | ||
|
|
9fa7fa41bd | ||
|
|
8a4cf6e667 |
@@ -1,3 +1,17 @@
|
|||||||
|
## v1.21.3 - 2026-09-18
|
||||||
|
|
||||||
|
- **bugfix**: muevo titulo de error al panel, agrego repositorio a gitlab error [[jteran](mailto:jteran@renatre.org.ar)] (ce1ab99)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
## v1.21.2 - 2026-09-18
|
||||||
|
|
||||||
|
- **bugfix**: agrego informacion de traceback para errores de GitFlow [[jteran](mailto:jteran@renatre.org.ar)] (8a4cf6e)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
## v1.21.1 - 2026-09-17
|
## v1.21.1 - 2026-09-17
|
||||||
|
|
||||||
- **bugfix**: apply release prefix and ticket detection to single-commit PR titles [[jteran](mailto:jteran@renatre.org.ar)] (e0200e3)
|
- **bugfix**: apply release prefix and ticket detection to single-commit PR titles [[jteran](mailto:jteran@renatre.org.ar)] (e0200e3)
|
||||||
|
|||||||
+10
-6
@@ -1,10 +1,12 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
import traceback
|
||||||
|
from subprocess import SubprocessError
|
||||||
|
|
||||||
import typer
|
import typer
|
||||||
|
|
||||||
from git_flow import GitFlowError
|
from git_flow import GitFlowError
|
||||||
import git_flow.command.base as base
|
from git_flow.command import base, branch, commit, init, merge, new, release, tag
|
||||||
from git_flow.command import init, new, commit, merge, tag, release, branch
|
|
||||||
|
|
||||||
REPOSITORY_TOKEN_PATH = ".repository-token"
|
REPOSITORY_TOKEN_PATH = ".repository-token"
|
||||||
LOCALE = "es_AR.UTF-8"
|
LOCALE = "es_AR.UTF-8"
|
||||||
@@ -25,8 +27,10 @@ def main():
|
|||||||
app()
|
app()
|
||||||
print()
|
print()
|
||||||
except GitFlowError as e:
|
except GitFlowError as e:
|
||||||
base.io_error(str(e), title="Git Flow")
|
lines = [str(e), ""]
|
||||||
except Exception as e:
|
lines += traceback.format_exception(e)
|
||||||
base.io_error(str(e), title="Inesperado")
|
base.io_error("".join(lines), title="Git Flow")
|
||||||
except KeyboardInterrupt as e:
|
except SubprocessError as e:
|
||||||
|
base.io_error(str(e), title="Comando")
|
||||||
|
except KeyboardInterrupt:
|
||||||
base.io_error("Ejecución abortada")
|
base.io_error("Ejecución abortada")
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ class GitlabRemoteAPI(RemoteAPI):
|
|||||||
if response.ok:
|
if response.ok:
|
||||||
return "Tag creado exitosamente: " + tag
|
return "Tag creado exitosamente: " + tag
|
||||||
else:
|
else:
|
||||||
raise GitFlowError("Ocurrió un error al crear el tag: " + response.text)
|
raise GitFlowError("Ocurrió un error al crear el tag para repositorio " + quote(self.repository, safe="") + ": " + response.text)
|
||||||
|
|
||||||
def get_endpoint(self, resource: str) -> str:
|
def get_endpoint(self, resource: str) -> str:
|
||||||
project_id = quote(self.repository, safe="")
|
project_id = quote(self.repository, safe="")
|
||||||
|
|||||||
Reference in New Issue
Block a user