Compare commits
15
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4968667dad | ||
|
|
79ae88b012 | ||
|
|
4666503f32 | ||
|
|
4c089eb8da | ||
|
|
dc858d026f | ||
|
|
5989699f08 | ||
|
|
ecfe058f8d | ||
|
|
ffe813bf06 | ||
|
|
6cd6771241 | ||
|
|
1cc2de0b75 | ||
|
|
0e669019f4 | ||
|
|
74a78d30a1 | ||
|
|
53b02f1f8f | ||
|
|
12351e64ba | ||
|
|
bd47b40aff |
@@ -9,16 +9,18 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
fetch-depth: 10
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Show git log
|
- name: Configure git
|
||||||
run: |
|
run: |
|
||||||
git log --oneline --graph -10
|
git config --global user.name "gitea-actions"
|
||||||
|
git config --global user.email "actions@git.jonathanteran.dev"
|
||||||
|
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||||
|
|
||||||
- name: "Set up Python"
|
- name: "Set up Python"
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version-file: ".python-version"
|
python-version-file: ".python-version"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,36 @@
|
|||||||
|
## v1.17.6 - 2026-07-09
|
||||||
|
|
||||||
|
- **bugfix**: actualizo versiones de checkout, setup-python, clonar depth completo [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (4666503)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
## v0.1.0-main - 2026-07-09
|
||||||
|
|
||||||
|
- **bugfix**: usar https por defecto como esquema si se detecta ssh [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (5989699)
|
||||||
|
- **feature**: usar esquema de remoto para host de api gitea [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (ecfe058)
|
||||||
|
- **bugfix**: agregar setup previo a ejecucion de git tag [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (1cc2de0)
|
||||||
|
- **bugfix**: arreglo acceso a secretos [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (d456565)
|
||||||
|
- **bugfix**: agrego fetch-depth a checkout [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (ad8984c)
|
||||||
|
- **bugfix**: agrego log de git luego del checkout [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (bf6a0e8)
|
||||||
|
- **bugfix**: cambio version de action setup-uv [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (cb74242)
|
||||||
|
- **feature**: agrego workflow para subir paquete a pypi [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (e94ee2c)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
## v0.1.0-main - 2026-07-09
|
||||||
|
|
||||||
|
- **bugfix**: agregar setup previo a ejecucion de git tag [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (1cc2de0)
|
||||||
|
- **bugfix**: arreglo acceso a secretos [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (d456565)
|
||||||
|
- **bugfix**: agrego fetch-depth a checkout [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (ad8984c)
|
||||||
|
- **bugfix**: agrego log de git luego del checkout [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (bf6a0e8)
|
||||||
|
- **bugfix**: cambio version de action setup-uv [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (cb74242)
|
||||||
|
- **feature**: agrego workflow para subir paquete a pypi [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (e94ee2c)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
## v1.17.5 - 2026-06-03
|
## v1.17.5 - 2026-06-03
|
||||||
|
|
||||||
- **bugfix**: allow commits not compliant with conventional commits in changelog generation [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (3ff9f76)
|
- **bugfix**: allow commits not compliant with conventional commits in changelog generation [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (3ff9f76)
|
||||||
|
|||||||
@@ -115,10 +115,10 @@ def get_remote_api(token: str) -> RemoteAPI:
|
|||||||
raise GitFlowError("El repositorio no tiene configurado un remoto.")
|
raise GitFlowError("El repositorio no tiene configurado un remoto.")
|
||||||
|
|
||||||
remote_type = flowconfig.get("flow.remote-type", "").lower()
|
remote_type = flowconfig.get("flow.remote-type", "").lower()
|
||||||
[host, repository] = RemoteAPI.parse(flowconfig["flow.remote"])
|
[schema, host, repository] = RemoteAPI.parse(flowconfig["flow.remote"])
|
||||||
|
|
||||||
if remote_type == "gitea":
|
if remote_type == "gitea":
|
||||||
return GiteaRemoteAPI("https://" + host, repository, token)
|
return GiteaRemoteAPI(("https://" if schema == "ssh://" else schema) + host, repository, token)
|
||||||
elif remote_type == "bitbucket":
|
elif remote_type == "bitbucket":
|
||||||
return BitbucketRemoteAPI(repository, token)
|
return BitbucketRemoteAPI(repository, token)
|
||||||
elif remote_type == "github":
|
elif remote_type == "github":
|
||||||
|
|||||||
@@ -16,18 +16,20 @@ class RemoteAPI(ABC):
|
|||||||
if url.startswith("git@"):
|
if url.startswith("git@"):
|
||||||
at_pos = url.index("@")
|
at_pos = url.index("@")
|
||||||
colon_pos = url.index(":")
|
colon_pos = url.index(":")
|
||||||
|
schema = "ssh://"
|
||||||
host = url[at_pos+1:colon_pos]
|
host = url[at_pos+1:colon_pos]
|
||||||
repository = url[colon_pos+1:]
|
repository = url[colon_pos+1:]
|
||||||
elif url.startswith("http://") or url.startswith("https://"):
|
elif url.startswith("http://") or url.startswith("https://"):
|
||||||
host_start = url.index("://") + 3
|
start_pos = url.index("://") + 3
|
||||||
uri_start = url.index("/", host_start)
|
uri_start = url.index("/", start_pos)
|
||||||
host = url[host_start:uri_start]
|
schema = url[:start_pos]
|
||||||
|
host = url[start_pos:uri_start]
|
||||||
repository = url[uri_start+1:]
|
repository = url[uri_start+1:]
|
||||||
else:
|
else:
|
||||||
raise GitFlowError(f"La URL del remoto {remote} es inválida: {url}")
|
raise GitFlowError(f"La URL del remoto {remote} es inválida: {url}")
|
||||||
|
|
||||||
repository = repository.removesuffix(".git")
|
repository = repository.removesuffix(".git")
|
||||||
return [host, repository]
|
return [schema, host, repository]
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def create_pull_request(
|
def create_pull_request(
|
||||||
|
|||||||
Reference in New Issue
Block a user