From 61bd7a90ddb5a33753090dbdff4d0e9c02b6973f Mon Sep 17 00:00:00 2001 From: Natalia Serrano Date: Thu, 24 Jul 2025 15:32:41 +0200 Subject: [PATCH] refs #2520 don't pass the tag parameter to CrearImagenGit --- CHANGELOG.md | 6 ++++++ linux/debian/changelog | 6 ++++++ src/VERSION | 2 +- src/opengnsys/RESTApi.py | 2 -- src/opengnsys/modules/server/ogAdmClient/__init__.py | 3 +-- 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12ec607..0f403eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [7.1.0] - 2025-07-24 + +### Changed + +- Don't pass the "tag" parameter to CrearImagenGit + ## [7.0.0] - 2025-07-18 ### Changed diff --git a/linux/debian/changelog b/linux/debian/changelog index 2069095..5e24879 100644 --- a/linux/debian/changelog +++ b/linux/debian/changelog @@ -1,3 +1,9 @@ +ogagent (7.1.0-1) stable; urgency=medium + + * Don't pass the "tag" parameter to CrearImagenGit + + -- OpenGnsys developers Thu, 24 Jul 2025 15:31:59 +0200 + ogagent (7.0.0-1) stable; urgency=medium * Run the new extension-less scripts from the cloning engine diff --git a/src/VERSION b/src/VERSION index 66ce77b..a3fcc71 100644 --- a/src/VERSION +++ b/src/VERSION @@ -1 +1 @@ -7.0.0 +7.1.0 diff --git a/src/opengnsys/RESTApi.py b/src/opengnsys/RESTApi.py index ff21a67..819504d 100644 --- a/src/opengnsys/RESTApi.py +++ b/src/opengnsys/RESTApi.py @@ -187,7 +187,6 @@ class REST(object): if self.verify_tls: r = requests.get(url, cert=(self.crt_file, self.key_file), verify=self.ca_file, timeout=TIMEOUT) else: - logger.warning ('using insecure TLS for GET') r = requests.get(url, verify=False, timeout=TIMEOUT) else: r = requests.get(url, timeout=TIMEOUT) @@ -200,7 +199,6 @@ class REST(object): if self.verify_tls: r = requests.post(url, data=data, headers={'content-type': 'application/json'}, cert=(self.crt_file, self.key_file), verify=self.ca_file, timeout=TIMEOUT) else: - logger.warning ('using insecure TLS for POST') r = requests.post(url, data=data, headers={'content-type': 'application/json'}, verify=False, timeout=TIMEOUT) else: r = requests.post(url, data=data, headers={'content-type': 'application/json'}, timeout=TIMEOUT) diff --git a/src/opengnsys/modules/server/ogAdmClient/__init__.py b/src/opengnsys/modules/server/ogAdmClient/__init__.py index eecc855..4124ac1 100644 --- a/src/opengnsys/modules/server/ogAdmClient/__init__.py +++ b/src/opengnsys/modules/server/ogAdmClient/__init__.py @@ -372,7 +372,6 @@ class ogAdmClientWorker (ogLiveWorker): ipr = post_params['ipr'] ## Ip del repositorio nfn = post_params['nfn'] ids = post_params['ids'] - tag = post_params['tag'] ## Tag a crear en git una vez hecho el commit self.muestraMensaje (7) @@ -386,7 +385,7 @@ class ogAdmClientWorker (ogLiveWorker): self.muestraMensaje (2) inv_sft = res['contents'] try: - self.interfaceAdmin (nfn, [dsk, par, nci, ipr, tag]) + self.interfaceAdmin (nfn, [dsk, par, nci, ipr]) self.muestraMensaje (9) herror = 0 except: