From 49af94493c17170513d6965a7a2bf2de23bb90a5 Mon Sep 17 00:00:00 2001 From: Louis Royer Date: Thu, 8 Jan 2026 15:29:21 +0100 Subject: [PATCH 1/2] Remove useless year in copyright headers --- LICENSE | 2 +- README.md | 2 +- healthcheck/doc.go | 2 +- healthcheck/healthcheck.go | 2 +- jsonapi/control_uri.go | 2 +- jsonapi/fteid.go | 2 +- jsonapi/message.go | 2 +- jsonapi/message_with_error.go | 2 +- jsonapi/n1n2/doc.go | 2 +- jsonapi/n1n2/handover_command.go | 2 +- jsonapi/n1n2/handover_confirm.go | 2 +- jsonapi/n1n2/handover_notify.go | 2 +- jsonapi/n1n2/handover_request.go | 2 +- jsonapi/n1n2/handover_request_ack.go | 2 +- jsonapi/n1n2/handover_required.go | 2 +- jsonapi/n1n2/n2_pdu_session_req_msg.go | 2 +- jsonapi/n1n2/n2_pdu_session_resp_msg.go | 2 +- jsonapi/n1n2/pdu_session_estab_accept_msg.go | 2 +- jsonapi/n1n2/pdu_session_estab_req_msg.go | 2 +- jsonapi/n1n2/radio_peer_msg.go | 2 +- jsonapi/n1n2/session.go | 2 +- jsonapi/n4tosrv6/action.go | 2 +- jsonapi/n4tosrv6/backbone_ip.go | 2 +- jsonapi/n4tosrv6/doc.go | 2 +- jsonapi/n4tosrv6/gtp_header.go | 2 +- jsonapi/n4tosrv6/locator.go | 2 +- jsonapi/n4tosrv6/match.go | 2 +- jsonapi/n4tosrv6/nexthop.go | 2 +- jsonapi/n4tosrv6/payload.go | 2 +- jsonapi/n4tosrv6/router.go | 2 +- jsonapi/n4tosrv6/router_map.go | 2 +- jsonapi/n4tosrv6/rule.go | 2 +- jsonapi/n4tosrv6/rule_map.go | 2 +- jsonapi/n4tosrv6/segment.go | 2 +- jsonapi/n4tosrv6/srh.go | 2 +- jsonapi_test/control_uri_test.go | 2 +- jsonapi_test/message_with_error_test.go | 2 +- jsonapi_test/n1n2_test/session_test.go | 2 +- jsonapi_test/n4tosrv6_test/backbone_ip_test.go | 2 +- jsonapi_test/n4tosrv6_test/locator_test.go | 2 +- jsonapi_test/n4tosrv6_test/segment_test.go | 2 +- jsonapi_test/n4tosrv6_test/srh_test.go | 2 +- 42 files changed, 42 insertions(+), 42 deletions(-) diff --git a/LICENSE b/LICENSE index 58777d0..086e3a8 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright © 2024 Louis Royer +Copyright Louis Royer and the NextMN Contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 4be89a7..1460aee 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ JSON API between SRv6 [controller](https://github.com/nextmn/srv6-ctrl) and [routers](https://github.com/nextmn/srv6). ## Author -Louis Royer +Louis Royer and the NextMN Contributors ## License MIT diff --git a/healthcheck/doc.go b/healthcheck/doc.go index 07cca91..c869b9c 100644 --- a/healthcheck/doc.go +++ b/healthcheck/doc.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/healthcheck/healthcheck.go b/healthcheck/healthcheck.go index 0ba898a..a441567 100644 --- a/healthcheck/healthcheck.go +++ b/healthcheck/healthcheck.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/control_uri.go b/jsonapi/control_uri.go index 47aa651..deee3a6 100644 --- a/jsonapi/control_uri.go +++ b/jsonapi/control_uri.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/fteid.go b/jsonapi/fteid.go index 5184c57..a642eb6 100644 --- a/jsonapi/fteid.go +++ b/jsonapi/fteid.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/message.go b/jsonapi/message.go index fa0280b..e22bd03 100644 --- a/jsonapi/message.go +++ b/jsonapi/message.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/message_with_error.go b/jsonapi/message_with_error.go index ac654a0..dae9b03 100644 --- a/jsonapi/message_with_error.go +++ b/jsonapi/message_with_error.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n1n2/doc.go b/jsonapi/n1n2/doc.go index 79fe8f2..5c0f909 100644 --- a/jsonapi/n1n2/doc.go +++ b/jsonapi/n1n2/doc.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n1n2/handover_command.go b/jsonapi/n1n2/handover_command.go index 016a12b..343448a 100644 --- a/jsonapi/n1n2/handover_command.go +++ b/jsonapi/n1n2/handover_command.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n1n2/handover_confirm.go b/jsonapi/n1n2/handover_confirm.go index 52c59f3..8daf000 100644 --- a/jsonapi/n1n2/handover_confirm.go +++ b/jsonapi/n1n2/handover_confirm.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n1n2/handover_notify.go b/jsonapi/n1n2/handover_notify.go index a3c3f01..d7e7ad1 100644 --- a/jsonapi/n1n2/handover_notify.go +++ b/jsonapi/n1n2/handover_notify.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n1n2/handover_request.go b/jsonapi/n1n2/handover_request.go index 30519ef..5537714 100644 --- a/jsonapi/n1n2/handover_request.go +++ b/jsonapi/n1n2/handover_request.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n1n2/handover_request_ack.go b/jsonapi/n1n2/handover_request_ack.go index 13b1e22..d8a7923 100644 --- a/jsonapi/n1n2/handover_request_ack.go +++ b/jsonapi/n1n2/handover_request_ack.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n1n2/handover_required.go b/jsonapi/n1n2/handover_required.go index 0f4364c..2f30390 100644 --- a/jsonapi/n1n2/handover_required.go +++ b/jsonapi/n1n2/handover_required.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n1n2/n2_pdu_session_req_msg.go b/jsonapi/n1n2/n2_pdu_session_req_msg.go index 7426ecc..ec3cf4a 100644 --- a/jsonapi/n1n2/n2_pdu_session_req_msg.go +++ b/jsonapi/n1n2/n2_pdu_session_req_msg.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n1n2/n2_pdu_session_resp_msg.go b/jsonapi/n1n2/n2_pdu_session_resp_msg.go index d78f43a..b665371 100644 --- a/jsonapi/n1n2/n2_pdu_session_resp_msg.go +++ b/jsonapi/n1n2/n2_pdu_session_resp_msg.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n1n2/pdu_session_estab_accept_msg.go b/jsonapi/n1n2/pdu_session_estab_accept_msg.go index 17b0147..c0ab6ef 100644 --- a/jsonapi/n1n2/pdu_session_estab_accept_msg.go +++ b/jsonapi/n1n2/pdu_session_estab_accept_msg.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n1n2/pdu_session_estab_req_msg.go b/jsonapi/n1n2/pdu_session_estab_req_msg.go index 6485d4e..db6c66e 100644 --- a/jsonapi/n1n2/pdu_session_estab_req_msg.go +++ b/jsonapi/n1n2/pdu_session_estab_req_msg.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n1n2/radio_peer_msg.go b/jsonapi/n1n2/radio_peer_msg.go index 15c0bd0..97d3491 100644 --- a/jsonapi/n1n2/radio_peer_msg.go +++ b/jsonapi/n1n2/radio_peer_msg.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n1n2/session.go b/jsonapi/n1n2/session.go index 68047b4..5117ebe 100644 --- a/jsonapi/n1n2/session.go +++ b/jsonapi/n1n2/session.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n4tosrv6/action.go b/jsonapi/n4tosrv6/action.go index 106d6a1..64150c7 100644 --- a/jsonapi/n4tosrv6/action.go +++ b/jsonapi/n4tosrv6/action.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n4tosrv6/backbone_ip.go b/jsonapi/n4tosrv6/backbone_ip.go index 3cfe243..ac42358 100644 --- a/jsonapi/n4tosrv6/backbone_ip.go +++ b/jsonapi/n4tosrv6/backbone_ip.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n4tosrv6/doc.go b/jsonapi/n4tosrv6/doc.go index 3791499..b8b6b5f 100644 --- a/jsonapi/n4tosrv6/doc.go +++ b/jsonapi/n4tosrv6/doc.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n4tosrv6/gtp_header.go b/jsonapi/n4tosrv6/gtp_header.go index 6477a64..d2c2e63 100644 --- a/jsonapi/n4tosrv6/gtp_header.go +++ b/jsonapi/n4tosrv6/gtp_header.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n4tosrv6/locator.go b/jsonapi/n4tosrv6/locator.go index 6d9eed5..56be5c5 100644 --- a/jsonapi/n4tosrv6/locator.go +++ b/jsonapi/n4tosrv6/locator.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n4tosrv6/match.go b/jsonapi/n4tosrv6/match.go index 4486ce4..df4b188 100644 --- a/jsonapi/n4tosrv6/match.go +++ b/jsonapi/n4tosrv6/match.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n4tosrv6/nexthop.go b/jsonapi/n4tosrv6/nexthop.go index 59efed2..c653f19 100644 --- a/jsonapi/n4tosrv6/nexthop.go +++ b/jsonapi/n4tosrv6/nexthop.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n4tosrv6/payload.go b/jsonapi/n4tosrv6/payload.go index 266ded9..3244bb2 100644 --- a/jsonapi/n4tosrv6/payload.go +++ b/jsonapi/n4tosrv6/payload.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n4tosrv6/router.go b/jsonapi/n4tosrv6/router.go index 0cc5425..735c8c5 100644 --- a/jsonapi/n4tosrv6/router.go +++ b/jsonapi/n4tosrv6/router.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n4tosrv6/router_map.go b/jsonapi/n4tosrv6/router_map.go index 3370d94..7e27e7c 100644 --- a/jsonapi/n4tosrv6/router_map.go +++ b/jsonapi/n4tosrv6/router_map.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n4tosrv6/rule.go b/jsonapi/n4tosrv6/rule.go index e1ced70..8feac27 100644 --- a/jsonapi/n4tosrv6/rule.go +++ b/jsonapi/n4tosrv6/rule.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n4tosrv6/rule_map.go b/jsonapi/n4tosrv6/rule_map.go index ab9394f..86fa306 100644 --- a/jsonapi/n4tosrv6/rule_map.go +++ b/jsonapi/n4tosrv6/rule_map.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n4tosrv6/segment.go b/jsonapi/n4tosrv6/segment.go index ec25ed6..e08916d 100644 --- a/jsonapi/n4tosrv6/segment.go +++ b/jsonapi/n4tosrv6/segment.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi/n4tosrv6/srh.go b/jsonapi/n4tosrv6/srh.go index afceae8..6c8b704 100644 --- a/jsonapi/n4tosrv6/srh.go +++ b/jsonapi/n4tosrv6/srh.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi_test/control_uri_test.go b/jsonapi_test/control_uri_test.go index 572453f..8374d65 100644 --- a/jsonapi_test/control_uri_test.go +++ b/jsonapi_test/control_uri_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi_test/message_with_error_test.go b/jsonapi_test/message_with_error_test.go index 0a8de67..e9248be 100644 --- a/jsonapi_test/message_with_error_test.go +++ b/jsonapi_test/message_with_error_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi_test/n1n2_test/session_test.go b/jsonapi_test/n1n2_test/session_test.go index ab6dec9..c9cea3e 100644 --- a/jsonapi_test/n1n2_test/session_test.go +++ b/jsonapi_test/n1n2_test/session_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi_test/n4tosrv6_test/backbone_ip_test.go b/jsonapi_test/n4tosrv6_test/backbone_ip_test.go index 7a24444..6a616ef 100644 --- a/jsonapi_test/n4tosrv6_test/backbone_ip_test.go +++ b/jsonapi_test/n4tosrv6_test/backbone_ip_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi_test/n4tosrv6_test/locator_test.go b/jsonapi_test/n4tosrv6_test/locator_test.go index 952a1d9..78cd5c1 100644 --- a/jsonapi_test/n4tosrv6_test/locator_test.go +++ b/jsonapi_test/n4tosrv6_test/locator_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi_test/n4tosrv6_test/segment_test.go b/jsonapi_test/n4tosrv6_test/segment_test.go index 69fffc9..95a1028 100644 --- a/jsonapi_test/n4tosrv6_test/segment_test.go +++ b/jsonapi_test/n4tosrv6_test/segment_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT diff --git a/jsonapi_test/n4tosrv6_test/srh_test.go b/jsonapi_test/n4tosrv6_test/srh_test.go index 8944762..f5a3d59 100644 --- a/jsonapi_test/n4tosrv6_test/srh_test.go +++ b/jsonapi_test/n4tosrv6_test/srh_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved. +// Copyright Louis Royer and the NextMN contributors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // SPDX-License-Identifier: MIT From 766ab3f8409e188925d8227354c1eeef2a4fef89 Mon Sep 17 00:00:00 2001 From: Louis Royer Date: Thu, 8 Jan 2026 15:18:24 +0100 Subject: [PATCH 2/2] Upgrade gofrs/uuid@v5.5.0 --- .github/workflows/create-release.yml | 1 + .github/workflows/main.yml | 2 ++ go.mod | 4 ++-- go.sum | 4 ++-- jsonapi/message_with_error.go | 2 +- jsonapi/n4tosrv6/router_map.go | 2 +- jsonapi/n4tosrv6/rule_map.go | 2 +- 7 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 8b5ec87..f94b229 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -21,3 +21,4 @@ jobs: generateReleaseNotes: true makeLatest: "legacy" name: "Version ${{ steps.version.outputs.version }}" + immutableCreate: true diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8d649c8..3ce3fd4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,5 +20,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Go uses: actions/setup-go@v6 + with: + go-version-file: go.mod - name: Test run: go test ./... diff --git a/go.mod b/go.mod index e89cd7f..ce1941a 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,9 @@ module github.com/nextmn/json-api -go 1.22 +go 1.25.5 require ( - github.com/gofrs/uuid v4.4.0+incompatible + github.com/gofrs/uuid/v5 v5.4.0 github.com/sirupsen/logrus v1.9.3 ) diff --git a/go.sum b/go.sum index 0cf01e6..3069fc8 100644 --- a/go.sum +++ b/go.sum @@ -1,8 +1,8 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/gofrs/uuid v4.4.0+incompatible h1:3qXRTX8/NbyulANqlc0lchS1gqAVxRgsuW1YrTJupqA= -github.com/gofrs/uuid v4.4.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gofrs/uuid/v5 v5.4.0 h1:EfbpCTjqMuGyq5ZJwxqzn3Cbr2d0rUZU7v5ycAk/e/0= +github.com/gofrs/uuid/v5 v5.4.0/go.mod h1:CDOjlDMVAtN56jqyRUZh58JT31Tiw7/oQyEXZV+9bD8= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= diff --git a/jsonapi/message_with_error.go b/jsonapi/message_with_error.go index dae9b03..6f636cf 100644 --- a/jsonapi/message_with_error.go +++ b/jsonapi/message_with_error.go @@ -30,7 +30,7 @@ func (u *MessageWithError) UnmarshalJSON(data []byte) error { if !ok { return fmt.Errorf("Missing key `error` while unmarshaling MessageWithError") } - u.Error = fmt.Errorf(e) + u.Error = fmt.Errorf("%s", e) return nil } diff --git a/jsonapi/n4tosrv6/router_map.go b/jsonapi/n4tosrv6/router_map.go index 7e27e7c..379b1b3 100644 --- a/jsonapi/n4tosrv6/router_map.go +++ b/jsonapi/n4tosrv6/router_map.go @@ -5,6 +5,6 @@ package n4tosrv6 -import "github.com/gofrs/uuid" +import "github.com/gofrs/uuid/v5" type RouterMap map[uuid.UUID]Router diff --git a/jsonapi/n4tosrv6/rule_map.go b/jsonapi/n4tosrv6/rule_map.go index 86fa306..8613e78 100644 --- a/jsonapi/n4tosrv6/rule_map.go +++ b/jsonapi/n4tosrv6/rule_map.go @@ -5,6 +5,6 @@ package n4tosrv6 -import "github.com/gofrs/uuid" +import "github.com/gofrs/uuid/v5" type RuleMap map[uuid.UUID]Rule