Add Release Notes link to release page

This commit is contained in:
Jan Eitzinger 2023-09-07 14:33:22 +02:00
parent c68b9fec42
commit 2d4759114e
6 changed files with 23 additions and 13 deletions

View File

@ -101,5 +101,6 @@ release:
draft: false draft: false
footer: | footer: |
Supports job archive version 1 and database version 6. Supports job archive version 1 and database version 6.
Please check out the [Release Notes](https://github.com/ClusterCockpit/cc-backend/blob/master/ReleaseNotes.md) for further details on breaking changes.
# vim: set ts=2 sw=2 tw=0 fo=cnqoj # vim: set ts=2 sw=2 tw=0 fo=cnqoj

View File

@ -2,7 +2,7 @@ TARGET = ./cc-backend
VAR = ./var VAR = ./var
CFG = config.json .env CFG = config.json .env
FRONTEND = ./web/frontend FRONTEND = ./web/frontend
VERSION = 1.2.0 VERSION = 1.2.1
GIT_HASH := $(shell git rev-parse --short HEAD || echo 'development') GIT_HASH := $(shell git rev-parse --short HEAD || echo 'development')
CURRENT_TIME = $(shell date +"%Y-%m-%d:T%H:%M:%S") CURRENT_TIME = $(shell date +"%Y-%m-%d:T%H:%M:%S")
LD_FLAGS = '-s -X main.date=${CURRENT_TIME} -X main.version=${VERSION} -X main.commit=${GIT_HASH}' LD_FLAGS = '-s -X main.date=${CURRENT_TIME} -X main.version=${VERSION} -X main.commit=${GIT_HASH}'

View File

@ -1,4 +1,4 @@
# `cc-backend` version 1.2.0 # `cc-backend` version 1.2.1
Supports job archive version 1 and database version 6. Supports job archive version 1 and database version 6.

View File

@ -715,7 +715,7 @@
"ApiKeyAuth": [] "ApiKeyAuth": []
} }
], ],
"description": "Modifies user defined by username (id) in one of four possible ways.\nIf more than one formValue is set then only the highest priority field is used.", "description": "Modifies user defined by username (id) in one of four possible ways.\nIf more than one formValue is set then only the highest priority field is used.\nOnly accessible from IPs registered with apiAllowedIPs configuration option.",
"consumes": [ "consumes": [
"multipart/form-data" "multipart/form-data"
], ],
@ -820,7 +820,7 @@
"ApiKeyAuth": [] "ApiKeyAuth": []
} }
], ],
"description": "Returns a JSON-encoded list of users.\nRequired query-parameter defines if all users or only users with additional special roles are returned.", "description": "Returns a JSON-encoded list of users.\nRequired query-parameter defines if all users or only users with additional special roles are returned.\nOnly accessible from IPs registered with apiAllowedIPs configuration option.",
"produces": [ "produces": [
"application/json" "application/json"
], ],
@ -879,7 +879,7 @@
"ApiKeyAuth": [] "ApiKeyAuth": []
} }
], ],
"description": "User specified in form data will be saved to database.", "description": "User specified in form data will be saved to database.\nOnly accessible from IPs registered with apiAllowedIPs configuration option.",
"consumes": [ "consumes": [
"multipart/form-data" "multipart/form-data"
], ],
@ -983,7 +983,7 @@
"ApiKeyAuth": [] "ApiKeyAuth": []
} }
], ],
"description": "User defined by username in form data will be deleted from database.", "description": "User defined by username in form data will be deleted from database.\nOnly accessible from IPs registered with apiAllowedIPs configuration option.",
"consumes": [ "consumes": [
"multipart/form-data" "multipart/form-data"
], ],

View File

@ -1018,6 +1018,7 @@ paths:
description: |- description: |-
Modifies user defined by username (id) in one of four possible ways. Modifies user defined by username (id) in one of four possible ways.
If more than one formValue is set then only the highest priority field is used. If more than one formValue is set then only the highest priority field is used.
Only accessible from IPs registered with apiAllowedIPs configuration option.
parameters: parameters:
- description: Database ID of User - description: Database ID of User
in: path in: path
@ -1088,7 +1089,9 @@ paths:
delete: delete:
consumes: consumes:
- multipart/form-data - multipart/form-data
description: User defined by username in form data will be deleted from database. description: |-
User defined by username in form data will be deleted from database.
Only accessible from IPs registered with apiAllowedIPs configuration option.
parameters: parameters:
- description: User ID to delete - description: User ID to delete
in: formData in: formData
@ -1129,6 +1132,7 @@ paths:
description: |- description: |-
Returns a JSON-encoded list of users. Returns a JSON-encoded list of users.
Required query-parameter defines if all users or only users with additional special roles are returned. Required query-parameter defines if all users or only users with additional special roles are returned.
Only accessible from IPs registered with apiAllowedIPs configuration option.
parameters: parameters:
- description: If returned list should contain all users or only users with - description: If returned list should contain all users or only users with
additional special roles additional special roles
@ -1169,7 +1173,9 @@ paths:
post: post:
consumes: consumes:
- multipart/form-data - multipart/form-data
description: User specified in form data will be saved to database. description: |-
User specified in form data will be saved to database.
Only accessible from IPs registered with apiAllowedIPs configuration option.
parameters: parameters:
- description: Unique user ID - description: Unique user ID
in: formData in: formData

View File

@ -1,4 +1,5 @@
// Code generated by swaggo/swag. DO NOT EDIT // Code generated by swaggo/swag. DO NOT EDIT.
package api package api
import "github.com/swaggo/swag" import "github.com/swaggo/swag"
@ -721,7 +722,7 @@ const docTemplate = `{
"ApiKeyAuth": [] "ApiKeyAuth": []
} }
], ],
"description": "Modifies user defined by username (id) in one of four possible ways.\nIf more than one formValue is set then only the highest priority field is used.", "description": "Modifies user defined by username (id) in one of four possible ways.\nIf more than one formValue is set then only the highest priority field is used.\nOnly accessible from IPs registered with apiAllowedIPs configuration option.",
"consumes": [ "consumes": [
"multipart/form-data" "multipart/form-data"
], ],
@ -826,7 +827,7 @@ const docTemplate = `{
"ApiKeyAuth": [] "ApiKeyAuth": []
} }
], ],
"description": "Returns a JSON-encoded list of users.\nRequired query-parameter defines if all users or only users with additional special roles are returned.", "description": "Returns a JSON-encoded list of users.\nRequired query-parameter defines if all users or only users with additional special roles are returned.\nOnly accessible from IPs registered with apiAllowedIPs configuration option.",
"produces": [ "produces": [
"application/json" "application/json"
], ],
@ -885,7 +886,7 @@ const docTemplate = `{
"ApiKeyAuth": [] "ApiKeyAuth": []
} }
], ],
"description": "User specified in form data will be saved to database.", "description": "User specified in form data will be saved to database.\nOnly accessible from IPs registered with apiAllowedIPs configuration option.",
"consumes": [ "consumes": [
"multipart/form-data" "multipart/form-data"
], ],
@ -989,7 +990,7 @@ const docTemplate = `{
"ApiKeyAuth": [] "ApiKeyAuth": []
} }
], ],
"description": "User defined by username in form data will be deleted from database.", "description": "User defined by username in form data will be deleted from database.\nOnly accessible from IPs registered with apiAllowedIPs configuration option.",
"consumes": [ "consumes": [
"multipart/form-data" "multipart/form-data"
], ],
@ -1781,6 +1782,8 @@ var SwaggerInfo = &swag.Spec{
Description: "API for batch job control.", Description: "API for batch job control.",
InfoInstanceName: "swagger", InfoInstanceName: "swagger",
SwaggerTemplate: docTemplate, SwaggerTemplate: docTemplate,
LeftDelim: "{{",
RightDelim: "}}",
} }
func init() { func init() {