From e65ecd91664b61ea3be51d2e15b846008d0fc760 Mon Sep 17 00:00:00 2001 From: Amy Gale Ruth Bowersox Date: Fri, 13 Mar 2026 14:49:28 -0600 Subject: [PATCH] added SPDX identifiers to util package and the top-level code --- community.go | 2 ++ communityadmin.go | 2 ++ conference.go | 2 ++ conference_ops.go | 2 ++ conferenceadmin.go | 2 ++ errors.go | 2 ++ find.go | 2 ++ invites.go | 2 ++ logging.go | 2 ++ login.go | 2 ++ main.go | 2 ++ sysadmin.go | 2 ++ top.go | 2 ++ userdata.go | 2 ++ util/countrylist.go | 2 ++ util/languagelist.go | 2 ++ util/optionset.go | 2 ++ util/random.go | 2 ++ util/stack.go | 2 ++ util/timelist.go | 2 ++ util/util.go | 2 ++ util/workerpool.go | 2 ++ 22 files changed, 44 insertions(+) diff --git a/community.go b/community.go index 2778347..9de2d5f 100644 --- a/community.go +++ b/community.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package main contains the high-level Amsterdam logic. package main diff --git a/communityadmin.go b/communityadmin.go index 1435ed5..ffce661 100644 --- a/communityadmin.go +++ b/communityadmin.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package main contains the high-level Amsterdam logic. diff --git a/conference.go b/conference.go index 3de6f51..e2452a0 100644 --- a/conference.go +++ b/conference.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package main contains the high-level Amsterdam logic. diff --git a/conference_ops.go b/conference_ops.go index 7c13d2e..a57e2ea 100644 --- a/conference_ops.go +++ b/conference_ops.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package main contains the high-level Amsterdam logic. diff --git a/conferenceadmin.go b/conferenceadmin.go index d249969..ceffc1c 100644 --- a/conferenceadmin.go +++ b/conferenceadmin.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package main contains the high-level Amsterdam logic. diff --git a/errors.go b/errors.go index 28b5492..f03bb96 100644 --- a/errors.go +++ b/errors.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package main contains the high-level Amsterdam logic. package main diff --git a/find.go b/find.go index 8f6a7ee..ceaf3d7 100644 --- a/find.go +++ b/find.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package main contains the high-level Amsterdam logic. package main diff --git a/invites.go b/invites.go index 7b63459..a540468 100644 --- a/invites.go +++ b/invites.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package main contains the high-level Amsterdam logic. package main diff --git a/logging.go b/logging.go index b99ee7d..8796acb 100644 --- a/logging.go +++ b/logging.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package main contains the high-level Amsterdam logic. diff --git a/login.go b/login.go index b8ae4ea..26a8c00 100644 --- a/login.go +++ b/login.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package main contains the high-level Amsterdam logic. package main diff --git a/main.go b/main.go index 1f0fb5c..654becf 100644 --- a/main.go +++ b/main.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package main contains the high-level Amsterdam logic. diff --git a/sysadmin.go b/sysadmin.go index 8381972..9dcb660 100644 --- a/sysadmin.go +++ b/sysadmin.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package main contains the high-level Amsterdam logic. diff --git a/top.go b/top.go index 17c676c..863f188 100644 --- a/top.go +++ b/top.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package main contains the high-level Amsterdam logic. package main diff --git a/userdata.go b/userdata.go index b455377..71cd6b3 100644 --- a/userdata.go +++ b/userdata.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package main contains the high-level Amsterdam logic. package main diff --git a/util/countrylist.go b/util/countrylist.go index a473be8..fcac681 100644 --- a/util/countrylist.go +++ b/util/countrylist.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package util contains utility definitions. diff --git a/util/languagelist.go b/util/languagelist.go index 55fca8b..6d47dc8 100644 --- a/util/languagelist.go +++ b/util/languagelist.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package util contains utility definitions. diff --git a/util/optionset.go b/util/optionset.go index 108382c..7d69f99 100644 --- a/util/optionset.go +++ b/util/optionset.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package util contains utility definitions. diff --git a/util/random.go b/util/random.go index f9f4409..32459c3 100644 --- a/util/random.go +++ b/util/random.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package util contains utility definitions. diff --git a/util/stack.go b/util/stack.go index 4aba52b..85a88cb 100644 --- a/util/stack.go +++ b/util/stack.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package util contains utility definitions. diff --git a/util/timelist.go b/util/timelist.go index 08b69b5..fffe5cf 100644 --- a/util/timelist.go +++ b/util/timelist.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package util contains utility definitions. diff --git a/util/util.go b/util/util.go index 20e5819..e0e9d3c 100644 --- a/util/util.go +++ b/util/util.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package util contains utility definitions. diff --git a/util/workerpool.go b/util/workerpool.go index 9204830..340b932 100644 --- a/util/workerpool.go +++ b/util/workerpool.go @@ -5,6 +5,8 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ // Package util contains utility definitions.