diff --git a/absl-flat_hash_map.cc b/absl-flat_hash_map.cc index d63d72b000..73c4f7a438 100644 --- a/absl-flat_hash_map.cc +++ b/absl-flat_hash_map.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "absl-flat_hash_map.hh" diff --git a/absl-flat_hash_map.hh b/absl-flat_hash_map.hh index b8bbe79198..8626c25458 100644 --- a/absl-flat_hash_map.hh +++ b/absl-flat_hash_map.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/alternator/auth.cc b/alternator/auth.cc index 96489e403b..2be1aa013b 100644 --- a/alternator/auth.cc +++ b/alternator/auth.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "alternator/error.hh" diff --git a/alternator/auth.hh b/alternator/auth.hh index da04686fd9..2ab0d98605 100644 --- a/alternator/auth.hh +++ b/alternator/auth.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/alternator/conditions.cc b/alternator/conditions.cc index b07ba238b5..02c32c4d3d 100644 --- a/alternator/conditions.cc +++ b/alternator/conditions.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/alternator/conditions.hh b/alternator/conditions.hh index 3ce8db5b24..102bb5be44 100644 --- a/alternator/conditions.hh +++ b/alternator/conditions.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ /* diff --git a/alternator/controller.cc b/alternator/controller.cc index cc346a2344..be7e437d8a 100644 --- a/alternator/controller.cc +++ b/alternator/controller.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/alternator/controller.hh b/alternator/controller.hh index 587a8c5944..f6473d6c25 100644 --- a/alternator/controller.hh +++ b/alternator/controller.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/alternator/error.hh b/alternator/error.hh index 9b1568db18..93e7653ebb 100644 --- a/alternator/error.hh +++ b/alternator/error.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/alternator/executor.cc b/alternator/executor.cc index 48658a2485..9a94c770f5 100644 --- a/alternator/executor.cc +++ b/alternator/executor.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/alternator/executor.hh b/alternator/executor.hh index 5c6a917524..4b2930cb78 100644 --- a/alternator/executor.hh +++ b/alternator/executor.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/alternator/expressions.cc b/alternator/expressions.cc index f3dad0d039..7d9baef125 100644 --- a/alternator/expressions.cc +++ b/alternator/expressions.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "expressions.hh" diff --git a/alternator/expressions.g b/alternator/expressions.g index 85364687c5..353758cba3 100644 --- a/alternator/expressions.g +++ b/alternator/expressions.g @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ /* diff --git a/alternator/expressions.hh b/alternator/expressions.hh index 4f3c51c37d..fcb7a8bc55 100644 --- a/alternator/expressions.hh +++ b/alternator/expressions.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/alternator/expressions_types.hh b/alternator/expressions_types.hh index 3628320641..d3054e918a 100644 --- a/alternator/expressions_types.hh +++ b/alternator/expressions_types.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/alternator/rmw_operation.hh b/alternator/rmw_operation.hh index 91812aaef5..85fa7d7ce7 100644 --- a/alternator/rmw_operation.hh +++ b/alternator/rmw_operation.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/alternator/serialization.cc b/alternator/serialization.cc index 521a01ce5d..43925687c3 100644 --- a/alternator/serialization.cc +++ b/alternator/serialization.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "utils/base64.hh" diff --git a/alternator/serialization.hh b/alternator/serialization.hh index 05c3f3e28d..f4e6ecdd2a 100644 --- a/alternator/serialization.hh +++ b/alternator/serialization.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/alternator/server.cc b/alternator/server.cc index e9fca87f58..b5d9ee0797 100644 --- a/alternator/server.cc +++ b/alternator/server.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "alternator/server.hh" diff --git a/alternator/server.hh b/alternator/server.hh index 53b19768c6..1d321941ab 100644 --- a/alternator/server.hh +++ b/alternator/server.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/alternator/stats.cc b/alternator/stats.cc index 34fbe583aa..dadffb6438 100644 --- a/alternator/stats.cc +++ b/alternator/stats.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "stats.hh" diff --git a/alternator/stats.hh b/alternator/stats.hh index 0dbaf4f4e8..e960d0b3cc 100644 --- a/alternator/stats.hh +++ b/alternator/stats.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/alternator/streams.cc b/alternator/streams.cc index e120a3be93..b8601d916d 100644 --- a/alternator/streams.cc +++ b/alternator/streams.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/alternator/tags_extension.hh b/alternator/tags_extension.hh index b957535806..163098c726 100644 --- a/alternator/tags_extension.hh +++ b/alternator/tags_extension.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/alternator/ttl.cc b/alternator/ttl.cc index 073da7ef9a..ca1cb36a0b 100644 --- a/alternator/ttl.cc +++ b/alternator/ttl.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/alternator/ttl.hh b/alternator/ttl.hh index c0432f52f3..30dadd257e 100644 --- a/alternator/ttl.hh +++ b/alternator/ttl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/api/api.cc b/api/api.cc index 4eadbae551..36610c59a9 100644 --- a/api/api.cc +++ b/api/api.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "api.hh" diff --git a/api/api.hh b/api/api.hh index 3a322d9f6e..94f36d6c02 100644 --- a/api/api.hh +++ b/api/api.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/api/api_init.hh b/api/api_init.hh index c758c0d7a5..33abd6d169 100644 --- a/api/api_init.hh +++ b/api/api_init.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/api/cache_service.cc b/api/cache_service.cc index 2b461d3170..105742dcbe 100644 --- a/api/cache_service.cc +++ b/api/cache_service.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "cache_service.hh" diff --git a/api/cache_service.hh b/api/cache_service.hh index b0418faa05..aff52c2d61 100644 --- a/api/cache_service.hh +++ b/api/cache_service.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/api/collectd.cc b/api/collectd.cc index f0bd9f5fc7..c4125ba978 100644 --- a/api/collectd.cc +++ b/api/collectd.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "collectd.hh" diff --git a/api/collectd.hh b/api/collectd.hh index bf9676f071..64488ed180 100644 --- a/api/collectd.hh +++ b/api/collectd.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/api/column_family.cc b/api/column_family.cc index a1bc22efa9..be478b628a 100644 --- a/api/column_family.cc +++ b/api/column_family.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "column_family.hh" diff --git a/api/column_family.hh b/api/column_family.hh index 4f566f82a7..db51fcce75 100644 --- a/api/column_family.hh +++ b/api/column_family.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/api/commitlog.cc b/api/commitlog.cc index 3de137a237..ec0ebcdbd6 100644 --- a/api/commitlog.cc +++ b/api/commitlog.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "commitlog.hh" diff --git a/api/commitlog.hh b/api/commitlog.hh index bc3d6f1b62..1931a76a46 100644 --- a/api/commitlog.hh +++ b/api/commitlog.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/api/compaction_manager.cc b/api/compaction_manager.cc index 34248f46ca..e5c2cb8488 100644 --- a/api/compaction_manager.cc +++ b/api/compaction_manager.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/api/compaction_manager.hh b/api/compaction_manager.hh index c0c5168701..6d911e39b3 100644 --- a/api/compaction_manager.hh +++ b/api/compaction_manager.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/api/config.cc b/api/config.cc index 691448298c..72ecbad048 100644 --- a/api/config.cc +++ b/api/config.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "api/config.hh" diff --git a/api/config.hh b/api/config.hh index 3af7af71f1..1aea4f1dcd 100644 --- a/api/config.hh +++ b/api/config.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/api/endpoint_snitch.cc b/api/endpoint_snitch.cc index 7ddd0e0fa5..52fff3031a 100644 --- a/api/endpoint_snitch.cc +++ b/api/endpoint_snitch.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "locator/snitch_base.hh" diff --git a/api/endpoint_snitch.hh b/api/endpoint_snitch.hh index 950c4bd71e..d4927b9ad1 100644 --- a/api/endpoint_snitch.hh +++ b/api/endpoint_snitch.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/api/error_injection.cc b/api/error_injection.cc index 65d706e4bd..cb30916bb7 100644 --- a/api/error_injection.cc +++ b/api/error_injection.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "api/api-doc/error_injection.json.hh" diff --git a/api/error_injection.hh b/api/error_injection.hh index be34298209..b738314186 100644 --- a/api/error_injection.hh +++ b/api/error_injection.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/api/failure_detector.cc b/api/failure_detector.cc index 0e42715231..d72188a4dc 100644 --- a/api/failure_detector.cc +++ b/api/failure_detector.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "failure_detector.hh" diff --git a/api/failure_detector.hh b/api/failure_detector.hh index d1c9f17db3..3b06544946 100644 --- a/api/failure_detector.hh +++ b/api/failure_detector.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/api/gossiper.cc b/api/gossiper.cc index 4e6d1469f0..e3fdac542f 100644 --- a/api/gossiper.cc +++ b/api/gossiper.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "gossiper.hh" diff --git a/api/gossiper.hh b/api/gossiper.hh index c07d19eae3..c2b899d304 100644 --- a/api/gossiper.hh +++ b/api/gossiper.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/api/hinted_handoff.cc b/api/hinted_handoff.cc index 37220dd40c..5129523185 100644 --- a/api/hinted_handoff.cc +++ b/api/hinted_handoff.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/api/hinted_handoff.hh b/api/hinted_handoff.hh index 01dffb1582..fe3c6cd33d 100644 --- a/api/hinted_handoff.hh +++ b/api/hinted_handoff.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/api/lsa.cc b/api/lsa.cc index e036bbd170..9fe4972a61 100644 --- a/api/lsa.cc +++ b/api/lsa.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "api/api-doc/lsa.json.hh" diff --git a/api/lsa.hh b/api/lsa.hh index 354f339e3f..6601b9a7c0 100644 --- a/api/lsa.hh +++ b/api/lsa.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/api/messaging_service.cc b/api/messaging_service.cc index c22a34706f..89b29fad8c 100644 --- a/api/messaging_service.cc +++ b/api/messaging_service.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "messaging_service.hh" diff --git a/api/messaging_service.hh b/api/messaging_service.hh index 77dcf33f9e..614000e184 100644 --- a/api/messaging_service.hh +++ b/api/messaging_service.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/api/storage_proxy.cc b/api/storage_proxy.cc index 21b38abb3f..5b56e97ab4 100644 --- a/api/storage_proxy.cc +++ b/api/storage_proxy.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "storage_proxy.hh" diff --git a/api/storage_proxy.hh b/api/storage_proxy.hh index a3de5d571c..9559edb7f4 100644 --- a/api/storage_proxy.hh +++ b/api/storage_proxy.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/api/storage_service.cc b/api/storage_service.cc index 6254d82656..1c17b57107 100644 --- a/api/storage_service.cc +++ b/api/storage_service.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "storage_service.hh" diff --git a/api/storage_service.hh b/api/storage_service.hh index 420e651aae..1bde885230 100644 --- a/api/storage_service.hh +++ b/api/storage_service.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/api/stream_manager.cc b/api/stream_manager.cc index d6d6f1c367..fd369ac4c9 100644 --- a/api/stream_manager.cc +++ b/api/stream_manager.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "stream_manager.hh" diff --git a/api/stream_manager.hh b/api/stream_manager.hh index 8a09ee5575..b487e1853b 100644 --- a/api/stream_manager.hh +++ b/api/stream_manager.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/api/system.cc b/api/system.cc index 84278c2897..a109705558 100644 --- a/api/system.cc +++ b/api/system.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "api/api-doc/system.json.hh" diff --git a/api/system.hh b/api/system.hh index 0800646f49..ef864a17e9 100644 --- a/api/system.hh +++ b/api/system.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/atomic_cell.cc b/atomic_cell.cc index 932ff12521..d452e56155 100644 --- a/atomic_cell.cc +++ b/atomic_cell.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "atomic_cell.hh" diff --git a/atomic_cell.hh b/atomic_cell.hh index 582e378259..331fba88fc 100644 --- a/atomic_cell.hh +++ b/atomic_cell.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/atomic_cell_hash.hh b/atomic_cell_hash.hh index 421788f8a9..e400613fa0 100644 --- a/atomic_cell_hash.hh +++ b/atomic_cell_hash.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/atomic_cell_or_collection.hh b/atomic_cell_or_collection.hh index d17920999e..769877ebc9 100644 --- a/atomic_cell_or_collection.hh +++ b/atomic_cell_or_collection.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/auth/allow_all_authenticator.cc b/auth/allow_all_authenticator.cc index 78334fcf18..d1cabd8125 100644 --- a/auth/allow_all_authenticator.cc +++ b/auth/allow_all_authenticator.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "auth/allow_all_authenticator.hh" diff --git a/auth/allow_all_authenticator.hh b/auth/allow_all_authenticator.hh index c6304eb1c8..2612943cb2 100644 --- a/auth/allow_all_authenticator.hh +++ b/auth/allow_all_authenticator.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/auth/allow_all_authorizer.cc b/auth/allow_all_authorizer.cc index dce46bd7f4..a6384b3571 100644 --- a/auth/allow_all_authorizer.cc +++ b/auth/allow_all_authorizer.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "auth/allow_all_authorizer.hh" diff --git a/auth/allow_all_authorizer.hh b/auth/allow_all_authorizer.hh index e346acb114..22a57d1272 100644 --- a/auth/allow_all_authorizer.hh +++ b/auth/allow_all_authorizer.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/auth/authenticated_user.cc b/auth/authenticated_user.cc index 9a4736b010..a6df9bc29e 100644 --- a/auth/authenticated_user.cc +++ b/auth/authenticated_user.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "auth/authenticated_user.hh" diff --git a/auth/authenticated_user.hh b/auth/authenticated_user.hh index c86fc113f5..6f6f7c4b80 100644 --- a/auth/authenticated_user.hh +++ b/auth/authenticated_user.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/auth/authentication_options.cc b/auth/authentication_options.cc index f6bb20dfb0..7abcaeffaa 100644 --- a/auth/authentication_options.cc +++ b/auth/authentication_options.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "auth/authentication_options.hh" diff --git a/auth/authentication_options.hh b/auth/authentication_options.hh index bda881e86b..6a99cd0fdc 100644 --- a/auth/authentication_options.hh +++ b/auth/authentication_options.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/auth/authenticator.cc b/auth/authenticator.cc index 6133bc0856..434150f423 100644 --- a/auth/authenticator.cc +++ b/auth/authenticator.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "auth/authenticator.hh" diff --git a/auth/authenticator.hh b/auth/authenticator.hh index b9f263110c..94f1aa3715 100644 --- a/auth/authenticator.hh +++ b/auth/authenticator.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/auth/authorizer.hh b/auth/authorizer.hh index 30c2768fd2..f0528ca137 100644 --- a/auth/authorizer.hh +++ b/auth/authorizer.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/auth/common.cc b/auth/common.cc index 0badc0c18c..f8db0faed9 100644 --- a/auth/common.cc +++ b/auth/common.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/auth/common.hh b/auth/common.hh index 6689061b9a..976085c690 100644 --- a/auth/common.hh +++ b/auth/common.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/auth/default_authorizer.cc b/auth/default_authorizer.cc index 6253fefc93..f26f58ff5e 100644 --- a/auth/default_authorizer.cc +++ b/auth/default_authorizer.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "auth/default_authorizer.hh" diff --git a/auth/default_authorizer.hh b/auth/default_authorizer.hh index a96727373a..16e15aaefb 100644 --- a/auth/default_authorizer.hh +++ b/auth/default_authorizer.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/auth/password_authenticator.cc b/auth/password_authenticator.cc index 933602725d..87edfc2a38 100644 --- a/auth/password_authenticator.cc +++ b/auth/password_authenticator.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "auth/password_authenticator.hh" diff --git a/auth/password_authenticator.hh b/auth/password_authenticator.hh index cdebde161d..a3e31651d1 100644 --- a/auth/password_authenticator.hh +++ b/auth/password_authenticator.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/auth/passwords.cc b/auth/passwords.cc index 7461b327cb..daeec596a2 100644 --- a/auth/passwords.cc +++ b/auth/passwords.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "auth/passwords.hh" diff --git a/auth/passwords.hh b/auth/passwords.hh index 7ae51508d5..657ad512bb 100644 --- a/auth/passwords.hh +++ b/auth/passwords.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/auth/permission.cc b/auth/permission.cc index 0248e1d207..193a2f9cab 100644 --- a/auth/permission.cc +++ b/auth/permission.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "auth/permission.hh" diff --git a/auth/permission.hh b/auth/permission.hh index 388c9528ca..8e4d4d7475 100644 --- a/auth/permission.hh +++ b/auth/permission.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/auth/permissions_cache.cc b/auth/permissions_cache.cc index a5ea3e1b62..cd6cbc681a 100644 --- a/auth/permissions_cache.cc +++ b/auth/permissions_cache.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "auth/permissions_cache.hh" diff --git a/auth/permissions_cache.hh b/auth/permissions_cache.hh index 14ea1c088a..03ff8adc29 100644 --- a/auth/permissions_cache.hh +++ b/auth/permissions_cache.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/auth/resource.cc b/auth/resource.cc index 0b0ea07278..033c75386c 100644 --- a/auth/resource.cc +++ b/auth/resource.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "auth/resource.hh" diff --git a/auth/resource.hh b/auth/resource.hh index 030732567e..a3f2886536 100644 --- a/auth/resource.hh +++ b/auth/resource.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/auth/role_manager.hh b/auth/role_manager.hh index e74658f8ec..6ed5ce1c6b 100644 --- a/auth/role_manager.hh +++ b/auth/role_manager.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/auth/role_or_anonymous.cc b/auth/role_or_anonymous.cc index 8af2ea7247..40dd8ac162 100644 --- a/auth/role_or_anonymous.cc +++ b/auth/role_or_anonymous.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "auth/role_or_anonymous.hh" diff --git a/auth/role_or_anonymous.hh b/auth/role_or_anonymous.hh index 4fb02540e7..db3a9e4f9d 100644 --- a/auth/role_or_anonymous.hh +++ b/auth/role_or_anonymous.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/auth/roles-metadata.cc b/auth/roles-metadata.cc index bde1b922a7..20210e657e 100644 --- a/auth/roles-metadata.cc +++ b/auth/roles-metadata.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "auth/roles-metadata.hh" diff --git a/auth/roles-metadata.hh b/auth/roles-metadata.hh index c3a71e2070..a0f8dd3f84 100644 --- a/auth/roles-metadata.hh +++ b/auth/roles-metadata.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/auth/sasl_challenge.cc b/auth/sasl_challenge.cc index 712fc31bf7..3b3da5aaeb 100644 --- a/auth/sasl_challenge.cc +++ b/auth/sasl_challenge.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "auth/sasl_challenge.hh" diff --git a/auth/sasl_challenge.hh b/auth/sasl_challenge.hh index 1db7c2f31b..fd1837071a 100644 --- a/auth/sasl_challenge.hh +++ b/auth/sasl_challenge.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/auth/service.cc b/auth/service.cc index d37a225dd9..aeaf3dd6f5 100644 --- a/auth/service.cc +++ b/auth/service.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/auth/service.hh b/auth/service.hh index b3fa258415..fc40a9d71c 100644 --- a/auth/service.hh +++ b/auth/service.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/auth/standard_role_manager.cc b/auth/standard_role_manager.cc index 634c0ec2c8..cc2546a8a5 100644 --- a/auth/standard_role_manager.cc +++ b/auth/standard_role_manager.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "auth/standard_role_manager.hh" diff --git a/auth/standard_role_manager.hh b/auth/standard_role_manager.hh index c93411b3a4..ee0698d50c 100644 --- a/auth/standard_role_manager.hh +++ b/auth/standard_role_manager.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/auth/transitional.cc b/auth/transitional.cc index 8f34ebe1bd..4b65fd80f9 100644 --- a/auth/transitional.cc +++ b/auth/transitional.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "auth/authenticated_user.hh" diff --git a/backlog_controller.hh b/backlog_controller.hh index 40ba0f1f3e..a98d037507 100644 --- a/backlog_controller.hh +++ b/backlog_controller.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/bytes.cc b/bytes.cc index aad2ff02dc..68f6760e5d 100644 --- a/bytes.cc +++ b/bytes.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "bytes.hh" diff --git a/bytes.hh b/bytes.hh index 702297aecc..001f25f47d 100644 --- a/bytes.hh +++ b/bytes.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/bytes_ostream.hh b/bytes_ostream.hh index 95446b55f5..fcbf3ce475 100644 --- a/bytes_ostream.hh +++ b/bytes_ostream.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cache_flat_mutation_reader.hh b/cache_flat_mutation_reader.hh index ac5ddf65f4..9bfc377a83 100644 --- a/cache_flat_mutation_reader.hh +++ b/cache_flat_mutation_reader.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cache_temperature.hh b/cache_temperature.hh index 81432db5a7..206732ba25 100644 --- a/cache_temperature.hh +++ b/cache_temperature.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/caching_options.cc b/caching_options.cc index 3bcb4738c7..fe7fe44a1e 100644 --- a/caching_options.cc +++ b/caching_options.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "caching_options.hh" diff --git a/caching_options.hh b/caching_options.hh index b4aea9d9a9..bdebc791ea 100644 --- a/caching_options.hh +++ b/caching_options.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/canonical_mutation.cc b/canonical_mutation.cc index 2eb42bce1f..b7f141a3b2 100644 --- a/canonical_mutation.cc +++ b/canonical_mutation.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "canonical_mutation.hh" diff --git a/canonical_mutation.hh b/canonical_mutation.hh index 311f04e81e..327f7c0079 100644 --- a/canonical_mutation.hh +++ b/canonical_mutation.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cartesian_product.hh b/cartesian_product.hh index 365eeb1831..465723d740 100644 --- a/cartesian_product.hh +++ b/cartesian_product.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cdc/cdc_extension.hh b/cdc/cdc_extension.hh index 29c0e5fe01..978773a52d 100644 --- a/cdc/cdc_extension.hh +++ b/cdc/cdc_extension.hh @@ -2,20 +2,7 @@ * Copyright 2020-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cdc/cdc_options.hh b/cdc/cdc_options.hh index b44d1683b5..69bd45064c 100644 --- a/cdc/cdc_options.hh +++ b/cdc/cdc_options.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cdc/cdc_partitioner.cc b/cdc/cdc_partitioner.cc index 6299371d38..c24bf38d4c 100644 --- a/cdc/cdc_partitioner.cc +++ b/cdc/cdc_partitioner.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "cdc_partitioner.hh" diff --git a/cdc/cdc_partitioner.hh b/cdc/cdc_partitioner.hh index 5e1a829bb4..c04e6d8181 100644 --- a/cdc/cdc_partitioner.hh +++ b/cdc/cdc_partitioner.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cdc/change_visitor.hh b/cdc/change_visitor.hh index 09000ce862..9e8ff1cbe2 100644 --- a/cdc/change_visitor.hh +++ b/cdc/change_visitor.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cdc/generation.cc b/cdc/generation.cc index 7938642600..3ba0b4fdf7 100644 --- a/cdc/generation.cc +++ b/cdc/generation.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/cdc/generation.hh b/cdc/generation.hh index d79f208a87..8003ccabf8 100644 --- a/cdc/generation.hh +++ b/cdc/generation.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/cdc/generation_id.hh b/cdc/generation_id.hh index db3acd9581..2c7c4eec07 100644 --- a/cdc/generation_id.hh +++ b/cdc/generation_id.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cdc/generation_service.hh b/cdc/generation_service.hh index 603d346e16..bb0155820f 100644 --- a/cdc/generation_service.hh +++ b/cdc/generation_service.hh @@ -1,19 +1,5 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 * * Modified by ScyllaDB * Copyright (C) 2021-present ScyllaDB diff --git a/cdc/log.cc b/cdc/log.cc index 97227d4968..967489ba9b 100644 --- a/cdc/log.cc +++ b/cdc/log.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/cdc/log.hh b/cdc/log.hh index 7d0193cd2c..4333292f6e 100644 --- a/cdc/log.hh +++ b/cdc/log.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ /* diff --git a/cdc/metadata.cc b/cdc/metadata.cc index cbf0ee5fb6..fd079cb9af 100644 --- a/cdc/metadata.cc +++ b/cdc/metadata.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "dht/token-sharding.hh" diff --git a/cdc/metadata.hh b/cdc/metadata.hh index fcc8fa3680..7ca8d7dadf 100644 --- a/cdc/metadata.hh +++ b/cdc/metadata.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cdc/split.cc b/cdc/split.cc index 42979ea956..ddb4b50a8e 100644 --- a/cdc/split.cc +++ b/cdc/split.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "mutation.hh" diff --git a/cdc/split.hh b/cdc/split.hh index cec0de9a0d..b0f637a5cd 100644 --- a/cdc/split.hh +++ b/cdc/split.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cdc/stats.hh b/cdc/stats.hh index 34e19856bc..2d36b52a22 100644 --- a/cdc/stats.hh +++ b/cdc/stats.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cell_locking.hh b/cell_locking.hh index 3802453bcd..53ad3bcf96 100644 --- a/cell_locking.hh +++ b/cell_locking.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/checked-file-impl.hh b/checked-file-impl.hh index 15f41322de..2ba7acefda 100644 --- a/checked-file-impl.hh +++ b/checked-file-impl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/clocks-impl.cc b/clocks-impl.cc index c2e0115704..44b7d69d71 100644 --- a/clocks-impl.cc +++ b/clocks-impl.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/clocks-impl.hh b/clocks-impl.hh index de5fff2613..576c45b909 100644 --- a/clocks-impl.hh +++ b/clocks-impl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/clustering_bounds_comparator.hh b/clustering_bounds_comparator.hh index b089c1b17c..2944f788b2 100644 --- a/clustering_bounds_comparator.hh +++ b/clustering_bounds_comparator.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/clustering_interval_set.hh b/clustering_interval_set.hh index 2db68a49cb..d3e8bfef80 100644 --- a/clustering_interval_set.hh +++ b/clustering_interval_set.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/clustering_key_filter.hh b/clustering_key_filter.hh index 5642289020..a670c0b130 100644 --- a/clustering_key_filter.hh +++ b/clustering_key_filter.hh @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/clustering_ranges_walker.hh b/clustering_ranges_walker.hh index 0c8d768e27..666718da05 100644 --- a/clustering_ranges_walker.hh +++ b/clustering_ranges_walker.hh @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/collection_mutation.cc b/collection_mutation.cc index e9e752ad15..d39d1eb9a2 100644 --- a/collection_mutation.cc +++ b/collection_mutation.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "types/collection.hh" diff --git a/collection_mutation.hh b/collection_mutation.hh index 8be5ec092f..b65ebb9dec 100644 --- a/collection_mutation.hh +++ b/collection_mutation.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/column_computation.hh b/column_computation.hh index 7dbe335cba..601e337062 100644 --- a/column_computation.hh +++ b/column_computation.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/combine.hh b/combine.hh index 6d308d1260..ce48145d2e 100644 --- a/combine.hh +++ b/combine.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/compaction/compaction.cc b/compaction/compaction.cc index 5d74821673..dfa56cde7c 100644 --- a/compaction/compaction.cc +++ b/compaction/compaction.cc @@ -3,38 +3,10 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ #include diff --git a/compaction/compaction.hh b/compaction/compaction.hh index 62e17896a2..25b50963c6 100644 --- a/compaction/compaction.hh +++ b/compaction/compaction.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/compaction/compaction_backlog_manager.hh b/compaction/compaction_backlog_manager.hh index 8e33004983..82c368e264 100644 --- a/compaction/compaction_backlog_manager.hh +++ b/compaction/compaction_backlog_manager.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/compaction/compaction_descriptor.hh b/compaction/compaction_descriptor.hh index e060441066..763274f57e 100644 --- a/compaction/compaction_descriptor.hh +++ b/compaction/compaction_descriptor.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/compaction/compaction_garbage_collector.hh b/compaction/compaction_garbage_collector.hh index c486cc4503..45eb7d3026 100644 --- a/compaction/compaction_garbage_collector.hh +++ b/compaction/compaction_garbage_collector.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/compaction/compaction_manager.cc b/compaction/compaction_manager.cc index d4f0db9ba2..28ba3744a0 100644 --- a/compaction/compaction_manager.cc +++ b/compaction/compaction_manager.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "compaction_manager.hh" diff --git a/compaction/compaction_manager.hh b/compaction/compaction_manager.hh index 2795f1f325..e9c19b70a0 100644 --- a/compaction/compaction_manager.hh +++ b/compaction/compaction_manager.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/compaction/compaction_strategy.cc b/compaction/compaction_strategy.cc index cda032e8a5..764082f996 100644 --- a/compaction/compaction_strategy.cc +++ b/compaction/compaction_strategy.cc @@ -3,38 +3,10 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ #include diff --git a/compaction/compaction_strategy.hh b/compaction/compaction_strategy.hh index f792d5620d..0d96991e13 100644 --- a/compaction/compaction_strategy.hh +++ b/compaction/compaction_strategy.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/compaction/compaction_strategy_impl.hh b/compaction/compaction_strategy_impl.hh index 37f9215a4d..9efcc396a3 100644 --- a/compaction/compaction_strategy_impl.hh +++ b/compaction/compaction_strategy_impl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/compaction/compaction_strategy_type.hh b/compaction/compaction_strategy_type.hh index 56d076141a..73fa4941c6 100644 --- a/compaction/compaction_strategy_type.hh +++ b/compaction/compaction_strategy_type.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/compaction/compaction_weight_registration.hh b/compaction/compaction_weight_registration.hh index a1f42bf721..0acb7479d8 100644 --- a/compaction/compaction_weight_registration.hh +++ b/compaction/compaction_weight_registration.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/compaction/date_tiered_compaction_strategy.hh b/compaction/date_tiered_compaction_strategy.hh index 7402e36a41..6ff70e8df2 100644 --- a/compaction/date_tiered_compaction_strategy.hh +++ b/compaction/date_tiered_compaction_strategy.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/compaction/leveled_compaction_strategy.cc b/compaction/leveled_compaction_strategy.cc index 883e652910..3b8e472b45 100644 --- a/compaction/leveled_compaction_strategy.cc +++ b/compaction/leveled_compaction_strategy.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "leveled_compaction_strategy.hh" diff --git a/compaction/leveled_compaction_strategy.hh b/compaction/leveled_compaction_strategy.hh index 6852e878f7..c3773de34b 100644 --- a/compaction/leveled_compaction_strategy.hh +++ b/compaction/leveled_compaction_strategy.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/compaction/leveled_manifest.hh b/compaction/leveled_manifest.hh index 0760564fa1..518a1831a8 100644 --- a/compaction/leveled_manifest.hh +++ b/compaction/leveled_manifest.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/compaction/size_tiered_backlog_tracker.hh b/compaction/size_tiered_backlog_tracker.hh index 08eda5bcb4..67ca3aa005 100644 --- a/compaction/size_tiered_backlog_tracker.hh +++ b/compaction/size_tiered_backlog_tracker.hh @@ -2,20 +2,7 @@ * Copyright (C) 2018-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/compaction/size_tiered_compaction_strategy.cc b/compaction/size_tiered_compaction_strategy.cc index d2b319d960..06edb065e2 100644 --- a/compaction/size_tiered_compaction_strategy.cc +++ b/compaction/size_tiered_compaction_strategy.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "size_tiered_compaction_strategy.hh" diff --git a/compaction/size_tiered_compaction_strategy.hh b/compaction/size_tiered_compaction_strategy.hh index aa73869c8e..c0d5e0bc46 100644 --- a/compaction/size_tiered_compaction_strategy.hh +++ b/compaction/size_tiered_compaction_strategy.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/compaction/strategy_control.hh b/compaction/strategy_control.hh index 04fd276d98..7e4b3f9a4d 100644 --- a/compaction/strategy_control.hh +++ b/compaction/strategy_control.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/compaction/table_state.hh b/compaction/table_state.hh index 19156ef96d..f300e9cc5b 100644 --- a/compaction/table_state.hh +++ b/compaction/table_state.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/compaction/time_window_compaction_strategy.cc b/compaction/time_window_compaction_strategy.cc index 959b34c548..8e9e8c8d4c 100644 --- a/compaction/time_window_compaction_strategy.cc +++ b/compaction/time_window_compaction_strategy.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "time_window_compaction_strategy.hh" diff --git a/compaction/time_window_compaction_strategy.hh b/compaction/time_window_compaction_strategy.hh index 944aa7558c..7bdbc95f73 100644 --- a/compaction/time_window_compaction_strategy.hh +++ b/compaction/time_window_compaction_strategy.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/compatible_ring_position.hh b/compatible_ring_position.hh index 929acd82ee..2206d2ce57 100644 --- a/compatible_ring_position.hh +++ b/compatible_ring_position.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/compound.hh b/compound.hh index 5466570347..86ff85a945 100644 --- a/compound.hh +++ b/compound.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/compound_compat.hh b/compound_compat.hh index 0f39552f4f..bffb1df6b4 100644 --- a/compound_compat.hh +++ b/compound_compat.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/compress.cc b/compress.cc index 8389b7fc8a..46a98a86c0 100644 --- a/compress.cc +++ b/compress.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/compress.hh b/compress.hh index d26776bbc9..5e1de8a5c1 100644 --- a/compress.hh +++ b/compress.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/concrete_types.hh b/concrete_types.hh index 66a6094902..af88dd38ac 100644 --- a/concrete_types.hh +++ b/concrete_types.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/configure.py b/configure.py index 9c376ce584..6fcb91dd20 100755 --- a/configure.py +++ b/configure.py @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # import argparse diff --git a/connection_notifier.cc b/connection_notifier.cc index 5140818ca6..a587a104eb 100644 --- a/connection_notifier.cc +++ b/connection_notifier.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "connection_notifier.hh" diff --git a/connection_notifier.hh b/connection_notifier.hh index a4253c2edf..bd1e2d7043 100644 --- a/connection_notifier.hh +++ b/connection_notifier.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/converting_mutation_partition_applier.cc b/converting_mutation_partition_applier.cc index b0ecb2adb6..c62fdcdfe3 100644 --- a/converting_mutation_partition_applier.cc +++ b/converting_mutation_partition_applier.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "converting_mutation_partition_applier.hh" diff --git a/converting_mutation_partition_applier.hh b/converting_mutation_partition_applier.hh index 8c7980b6ff..9746717e74 100644 --- a/converting_mutation_partition_applier.hh +++ b/converting_mutation_partition_applier.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/counters.cc b/counters.cc index 3a9770f2c9..517263e055 100644 --- a/counters.cc +++ b/counters.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "counters.hh" diff --git a/counters.hh b/counters.hh index 4a5718d070..26d8e1cc5d 100644 --- a/counters.hh +++ b/counters.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/Cql.g b/cql3/Cql.g index 56efbf1561..681eda88d3 100644 --- a/cql3/Cql.g +++ b/cql3/Cql.g @@ -1,20 +1,5 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. + * SPDX-License-Identifier: Apache-2.0 */ grammar Cql; diff --git a/cql3/abstract_marker.cc b/cql3/abstract_marker.cc index f1a79a80c1..edf68a4ecf 100644 --- a/cql3/abstract_marker.cc +++ b/cql3/abstract_marker.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/abstract_marker.hh" diff --git a/cql3/abstract_marker.hh b/cql3/abstract_marker.hh index 9af0af7649..56629e27d1 100644 --- a/cql3/abstract_marker.hh +++ b/cql3/abstract_marker.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/assignment_testable.hh b/cql3/assignment_testable.hh index 8a9fa5d5a7..3eeab6b6f5 100644 --- a/cql3/assignment_testable.hh +++ b/cql3/assignment_testable.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/attributes.cc b/cql3/attributes.cc index 576a55bbc6..1287f3fa5f 100644 --- a/cql3/attributes.cc +++ b/cql3/attributes.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/attributes.hh" diff --git a/cql3/attributes.hh b/cql3/attributes.hh index 23aa014325..1f0f585c08 100644 --- a/cql3/attributes.hh +++ b/cql3/attributes.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/authorized_prepared_statements_cache.hh b/cql3/authorized_prepared_statements_cache.hh index 241a90430d..9e58b16c6a 100644 --- a/cql3/authorized_prepared_statements_cache.hh +++ b/cql3/authorized_prepared_statements_cache.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/cf_name.cc b/cql3/cf_name.cc index 9e4c7c1106..57f84f7a2c 100644 --- a/cql3/cf_name.cc +++ b/cql3/cf_name.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/cf_name.hh" diff --git a/cql3/cf_name.hh b/cql3/cf_name.hh index 1f48bc7747..6499f0f94a 100644 --- a/cql3/cf_name.hh +++ b/cql3/cf_name.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/column_condition.cc b/cql3/column_condition.cc index 8c95e2c9b5..20f1dbcc21 100644 --- a/cql3/column_condition.cc +++ b/cql3/column_condition.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/column_condition.hh" diff --git a/cql3/column_condition.hh b/cql3/column_condition.hh index 93463af031..f1b35ef3af 100644 --- a/cql3/column_condition.hh +++ b/cql3/column_condition.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/column_identifier.cc b/cql3/column_identifier.cc index 04022a44e1..a73d872be0 100644 --- a/cql3/column_identifier.cc +++ b/cql3/column_identifier.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "cql3/column_identifier.hh" diff --git a/cql3/column_identifier.hh b/cql3/column_identifier.hh index f07e697aea..495e3aa96c 100644 --- a/cql3/column_identifier.hh +++ b/cql3/column_identifier.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/column_specification.cc b/cql3/column_specification.cc index 0ebd98eb05..2ba458f58b 100644 --- a/cql3/column_specification.cc +++ b/cql3/column_specification.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/column_specification.hh" diff --git a/cql3/column_specification.hh b/cql3/column_specification.hh index efd274e380..d13a3fe87f 100644 --- a/cql3/column_specification.hh +++ b/cql3/column_specification.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/constants.cc b/cql3/constants.cc index ac72c3e812..11e0c548e0 100644 --- a/cql3/constants.cc +++ b/cql3/constants.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/constants.hh" diff --git a/cql3/constants.hh b/cql3/constants.hh index dda8e5ee1a..63f8595e50 100644 --- a/cql3/constants.hh +++ b/cql3/constants.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/cql3_type.cc b/cql3/cql3_type.cc index d71d195862..00967983bf 100644 --- a/cql3/cql3_type.cc +++ b/cql3/cql3_type.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/cql3/cql3_type.hh b/cql3/cql3_type.hh index eb610f4d00..fdeffc8501 100644 --- a/cql3/cql3_type.hh +++ b/cql3/cql3_type.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/cql_config.hh b/cql3/cql_config.hh index 1b81db4c15..0164bf334d 100644 --- a/cql3/cql_config.hh +++ b/cql3/cql_config.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/cql3/cql_statement.hh b/cql3/cql_statement.hh index 5dde1f2aed..0236b24231 100644 --- a/cql3/cql_statement.hh +++ b/cql3/cql_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/error_collector.hh b/cql3/error_collector.hh index 8ef6d37482..00f112832e 100644 --- a/cql3/error_collector.hh +++ b/cql3/error_collector.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/error_listener.hh b/cql3/error_listener.hh index 064f3c286b..02cdf8365b 100644 --- a/cql3/error_listener.hh +++ b/cql3/error_listener.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/expr/expression.cc b/cql3/expr/expression.cc index 48dce6d54d..e91e8b773a 100644 --- a/cql3/expr/expression.cc +++ b/cql3/expr/expression.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "expression.hh" diff --git a/cql3/expr/expression.hh b/cql3/expr/expression.hh index 702dec468f..08dca72f6b 100644 --- a/cql3/expr/expression.hh +++ b/cql3/expr/expression.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/expr/prepare_expr.cc b/cql3/expr/prepare_expr.cc index 580076c263..66d70290b7 100644 --- a/cql3/expr/prepare_expr.cc +++ b/cql3/expr/prepare_expr.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "expression.hh" diff --git a/cql3/functions/abstract_function.hh b/cql3/functions/abstract_function.hh index b17ce354c2..5cbade07cd 100644 --- a/cql3/functions/abstract_function.hh +++ b/cql3/functions/abstract_function.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/functions/aggregate_fcts.cc b/cql3/functions/aggregate_fcts.cc index 5765f7ca37..4fcc234e92 100644 --- a/cql3/functions/aggregate_fcts.cc +++ b/cql3/functions/aggregate_fcts.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ diff --git a/cql3/functions/aggregate_fcts.hh b/cql3/functions/aggregate_fcts.hh index 2ae7f3cd12..73984da370 100644 --- a/cql3/functions/aggregate_fcts.hh +++ b/cql3/functions/aggregate_fcts.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/functions/aggregate_function.hh b/cql3/functions/aggregate_function.hh index e37f75fb87..6a331d7790 100644 --- a/cql3/functions/aggregate_function.hh +++ b/cql3/functions/aggregate_function.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/functions/as_json_function.hh b/cql3/functions/as_json_function.hh index 239e32edab..e8511e35d3 100644 --- a/cql3/functions/as_json_function.hh +++ b/cql3/functions/as_json_function.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/functions/bytes_conversion_fcts.hh b/cql3/functions/bytes_conversion_fcts.hh index 59a7885ba5..ba0883a79d 100644 --- a/cql3/functions/bytes_conversion_fcts.hh +++ b/cql3/functions/bytes_conversion_fcts.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/functions/castas_fcts.cc b/cql3/functions/castas_fcts.cc index 6714580e57..143bc6e5cf 100644 --- a/cql3/functions/castas_fcts.cc +++ b/cql3/functions/castas_fcts.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "castas_fcts.hh" diff --git a/cql3/functions/castas_fcts.hh b/cql3/functions/castas_fcts.hh index 2fc3349d68..6c45b23538 100644 --- a/cql3/functions/castas_fcts.hh +++ b/cql3/functions/castas_fcts.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/functions/error_injection_fcts.cc b/cql3/functions/error_injection_fcts.cc index 8699ce8902..23683914f7 100644 --- a/cql3/functions/error_injection_fcts.cc +++ b/cql3/functions/error_injection_fcts.cc @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "error_injection_fcts.hh" diff --git a/cql3/functions/error_injection_fcts.hh b/cql3/functions/error_injection_fcts.hh index 9fa33d5e81..061bd04364 100644 --- a/cql3/functions/error_injection_fcts.hh +++ b/cql3/functions/error_injection_fcts.hh @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/functions/function.hh b/cql3/functions/function.hh index 969470b225..21a1c8c3da 100644 --- a/cql3/functions/function.hh +++ b/cql3/functions/function.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/functions/function_name.hh b/cql3/functions/function_name.hh index 07108cbbc0..b8cb56684b 100644 --- a/cql3/functions/function_name.hh +++ b/cql3/functions/function_name.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/functions/functions.cc b/cql3/functions/functions.cc index 4bcdbed373..7ac05c457f 100644 --- a/cql3/functions/functions.cc +++ b/cql3/functions/functions.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "functions.hh" diff --git a/cql3/functions/functions.hh b/cql3/functions/functions.hh index 9e1a57ece0..681d7fa5a3 100644 --- a/cql3/functions/functions.hh +++ b/cql3/functions/functions.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/functions/native_aggregate_function.hh b/cql3/functions/native_aggregate_function.hh index b39f9300e5..29e8c8abf7 100644 --- a/cql3/functions/native_aggregate_function.hh +++ b/cql3/functions/native_aggregate_function.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/functions/native_function.hh b/cql3/functions/native_function.hh index 761a66ee28..894ec7d425 100644 --- a/cql3/functions/native_function.hh +++ b/cql3/functions/native_function.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/functions/native_scalar_function.hh b/cql3/functions/native_scalar_function.hh index 960126c62e..f4fc3261f6 100644 --- a/cql3/functions/native_scalar_function.hh +++ b/cql3/functions/native_scalar_function.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/functions/scalar_function.hh b/cql3/functions/scalar_function.hh index cb5ce24b08..5da82c2856 100644 --- a/cql3/functions/scalar_function.hh +++ b/cql3/functions/scalar_function.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/functions/time_uuid_fcts.hh b/cql3/functions/time_uuid_fcts.hh index 1d3052182f..ecd11f655d 100644 --- a/cql3/functions/time_uuid_fcts.hh +++ b/cql3/functions/time_uuid_fcts.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/functions/token_fct.hh b/cql3/functions/token_fct.hh index e3447977e9..2e978e5990 100644 --- a/cql3/functions/token_fct.hh +++ b/cql3/functions/token_fct.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/functions/user_aggregate.hh b/cql3/functions/user_aggregate.hh index d9a9cbf046..21598cdeaf 100644 --- a/cql3/functions/user_aggregate.hh +++ b/cql3/functions/user_aggregate.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/functions/user_function.cc b/cql3/functions/user_function.cc index 5b81c32c73..bfc4b8cf1b 100644 --- a/cql3/functions/user_function.cc +++ b/cql3/functions/user_function.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "user_function.hh" diff --git a/cql3/functions/user_function.hh b/cql3/functions/user_function.hh index c531872829..a3273d4000 100644 --- a/cql3/functions/user_function.hh +++ b/cql3/functions/user_function.hh @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/functions/uuid_fcts.hh b/cql3/functions/uuid_fcts.hh index d6e6c05719..cc2c8af62f 100644 --- a/cql3/functions/uuid_fcts.hh +++ b/cql3/functions/uuid_fcts.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/index_name.cc b/cql3/index_name.cc index eac7a0bf20..8d3f4f9dd4 100644 --- a/cql3/index_name.cc +++ b/cql3/index_name.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/index_name.hh" diff --git a/cql3/index_name.hh b/cql3/index_name.hh index 39078588c1..ff69fba5b6 100644 --- a/cql3/index_name.hh +++ b/cql3/index_name.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/keyspace_element_name.cc b/cql3/keyspace_element_name.cc index c7650d3018..4b620132b4 100644 --- a/cql3/keyspace_element_name.cc +++ b/cql3/keyspace_element_name.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/keyspace_element_name.hh" diff --git a/cql3/keyspace_element_name.hh b/cql3/keyspace_element_name.hh index c743c5360c..156d3e1425 100644 --- a/cql3/keyspace_element_name.hh +++ b/cql3/keyspace_element_name.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/lists.cc b/cql3/lists.cc index c05306db42..0f6b030dd1 100644 --- a/cql3/lists.cc +++ b/cql3/lists.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "lists.hh" diff --git a/cql3/lists.hh b/cql3/lists.hh index 50a5ff06e3..c60bdaa4c9 100644 --- a/cql3/lists.hh +++ b/cql3/lists.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/maps.cc b/cql3/maps.cc index 704ec6e3c9..2e7d7db609 100644 --- a/cql3/maps.cc +++ b/cql3/maps.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "maps.hh" diff --git a/cql3/maps.hh b/cql3/maps.hh index 9fc2aade1e..0ef5ec961f 100644 --- a/cql3/maps.hh +++ b/cql3/maps.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/multi_column_relation.hh b/cql3/multi_column_relation.hh index ec6bf44d86..bcef950f33 100644 --- a/cql3/multi_column_relation.hh +++ b/cql3/multi_column_relation.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/operation.cc b/cql3/operation.cc index 050df4a164..a7fc7680e2 100644 --- a/cql3/operation.cc +++ b/cql3/operation.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -21,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/operation.hh b/cql3/operation.hh index 5c7f70495c..df45e35427 100644 --- a/cql3/operation.hh +++ b/cql3/operation.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/operation_impl.hh b/cql3/operation_impl.hh index 40d10d299f..0c1f886f62 100644 --- a/cql3/operation_impl.hh +++ b/cql3/operation_impl.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/prepare_context.cc b/cql3/prepare_context.cc index cc22412700..a7bfead8d6 100644 --- a/cql3/prepare_context.cc +++ b/cql3/prepare_context.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/prepare_context.hh" diff --git a/cql3/prepare_context.hh b/cql3/prepare_context.hh index 78f65d108e..a8b98f694c 100644 --- a/cql3/prepare_context.hh +++ b/cql3/prepare_context.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/prepared_statements_cache.hh b/cql3/prepared_statements_cache.hh index b2787516d1..f112ba4ed7 100644 --- a/cql3/prepared_statements_cache.hh +++ b/cql3/prepared_statements_cache.hh @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/query_options.cc b/cql3/query_options.cc index 2d88993e3e..3163b08c75 100644 --- a/cql3/query_options.cc +++ b/cql3/query_options.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/cql_config.hh" diff --git a/cql3/query_options.hh b/cql3/query_options.hh index 876eba00e7..f9d2b95409 100644 --- a/cql3/query_options.hh +++ b/cql3/query_options.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/query_options_fwd.hh b/cql3/query_options_fwd.hh index c296c3c3e7..1a7929b1e6 100644 --- a/cql3/query_options_fwd.hh +++ b/cql3/query_options_fwd.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/query_processor.cc b/cql3/query_processor.cc index a52a373496..37e9c6824d 100644 --- a/cql3/query_processor.cc +++ b/cql3/query_processor.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/query_processor.hh" diff --git a/cql3/query_processor.hh b/cql3/query_processor.hh index 4b5f3b1280..751b0ea98f 100644 --- a/cql3/query_processor.hh +++ b/cql3/query_processor.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/relation.cc b/cql3/relation.cc index 5d91e342bb..734ca520d0 100644 --- a/cql3/relation.cc +++ b/cql3/relation.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "relation.hh" diff --git a/cql3/relation.hh b/cql3/relation.hh index 08532be7d4..2eb04c2faf 100644 --- a/cql3/relation.hh +++ b/cql3/relation.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/restrictions/bounds_slice.hh b/cql3/restrictions/bounds_slice.hh index 7260efc36d..0e7b2cd912 100644 --- a/cql3/restrictions/bounds_slice.hh +++ b/cql3/restrictions/bounds_slice.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/restrictions/multi_column_restriction.hh b/cql3/restrictions/multi_column_restriction.hh index 967aa3192d..6da95c1204 100644 --- a/cql3/restrictions/multi_column_restriction.hh +++ b/cql3/restrictions/multi_column_restriction.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/restrictions/primary_key_restrictions.hh b/cql3/restrictions/primary_key_restrictions.hh index d44e543b6f..94484158ed 100644 --- a/cql3/restrictions/primary_key_restrictions.hh +++ b/cql3/restrictions/primary_key_restrictions.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ @@ -24,20 +9,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/restrictions/restriction.hh b/cql3/restrictions/restriction.hh index c1063d9e9a..5d7c291b03 100644 --- a/cql3/restrictions/restriction.hh +++ b/cql3/restrictions/restriction.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/restrictions/restrictions.hh b/cql3/restrictions/restrictions.hh index a177c6fcde..5a90acf679 100644 --- a/cql3/restrictions/restrictions.hh +++ b/cql3/restrictions/restrictions.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ @@ -24,20 +9,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/restrictions/restrictions_config.hh b/cql3/restrictions/restrictions_config.hh index 0bfb807005..698d28bcf5 100644 --- a/cql3/restrictions/restrictions_config.hh +++ b/cql3/restrictions/restrictions_config.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/cql3/restrictions/single_column_primary_key_restrictions.hh b/cql3/restrictions/single_column_primary_key_restrictions.hh index 6817176d5c..3404c62c19 100644 --- a/cql3/restrictions/single_column_primary_key_restrictions.hh +++ b/cql3/restrictions/single_column_primary_key_restrictions.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/restrictions/single_column_restriction.hh b/cql3/restrictions/single_column_restriction.hh index 60a5e7a650..78199a88c3 100644 --- a/cql3/restrictions/single_column_restriction.hh +++ b/cql3/restrictions/single_column_restriction.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/restrictions/single_column_restrictions.hh b/cql3/restrictions/single_column_restrictions.hh index a1a9f897f2..27e002e05e 100644 --- a/cql3/restrictions/single_column_restrictions.hh +++ b/cql3/restrictions/single_column_restrictions.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/restrictions/statement_restrictions.cc b/cql3/restrictions/statement_restrictions.cc index 89e3790e0e..2a837cef11 100644 --- a/cql3/restrictions/statement_restrictions.cc +++ b/cql3/restrictions/statement_restrictions.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/cql3/restrictions/statement_restrictions.hh b/cql3/restrictions/statement_restrictions.hh index ba64fb8513..7a153a2bdc 100644 --- a/cql3/restrictions/statement_restrictions.hh +++ b/cql3/restrictions/statement_restrictions.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/restrictions/token_restriction.hh b/cql3/restrictions/token_restriction.hh index f8b9a4a2ac..66933b837a 100644 --- a/cql3/restrictions/token_restriction.hh +++ b/cql3/restrictions/token_restriction.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* * Copyright (C) 2015-present ScyllaDB @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/result_generator.hh b/cql3/result_generator.hh index 4368762745..2b1f5e8e95 100644 --- a/cql3/result_generator.hh +++ b/cql3/result_generator.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/result_set.cc b/cql3/result_set.cc index d0bf3f3d2a..45030869c2 100644 --- a/cql3/result_set.cc +++ b/cql3/result_set.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/result_set.hh" diff --git a/cql3/result_set.hh b/cql3/result_set.hh index f28fb73625..031a73bd9c 100644 --- a/cql3/result_set.hh +++ b/cql3/result_set.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/role_name.cc b/cql3/role_name.cc index 8b8db713a0..cc30140315 100644 --- a/cql3/role_name.cc +++ b/cql3/role_name.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/role_name.hh" diff --git a/cql3/role_name.hh b/cql3/role_name.hh index cb6a97f482..cd81125d8d 100644 --- a/cql3/role_name.hh +++ b/cql3/role_name.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/selection/abstract_function_selector.cc b/cql3/selection/abstract_function_selector.cc index 7367ce452b..a81ae0d267 100644 --- a/cql3/selection/abstract_function_selector.cc +++ b/cql3/selection/abstract_function_selector.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* * Modified by ScyllaDB @@ -21,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "abstract_function_selector.hh" diff --git a/cql3/selection/abstract_function_selector.hh b/cql3/selection/abstract_function_selector.hh index 45b2dc2904..a9e0cb60fd 100644 --- a/cql3/selection/abstract_function_selector.hh +++ b/cql3/selection/abstract_function_selector.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* * Modified by ScyllaDB @@ -21,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/selection/aggregate_function_selector.hh b/cql3/selection/aggregate_function_selector.hh index eb695a9cc6..df903e4c97 100644 --- a/cql3/selection/aggregate_function_selector.hh +++ b/cql3/selection/aggregate_function_selector.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* * Modified by ScyllaDB @@ -21,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "abstract_function_selector.hh" diff --git a/cql3/selection/field_selector.hh b/cql3/selection/field_selector.hh index 64e26402e0..fea099c489 100644 --- a/cql3/selection/field_selector.hh +++ b/cql3/selection/field_selector.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* * Copyright (C) 2015-present ScyllaDB @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/selection/raw_selector.hh b/cql3/selection/raw_selector.hh index c57d511f0f..f8e9fb4cbf 100644 --- a/cql3/selection/raw_selector.hh +++ b/cql3/selection/raw_selector.hh @@ -1,20 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. */ /* @@ -24,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/selection/scalar_function_selector.hh b/cql3/selection/scalar_function_selector.hh index b3ce4291b0..eaaf15b578 100644 --- a/cql3/selection/scalar_function_selector.hh +++ b/cql3/selection/scalar_function_selector.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* * Modified by ScyllaDB @@ -21,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/selection/selectable-expr.hh b/cql3/selection/selectable-expr.hh index d9e32becee..826e51607e 100644 --- a/cql3/selection/selectable-expr.hh +++ b/cql3/selection/selectable-expr.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/cql3/selection/selectable.cc b/cql3/selection/selectable.cc index 9649913695..35f0ed032f 100644 --- a/cql3/selection/selectable.cc +++ b/cql3/selection/selectable.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "selectable.hh" diff --git a/cql3/selection/selectable.hh b/cql3/selection/selectable.hh index 3252d6fabc..abf2b20ae3 100644 --- a/cql3/selection/selectable.hh +++ b/cql3/selection/selectable.hh @@ -1,20 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. */ /* @@ -24,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/selection/selectable_with_field_selection.hh b/cql3/selection/selectable_with_field_selection.hh index 216271cfe4..4df6304496 100644 --- a/cql3/selection/selectable_with_field_selection.hh +++ b/cql3/selection/selectable_with_field_selection.hh @@ -1,20 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. */ /* @@ -24,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ diff --git a/cql3/selection/selection.cc b/cql3/selection/selection.cc index e888eb0a85..141e540112 100644 --- a/cql3/selection/selection.cc +++ b/cql3/selection/selection.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/selection/selection.hh b/cql3/selection/selection.hh index 412a14c698..948756c426 100644 --- a/cql3/selection/selection.hh +++ b/cql3/selection/selection.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/selection/selector.cc b/cql3/selection/selector.cc index 1d01370b91..820d4f010f 100644 --- a/cql3/selection/selector.cc +++ b/cql3/selection/selector.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "selector.hh" diff --git a/cql3/selection/selector.hh b/cql3/selection/selector.hh index 5e2b1895e6..86cd4b45e1 100644 --- a/cql3/selection/selector.hh +++ b/cql3/selection/selector.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/selection/selector_factories.cc b/cql3/selection/selector_factories.cc index 3caa8e6e5d..42f710405a 100644 --- a/cql3/selection/selector_factories.cc +++ b/cql3/selection/selector_factories.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/selection/selector_factories.hh" diff --git a/cql3/selection/selector_factories.hh b/cql3/selection/selector_factories.hh index 79dd9dcae8..df8bbbda10 100644 --- a/cql3/selection/selector_factories.hh +++ b/cql3/selection/selector_factories.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/selection/simple_selector.cc b/cql3/selection/simple_selector.cc index 2a2b994218..539a1c4dbb 100644 --- a/cql3/selection/simple_selector.cc +++ b/cql3/selection/simple_selector.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/selection/simple_selector.hh" diff --git a/cql3/selection/simple_selector.hh b/cql3/selection/simple_selector.hh index a42dbf3017..498bf9f08e 100644 --- a/cql3/selection/simple_selector.hh +++ b/cql3/selection/simple_selector.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/selection/writetime_or_ttl.hh b/cql3/selection/writetime_or_ttl.hh index 3650f2f4ca..6efc65545d 100644 --- a/cql3/selection/writetime_or_ttl.hh +++ b/cql3/selection/writetime_or_ttl.hh @@ -1,20 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. */ /* @@ -24,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/selection/writetime_or_ttl_selector.hh b/cql3/selection/writetime_or_ttl_selector.hh index 7b149d48d5..e9ce29305e 100644 --- a/cql3/selection/writetime_or_ttl_selector.hh +++ b/cql3/selection/writetime_or_ttl_selector.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* * Modified by ScyllaDB @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/sets.cc b/cql3/sets.cc index 532c96ae23..dd8da61973 100644 --- a/cql3/sets.cc +++ b/cql3/sets.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "sets.hh" diff --git a/cql3/sets.hh b/cql3/sets.hh index 64cf6dec75..0906a722e6 100644 --- a/cql3/sets.hh +++ b/cql3/sets.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/single_column_relation.cc b/cql3/single_column_relation.cc index e31fe89c9a..7dc48576d8 100644 --- a/cql3/single_column_relation.cc +++ b/cql3/single_column_relation.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/single_column_relation.hh" diff --git a/cql3/single_column_relation.hh b/cql3/single_column_relation.hh index 22fbb99dbf..aeea07646f 100644 --- a/cql3/single_column_relation.hh +++ b/cql3/single_column_relation.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/alter_keyspace_statement.cc b/cql3/statements/alter_keyspace_statement.cc index 2e16208127..2302658af6 100644 --- a/cql3/statements/alter_keyspace_statement.cc +++ b/cql3/statements/alter_keyspace_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/alter_keyspace_statement.hh b/cql3/statements/alter_keyspace_statement.hh index 5667010980..064082dfff 100644 --- a/cql3/statements/alter_keyspace_statement.hh +++ b/cql3/statements/alter_keyspace_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/alter_role_statement.hh b/cql3/statements/alter_role_statement.hh index 1924dcaab9..c7f2d45d02 100644 --- a/cql3/statements/alter_role_statement.hh +++ b/cql3/statements/alter_role_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/alter_service_level_statement.cc b/cql3/statements/alter_service_level_statement.cc index b8ccca53aa..41a4c38d19 100644 --- a/cql3/statements/alter_service_level_statement.cc +++ b/cql3/statements/alter_service_level_statement.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "seastarx.hh" diff --git a/cql3/statements/alter_service_level_statement.hh b/cql3/statements/alter_service_level_statement.hh index 149c9c3b16..c5c219594a 100644 --- a/cql3/statements/alter_service_level_statement.hh +++ b/cql3/statements/alter_service_level_statement.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/statements/alter_table_statement.cc b/cql3/statements/alter_table_statement.cc index bda4b1dbbd..534516cbd1 100644 --- a/cql3/statements/alter_table_statement.cc +++ b/cql3/statements/alter_table_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/alter_table_statement.hh b/cql3/statements/alter_table_statement.hh index 6c7e24f485..ece01447ea 100644 --- a/cql3/statements/alter_table_statement.hh +++ b/cql3/statements/alter_table_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/alter_type_statement.cc b/cql3/statements/alter_type_statement.cc index 2f0c850882..21a77f6e39 100644 --- a/cql3/statements/alter_type_statement.cc +++ b/cql3/statements/alter_type_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -21,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/alter_type_statement.hh b/cql3/statements/alter_type_statement.hh index 8c6a4d366b..0296524d11 100644 --- a/cql3/statements/alter_type_statement.hh +++ b/cql3/statements/alter_type_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/alter_view_statement.cc b/cql3/statements/alter_view_statement.cc index 157ae22c2c..755888463e 100644 --- a/cql3/statements/alter_view_statement.cc +++ b/cql3/statements/alter_view_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/alter_view_statement.hh b/cql3/statements/alter_view_statement.hh index 47c87a807c..1fb82620e9 100644 --- a/cql3/statements/alter_view_statement.hh +++ b/cql3/statements/alter_view_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/attach_service_level_statement.cc b/cql3/statements/attach_service_level_statement.cc index dd603df426..40a5c4d580 100644 --- a/cql3/statements/attach_service_level_statement.cc +++ b/cql3/statements/attach_service_level_statement.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "seastarx.hh" diff --git a/cql3/statements/attach_service_level_statement.hh b/cql3/statements/attach_service_level_statement.hh index 778beae859..8d4a0e166c 100644 --- a/cql3/statements/attach_service_level_statement.hh +++ b/cql3/statements/attach_service_level_statement.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/statements/authentication_statement.cc b/cql3/statements/authentication_statement.cc index ed19fb6585..cb0a3039d2 100644 --- a/cql3/statements/authentication_statement.cc +++ b/cql3/statements/authentication_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "authentication_statement.hh" diff --git a/cql3/statements/authentication_statement.hh b/cql3/statements/authentication_statement.hh index 8a1869c3a9..fe6a916ce4 100644 --- a/cql3/statements/authentication_statement.hh +++ b/cql3/statements/authentication_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/authorization_statement.cc b/cql3/statements/authorization_statement.cc index 0045f9b7a4..bbe85a769c 100644 --- a/cql3/statements/authorization_statement.cc +++ b/cql3/statements/authorization_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "authorization_statement.hh" diff --git a/cql3/statements/authorization_statement.hh b/cql3/statements/authorization_statement.hh index 70f08bcca8..b313f5fb0e 100644 --- a/cql3/statements/authorization_statement.hh +++ b/cql3/statements/authorization_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/batch_statement.cc b/cql3/statements/batch_statement.cc index 0c97992ad5..d2974dc061 100644 --- a/cql3/statements/batch_statement.cc +++ b/cql3/statements/batch_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* * Modified by ScyllaDB @@ -21,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "batch_statement.hh" diff --git a/cql3/statements/batch_statement.hh b/cql3/statements/batch_statement.hh index 87557a4339..4e1c1ef17f 100644 --- a/cql3/statements/batch_statement.hh +++ b/cql3/statements/batch_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* * Modified by ScyllaDB @@ -21,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/bound.hh b/cql3/statements/bound.hh index 06cd49aeae..acf8d25d84 100644 --- a/cql3/statements/bound.hh +++ b/cql3/statements/bound.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/cas_request.cc b/cql3/statements/cas_request.cc index c9abc4f567..564cdd1929 100644 --- a/cql3/statements/cas_request.cc +++ b/cql3/statements/cas_request.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* * Copyright (C) 2019-present ScyllaDB @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "mutation.hh" diff --git a/cql3/statements/cas_request.hh b/cql3/statements/cas_request.hh index 9356061cb7..277884ebdd 100644 --- a/cql3/statements/cas_request.hh +++ b/cql3/statements/cas_request.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* * Copyright (C) 2019-present ScyllaDB @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once #include "service/paxos/cas_request.hh" diff --git a/cql3/statements/cf_prop_defs.cc b/cql3/statements/cf_prop_defs.cc index ba80a97b16..84003c66b0 100644 --- a/cql3/statements/cf_prop_defs.cc +++ b/cql3/statements/cf_prop_defs.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/statements/cf_prop_defs.hh" diff --git a/cql3/statements/cf_prop_defs.hh b/cql3/statements/cf_prop_defs.hh index e172ddee98..aae106b66f 100644 --- a/cql3/statements/cf_prop_defs.hh +++ b/cql3/statements/cf_prop_defs.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/cf_properties.hh b/cql3/statements/cf_properties.hh index bd02e0853f..9f705e1880 100644 --- a/cql3/statements/cf_properties.hh +++ b/cql3/statements/cf_properties.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -21,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/cf_statement.cc b/cql3/statements/cf_statement.cc index a06fcc9359..a46826ff38 100644 --- a/cql3/statements/cf_statement.cc +++ b/cql3/statements/cf_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "raw/cf_statement.hh" diff --git a/cql3/statements/create_aggregate_statement.cc b/cql3/statements/create_aggregate_statement.cc index a5c71b7043..9e58121113 100644 --- a/cql3/statements/create_aggregate_statement.cc +++ b/cql3/statements/create_aggregate_statement.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/cql3/statements/create_aggregate_statement.hh b/cql3/statements/create_aggregate_statement.hh index 3fa4fd673d..231d37bc4d 100644 --- a/cql3/statements/create_aggregate_statement.hh +++ b/cql3/statements/create_aggregate_statement.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/statements/create_function_statement.cc b/cql3/statements/create_function_statement.cc index d8ead79edd..337f8dc445 100644 --- a/cql3/statements/create_function_statement.cc +++ b/cql3/statements/create_function_statement.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/cql3/statements/create_function_statement.hh b/cql3/statements/create_function_statement.hh index 17861c5598..6c46334e48 100644 --- a/cql3/statements/create_function_statement.hh +++ b/cql3/statements/create_function_statement.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/statements/create_index_statement.cc b/cql3/statements/create_index_statement.cc index a7603181d7..a96fc029b0 100644 --- a/cql3/statements/create_index_statement.cc +++ b/cql3/statements/create_index_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/create_index_statement.hh b/cql3/statements/create_index_statement.hh index 0f5bc77be1..ef459f89b0 100644 --- a/cql3/statements/create_index_statement.hh +++ b/cql3/statements/create_index_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/create_keyspace_statement.cc b/cql3/statements/create_keyspace_statement.cc index 8f607df3f3..b04426d6a8 100644 --- a/cql3/statements/create_keyspace_statement.cc +++ b/cql3/statements/create_keyspace_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/create_keyspace_statement.hh b/cql3/statements/create_keyspace_statement.hh index 6bbb3a6a1f..b53944e6a3 100644 --- a/cql3/statements/create_keyspace_statement.hh +++ b/cql3/statements/create_keyspace_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/create_role_statement.hh b/cql3/statements/create_role_statement.hh index 831d8a7244..8b9ce4fd46 100644 --- a/cql3/statements/create_role_statement.hh +++ b/cql3/statements/create_role_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/create_service_level_statement.cc b/cql3/statements/create_service_level_statement.cc index 801ac5e623..2d10403ae2 100644 --- a/cql3/statements/create_service_level_statement.cc +++ b/cql3/statements/create_service_level_statement.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "seastarx.hh" diff --git a/cql3/statements/create_service_level_statement.hh b/cql3/statements/create_service_level_statement.hh index 25b04c663a..8a41d700a3 100644 --- a/cql3/statements/create_service_level_statement.hh +++ b/cql3/statements/create_service_level_statement.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/statements/create_table_statement.cc b/cql3/statements/create_table_statement.cc index 2ebccfd412..9dfdf3d885 100644 --- a/cql3/statements/create_table_statement.cc +++ b/cql3/statements/create_table_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ diff --git a/cql3/statements/create_table_statement.hh b/cql3/statements/create_table_statement.hh index c41c2c6f6e..291f402d34 100644 --- a/cql3/statements/create_table_statement.hh +++ b/cql3/statements/create_table_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/create_type_statement.cc b/cql3/statements/create_type_statement.cc index 7a3b04f03b..b64d4b5728 100644 --- a/cql3/statements/create_type_statement.cc +++ b/cql3/statements/create_type_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -21,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/create_type_statement.hh b/cql3/statements/create_type_statement.hh index 47ce256f42..06ddbb1751 100644 --- a/cql3/statements/create_type_statement.hh +++ b/cql3/statements/create_type_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -21,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/create_view_statement.cc b/cql3/statements/create_view_statement.cc index 2d12716d59..feb5bcdf8a 100644 --- a/cql3/statements/create_view_statement.cc +++ b/cql3/statements/create_view_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/create_view_statement.hh b/cql3/statements/create_view_statement.hh index 2b50fe8f79..a715ec55a7 100644 --- a/cql3/statements/create_view_statement.hh +++ b/cql3/statements/create_view_statement.hh @@ -1,20 +1,7 @@ /* - * This file is part of Scylla. * Copyright (C) 2016-present ScyllaDB * - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/statements/delete_statement.cc b/cql3/statements/delete_statement.cc index 83a612f91c..cac31e0a25 100644 --- a/cql3/statements/delete_statement.cc +++ b/cql3/statements/delete_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/delete_statement.hh b/cql3/statements/delete_statement.hh index 13047d61bd..5a190fd0d4 100644 --- a/cql3/statements/delete_statement.hh +++ b/cql3/statements/delete_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/detach_service_level_statement.cc b/cql3/statements/detach_service_level_statement.cc index 057473c7aa..6385024f9e 100644 --- a/cql3/statements/detach_service_level_statement.cc +++ b/cql3/statements/detach_service_level_statement.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "seastarx.hh" diff --git a/cql3/statements/detach_service_level_statement.hh b/cql3/statements/detach_service_level_statement.hh index 80f23ce136..5b26b6bdfe 100644 --- a/cql3/statements/detach_service_level_statement.hh +++ b/cql3/statements/detach_service_level_statement.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/statements/drop_aggregate_statement.cc b/cql3/statements/drop_aggregate_statement.cc index a5f15f0d05..45d7755654 100644 --- a/cql3/statements/drop_aggregate_statement.cc +++ b/cql3/statements/drop_aggregate_statement.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/cql3/statements/drop_aggregate_statement.hh b/cql3/statements/drop_aggregate_statement.hh index 21352ec5cd..dd91715b1a 100644 --- a/cql3/statements/drop_aggregate_statement.hh +++ b/cql3/statements/drop_aggregate_statement.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/statements/drop_function_statement.cc b/cql3/statements/drop_function_statement.cc index 60b54d4fa4..d779d7f6ff 100644 --- a/cql3/statements/drop_function_statement.cc +++ b/cql3/statements/drop_function_statement.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/cql3/statements/drop_function_statement.hh b/cql3/statements/drop_function_statement.hh index ecbab3fadb..f6f37d84c6 100644 --- a/cql3/statements/drop_function_statement.hh +++ b/cql3/statements/drop_function_statement.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/statements/drop_index_statement.cc b/cql3/statements/drop_index_statement.cc index 3a036e1ce8..cb5095da9f 100644 --- a/cql3/statements/drop_index_statement.cc +++ b/cql3/statements/drop_index_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/drop_index_statement.hh b/cql3/statements/drop_index_statement.hh index f052817d50..e9a93f648e 100644 --- a/cql3/statements/drop_index_statement.hh +++ b/cql3/statements/drop_index_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/drop_keyspace_statement.cc b/cql3/statements/drop_keyspace_statement.cc index 23d18e766d..e856a0a29f 100644 --- a/cql3/statements/drop_keyspace_statement.cc +++ b/cql3/statements/drop_keyspace_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/drop_keyspace_statement.hh b/cql3/statements/drop_keyspace_statement.hh index 7304471206..a91d1cb04e 100644 --- a/cql3/statements/drop_keyspace_statement.hh +++ b/cql3/statements/drop_keyspace_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/drop_role_statement.hh b/cql3/statements/drop_role_statement.hh index 27acb20b03..52901c37d7 100644 --- a/cql3/statements/drop_role_statement.hh +++ b/cql3/statements/drop_role_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/drop_service_level_statement.cc b/cql3/statements/drop_service_level_statement.cc index f42646adc6..405dc38040 100644 --- a/cql3/statements/drop_service_level_statement.cc +++ b/cql3/statements/drop_service_level_statement.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "seastarx.hh" diff --git a/cql3/statements/drop_service_level_statement.hh b/cql3/statements/drop_service_level_statement.hh index 420e3cfb03..7be0ee2d7b 100644 --- a/cql3/statements/drop_service_level_statement.hh +++ b/cql3/statements/drop_service_level_statement.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/statements/drop_table_statement.cc b/cql3/statements/drop_table_statement.cc index fefe1e48a8..d5474a8ec1 100644 --- a/cql3/statements/drop_table_statement.cc +++ b/cql3/statements/drop_table_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/drop_table_statement.hh b/cql3/statements/drop_table_statement.hh index 7480e2db28..338698b677 100644 --- a/cql3/statements/drop_table_statement.hh +++ b/cql3/statements/drop_table_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/drop_type_statement.cc b/cql3/statements/drop_type_statement.cc index 8a1e02b572..2592f2ef08 100644 --- a/cql3/statements/drop_type_statement.cc +++ b/cql3/statements/drop_type_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -21,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/drop_type_statement.hh b/cql3/statements/drop_type_statement.hh index b5cbc7355b..5a356d16ff 100644 --- a/cql3/statements/drop_type_statement.hh +++ b/cql3/statements/drop_type_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -21,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/drop_view_statement.cc b/cql3/statements/drop_view_statement.cc index 281f90aa49..f21742f145 100644 --- a/cql3/statements/drop_view_statement.cc +++ b/cql3/statements/drop_view_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/drop_view_statement.hh b/cql3/statements/drop_view_statement.hh index 34d8a142c2..3bc85502cc 100644 --- a/cql3/statements/drop_view_statement.hh +++ b/cql3/statements/drop_view_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/function_statement.cc b/cql3/statements/function_statement.cc index ccff0a1f88..50982bbd6d 100644 --- a/cql3/statements/function_statement.cc +++ b/cql3/statements/function_statement.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "cql3/statements/function_statement.hh" diff --git a/cql3/statements/function_statement.hh b/cql3/statements/function_statement.hh index 6457f48300..897af26836 100644 --- a/cql3/statements/function_statement.hh +++ b/cql3/statements/function_statement.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/statements/grant_role_statement.hh b/cql3/statements/grant_role_statement.hh index 74f7958ea9..6db62dac48 100644 --- a/cql3/statements/grant_role_statement.hh +++ b/cql3/statements/grant_role_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/grant_statement.cc b/cql3/statements/grant_statement.cc index cad2ba5214..a32556b98e 100644 --- a/cql3/statements/grant_statement.cc +++ b/cql3/statements/grant_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "grant_statement.hh" diff --git a/cql3/statements/grant_statement.hh b/cql3/statements/grant_statement.hh index 71c0be9032..28ec126026 100644 --- a/cql3/statements/grant_statement.hh +++ b/cql3/statements/grant_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/index_prop_defs.cc b/cql3/statements/index_prop_defs.cc index 2938ab78e9..c0fea83cf5 100644 --- a/cql3/statements/index_prop_defs.cc +++ b/cql3/statements/index_prop_defs.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/index_prop_defs.hh b/cql3/statements/index_prop_defs.hh index e2c71b8480..3c875932d0 100644 --- a/cql3/statements/index_prop_defs.hh +++ b/cql3/statements/index_prop_defs.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/index_target.cc b/cql3/statements/index_target.cc index fc18170378..ae77447bb2 100644 --- a/cql3/statements/index_target.cc +++ b/cql3/statements/index_target.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/index_target.hh b/cql3/statements/index_target.hh index 4fabc0914c..46ab98307e 100644 --- a/cql3/statements/index_target.hh +++ b/cql3/statements/index_target.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/ks_prop_defs.cc b/cql3/statements/ks_prop_defs.cc index 30ea085b5d..3c738ff704 100644 --- a/cql3/statements/ks_prop_defs.cc +++ b/cql3/statements/ks_prop_defs.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/statements/ks_prop_defs.hh" diff --git a/cql3/statements/ks_prop_defs.hh b/cql3/statements/ks_prop_defs.hh index c9256c5670..c025f16593 100644 --- a/cql3/statements/ks_prop_defs.hh +++ b/cql3/statements/ks_prop_defs.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/list_permissions_statement.cc b/cql3/statements/list_permissions_statement.cc index b58c45544d..b2666fee14 100644 --- a/cql3/statements/list_permissions_statement.cc +++ b/cql3/statements/list_permissions_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/list_permissions_statement.hh b/cql3/statements/list_permissions_statement.hh index 7d5ab46989..3df1747e34 100644 --- a/cql3/statements/list_permissions_statement.hh +++ b/cql3/statements/list_permissions_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/list_roles_statement.hh b/cql3/statements/list_roles_statement.hh index 81d0121455..427c262201 100644 --- a/cql3/statements/list_roles_statement.hh +++ b/cql3/statements/list_roles_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/list_service_level_attachments_statement.cc b/cql3/statements/list_service_level_attachments_statement.cc index a4a275ec59..6bf41e98cd 100644 --- a/cql3/statements/list_service_level_attachments_statement.cc +++ b/cql3/statements/list_service_level_attachments_statement.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "seastarx.hh" diff --git a/cql3/statements/list_service_level_attachments_statement.hh b/cql3/statements/list_service_level_attachments_statement.hh index 769d4a0518..63d6f83dc9 100644 --- a/cql3/statements/list_service_level_attachments_statement.hh +++ b/cql3/statements/list_service_level_attachments_statement.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/statements/list_service_level_statement.cc b/cql3/statements/list_service_level_statement.cc index 3e8a145902..0621704b5b 100644 --- a/cql3/statements/list_service_level_statement.cc +++ b/cql3/statements/list_service_level_statement.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "seastarx.hh" diff --git a/cql3/statements/list_service_level_statement.hh b/cql3/statements/list_service_level_statement.hh index 5fe697b936..e7850bfec2 100644 --- a/cql3/statements/list_service_level_statement.hh +++ b/cql3/statements/list_service_level_statement.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/statements/list_users_statement.cc b/cql3/statements/list_users_statement.cc index 4c3047e1ad..97da91cd51 100644 --- a/cql3/statements/list_users_statement.cc +++ b/cql3/statements/list_users_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "list_users_statement.hh" diff --git a/cql3/statements/list_users_statement.hh b/cql3/statements/list_users_statement.hh index 62dc340560..478042e736 100644 --- a/cql3/statements/list_users_statement.hh +++ b/cql3/statements/list_users_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/modification_statement.cc b/cql3/statements/modification_statement.cc index b95f7786a0..002e508a6e 100644 --- a/cql3/statements/modification_statement.cc +++ b/cql3/statements/modification_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "types/map.hh" diff --git a/cql3/statements/modification_statement.hh b/cql3/statements/modification_statement.hh index a9044a01ab..828cdfc16f 100644 --- a/cql3/statements/modification_statement.hh +++ b/cql3/statements/modification_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/permission_altering_statement.cc b/cql3/statements/permission_altering_statement.cc index ebe7a47c4d..3c0a34a643 100644 --- a/cql3/statements/permission_altering_statement.cc +++ b/cql3/statements/permission_altering_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/permission_altering_statement.hh b/cql3/statements/permission_altering_statement.hh index d283642f29..396b192374 100644 --- a/cql3/statements/permission_altering_statement.hh +++ b/cql3/statements/permission_altering_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/prepared_statement.hh b/cql3/statements/prepared_statement.hh index 1b64449c40..a910645095 100644 --- a/cql3/statements/prepared_statement.hh +++ b/cql3/statements/prepared_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/property_definitions.cc b/cql3/statements/property_definitions.cc index d4fa8ebad5..a2053c228f 100644 --- a/cql3/statements/property_definitions.cc +++ b/cql3/statements/property_definitions.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/statements/property_definitions.hh" diff --git a/cql3/statements/property_definitions.hh b/cql3/statements/property_definitions.hh index 11b873ac38..c0bb59e6a4 100644 --- a/cql3/statements/property_definitions.hh +++ b/cql3/statements/property_definitions.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/raw/batch_statement.hh b/cql3/statements/raw/batch_statement.hh index a4594ae27b..5ef6c73b74 100644 --- a/cql3/statements/raw/batch_statement.hh +++ b/cql3/statements/raw/batch_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* * Modified by ScyllaDB @@ -21,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/raw/cf_statement.hh b/cql3/statements/raw/cf_statement.hh index 1fde51c2fa..a9d943613f 100644 --- a/cql3/statements/raw/cf_statement.hh +++ b/cql3/statements/raw/cf_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/raw/delete_statement.hh b/cql3/statements/raw/delete_statement.hh index 6c88679037..b75b294131 100644 --- a/cql3/statements/raw/delete_statement.hh +++ b/cql3/statements/raw/delete_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/raw/insert_statement.hh b/cql3/statements/raw/insert_statement.hh index 4c61db5647..6bca5f18e8 100644 --- a/cql3/statements/raw/insert_statement.hh +++ b/cql3/statements/raw/insert_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/raw/modification_statement.hh b/cql3/statements/raw/modification_statement.hh index bcd0f925b0..89f79875db 100644 --- a/cql3/statements/raw/modification_statement.hh +++ b/cql3/statements/raw/modification_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/raw/parsed_statement.cc b/cql3/statements/raw/parsed_statement.cc index a1fd0f735f..7164a85a67 100644 --- a/cql3/statements/raw/parsed_statement.cc +++ b/cql3/statements/raw/parsed_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "parsed_statement.hh" diff --git a/cql3/statements/raw/parsed_statement.hh b/cql3/statements/raw/parsed_statement.hh index decb40e392..5490014d89 100644 --- a/cql3/statements/raw/parsed_statement.hh +++ b/cql3/statements/raw/parsed_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/raw/select_statement.hh b/cql3/statements/raw/select_statement.hh index 0e27a0cfc1..9a8454b906 100644 --- a/cql3/statements/raw/select_statement.hh +++ b/cql3/statements/raw/select_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/raw/update_statement.hh b/cql3/statements/raw/update_statement.hh index 2c1ad7aa9c..d00242267c 100644 --- a/cql3/statements/raw/update_statement.hh +++ b/cql3/statements/raw/update_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/raw/use_statement.hh b/cql3/statements/raw/use_statement.hh index 19b6dab0f6..b34de04704 100644 --- a/cql3/statements/raw/use_statement.hh +++ b/cql3/statements/raw/use_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/request_validations.hh b/cql3/statements/request_validations.hh index c52b651af4..335b343988 100644 --- a/cql3/statements/request_validations.hh +++ b/cql3/statements/request_validations.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* * Modified by ScyllaDB @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/revoke_role_statement.hh b/cql3/statements/revoke_role_statement.hh index 0b65ccd719..1dc42e3003 100644 --- a/cql3/statements/revoke_role_statement.hh +++ b/cql3/statements/revoke_role_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/revoke_statement.cc b/cql3/statements/revoke_statement.cc index 544b90cd34..7d60f0e484 100644 --- a/cql3/statements/revoke_statement.cc +++ b/cql3/statements/revoke_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "revoke_statement.hh" diff --git a/cql3/statements/revoke_statement.hh b/cql3/statements/revoke_statement.hh index 21c29878b0..e1b91194ca 100644 --- a/cql3/statements/revoke_statement.hh +++ b/cql3/statements/revoke_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/role-management-statements.cc b/cql3/statements/role-management-statements.cc index a6de679cbe..2985b2412b 100644 --- a/cql3/statements/role-management-statements.cc +++ b/cql3/statements/role-management-statements.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/schema_altering_statement.cc b/cql3/statements/schema_altering_statement.cc index 2a4e424031..f37c3e3da3 100644 --- a/cql3/statements/schema_altering_statement.cc +++ b/cql3/statements/schema_altering_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/cql3/statements/schema_altering_statement.hh b/cql3/statements/schema_altering_statement.hh index 1df6dc694a..abc6a110f5 100644 --- a/cql3/statements/schema_altering_statement.hh +++ b/cql3/statements/schema_altering_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/select_statement.cc b/cql3/statements/select_statement.cc index 28016e23bf..b905767898 100644 --- a/cql3/statements/select_statement.cc +++ b/cql3/statements/select_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/statements/select_statement.hh" diff --git a/cql3/statements/select_statement.hh b/cql3/statements/select_statement.hh index 1d3adffc3d..66928ffdac 100644 --- a/cql3/statements/select_statement.hh +++ b/cql3/statements/select_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/service_level_statement.cc b/cql3/statements/service_level_statement.cc index f40bb21ea3..545d71b8e7 100644 --- a/cql3/statements/service_level_statement.cc +++ b/cql3/statements/service_level_statement.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "service_level_statement.hh" diff --git a/cql3/statements/service_level_statement.hh b/cql3/statements/service_level_statement.hh index e35e7d7a7a..ff9af7c830 100644 --- a/cql3/statements/service_level_statement.hh +++ b/cql3/statements/service_level_statement.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/statements/sl_prop_defs.cc b/cql3/statements/sl_prop_defs.cc index b1d4b797f0..7da64d1cb0 100644 --- a/cql3/statements/sl_prop_defs.cc +++ b/cql3/statements/sl_prop_defs.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "cql3/statements/sl_prop_defs.hh" diff --git a/cql3/statements/sl_prop_defs.hh b/cql3/statements/sl_prop_defs.hh index b143100a28..14edf27c7b 100644 --- a/cql3/statements/sl_prop_defs.hh +++ b/cql3/statements/sl_prop_defs.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/statements/statement_type.hh b/cql3/statements/statement_type.hh index f3b9aa9d09..aa84b5aa31 100644 --- a/cql3/statements/statement_type.hh +++ b/cql3/statements/statement_type.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/truncate_statement.cc b/cql3/statements/truncate_statement.cc index b5caf5b82f..fcc3fe491a 100644 --- a/cql3/statements/truncate_statement.cc +++ b/cql3/statements/truncate_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/statements/truncate_statement.hh" diff --git a/cql3/statements/truncate_statement.hh b/cql3/statements/truncate_statement.hh index b4fa463d19..f0f766c978 100644 --- a/cql3/statements/truncate_statement.hh +++ b/cql3/statements/truncate_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/update_statement.cc b/cql3/statements/update_statement.cc index 2f6f831384..1298da6500 100644 --- a/cql3/statements/update_statement.cc +++ b/cql3/statements/update_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "update_statement.hh" diff --git a/cql3/statements/update_statement.hh b/cql3/statements/update_statement.hh index 4965094ede..5d46e6d1e2 100644 --- a/cql3/statements/update_statement.hh +++ b/cql3/statements/update_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/statements/use_statement.cc b/cql3/statements/use_statement.cc index 08f52dce89..0a318ff158 100644 --- a/cql3/statements/use_statement.cc +++ b/cql3/statements/use_statement.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/statements/use_statement.hh" diff --git a/cql3/statements/use_statement.hh b/cql3/statements/use_statement.hh index c171082502..f317ae6635 100644 --- a/cql3/statements/use_statement.hh +++ b/cql3/statements/use_statement.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/stats.hh b/cql3/stats.hh index 1e264496a1..3ca35de532 100644 --- a/cql3/stats.hh +++ b/cql3/stats.hh @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/token_relation.cc b/cql3/token_relation.cc index a7a06846fb..b107203017 100644 --- a/cql3/token_relation.cc +++ b/cql3/token_relation.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* * Copyright (C) 2015-present ScyllaDB @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "restrictions/token_restriction.hh" diff --git a/cql3/token_relation.hh b/cql3/token_relation.hh index a91054da95..1a900733a5 100644 --- a/cql3/token_relation.hh +++ b/cql3/token_relation.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* * Copyright (C) 2015-present ScyllaDB @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/type_json.cc b/cql3/type_json.cc index 0950cb800d..20a76cd3ef 100644 --- a/cql3/type_json.cc +++ b/cql3/type_json.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "cql3/type_json.hh" diff --git a/cql3/type_json.hh b/cql3/type_json.hh index ac9e50314e..2797d320e0 100644 --- a/cql3/type_json.hh +++ b/cql3/type_json.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/untyped_result_set.cc b/cql3/untyped_result_set.cc index 6abdd3a1f8..41e4390d2b 100644 --- a/cql3/untyped_result_set.cc +++ b/cql3/untyped_result_set.cc @@ -1,20 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. */ /* @@ -24,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include #include diff --git a/cql3/untyped_result_set.hh b/cql3/untyped_result_set.hh index ec6921b2b0..3d669ccd67 100644 --- a/cql3/untyped_result_set.hh +++ b/cql3/untyped_result_set.hh @@ -1,20 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. */ /* @@ -24,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include #include diff --git a/cql3/update_parameters.cc b/cql3/update_parameters.cc index b042ec6ddc..baabc5e6bc 100644 --- a/cql3/update_parameters.cc +++ b/cql3/update_parameters.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/update_parameters.hh" diff --git a/cql3/update_parameters.hh b/cql3/update_parameters.hh index 9a88047170..fcd23fddf3 100644 --- a/cql3/update_parameters.hh +++ b/cql3/update_parameters.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/user_types.cc b/cql3/user_types.cc index cbb0d93f1c..33e1f126d0 100644 --- a/cql3/user_types.cc +++ b/cql3/user_types.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* * Modified by ScyllaDB @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/user_types.hh" diff --git a/cql3/user_types.hh b/cql3/user_types.hh index 30654d734c..4768c9801b 100644 --- a/cql3/user_types.hh +++ b/cql3/user_types.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* * Modified by ScyllaDB @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/ut_name.cc b/cql3/ut_name.cc index 326906ff8d..7964c160ee 100644 --- a/cql3/ut_name.cc +++ b/cql3/ut_name.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "cql3/ut_name.hh" diff --git a/cql3/ut_name.hh b/cql3/ut_name.hh index 5bcc4061a9..6a33caf10e 100644 --- a/cql3/ut_name.hh +++ b/cql3/ut_name.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/cql3/util.cc b/cql3/util.cc index 6c17531497..c6200f0420 100644 --- a/cql3/util.cc +++ b/cql3/util.cc @@ -1,18 +1,5 @@ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ /* Copyright 2020-present ScyllaDB */ diff --git a/cql3/util.hh b/cql3/util.hh index b709fb7eee..226b6b7194 100644 --- a/cql3/util.hh +++ b/cql3/util.hh @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql3/values.cc b/cql3/values.cc index e867616b89..89fe5dc771 100644 --- a/cql3/values.cc +++ b/cql3/values.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "cql3/values.hh" diff --git a/cql3/values.hh b/cql3/values.hh index eabb41bdbb..ca7c747609 100644 --- a/cql3/values.hh +++ b/cql3/values.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/cql_serialization_format.hh b/cql_serialization_format.hh index ab4f0536bc..9c2dd543d1 100644 --- a/cql_serialization_format.hh +++ b/cql_serialization_format.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/data_dictionary/data_dictionary.cc b/data_dictionary/data_dictionary.cc index c18e1e3d09..7d8890560d 100644 --- a/data_dictionary/data_dictionary.cc +++ b/data_dictionary/data_dictionary.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "data_dictionary.hh" diff --git a/data_dictionary/data_dictionary.hh b/data_dictionary/data_dictionary.hh index 176a866e61..fa0658723a 100644 --- a/data_dictionary/data_dictionary.hh +++ b/data_dictionary/data_dictionary.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/data_dictionary/impl.hh b/data_dictionary/impl.hh index 06b40df9d4..b7623141c7 100644 --- a/data_dictionary/impl.hh +++ b/data_dictionary/impl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/data_dictionary/keyspace_metadata.hh b/data_dictionary/keyspace_metadata.hh index 5c9cebda8f..5b9bacab05 100644 --- a/data_dictionary/keyspace_metadata.hh +++ b/data_dictionary/keyspace_metadata.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/data_dictionary/user_types_metadata.hh b/data_dictionary/user_types_metadata.hh index 6ec8d03104..b2265b29a6 100644 --- a/data_dictionary/user_types_metadata.hh +++ b/data_dictionary/user_types_metadata.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/batchlog_manager.cc b/db/batchlog_manager.cc index 64c347567b..4f08df9cac 100644 --- a/db/batchlog_manager.cc +++ b/db/batchlog_manager.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* * Copyright (C) 2015-present ScyllaDB @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/db/batchlog_manager.hh b/db/batchlog_manager.hh index 311156df85..614fbdd2af 100644 --- a/db/batchlog_manager.hh +++ b/db/batchlog_manager.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/db/cache_tracker.hh b/db/cache_tracker.hh index 34d8ada773..b81fe7c33c 100644 --- a/db/cache_tracker.hh +++ b/db/cache_tracker.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/chained_delegating_reader.hh b/db/chained_delegating_reader.hh index d1dcb5e308..c2944243e0 100644 --- a/db/chained_delegating_reader.hh +++ b/db/chained_delegating_reader.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/commitlog/commitlog.cc b/db/commitlog/commitlog.cc index f790791a74..76e2b12d6c 100644 --- a/db/commitlog/commitlog.cc +++ b/db/commitlog/commitlog.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/db/commitlog/commitlog.hh b/db/commitlog/commitlog.hh index 900121c6f4..befd603bce 100644 --- a/db/commitlog/commitlog.hh +++ b/db/commitlog/commitlog.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/db/commitlog/commitlog_entry.cc b/db/commitlog/commitlog_entry.cc index d196028ab5..7ab85c8069 100644 --- a/db/commitlog/commitlog_entry.cc +++ b/db/commitlog/commitlog_entry.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "counters.hh" diff --git a/db/commitlog/commitlog_entry.hh b/db/commitlog/commitlog_entry.hh index 1b66ab7cde..2411eab539 100644 --- a/db/commitlog/commitlog_entry.hh +++ b/db/commitlog/commitlog_entry.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/commitlog/commitlog_extensions.hh b/db/commitlog/commitlog_extensions.hh index 355588302b..92881effb9 100644 --- a/db/commitlog/commitlog_extensions.hh +++ b/db/commitlog/commitlog_extensions.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/commitlog/commitlog_replayer.cc b/db/commitlog/commitlog_replayer.cc index 9fc1c4e7f0..c884d44deb 100644 --- a/db/commitlog/commitlog_replayer.cc +++ b/db/commitlog/commitlog_replayer.cc @@ -1,20 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. */ /* @@ -23,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/db/commitlog/commitlog_replayer.hh b/db/commitlog/commitlog_replayer.hh index 7ebf7ae5ab..f992db2736 100644 --- a/db/commitlog/commitlog_replayer.hh +++ b/db/commitlog/commitlog_replayer.hh @@ -1,20 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. */ /* @@ -23,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/db/commitlog/commitlog_types.hh b/db/commitlog/commitlog_types.hh index d70cd81722..74d18fba4d 100644 --- a/db/commitlog/commitlog_types.hh +++ b/db/commitlog/commitlog_types.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/commitlog/replay_position.hh b/db/commitlog/replay_position.hh index dbbb37e05d..72890a07ab 100644 --- a/db/commitlog/replay_position.hh +++ b/db/commitlog/replay_position.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/db/commitlog/rp_set.hh b/db/commitlog/rp_set.hh index f99de88c72..6c63c03696 100644 --- a/db/commitlog/rp_set.hh +++ b/db/commitlog/rp_set.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/db/config.cc b/db/config.cc index f4a6faedbd..ed57041097 100644 --- a/db/config.cc +++ b/db/config.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/db/config.hh b/db/config.hh index be9e3781e0..d057d827aa 100644 --- a/db/config.hh +++ b/db/config.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/consistency_level.cc b/db/consistency_level.cc index 2e39992560..1fc4eb87b4 100644 --- a/db/consistency_level.cc +++ b/db/consistency_level.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "db/consistency_level.hh" diff --git a/db/consistency_level.hh b/db/consistency_level.hh index 3a2d033e52..7ceced7372 100644 --- a/db/consistency_level.hh +++ b/db/consistency_level.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/db/consistency_level_type.hh b/db/consistency_level_type.hh index de9fe1ef49..b0e283ab61 100644 --- a/db/consistency_level_type.hh +++ b/db/consistency_level_type.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/db/consistency_level_validations.hh b/db/consistency_level_validations.hh index 9de2ae973f..85acd01152 100644 --- a/db/consistency_level_validations.hh +++ b/db/consistency_level_validations.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/db/cql_type_parser.cc b/db/cql_type_parser.cc index f24c5397de..ee1c92eea9 100644 --- a/db/cql_type_parser.cc +++ b/db/cql_type_parser.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include #include diff --git a/db/cql_type_parser.hh b/db/cql_type_parser.hh index 8070480fb3..2b4d0fd8a8 100644 --- a/db/cql_type_parser.hh +++ b/db/cql_type_parser.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/db/data_listeners.cc b/db/data_listeners.cc index fc0daaacbf..7bc3101fd0 100755 --- a/db/data_listeners.cc +++ b/db/data_listeners.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "db/data_listeners.hh" diff --git a/db/data_listeners.hh b/db/data_listeners.hh index 55961fb24e..721832e9c4 100755 --- a/db/data_listeners.hh +++ b/db/data_listeners.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/extensions.cc b/db/extensions.cc index 5d7f789a8a..4d65be7925 100644 --- a/db/extensions.cc +++ b/db/extensions.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "extensions.hh" diff --git a/db/extensions.hh b/db/extensions.hh index 9c4fc3fd96..6113336f99 100644 --- a/db/extensions.hh +++ b/db/extensions.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/db/heat_load_balance.cc b/db/heat_load_balance.cc index d491cb1524..71d978a65e 100644 --- a/db/heat_load_balance.cc +++ b/db/heat_load_balance.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include #include diff --git a/db/heat_load_balance.hh b/db/heat_load_balance.hh index 70052d1eba..2bd2ba055a 100644 --- a/db/heat_load_balance.hh +++ b/db/heat_load_balance.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ /* diff --git a/db/hints/host_filter.cc b/db/hints/host_filter.cc index 878a3f3802..45b5eca097 100644 --- a/db/hints/host_filter.cc +++ b/db/hints/host_filter.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/db/hints/host_filter.hh b/db/hints/host_filter.hh index a236d2e20b..aa34fcbca2 100644 --- a/db/hints/host_filter.hh +++ b/db/hints/host_filter.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/hints/manager.cc b/db/hints/manager.cc index 4355ac0014..716d4cef60 100644 --- a/db/hints/manager.cc +++ b/db/hints/manager.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/db/hints/manager.hh b/db/hints/manager.hh index ceafd99d16..f467f72303 100644 --- a/db/hints/manager.hh +++ b/db/hints/manager.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/hints/resource_manager.cc b/db/hints/resource_manager.cc index f10a05f3d4..95d36b938d 100644 --- a/db/hints/resource_manager.cc +++ b/db/hints/resource_manager.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "resource_manager.hh" diff --git a/db/hints/resource_manager.hh b/db/hints/resource_manager.hh index 781ac8c95e..4e65821f4a 100644 --- a/db/hints/resource_manager.hh +++ b/db/hints/resource_manager.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/hints/sync_point.cc b/db/hints/sync_point.cc index 2b4491e105..0b0c74d3c1 100644 --- a/db/hints/sync_point.cc +++ b/db/hints/sync_point.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/db/hints/sync_point.hh b/db/hints/sync_point.hh index d7e260abd5..abd70d09cd 100644 --- a/db/hints/sync_point.hh +++ b/db/hints/sync_point.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/large_data_handler.cc b/db/large_data_handler.cc index 3ed343aa2d..a78af7bde5 100644 --- a/db/large_data_handler.cc +++ b/db/large_data_handler.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/db/large_data_handler.hh b/db/large_data_handler.hh index 39ae50bbb8..bdfff27063 100644 --- a/db/large_data_handler.hh +++ b/db/large_data_handler.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/legacy_schema_migrator.cc b/db/legacy_schema_migrator.cc index 9957a8197d..222e1caf3c 100644 --- a/db/legacy_schema_migrator.cc +++ b/db/legacy_schema_migrator.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ // Since Scylla 2.0, we use system tables whose schemas were introduced in diff --git a/db/legacy_schema_migrator.hh b/db/legacy_schema_migrator.hh index caba4e6631..dbe466bd90 100644 --- a/db/legacy_schema_migrator.hh +++ b/db/legacy_schema_migrator.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/db/marshal/type_parser.cc b/db/marshal/type_parser.cc index 657e42691c..f5626595b0 100644 --- a/db/marshal/type_parser.cc +++ b/db/marshal/type_parser.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "db/marshal/type_parser.hh" diff --git a/db/marshal/type_parser.hh b/db/marshal/type_parser.hh index 3a96e49abc..06e69917d9 100644 --- a/db/marshal/type_parser.hh +++ b/db/marshal/type_parser.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/db/paxos_grace_seconds_extension.hh b/db/paxos_grace_seconds_extension.hh index e2a5bcf984..5dcacf176c 100644 --- a/db/paxos_grace_seconds_extension.hh +++ b/db/paxos_grace_seconds_extension.hh @@ -2,20 +2,7 @@ * Copyright 2020-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/query_context.hh b/db/query_context.hh index 40aae76519..e4815cb423 100644 --- a/db/query_context.hh +++ b/db/query_context.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/read_repair_decision.hh b/db/read_repair_decision.hh index 6c2a1f755b..92294e8a3d 100644 --- a/db/read_repair_decision.hh +++ b/db/read_repair_decision.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/db/schema_features.hh b/db/schema_features.hh index 79058c060c..be96fbcc36 100644 --- a/db/schema_features.hh +++ b/db/schema_features.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/schema_tables.cc b/db/schema_tables.cc index 16b074f27b..9ac03fcb35 100644 --- a/db/schema_tables.cc +++ b/db/schema_tables.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "db/schema_tables.hh" diff --git a/db/schema_tables.hh b/db/schema_tables.hh index 8f5956b450..18de8f079d 100644 --- a/db/schema_tables.hh +++ b/db/schema_tables.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/db/size_estimates_virtual_reader.cc b/db/size_estimates_virtual_reader.cc index 40cbc19566..5409a652e6 100644 --- a/db/size_estimates_virtual_reader.cc +++ b/db/size_estimates_virtual_reader.cc @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/db/size_estimates_virtual_reader.hh b/db/size_estimates_virtual_reader.hh index 1071e55fa6..2d175270d4 100644 --- a/db/size_estimates_virtual_reader.hh +++ b/db/size_estimates_virtual_reader.hh @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "flat_mutation_reader_v2.hh" diff --git a/db/snapshot-ctl.cc b/db/snapshot-ctl.cc index 63f3c79850..af2265d43c 100644 --- a/db/snapshot-ctl.cc +++ b/db/snapshot-ctl.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2020-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) * * Copyright (C) 2020-present ScyllaDB */ diff --git a/db/snapshot-ctl.hh b/db/snapshot-ctl.hh index c589c4744e..a08f187aa3 100644 --- a/db/snapshot-ctl.hh +++ b/db/snapshot-ctl.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2020-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) * * Copyright (C) 2020-present ScyllaDB */ diff --git a/db/sstables-format-selector.cc b/db/sstables-format-selector.cc index c01d14bb51..2cac392c40 100644 --- a/db/sstables-format-selector.cc +++ b/db/sstables-format-selector.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "sstables-format-selector.hh" diff --git a/db/sstables-format-selector.hh b/db/sstables-format-selector.hh index b846f13171..c9603cc11b 100644 --- a/db/sstables-format-selector.hh +++ b/db/sstables-format-selector.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/system_distributed_keyspace.cc b/db/system_distributed_keyspace.cc index f88ab7e298..5ad14e6627 100644 --- a/db/system_distributed_keyspace.cc +++ b/db/system_distributed_keyspace.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "db/system_distributed_keyspace.hh" diff --git a/db/system_distributed_keyspace.hh b/db/system_distributed_keyspace.hh index da074d46db..829858d3ff 100644 --- a/db/system_distributed_keyspace.hh +++ b/db/system_distributed_keyspace.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/system_keyspace.cc b/db/system_keyspace.cc index 8d212d66d6..e1eb853bc4 100644 --- a/db/system_keyspace.cc +++ b/db/system_keyspace.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/db/system_keyspace.hh b/db/system_keyspace.hh index 30ec45b5b8..35b52b487f 100644 --- a/db/system_keyspace.hh +++ b/db/system_keyspace.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/db/system_keyspace_view_types.hh b/db/system_keyspace_view_types.hh index 501be24262..400ab6f017 100644 --- a/db/system_keyspace_view_types.hh +++ b/db/system_keyspace_view_types.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/timeout_clock.hh b/db/timeout_clock.hh index dce0008fba..b51813a395 100644 --- a/db/timeout_clock.hh +++ b/db/timeout_clock.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/view/build_progress_virtual_reader.hh b/db/view/build_progress_virtual_reader.hh index b6edb454b7..bcdc4b099b 100644 --- a/db/view/build_progress_virtual_reader.hh +++ b/db/view/build_progress_virtual_reader.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "replica/database.hh" diff --git a/db/view/node_view_update_backlog.hh b/db/view/node_view_update_backlog.hh index c028e8fd02..1c2747b448 100644 --- a/db/view/node_view_update_backlog.hh +++ b/db/view/node_view_update_backlog.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/view/row_locking.cc b/db/view/row_locking.cc index 155f04d2dd..50d6a0fdf1 100644 --- a/db/view/row_locking.cc +++ b/db/view/row_locking.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "row_locking.hh" diff --git a/db/view/row_locking.hh b/db/view/row_locking.hh index 33b681e84c..a60716e83d 100644 --- a/db/view/row_locking.hh +++ b/db/view/row_locking.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/view/view.cc b/db/view/view.cc index dbcd99562b..127b241293 100644 --- a/db/view/view.cc +++ b/db/view/view.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/db/view/view.hh b/db/view/view.hh index ff32f05ff8..564db8a82c 100644 --- a/db/view/view.hh +++ b/db/view/view.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/view/view_builder.hh b/db/view/view_builder.hh index e821144002..7cdf6b0616 100644 --- a/db/view/view_builder.hh +++ b/db/view/view_builder.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/view/view_stats.hh b/db/view/view_stats.hh index 445676ce88..8da4d808a5 100644 --- a/db/view/view_stats.hh +++ b/db/view/view_stats.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/view/view_update_backlog.hh b/db/view/view_update_backlog.hh index 1edf8fe5d0..5507b612fc 100644 --- a/db/view/view_update_backlog.hh +++ b/db/view/view_update_backlog.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/view/view_update_checks.hh b/db/view/view_update_checks.hh index 372e393bf6..deffeeb034 100644 --- a/db/view/view_update_checks.hh +++ b/db/view/view_update_checks.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/view/view_update_generator.cc b/db/view/view_update_generator.cc index ddd1e3c9e7..f49b9e4ca5 100644 --- a/db/view/view_update_generator.cc +++ b/db/view/view_update_generator.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/db/view/view_update_generator.hh b/db/view/view_update_generator.hh index 3e14c143bb..002af019a2 100644 --- a/db/view/view_update_generator.hh +++ b/db/view/view_update_generator.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/view/view_updating_consumer.hh b/db/view/view_updating_consumer.hh index 02c69f37fd..d015b6bbbe 100644 --- a/db/view/view_updating_consumer.hh +++ b/db/view/view_updating_consumer.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/virtual_table.cc b/db/virtual_table.cc index ba55ef1e0a..ff4d539688 100644 --- a/db/virtual_table.cc +++ b/db/virtual_table.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "db/virtual_table.hh" diff --git a/db/virtual_table.hh b/db/virtual_table.hh index 6199d26b12..cf0c586e4c 100644 --- a/db/virtual_table.hh +++ b/db/virtual_table.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/db/write_type.hh b/db/write_type.hh index 6265d71d0b..573e3d53c4 100644 --- a/db/write_type.hh +++ b/db/write_type.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* * Copyright (C) 2015-present ScyllaDB @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/db_clock.hh b/db_clock.hh index c0ad1394e1..e4ebccb7a5 100644 --- a/db_clock.hh +++ b/db_clock.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/debug.hh b/debug.hh index b3c7c37e16..34047e935d 100644 --- a/debug.hh +++ b/debug.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/default.nix b/default.nix index 15b3a60d36..bc1d3033a9 100755 --- a/default.nix +++ b/default.nix @@ -2,20 +2,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # # diff --git a/dht/boot_strapper.cc b/dht/boot_strapper.cc index 59ac4dd9a6..14faa5c1ec 100644 --- a/dht/boot_strapper.cc +++ b/dht/boot_strapper.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/dht/boot_strapper.hh b/dht/boot_strapper.hh index 61f721aed9..c4047a27d5 100644 --- a/dht/boot_strapper.hh +++ b/dht/boot_strapper.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once #include "gms/inet_address.hh" diff --git a/dht/i_partitioner.cc b/dht/i_partitioner.cc index db8a6e5a86..517b721839 100644 --- a/dht/i_partitioner.cc +++ b/dht/i_partitioner.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "i_partitioner.hh" diff --git a/dht/i_partitioner.hh b/dht/i_partitioner.hh index 8a574fe932..300ffc43a3 100644 --- a/dht/i_partitioner.hh +++ b/dht/i_partitioner.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/dht/murmur3_partitioner.cc b/dht/murmur3_partitioner.cc index fde00057fe..172694beec 100644 --- a/dht/murmur3_partitioner.cc +++ b/dht/murmur3_partitioner.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "murmur3_partitioner.hh" diff --git a/dht/murmur3_partitioner.hh b/dht/murmur3_partitioner.hh index 395a88cf20..391c9a7ae8 100644 --- a/dht/murmur3_partitioner.hh +++ b/dht/murmur3_partitioner.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/dht/range_streamer.cc b/dht/range_streamer.cc index 5082379040..d3d02ff244 100644 --- a/dht/range_streamer.cc +++ b/dht/range_streamer.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/dht/range_streamer.hh b/dht/range_streamer.hh index dfb486f608..87c32a7d7f 100644 --- a/dht/range_streamer.hh +++ b/dht/range_streamer.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/dht/sharder.hh b/dht/sharder.hh index 9f1da51e83..4defa79df6 100644 --- a/dht/sharder.hh +++ b/dht/sharder.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/dht/token-sharding.hh b/dht/token-sharding.hh index 4e3011d925..a86d87a310 100644 --- a/dht/token-sharding.hh +++ b/dht/token-sharding.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/dht/token.cc b/dht/token.cc index 83940f193c..08390c7430 100644 --- a/dht/token.cc +++ b/dht/token.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/dht/token.hh b/dht/token.hh index 94cf8431f3..63af9d0ebd 100644 --- a/dht/token.hh +++ b/dht/token.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/digest_algorithm.hh b/digest_algorithm.hh index b34292cfd5..d09c85dddd 100644 --- a/digest_algorithm.hh +++ b/digest_algorithm.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/digester.hh b/digester.hh index 95e0521bb7..80600cdff7 100644 --- a/digester.hh +++ b/digester.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/dirty_memory_manager.hh b/dirty_memory_manager.hh index 3cd19db4cf..efbefbcd46 100644 --- a/dirty_memory_manager.hh +++ b/dirty_memory_manager.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/dist/common/scripts/node_health_check b/dist/common/scripts/node_health_check index b73fd5faed..4726bd40eb 100755 --- a/dist/common/scripts/node_health_check +++ b/dist/common/scripts/node_health_check @@ -2,20 +2,7 @@ # # Copyright (C) 2017-present ScyllaDB -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # When a CLI tool is not installed, use relocatable CLI tool provided by Scylla export PATH=$PATH:/opt/scylladb/bin diff --git a/dist/common/scripts/scylla-blocktune b/dist/common/scripts/scylla-blocktune index ccf11907ef..7404465b86 100755 --- a/dist/common/scripts/scylla-blocktune +++ b/dist/common/scripts/scylla-blocktune @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import argparse from scylla_blocktune import * diff --git a/dist/common/scripts/scylla-housekeeping b/dist/common/scripts/scylla-housekeeping index be7f56fd3b..5e3f781809 100755 --- a/dist/common/scripts/scylla-housekeeping +++ b/dist/common/scripts/scylla-housekeeping @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # import argparse diff --git a/dist/common/scripts/scylla_blocktune.py b/dist/common/scripts/scylla_blocktune.py index ee11de1798..104236095b 100644 --- a/dist/common/scripts/scylla_blocktune.py +++ b/dist/common/scripts/scylla_blocktune.py @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # import os diff --git a/dist/common/scripts/scylla_bootparam_setup b/dist/common/scripts/scylla_bootparam_setup index 4642d08084..5e1a6083d4 100755 --- a/dist/common/scripts/scylla_bootparam_setup +++ b/dist/common/scripts/scylla_bootparam_setup @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import re diff --git a/dist/common/scripts/scylla_config_get.py b/dist/common/scripts/scylla_config_get.py index 8c4e1b7dca..c19e2c1257 100755 --- a/dist/common/scripts/scylla_config_get.py +++ b/dist/common/scripts/scylla_config_get.py @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import argparse import sys diff --git a/dist/common/scripts/scylla_coredump_setup b/dist/common/scripts/scylla_coredump_setup index 416f1c8548..c09dd7cd6f 100755 --- a/dist/common/scripts/scylla_coredump_setup +++ b/dist/common/scripts/scylla_coredump_setup @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import sys diff --git a/dist/common/scripts/scylla_cpuscaling_setup b/dist/common/scripts/scylla_cpuscaling_setup index 0f9f53bbf7..bd1f196076 100755 --- a/dist/common/scripts/scylla_cpuscaling_setup +++ b/dist/common/scripts/scylla_cpuscaling_setup @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import sys diff --git a/dist/common/scripts/scylla_cpuset_setup b/dist/common/scripts/scylla_cpuset_setup index 28de9c3ee0..c8da8af1ab 100755 --- a/dist/common/scripts/scylla_cpuset_setup +++ b/dist/common/scripts/scylla_cpuset_setup @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import sys diff --git a/dist/common/scripts/scylla_dev_mode_setup b/dist/common/scripts/scylla_dev_mode_setup index cb5d045d13..911d47206d 100755 --- a/dist/common/scripts/scylla_dev_mode_setup +++ b/dist/common/scripts/scylla_dev_mode_setup @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import sys diff --git a/dist/common/scripts/scylla_ec2_check b/dist/common/scripts/scylla_ec2_check index d66cfce7cd..2cbf32ea04 100755 --- a/dist/common/scripts/scylla_ec2_check +++ b/dist/common/scripts/scylla_ec2_check @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import sys diff --git a/dist/common/scripts/scylla_fstrim b/dist/common/scripts/scylla_fstrim index d0574c8024..477b7127f9 100755 --- a/dist/common/scripts/scylla_fstrim +++ b/dist/common/scripts/scylla_fstrim @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import sys diff --git a/dist/common/scripts/scylla_fstrim_setup b/dist/common/scripts/scylla_fstrim_setup index 3353c63fca..0269757d92 100755 --- a/dist/common/scripts/scylla_fstrim_setup +++ b/dist/common/scripts/scylla_fstrim_setup @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import subprocess diff --git a/dist/common/scripts/scylla_io_setup b/dist/common/scripts/scylla_io_setup index 84fe8ea4e0..fb47ce981e 100755 --- a/dist/common/scripts/scylla_io_setup +++ b/dist/common/scripts/scylla_io_setup @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import re diff --git a/dist/common/scripts/scylla_kernel_check b/dist/common/scripts/scylla_kernel_check index 016ef9737d..ad9ac9b351 100755 --- a/dist/common/scripts/scylla_kernel_check +++ b/dist/common/scripts/scylla_kernel_check @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import sys diff --git a/dist/common/scripts/scylla_logrotate b/dist/common/scripts/scylla_logrotate index 01b9df6bcd..d65504c447 100755 --- a/dist/common/scripts/scylla_logrotate +++ b/dist/common/scripts/scylla_logrotate @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later from pathlib import Path from datetime import datetime diff --git a/dist/common/scripts/scylla_memory_setup b/dist/common/scripts/scylla_memory_setup index aec68cfbfa..0d726429c5 100755 --- a/dist/common/scripts/scylla_memory_setup +++ b/dist/common/scripts/scylla_memory_setup @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import sys diff --git a/dist/common/scripts/scylla_ntp_setup b/dist/common/scripts/scylla_ntp_setup index 1d7ae74bc7..4511265ff3 100755 --- a/dist/common/scripts/scylla_ntp_setup +++ b/dist/common/scripts/scylla_ntp_setup @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import sys diff --git a/dist/common/scripts/scylla_prepare b/dist/common/scripts/scylla_prepare index b136812038..0162409a8a 100755 --- a/dist/common/scripts/scylla_prepare +++ b/dist/common/scripts/scylla_prepare @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import sys diff --git a/dist/common/scripts/scylla_raid_setup b/dist/common/scripts/scylla_raid_setup index 72ed14ad3b..a9a219f2d9 100755 --- a/dist/common/scripts/scylla_raid_setup +++ b/dist/common/scripts/scylla_raid_setup @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import argparse diff --git a/dist/common/scripts/scylla_rsyslog_setup b/dist/common/scripts/scylla_rsyslog_setup index 9df94222f8..f611a99a59 100755 --- a/dist/common/scripts/scylla_rsyslog_setup +++ b/dist/common/scripts/scylla_rsyslog_setup @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import argparse diff --git a/dist/common/scripts/scylla_selinux_setup b/dist/common/scripts/scylla_selinux_setup index 4ed7ea89a7..6e5480d692 100755 --- a/dist/common/scripts/scylla_selinux_setup +++ b/dist/common/scripts/scylla_selinux_setup @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import sys diff --git a/dist/common/scripts/scylla_setup b/dist/common/scripts/scylla_setup index c63d398394..9b8ae660dd 100755 --- a/dist/common/scripts/scylla_setup +++ b/dist/common/scripts/scylla_setup @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import sys diff --git a/dist/common/scripts/scylla_stop b/dist/common/scripts/scylla_stop index 2ce90c5789..a742e3a849 100755 --- a/dist/common/scripts/scylla_stop +++ b/dist/common/scripts/scylla_stop @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import sys diff --git a/dist/common/scripts/scylla_swap_setup b/dist/common/scripts/scylla_swap_setup index 26d25d724c..34cd9f3778 100755 --- a/dist/common/scripts/scylla_swap_setup +++ b/dist/common/scripts/scylla_swap_setup @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import sys diff --git a/dist/common/scripts/scylla_sysconfig_setup b/dist/common/scripts/scylla_sysconfig_setup index 7375d368ed..bbfe2872e6 100755 --- a/dist/common/scripts/scylla_sysconfig_setup +++ b/dist/common/scripts/scylla_sysconfig_setup @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import os import sys diff --git a/dist/common/scripts/scylla_util.py b/dist/common/scripts/scylla_util.py index 138341432d..ebb46b6b17 100644 --- a/dist/common/scripts/scylla_util.py +++ b/dist/common/scripts/scylla_util.py @@ -1,19 +1,6 @@ # Copyright (C) 2017-present ScyllaDB -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import configparser import glob diff --git a/dist/debian/debian_files_gen.py b/dist/debian/debian_files_gen.py index f47c11c792..903429877b 100755 --- a/dist/debian/debian_files_gen.py +++ b/dist/debian/debian_files_gen.py @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # import string diff --git a/dist/docker/debian/build_docker.sh b/dist/docker/debian/build_docker.sh index 880ee3c4c4..85f4bbe29a 100755 --- a/dist/docker/debian/build_docker.sh +++ b/dist/docker/debian/build_docker.sh @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # product="$(. +# SPDX-License-Identifier: AGPL-3.0-or-later if [ ! -e dist/offline_installer/debian/build_offline_installer.sh ]; then echo "run build_offline_installer.sh in top of scylla dir" diff --git a/dist/offline_installer/debian/header b/dist/offline_installer/debian/header index 129b90a22a..9b4983a62a 100755 --- a/dist/offline_installer/debian/header +++ b/dist/offline_installer/debian/header @@ -3,20 +3,7 @@ # Copyright (C) 2017-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later print_usage() { echo "scylla_offline_installer.sh -- --skip-setup" diff --git a/dist/offline_installer/redhat/build_offline_installer.sh b/dist/offline_installer/redhat/build_offline_installer.sh index 87c60e7bbb..3659e29639 100755 --- a/dist/offline_installer/redhat/build_offline_installer.sh +++ b/dist/offline_installer/redhat/build_offline_installer.sh @@ -3,20 +3,7 @@ # Copyright (C) 2017-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later if [ ! -e dist/offline_installer/redhat/build_offline_installer.sh ]; then echo "run build_offline_installer.sh in top of scylla dir" diff --git a/dist/offline_installer/redhat/lib/header b/dist/offline_installer/redhat/lib/header index c9110fd101..73478626fa 100755 --- a/dist/offline_installer/redhat/lib/header +++ b/dist/offline_installer/redhat/lib/header @@ -3,20 +3,7 @@ # Copyright (C) 2017-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later print_usage() { echo "scylla_offline_installer.sh -- --skip-setup" diff --git a/duration.cc b/duration.cc index 066cfb5bd4..d25b06b9a6 100644 --- a/duration.cc +++ b/duration.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "duration.hh" diff --git a/duration.hh b/duration.hh index d6665c14b5..2b60f493bc 100644 --- a/duration.hh +++ b/duration.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/encoding_stats.hh b/encoding_stats.hh index a10e294be1..7353855f54 100644 --- a/encoding_stats.hh +++ b/encoding_stats.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/enum_set.hh b/enum_set.hh index a0247d7347..c17d6637a0 100644 --- a/enum_set.hh +++ b/enum_set.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/exceptions/exceptions.cc b/exceptions/exceptions.cc index 3062a2227c..b140f36c28 100644 --- a/exceptions/exceptions.cc +++ b/exceptions/exceptions.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/exceptions/exceptions.hh b/exceptions/exceptions.hh index cb62ba506a..5cc3c3b437 100644 --- a/exceptions/exceptions.hh +++ b/exceptions/exceptions.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/exceptions/unrecognized_entity_exception.hh b/exceptions/unrecognized_entity_exception.hh index 0ebccd15a6..d2878a4023 100644 --- a/exceptions/unrecognized_entity_exception.hh +++ b/exceptions/unrecognized_entity_exception.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/fix_system_distributed_tables.py b/fix_system_distributed_tables.py index d2efd3cc88..97a65373ad 100755 --- a/fix_system_distributed_tables.py +++ b/fix_system_distributed_tables.py @@ -4,20 +4,7 @@ # Copyright 2017-present ScyllaDB # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # import argparse import sys diff --git a/flat_mutation_reader.cc b/flat_mutation_reader.cc index bde1254c16..812f144d25 100644 --- a/flat_mutation_reader.cc +++ b/flat_mutation_reader.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "flat_mutation_reader.hh" diff --git a/flat_mutation_reader.hh b/flat_mutation_reader.hh index a670c7d124..e10b9e3536 100644 --- a/flat_mutation_reader.hh +++ b/flat_mutation_reader.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/flat_mutation_reader_v2.hh b/flat_mutation_reader_v2.hh index 551b77a9e4..3d4fac11a4 100644 --- a/flat_mutation_reader_v2.hh +++ b/flat_mutation_reader_v2.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/frozen_mutation.cc b/frozen_mutation.cc index 8a176a66e3..6fddcafe9d 100644 --- a/frozen_mutation.cc +++ b/frozen_mutation.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/frozen_mutation.hh b/frozen_mutation.hh index d598fc5909..7dda5fd334 100644 --- a/frozen_mutation.hh +++ b/frozen_mutation.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/frozen_schema.cc b/frozen_schema.cc index 1cfea49042..d232a6ac80 100644 --- a/frozen_schema.cc +++ b/frozen_schema.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "frozen_schema.hh" diff --git a/frozen_schema.hh b/frozen_schema.hh index 89e543e6ec..b624e317f0 100644 --- a/frozen_schema.hh +++ b/frozen_schema.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/gc_clock.hh b/gc_clock.hh index 105bf1f60b..d2cb8c5564 100644 --- a/gc_clock.hh +++ b/gc_clock.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/gen_segmented_compress_params.py b/gen_segmented_compress_params.py index 84d828aebd..3da43f7625 100755 --- a/gen_segmented_compress_params.py +++ b/gen_segmented_compress_params.py @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # ''' diff --git a/generic_server.cc b/generic_server.cc index d199199ccb..70f4280674 100644 --- a/generic_server.cc +++ b/generic_server.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "generic_server.hh" diff --git a/generic_server.hh b/generic_server.hh index b44b41cde7..af629b8c7c 100644 --- a/generic_server.hh +++ b/generic_server.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/gms/application_state.cc b/gms/application_state.cc index ea248861c3..e654ad273e 100644 --- a/gms/application_state.cc +++ b/gms/application_state.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "gms/application_state.hh" diff --git a/gms/application_state.hh b/gms/application_state.hh index de36796241..53b406d812 100644 --- a/gms/application_state.hh +++ b/gms/application_state.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/gms/endpoint_state.cc b/gms/endpoint_state.cc index eb15121d20..ad6140d132 100644 --- a/gms/endpoint_state.cc +++ b/gms/endpoint_state.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "gms/endpoint_state.hh" diff --git a/gms/endpoint_state.hh b/gms/endpoint_state.hh index 2cb192e003..43a921b3ea 100644 --- a/gms/endpoint_state.hh +++ b/gms/endpoint_state.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/gms/failure_detector.cc b/gms/failure_detector.cc index eb84ed0e2e..aa0d63cc64 100644 --- a/gms/failure_detector.cc +++ b/gms/failure_detector.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/gms/failure_detector.hh b/gms/failure_detector.hh index 07ff46aad7..829bcf6cf9 100644 --- a/gms/failure_detector.hh +++ b/gms/failure_detector.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/gms/feature.hh b/gms/feature.hh index 47b80e7a11..07f74565fa 100644 --- a/gms/feature.hh +++ b/gms/feature.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/gms/feature_service.cc b/gms/feature_service.cc index 9448407fa6..191d11bb50 100644 --- a/gms/feature_service.cc +++ b/gms/feature_service.cc @@ -1,18 +1,5 @@ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later * * Copyright (C) 2020-present ScyllaDB */ diff --git a/gms/feature_service.hh b/gms/feature_service.hh index 3a36bb33c3..0c52bc22e6 100644 --- a/gms/feature_service.hh +++ b/gms/feature_service.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/gms/gossip_digest.hh b/gms/gossip_digest.hh index 192efb3525..a2e7c312cc 100644 --- a/gms/gossip_digest.hh +++ b/gms/gossip_digest.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/gms/gossip_digest_ack.cc b/gms/gossip_digest_ack.cc index 03fde85bff..2df259315e 100644 --- a/gms/gossip_digest_ack.cc +++ b/gms/gossip_digest_ack.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "gms/gossip_digest_ack.hh" diff --git a/gms/gossip_digest_ack.hh b/gms/gossip_digest_ack.hh index 6d6318e5b1..b2c5ea9814 100644 --- a/gms/gossip_digest_ack.hh +++ b/gms/gossip_digest_ack.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/gms/gossip_digest_ack2.cc b/gms/gossip_digest_ack2.cc index 0db933aa30..f102ac7d86 100644 --- a/gms/gossip_digest_ack2.cc +++ b/gms/gossip_digest_ack2.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "gms/gossip_digest_ack2.hh" diff --git a/gms/gossip_digest_ack2.hh b/gms/gossip_digest_ack2.hh index 0fc49f1e35..5b15973735 100644 --- a/gms/gossip_digest_ack2.hh +++ b/gms/gossip_digest_ack2.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/gms/gossip_digest_syn.cc b/gms/gossip_digest_syn.cc index 9183459283..0c6b5ef754 100644 --- a/gms/gossip_digest_syn.cc +++ b/gms/gossip_digest_syn.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "gms/gossip_digest_syn.hh" diff --git a/gms/gossip_digest_syn.hh b/gms/gossip_digest_syn.hh index c66b224929..3aefe7f663 100644 --- a/gms/gossip_digest_syn.hh +++ b/gms/gossip_digest_syn.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/gms/gossiper.cc b/gms/gossiper.cc index 82631df9f3..f11ea00dd8 100644 --- a/gms/gossiper.cc +++ b/gms/gossiper.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "gms/inet_address.hh" diff --git a/gms/gossiper.hh b/gms/gossiper.hh index b3aa5e74e5..a32887d8d1 100644 --- a/gms/gossiper.hh +++ b/gms/gossiper.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/gms/heart_beat_state.hh b/gms/heart_beat_state.hh index 168f8d78ca..a379a59bfe 100644 --- a/gms/heart_beat_state.hh +++ b/gms/heart_beat_state.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/gms/i_endpoint_state_change_subscriber.hh b/gms/i_endpoint_state_change_subscriber.hh index a5dcffe635..fedc6f5ad6 100644 --- a/gms/i_endpoint_state_change_subscriber.hh +++ b/gms/i_endpoint_state_change_subscriber.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/gms/i_failure_detection_event_listener.hh b/gms/i_failure_detection_event_listener.hh index ce4453eead..e596d632d8 100644 --- a/gms/i_failure_detection_event_listener.hh +++ b/gms/i_failure_detection_event_listener.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/gms/inet_address.cc b/gms/inet_address.cc index 6af5b02562..99d61625e6 100644 --- a/gms/inet_address.cc +++ b/gms/inet_address.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2016-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/gms/inet_address.hh b/gms/inet_address.hh index 278dfdbc04..b1359f7a38 100644 --- a/gms/inet_address.hh +++ b/gms/inet_address.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/gms/inet_address_serializer.hh b/gms/inet_address_serializer.hh index 3619a6de16..bca0085156 100644 --- a/gms/inet_address_serializer.hh +++ b/gms/inet_address_serializer.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/gms/version_generator.cc b/gms/version_generator.cc index 8b2e82892c..b599595221 100644 --- a/gms/version_generator.cc +++ b/gms/version_generator.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "version_generator.hh" diff --git a/gms/version_generator.hh b/gms/version_generator.hh index 7f2cf3c371..e16ae20412 100644 --- a/gms/version_generator.hh +++ b/gms/version_generator.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/gms/versioned_value.cc b/gms/versioned_value.cc index 9e5092858d..243d981a26 100644 --- a/gms/versioned_value.cc +++ b/gms/versioned_value.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "gms/versioned_value.hh" #include "message/messaging_service.hh" diff --git a/gms/versioned_value.hh b/gms/versioned_value.hh index efb25690b6..84f48fdfe1 100644 --- a/gms/versioned_value.hh +++ b/gms/versioned_value.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/hashers.cc b/hashers.cc index e7f3c7e583..147cf56779 100644 --- a/hashers.cc +++ b/hashers.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "hashers.hh" diff --git a/hashers.hh b/hashers.hh index b6a99cc984..97bf6dfcbb 100644 --- a/hashers.hh +++ b/hashers.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/hashing.hh b/hashing.hh index 4b19de6053..c9468621a8 100644 --- a/hashing.hh +++ b/hashing.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/hashing_partition_visitor.hh b/hashing_partition_visitor.hh index 45895f2104..1aa79d97d9 100644 --- a/hashing_partition_visitor.hh +++ b/hashing_partition_visitor.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/idl-compiler.py b/idl-compiler.py index 5225f3e371..55398a8e63 100755 --- a/idl-compiler.py +++ b/idl-compiler.py @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import argparse import pyparsing as pp diff --git a/idl/cache_temperature.idl.hh b/idl/cache_temperature.idl.hh index 405ddc4533..e0e3bfacfb 100644 --- a/idl/cache_temperature.idl.hh +++ b/idl/cache_temperature.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ class cache_temperature final { diff --git a/idl/commitlog.idl.hh b/idl/commitlog.idl.hh index 9c3603334f..38a3180fbd 100644 --- a/idl/commitlog.idl.hh +++ b/idl/commitlog.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ class commitlog_entry [[writable]] { diff --git a/idl/consistency_level.idl.hh b/idl/consistency_level.idl.hh index 2eee4022f4..b8936b427a 100644 --- a/idl/consistency_level.idl.hh +++ b/idl/consistency_level.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace db { diff --git a/idl/frozen_mutation.idl.hh b/idl/frozen_mutation.idl.hh index 319f3489e1..ab33fd5d7b 100644 --- a/idl/frozen_mutation.idl.hh +++ b/idl/frozen_mutation.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ class frozen_mutation final { diff --git a/idl/frozen_schema.idl.hh b/idl/frozen_schema.idl.hh index d488805956..b19ff00cb8 100644 --- a/idl/frozen_schema.idl.hh +++ b/idl/frozen_schema.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ class canonical_mutation final { diff --git a/idl/gossip_digest.idl.hh b/idl/gossip_digest.idl.hh index c80c942a8c..616dc13c11 100644 --- a/idl/gossip_digest.idl.hh +++ b/idl/gossip_digest.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace gms { diff --git a/idl/group0.idl.hh b/idl/group0.idl.hh index b78680dd08..b23ba3b634 100644 --- a/idl/group0.idl.hh +++ b/idl/group0.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace service { diff --git a/idl/hinted_handoff.idl.hh b/idl/hinted_handoff.idl.hh index a5fca3ca11..80922a5106 100644 --- a/idl/hinted_handoff.idl.hh +++ b/idl/hinted_handoff.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace db { diff --git a/idl/idl_test.idl.hh b/idl/idl_test.idl.hh index ae7fbeaa83..92ab026be7 100644 --- a/idl/idl_test.idl.hh +++ b/idl/idl_test.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ // TODO: test final types more diff --git a/idl/keys.idl.hh b/idl/keys.idl.hh index c766f680f9..51e281675c 100644 --- a/idl/keys.idl.hh +++ b/idl/keys.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ class clustering_key_prefix { diff --git a/idl/messaging_service.idl.hh b/idl/messaging_service.idl.hh index f7bf15e312..2056a3e48d 100644 --- a/idl/messaging_service.idl.hh +++ b/idl/messaging_service.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace netw { diff --git a/idl/mutation.idl.hh b/idl/mutation.idl.hh index 67590e909e..8e3b2057b9 100644 --- a/idl/mutation.idl.hh +++ b/idl/mutation.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ class counter_id final { diff --git a/idl/partition_checksum.idl.hh b/idl/partition_checksum.idl.hh index 1b7243de63..9e8c3b773e 100644 --- a/idl/partition_checksum.idl.hh +++ b/idl/partition_checksum.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ class repair_hash { diff --git a/idl/paxos.idl.hh b/idl/paxos.idl.hh index d1db6240b9..e16e88c774 100644 --- a/idl/paxos.idl.hh +++ b/idl/paxos.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace service { diff --git a/idl/raft.idl.hh b/idl/raft.idl.hh index 4060df5c32..23b4e196d5 100644 --- a/idl/raft.idl.hh +++ b/idl/raft.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace raft { diff --git a/idl/raft_storage.idl.hh b/idl/raft_storage.idl.hh index af93a8623a..53a16285da 100644 --- a/idl/raft_storage.idl.hh +++ b/idl/raft_storage.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace raft { diff --git a/idl/range.idl.hh b/idl/range.idl.hh index 2ab54e7335..f2b5930fa4 100644 --- a/idl/range.idl.hh +++ b/idl/range.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ template diff --git a/idl/read_command.idl.hh b/idl/read_command.idl.hh index 43d7a563e5..ae0c338c42 100644 --- a/idl/read_command.idl.hh +++ b/idl/read_command.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ class cql_serialization_format final { diff --git a/idl/reconcilable_result.idl.hh b/idl/reconcilable_result.idl.hh index 8e1bc28b0c..840ce55eba 100644 --- a/idl/reconcilable_result.idl.hh +++ b/idl/reconcilable_result.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ class partition { diff --git a/idl/replay_position.idl.hh b/idl/replay_position.idl.hh index 21d66646c8..1290686e4c 100644 --- a/idl/replay_position.idl.hh +++ b/idl/replay_position.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace db { diff --git a/idl/result.idl.hh b/idl/result.idl.hh index bf5e2df628..32747f25f5 100644 --- a/idl/result.idl.hh +++ b/idl/result.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace query { diff --git a/idl/ring_position.idl.hh b/idl/ring_position.idl.hh index d9ad5b1590..19945432bb 100644 --- a/idl/ring_position.idl.hh +++ b/idl/ring_position.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace dht { diff --git a/idl/storage_proxy.idl.hh b/idl/storage_proxy.idl.hh index 21edc0e89c..ec3cbd0dfa 100644 --- a/idl/storage_proxy.idl.hh +++ b/idl/storage_proxy.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ verb [[with_client_info, with_timeout, one_way]] mutation (frozen_mutation fm, inet_address_vector_replica_set forward, gms::inet_address reply_to, unsigned shard, uint64_t response_id, std::optional trace_info [[version 1.3.0]]); diff --git a/idl/streaming.idl.hh b/idl/streaming.idl.hh index e600d2e3e8..e0bbb68071 100644 --- a/idl/streaming.idl.hh +++ b/idl/streaming.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace streaming { diff --git a/idl/tracing.idl.hh b/idl/tracing.idl.hh index db2dad64e8..b40e21d61b 100644 --- a/idl/tracing.idl.hh +++ b/idl/tracing.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace tracing { diff --git a/idl/truncation_record.idl.hh b/idl/truncation_record.idl.hh index bb48b27f3c..6550b33cca 100644 --- a/idl/truncation_record.idl.hh +++ b/idl/truncation_record.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace db { diff --git a/idl/uuid.idl.hh b/idl/uuid.idl.hh index 59660baacf..c20191cf2f 100644 --- a/idl/uuid.idl.hh +++ b/idl/uuid.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace utils { diff --git a/idl/view.idl.hh b/idl/view.idl.hh index cfa5a60e78..5272155d94 100644 --- a/idl/view.idl.hh +++ b/idl/view.idl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace db { diff --git a/index/built_indexes_virtual_reader.hh b/index/built_indexes_virtual_reader.hh index 182cdb5acb..40fcd53214 100644 --- a/index/built_indexes_virtual_reader.hh +++ b/index/built_indexes_virtual_reader.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "replica/database.hh" diff --git a/index/secondary_index.cc b/index/secondary_index.cc index 4922674396..175b069cec 100644 --- a/index/secondary_index.cc +++ b/index/secondary_index.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "secondary_index.hh" diff --git a/index/secondary_index.hh b/index/secondary_index.hh index d6b8beb9bf..da84d64a3f 100644 --- a/index/secondary_index.hh +++ b/index/secondary_index.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/index/secondary_index_manager.cc b/index/secondary_index_manager.cc index ccdbdddfbc..00669b95d2 100644 --- a/index/secondary_index_manager.cc +++ b/index/secondary_index_manager.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "index/secondary_index_manager.hh" diff --git a/index/secondary_index_manager.hh b/index/secondary_index_manager.hh index 74da855b51..918c5e1605 100644 --- a/index/secondary_index_manager.hh +++ b/index/secondary_index_manager.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/index/target_parser.hh b/index/target_parser.hh index 72fed8570f..43153cd4ce 100644 --- a/index/target_parser.hh +++ b/index/target_parser.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/inet_address_vectors.hh b/inet_address_vectors.hh index 47b9e79250..859b448adf 100644 --- a/inet_address_vectors.hh +++ b/inet_address_vectors.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/init.cc b/init.cc index 0e7c0bbaa6..b842c14fae 100644 --- a/init.cc +++ b/init.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "init.hh" diff --git a/init.hh b/init.hh index 7e8cf71fa6..390139d7a4 100644 --- a/init.hh +++ b/init.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/install.sh b/install.sh index 4228e75bd8..7adbca93a5 100755 --- a/install.sh +++ b/install.sh @@ -4,20 +4,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # set -e diff --git a/interface/cassandra.thrift b/interface/cassandra.thrift index 692713d8ee..b944908627 100644 --- a/interface/cassandra.thrift +++ b/interface/cassandra.thrift @@ -1,19 +1,5 @@ #!/usr/local/bin/thrift --java --php --py -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # # Copyright (C) 2014-present ScyllaDB diff --git a/interval.hh b/interval.hh index 88d64c420d..cf33b1e0c9 100644 --- a/interval.hh +++ b/interval.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/intrusive_set_external_comparator.hh b/intrusive_set_external_comparator.hh index 3f9a93ff01..587098dc60 100644 --- a/intrusive_set_external_comparator.hh +++ b/intrusive_set_external_comparator.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ /* diff --git a/keys.cc b/keys.cc index f60c980412..f148cd8455 100644 --- a/keys.cc +++ b/keys.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/keys.hh b/keys.hh index 85207dadde..84221f005e 100644 --- a/keys.hh +++ b/keys.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/lang/lua.cc b/lang/lua.cc index ed1459b562..bd158c36be 100644 --- a/lang/lua.cc +++ b/lang/lua.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "lua.hh" diff --git a/lang/lua.hh b/lang/lua.hh index ee88bfe491..81aa1c53a2 100644 --- a/lang/lua.hh +++ b/lang/lua.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/lang/wasm.cc b/lang/wasm.cc index 8caaa13320..248cbea5c9 100644 --- a/lang/wasm.cc +++ b/lang/wasm.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #ifdef SCYLLA_ENABLE_WASMTIME diff --git a/lang/wasm.hh b/lang/wasm.hh index 80a179e2c4..0bd8d9241b 100644 --- a/lang/wasm.hh +++ b/lang/wasm.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/lang/wasm_engine.hh b/lang/wasm_engine.hh index acc5a4c4a2..480149002c 100644 --- a/lang/wasm_engine.hh +++ b/lang/wasm_engine.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/licenses/README.md b/licenses/README.md index 835080d4b2..cb5a6b98c7 100644 --- a/licenses/README.md +++ b/licenses/README.md @@ -4,4 +4,14 @@ The files in this directory represent licenses that apply to portions of the work. See each source file for applicable licenses. The work in whole is licensed under the Affero GPL, version 3 or above. See -the LICENSE.AGPL file in the top-level directory. \ No newline at end of file +the LICENSE.AGPL file in the top-level directory. + +Individual files contain the following tag: + + SPDX-License-Identifier: AGPL-3.0-or-later + +Some files are derived from Apache projects. These are dual-licensed +with the Apache License (version 2) and AGPL 3.0. They contain the +following tag: + + SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) diff --git a/lister.hh b/lister.hh index 202592268f..16c41db506 100644 --- a/lister.hh +++ b/lister.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/locator/abstract_replication_strategy.cc b/locator/abstract_replication_strategy.cc index 3c8e255407..259037892a 100644 --- a/locator/abstract_replication_strategy.cc +++ b/locator/abstract_replication_strategy.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "locator/abstract_replication_strategy.hh" diff --git a/locator/abstract_replication_strategy.hh b/locator/abstract_replication_strategy.hh index 80bea882e9..721ca9bf11 100644 --- a/locator/abstract_replication_strategy.hh +++ b/locator/abstract_replication_strategy.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/locator/azure_snitch.cc b/locator/azure_snitch.cc index e19f8ffbb5..b7857140a3 100644 --- a/locator/azure_snitch.cc +++ b/locator/azure_snitch.cc @@ -1,36 +1,8 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ /* diff --git a/locator/azure_snitch.hh b/locator/azure_snitch.hh index abdcd08e77..41cd9ea1a1 100644 --- a/locator/azure_snitch.hh +++ b/locator/azure_snitch.hh @@ -1,36 +1,8 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ /* diff --git a/locator/ec2_multi_region_snitch.cc b/locator/ec2_multi_region_snitch.cc index be75544635..d086566f0c 100644 --- a/locator/ec2_multi_region_snitch.cc +++ b/locator/ec2_multi_region_snitch.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "locator/ec2_multi_region_snitch.hh" diff --git a/locator/ec2_multi_region_snitch.hh b/locator/ec2_multi_region_snitch.hh index d75ea2af7c..1378012d56 100644 --- a/locator/ec2_multi_region_snitch.hh +++ b/locator/ec2_multi_region_snitch.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/locator/ec2_snitch.hh b/locator/ec2_snitch.hh index 0378119f14..00acd25c2b 100644 --- a/locator/ec2_snitch.hh +++ b/locator/ec2_snitch.hh @@ -1,19 +1,5 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB diff --git a/locator/everywhere_replication_strategy.cc b/locator/everywhere_replication_strategy.cc index a03b5741e5..2267b94af9 100644 --- a/locator/everywhere_replication_strategy.cc +++ b/locator/everywhere_replication_strategy.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ diff --git a/locator/everywhere_replication_strategy.hh b/locator/everywhere_replication_strategy.hh index ea9d72912f..a934eacfc2 100644 --- a/locator/everywhere_replication_strategy.hh +++ b/locator/everywhere_replication_strategy.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/locator/gce_snitch.cc b/locator/gce_snitch.cc index 8a5e9ba03f..2a669d39c2 100644 --- a/locator/gce_snitch.cc +++ b/locator/gce_snitch.cc @@ -1,36 +1,8 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ /* diff --git a/locator/gce_snitch.hh b/locator/gce_snitch.hh index f69bf599c4..3fdd3698c8 100644 --- a/locator/gce_snitch.hh +++ b/locator/gce_snitch.hh @@ -1,36 +1,8 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ /* diff --git a/locator/gossiping_property_file_snitch.cc b/locator/gossiping_property_file_snitch.cc index d2c2f0aff2..7231e3dedb 100644 --- a/locator/gossiping_property_file_snitch.cc +++ b/locator/gossiping_property_file_snitch.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "locator/gossiping_property_file_snitch.hh" diff --git a/locator/gossiping_property_file_snitch.hh b/locator/gossiping_property_file_snitch.hh index ae33cf6943..4029a414d2 100644 --- a/locator/gossiping_property_file_snitch.hh +++ b/locator/gossiping_property_file_snitch.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/locator/local_strategy.cc b/locator/local_strategy.cc index b910a4f4c9..4b84e96302 100644 --- a/locator/local_strategy.cc +++ b/locator/local_strategy.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/locator/local_strategy.hh b/locator/local_strategy.hh index 3565a3b470..015836d949 100644 --- a/locator/local_strategy.hh +++ b/locator/local_strategy.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/locator/network_topology_strategy.cc b/locator/network_topology_strategy.cc index bcc08ded2e..55bf915226 100644 --- a/locator/network_topology_strategy.cc +++ b/locator/network_topology_strategy.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/locator/network_topology_strategy.hh b/locator/network_topology_strategy.hh index 8944d9081b..61f5008bce 100644 --- a/locator/network_topology_strategy.hh +++ b/locator/network_topology_strategy.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/locator/production_snitch_base.cc b/locator/production_snitch_base.cc index f95d8681c6..88154f5c22 100644 --- a/locator/production_snitch_base.cc +++ b/locator/production_snitch_base.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * */ @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "locator/production_snitch_base.hh" #include "reconnectable_snitch_helper.hh" diff --git a/locator/production_snitch_base.hh b/locator/production_snitch_base.hh index 9e61c873d3..ab9f68e10e 100644 --- a/locator/production_snitch_base.hh +++ b/locator/production_snitch_base.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/locator/rack_inferring_snitch.cc b/locator/rack_inferring_snitch.cc index c544cbac52..2615cd223e 100644 --- a/locator/rack_inferring_snitch.cc +++ b/locator/rack_inferring_snitch.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "locator/rack_inferring_snitch.hh" diff --git a/locator/rack_inferring_snitch.hh b/locator/rack_inferring_snitch.hh index 6d5898e151..ff10ae7dff 100644 --- a/locator/rack_inferring_snitch.hh +++ b/locator/rack_inferring_snitch.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/locator/reconnectable_snitch_helper.hh b/locator/reconnectable_snitch_helper.hh index 62249751b4..9be0f3192f 100644 --- a/locator/reconnectable_snitch_helper.hh +++ b/locator/reconnectable_snitch_helper.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/locator/simple_snitch.cc b/locator/simple_snitch.cc index 350673ea35..a0a995482c 100644 --- a/locator/simple_snitch.cc +++ b/locator/simple_snitch.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "locator/simple_snitch.hh" diff --git a/locator/simple_snitch.hh b/locator/simple_snitch.hh index 0f1dfd8db7..547d7302b7 100644 --- a/locator/simple_snitch.hh +++ b/locator/simple_snitch.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/locator/simple_strategy.cc b/locator/simple_strategy.cc index b7d63a2e9b..7da522b467 100644 --- a/locator/simple_strategy.cc +++ b/locator/simple_strategy.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/locator/simple_strategy.hh b/locator/simple_strategy.hh index 1e1de4863b..745d84cc6d 100644 --- a/locator/simple_strategy.hh +++ b/locator/simple_strategy.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/locator/snitch_base.cc b/locator/snitch_base.cc index 866f6d8af2..85c2099753 100644 --- a/locator/snitch_base.cc +++ b/locator/snitch_base.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "locator/snitch_base.hh" diff --git a/locator/snitch_base.hh b/locator/snitch_base.hh index fa8e172374..0033bd0261 100644 --- a/locator/snitch_base.hh +++ b/locator/snitch_base.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/locator/token_metadata.cc b/locator/token_metadata.cc index 0cc2a2be9a..f323ac0b1a 100644 --- a/locator/token_metadata.cc +++ b/locator/token_metadata.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "utils/UUID.hh" diff --git a/locator/token_metadata.hh b/locator/token_metadata.hh index a4dffe8dec..acaf10475c 100644 --- a/locator/token_metadata.hh +++ b/locator/token_metadata.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/log.hh b/log.hh index c0ec849db1..829d2e4460 100644 --- a/log.hh +++ b/log.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/main.cc b/main.cc index 5dda8d0c09..b43dfc5fca 100644 --- a/main.cc +++ b/main.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/map_difference.hh b/map_difference.hh index 9af41f48eb..4775dc8680 100644 --- a/map_difference.hh +++ b/map_difference.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/marshal_exception.hh b/marshal_exception.hh index c8771bfcd2..24f0dbc727 100644 --- a/marshal_exception.hh +++ b/marshal_exception.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/memtable-sstable.hh b/memtable-sstable.hh index 3883ffff3a..219634fe55 100644 --- a/memtable-sstable.hh +++ b/memtable-sstable.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/memtable.cc b/memtable.cc index 37cce6e21d..18d38c750f 100644 --- a/memtable.cc +++ b/memtable.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "memtable.hh" diff --git a/memtable.hh b/memtable.hh index 31caf01aab..775eb1587f 100644 --- a/memtable.hh +++ b/memtable.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/message/messaging_service.cc b/message/messaging_service.cc index df415c271e..1c371f9e77 100644 --- a/message/messaging_service.cc +++ b/message/messaging_service.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "message/messaging_service.hh" diff --git a/message/messaging_service.hh b/message/messaging_service.hh index 67fc0fe40c..cac7f51efd 100644 --- a/message/messaging_service.hh +++ b/message/messaging_service.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/message/messaging_service_fwd.hh b/message/messaging_service_fwd.hh index 242ba0a6bb..1d52178d0f 100644 --- a/message/messaging_service_fwd.hh +++ b/message/messaging_service_fwd.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/message/msg_addr.hh b/message/msg_addr.hh index 9feefff8e2..7971f84b48 100644 --- a/message/msg_addr.hh +++ b/message/msg_addr.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/multishard_mutation_query.cc b/multishard_mutation_query.cc index 429ef4bc07..1328484ac8 100644 --- a/multishard_mutation_query.cc +++ b/multishard_mutation_query.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "schema_registry.hh" diff --git a/multishard_mutation_query.hh b/multishard_mutation_query.hh index 30cda02e30..26d5549233 100644 --- a/multishard_mutation_query.hh +++ b/multishard_mutation_query.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation.cc b/mutation.cc index 0a254cac51..1bcf0cf1bf 100644 --- a/mutation.cc +++ b/mutation.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "mutation.hh" diff --git a/mutation.hh b/mutation.hh index 271d5d3618..130d76c366 100644 --- a/mutation.hh +++ b/mutation.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation_cleaner.hh b/mutation_cleaner.hh index 2a2de837c5..cbd18d7df5 100644 --- a/mutation_cleaner.hh +++ b/mutation_cleaner.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation_compactor.hh b/mutation_compactor.hh index 1bcd6965bb..e88f5858fc 100644 --- a/mutation_compactor.hh +++ b/mutation_compactor.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation_consumer_concepts.hh b/mutation_consumer_concepts.hh index b1d21bd539..5aad7d5224 100644 --- a/mutation_consumer_concepts.hh +++ b/mutation_consumer_concepts.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation_fragment.cc b/mutation_fragment.cc index e6272a94e5..538f68d089 100644 --- a/mutation_fragment.cc +++ b/mutation_fragment.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/mutation_fragment.hh b/mutation_fragment.hh index ece241362c..a8f43aef4e 100644 --- a/mutation_fragment.hh +++ b/mutation_fragment.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation_fragment_stream_validator.hh b/mutation_fragment_stream_validator.hh index b8473d5eb4..d31d4c2045 100644 --- a/mutation_fragment_stream_validator.hh +++ b/mutation_fragment_stream_validator.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation_fragment_v2.hh b/mutation_fragment_v2.hh index 4d5175c981..412d5bbd28 100644 --- a/mutation_fragment_v2.hh +++ b/mutation_fragment_v2.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation_partition.cc b/mutation_partition.cc index be0501f41c..336fe5e250 100644 --- a/mutation_partition.cc +++ b/mutation_partition.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/mutation_partition.hh b/mutation_partition.hh index abdf11991c..7b27cf0cd7 100644 --- a/mutation_partition.hh +++ b/mutation_partition.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation_partition_serializer.cc b/mutation_partition_serializer.cc index b2bf3e29c4..95f6bdae3e 100644 --- a/mutation_partition_serializer.cc +++ b/mutation_partition_serializer.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "mutation_partition_serializer.hh" diff --git a/mutation_partition_serializer.hh b/mutation_partition_serializer.hh index 2b0cfadbb4..328455ee20 100644 --- a/mutation_partition_serializer.hh +++ b/mutation_partition_serializer.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation_partition_view.cc b/mutation_partition_view.cc index 41d242e1cc..3872b8e6ac 100644 --- a/mutation_partition_view.cc +++ b/mutation_partition_view.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/mutation_partition_view.hh b/mutation_partition_view.hh index b790942ca3..6e13d34f86 100644 --- a/mutation_partition_view.hh +++ b/mutation_partition_view.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation_partition_visitor.hh b/mutation_partition_visitor.hh index d34c12d221..3b49d763dc 100644 --- a/mutation_partition_visitor.hh +++ b/mutation_partition_visitor.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation_query.cc b/mutation_query.cc index 4c3ee34460..d474aeb0b5 100644 --- a/mutation_query.cc +++ b/mutation_query.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "mutation_query.hh" diff --git a/mutation_query.hh b/mutation_query.hh index 2fdee85a38..ccec702d53 100644 --- a/mutation_query.hh +++ b/mutation_query.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation_reader.cc b/mutation_reader.cc index c34d9a733a..ea9ea1c21a 100644 --- a/mutation_reader.cc +++ b/mutation_reader.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/mutation_reader.hh b/mutation_reader.hh index 3a33c019c3..865b184130 100644 --- a/mutation_reader.hh +++ b/mutation_reader.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation_rebuilder.hh b/mutation_rebuilder.hh index 1a17667f5e..59c5c76f1f 100644 --- a/mutation_rebuilder.hh +++ b/mutation_rebuilder.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation_source_metadata.hh b/mutation_source_metadata.hh index 6ca72ec180..86887a66b7 100644 --- a/mutation_source_metadata.hh +++ b/mutation_source_metadata.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation_writer/feed_writers.cc b/mutation_writer/feed_writers.cc index 3f15e11269..d065690237 100644 --- a/mutation_writer/feed_writers.cc +++ b/mutation_writer/feed_writers.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "feed_writers.hh" diff --git a/mutation_writer/feed_writers.hh b/mutation_writer/feed_writers.hh index c2f1f83e51..ad4acbfde1 100644 --- a/mutation_writer/feed_writers.hh +++ b/mutation_writer/feed_writers.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation_writer/multishard_writer.cc b/mutation_writer/multishard_writer.cc index 04c7462927..e134eee21c 100644 --- a/mutation_writer/multishard_writer.cc +++ b/mutation_writer/multishard_writer.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "mutation_writer/multishard_writer.hh" diff --git a/mutation_writer/multishard_writer.hh b/mutation_writer/multishard_writer.hh index 553c11e8da..39c606ca1b 100644 --- a/mutation_writer/multishard_writer.hh +++ b/mutation_writer/multishard_writer.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation_writer/partition_based_splitting_writer.cc b/mutation_writer/partition_based_splitting_writer.cc index 525a1f0361..95dd278a8e 100644 --- a/mutation_writer/partition_based_splitting_writer.cc +++ b/mutation_writer/partition_based_splitting_writer.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "mutation_writer/partition_based_splitting_writer.hh" diff --git a/mutation_writer/partition_based_splitting_writer.hh b/mutation_writer/partition_based_splitting_writer.hh index 7811905381..454ca41eb3 100644 --- a/mutation_writer/partition_based_splitting_writer.hh +++ b/mutation_writer/partition_based_splitting_writer.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation_writer/shard_based_splitting_writer.cc b/mutation_writer/shard_based_splitting_writer.cc index e32917c1ec..b5006fa21e 100644 --- a/mutation_writer/shard_based_splitting_writer.cc +++ b/mutation_writer/shard_based_splitting_writer.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "mutation_writer/shard_based_splitting_writer.hh" diff --git a/mutation_writer/shard_based_splitting_writer.hh b/mutation_writer/shard_based_splitting_writer.hh index ac8b291eae..829ca1dfe5 100644 --- a/mutation_writer/shard_based_splitting_writer.hh +++ b/mutation_writer/shard_based_splitting_writer.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/mutation_writer/timestamp_based_splitting_writer.cc b/mutation_writer/timestamp_based_splitting_writer.cc index 6989752010..9ab5f0391b 100644 --- a/mutation_writer/timestamp_based_splitting_writer.cc +++ b/mutation_writer/timestamp_based_splitting_writer.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "mutation_writer/timestamp_based_splitting_writer.hh" diff --git a/mutation_writer/timestamp_based_splitting_writer.hh b/mutation_writer/timestamp_based_splitting_writer.hh index 5c62eb1c99..50f412d38e 100644 --- a/mutation_writer/timestamp_based_splitting_writer.hh +++ b/mutation_writer/timestamp_based_splitting_writer.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/noexcept_traits.hh b/noexcept_traits.hh index 896f1b6fbb..b9b0769baf 100644 --- a/noexcept_traits.hh +++ b/noexcept_traits.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/partition_builder.hh b/partition_builder.hh index b4c7683604..e0dc02bbfb 100644 --- a/partition_builder.hh +++ b/partition_builder.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/partition_range_compat.hh b/partition_range_compat.hh index 2bf8f805f4..fc82fe356f 100644 --- a/partition_range_compat.hh +++ b/partition_range_compat.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/partition_slice_builder.cc b/partition_slice_builder.cc index ab30fb1d1f..275133e013 100644 --- a/partition_slice_builder.cc +++ b/partition_slice_builder.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/partition_slice_builder.hh b/partition_slice_builder.hh index 5c77650a52..c71cbcaad5 100644 --- a/partition_slice_builder.hh +++ b/partition_slice_builder.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/partition_snapshot_reader.hh b/partition_snapshot_reader.hh index 25431abc7c..d137bfc99f 100644 --- a/partition_snapshot_reader.hh +++ b/partition_snapshot_reader.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/partition_snapshot_row_cursor.hh b/partition_snapshot_row_cursor.hh index 20d20c547a..06f6dfdcdf 100644 --- a/partition_snapshot_row_cursor.hh +++ b/partition_snapshot_row_cursor.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/partition_version.cc b/partition_version.cc index c1aff23d48..53be2c1a81 100644 --- a/partition_version.cc +++ b/partition_version.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/partition_version.hh b/partition_version.hh index 0de123ba7d..a15ed1fb3e 100644 --- a/partition_version.hh +++ b/partition_version.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/partition_version_list.hh b/partition_version_list.hh index f51c9350d8..4854ea669c 100644 --- a/partition_version_list.hh +++ b/partition_version_list.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/position_in_partition.hh b/position_in_partition.hh index f6b3a6eca5..7f8e9eb76c 100644 --- a/position_in_partition.hh +++ b/position_in_partition.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/protocol_server.hh b/protocol_server.hh index b120b602c1..a05e2ed8ff 100644 --- a/protocol_server.hh +++ b/protocol_server.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/querier.cc b/querier.cc index df7d4faf37..13fad8d0d1 100644 --- a/querier.cc +++ b/querier.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/querier.hh b/querier.hh index d21ff252b8..66c6b5ffc4 100644 --- a/querier.hh +++ b/querier.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/query-request.hh b/query-request.hh index 92f7336a51..de7e8397cd 100644 --- a/query-request.hh +++ b/query-request.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/query-result-reader.hh b/query-result-reader.hh index 52bfa9a97d..3ce698769c 100644 --- a/query-result-reader.hh +++ b/query-result-reader.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/query-result-set.cc b/query-result-set.cc index 093c276df8..a985bf635a 100644 --- a/query-result-set.cc +++ b/query-result-set.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "query-result-set.hh" diff --git a/query-result-set.hh b/query-result-set.hh index 7aa166f3fd..d570a8d2e4 100644 --- a/query-result-set.hh +++ b/query-result-set.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/query-result-writer.hh b/query-result-writer.hh index bb0cdae039..4b35f05607 100644 --- a/query-result-writer.hh +++ b/query-result-writer.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/query-result.hh b/query-result.hh index 7a11f24df8..e36cb39347 100644 --- a/query-result.hh +++ b/query-result.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/query.cc b/query.cc index 8c8e1ab30c..c9f734da5d 100644 --- a/query.cc +++ b/query.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/query_class_config.hh b/query_class_config.hh index ce80125e26..f59893d148 100644 --- a/query_class_config.hh +++ b/query_class_config.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/query_result_merger.hh b/query_result_merger.hh index 61784949fc..a7c26b0bec 100644 --- a/query_result_merger.hh +++ b/query_result_merger.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/raft/fsm.cc b/raft/fsm.cc index e8fb0c54c8..e9eac889eb 100644 --- a/raft/fsm.cc +++ b/raft/fsm.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "fsm.hh" #include diff --git a/raft/fsm.hh b/raft/fsm.hh index ad7ed6adfd..ae14640790 100644 --- a/raft/fsm.hh +++ b/raft/fsm.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/raft/internal.hh b/raft/internal.hh index 6b8d6abfb8..af0c4c1129 100644 --- a/raft/internal.hh +++ b/raft/internal.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/raft/log.cc b/raft/log.cc index 10d91e38bb..21c53b4767 100644 --- a/raft/log.cc +++ b/raft/log.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "log.hh" diff --git a/raft/log.hh b/raft/log.hh index 3d2fc8e251..fc7b92cd4f 100644 --- a/raft/log.hh +++ b/raft/log.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/raft/logical_clock.hh b/raft/logical_clock.hh index b5761842b8..d8eccc7d0d 100644 --- a/raft/logical_clock.hh +++ b/raft/logical_clock.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/raft/raft.cc b/raft/raft.cc index 36928426cc..d8bdf61ad6 100644 --- a/raft/raft.cc +++ b/raft/raft.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "raft.hh" diff --git a/raft/raft.hh b/raft/raft.hh index fbb1468d3b..52afa53507 100644 --- a/raft/raft.hh +++ b/raft/raft.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/raft/server.cc b/raft/server.cc index 5939fcbc8d..8a802c2f77 100644 --- a/raft/server.cc +++ b/raft/server.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "server.hh" diff --git a/raft/server.hh b/raft/server.hh index dd1d09a6e4..39b790412b 100644 --- a/raft/server.hh +++ b/raft/server.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once #include "raft.hh" diff --git a/raft/tracker.cc b/raft/tracker.cc index c69ae65f25..458d302030 100644 --- a/raft/tracker.cc +++ b/raft/tracker.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "tracker.hh" #include diff --git a/raft/tracker.hh b/raft/tracker.hh index 36b3acd1fa..f761d4887e 100644 --- a/raft/tracker.hh +++ b/raft/tracker.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/range.hh b/range.hh index c078f867ec..1ac0d69565 100644 --- a/range.hh +++ b/range.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/range_tombstone.cc b/range_tombstone.cc index ffcf45e5ae..6432a56112 100644 --- a/range_tombstone.cc +++ b/range_tombstone.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "range_tombstone.hh" diff --git a/range_tombstone.hh b/range_tombstone.hh index 6672ead65e..bcd4477575 100644 --- a/range_tombstone.hh +++ b/range_tombstone.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/range_tombstone_assembler.hh b/range_tombstone_assembler.hh index e6720b189b..a9374f5651 100644 --- a/range_tombstone_assembler.hh +++ b/range_tombstone_assembler.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/range_tombstone_change_generator.hh b/range_tombstone_change_generator.hh index 8d909878ea..93ab677eb8 100644 --- a/range_tombstone_change_generator.hh +++ b/range_tombstone_change_generator.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/range_tombstone_list.cc b/range_tombstone_list.cc index 78941eb317..7958101bf9 100644 --- a/range_tombstone_list.cc +++ b/range_tombstone_list.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/range_tombstone_list.hh b/range_tombstone_list.hh index a4b2c64def..9d6c3cb5cb 100644 --- a/range_tombstone_list.hh +++ b/range_tombstone_list.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/range_tombstone_splitter.hh b/range_tombstone_splitter.hh index 3ee1606898..0d2ea48a9d 100644 --- a/range_tombstone_splitter.hh +++ b/range_tombstone_splitter.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/read_context.hh b/read_context.hh index d8bdf1a705..8ee121dc60 100644 --- a/read_context.hh +++ b/read_context.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/reader_concurrency_semaphore.cc b/reader_concurrency_semaphore.cc index ab7ff6fa0d..c148f4d78c 100644 --- a/reader_concurrency_semaphore.cc +++ b/reader_concurrency_semaphore.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/reader_concurrency_semaphore.hh b/reader_concurrency_semaphore.hh index 0476565e92..d8e12e6dc6 100644 --- a/reader_concurrency_semaphore.hh +++ b/reader_concurrency_semaphore.hh @@ -1,18 +1,5 @@ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ /* diff --git a/reader_permit.hh b/reader_permit.hh index 6cefbda790..678e4d4ab4 100644 --- a/reader_permit.hh +++ b/reader_permit.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/real_dirty_memory_accounter.hh b/real_dirty_memory_accounter.hh index aac2f1dc9b..005c7cc362 100644 --- a/real_dirty_memory_accounter.hh +++ b/real_dirty_memory_accounter.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/redis/abstract_command.cc b/redis/abstract_command.cc index f693a1396f..f3da524cd9 100644 --- a/redis/abstract_command.cc +++ b/redis/abstract_command.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "abstract_command.hh" diff --git a/redis/abstract_command.hh b/redis/abstract_command.hh index c16ec25bb5..22229eb1b5 100644 --- a/redis/abstract_command.hh +++ b/redis/abstract_command.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/redis/command_factory.cc b/redis/command_factory.cc index cce6e8f175..068381f60f 100644 --- a/redis/command_factory.cc +++ b/redis/command_factory.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "redis/command_factory.hh" diff --git a/redis/command_factory.hh b/redis/command_factory.hh index 93f1babf50..6c6aa83ba7 100644 --- a/redis/command_factory.hh +++ b/redis/command_factory.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/redis/commands.cc b/redis/commands.cc index 7bee69e427..57ced310ef 100644 --- a/redis/commands.cc +++ b/redis/commands.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "redis/commands.hh" diff --git a/redis/commands.hh b/redis/commands.hh index 42649e535d..927800f1d5 100644 --- a/redis/commands.hh +++ b/redis/commands.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/redis/controller.cc b/redis/controller.cc index c70e21afed..c5ac22e1de 100644 --- a/redis/controller.cc +++ b/redis/controller.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "timeout_config.hh" diff --git a/redis/controller.hh b/redis/controller.hh index 06bc90c5dd..d2829f8936 100644 --- a/redis/controller.hh +++ b/redis/controller.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/redis/exceptions.hh b/redis/exceptions.hh index 67367f7c56..6b8e81bd2a 100644 --- a/redis/exceptions.hh +++ b/redis/exceptions.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/redis/keyspace_utils.cc b/redis/keyspace_utils.cc index 2b7a0c389b..ac5ab511a0 100644 --- a/redis/keyspace_utils.cc +++ b/redis/keyspace_utils.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/redis/keyspace_utils.hh b/redis/keyspace_utils.hh index 6db0593e13..faff87f81f 100644 --- a/redis/keyspace_utils.hh +++ b/redis/keyspace_utils.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/redis/lolwut.cc b/redis/lolwut.cc index 9d213805e8..b243368f89 100644 --- a/redis/lolwut.cc +++ b/redis/lolwut.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/redis/lolwut.hh b/redis/lolwut.hh index 1546cbeeac..d374082f84 100644 --- a/redis/lolwut.hh +++ b/redis/lolwut.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/redis/mutation_utils.cc b/redis/mutation_utils.cc index 64bf8cf176..cd3bc59492 100644 --- a/redis/mutation_utils.cc +++ b/redis/mutation_utils.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "redis/mutation_utils.hh" diff --git a/redis/mutation_utils.hh b/redis/mutation_utils.hh index ed4aae28b9..7f4a34e7d1 100644 --- a/redis/mutation_utils.hh +++ b/redis/mutation_utils.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/redis/options.cc b/redis/options.cc index 6c4177415e..ca7c23c5c6 100644 --- a/redis/options.cc +++ b/redis/options.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "redis/options.hh" diff --git a/redis/options.hh b/redis/options.hh index 64e9020336..880ba39172 100644 --- a/redis/options.hh +++ b/redis/options.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/redis/protocol_parser.rl b/redis/protocol_parser.rl index cfcf9551b3..86ce5ef4c0 100644 --- a/redis/protocol_parser.rl +++ b/redis/protocol_parser.rl @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/redis/query_processor.cc b/redis/query_processor.cc index 017fe36432..4a6a921588 100644 --- a/redis/query_processor.cc +++ b/redis/query_processor.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "redis/query_processor.hh" diff --git a/redis/query_processor.hh b/redis/query_processor.hh index 7944e89efe..11b47af3f0 100644 --- a/redis/query_processor.hh +++ b/redis/query_processor.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/redis/query_utils.cc b/redis/query_utils.cc index 29b9f54e9b..222f3764a8 100644 --- a/redis/query_utils.cc +++ b/redis/query_utils.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/redis/query_utils.hh b/redis/query_utils.hh index eaea59c849..77863a7327 100644 --- a/redis/query_utils.hh +++ b/redis/query_utils.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/redis/reply.hh b/redis/reply.hh index eb3824162e..152627175c 100644 --- a/redis/reply.hh +++ b/redis/reply.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/redis/request.hh b/redis/request.hh index 4d7c74ae0c..9fe43891fe 100644 --- a/redis/request.hh +++ b/redis/request.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/redis/server.cc b/redis/server.cc index 1b5ebc6f5e..50f6254894 100644 --- a/redis/server.cc +++ b/redis/server.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "redis/server.hh" diff --git a/redis/server.hh b/redis/server.hh index 392745c6b2..c8ee3908fd 100644 --- a/redis/server.hh +++ b/redis/server.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/redis/stats.cc b/redis/stats.cc index 3e25aff127..3da6bc1783 100644 --- a/redis/stats.cc +++ b/redis/stats.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "redis/stats.hh" diff --git a/redis/stats.hh b/redis/stats.hh index 7068af889b..1ece77f0b9 100644 --- a/redis/stats.hh +++ b/redis/stats.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/redis/version.hh b/redis/version.hh index 34678c7894..9ce4e3b049 100644 --- a/redis/version.hh +++ b/redis/version.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/release.cc b/release.cc index 7f1d885248..282915365c 100644 --- a/release.cc +++ b/release.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "version.hh" diff --git a/release.hh b/release.hh index 225d7f31e1..484cb187a3 100644 --- a/release.hh +++ b/release.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/repair/repair.cc b/repair/repair.cc index 8c339b5f5e..8c88e0c550 100644 --- a/repair/repair.cc +++ b/repair/repair.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "repair.hh" diff --git a/repair/repair.hh b/repair/repair.hh index 13b098f9bb..ce518f9514 100644 --- a/repair/repair.hh +++ b/repair/repair.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/repair/row_level.cc b/repair/row_level.cc index 51ae15c3b3..2b7d4568dd 100644 --- a/repair/row_level.cc +++ b/repair/row_level.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/repair/row_level.hh b/repair/row_level.hh index f208685ac1..62e6e1692b 100644 --- a/repair/row_level.hh +++ b/repair/row_level.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/replica/database.cc b/replica/database.cc index 649bb56a6d..c21e58957b 100644 --- a/replica/database.cc +++ b/replica/database.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "log.hh" diff --git a/replica/database.hh b/replica/database.hh index 6dce0ec36b..e8f7c71c34 100644 --- a/replica/database.hh +++ b/replica/database.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/replica/database_fwd.hh b/replica/database_fwd.hh index d4e30cc912..e2cdb9160b 100644 --- a/replica/database_fwd.hh +++ b/replica/database_fwd.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/replica/distributed_loader.cc b/replica/distributed_loader.cc index 48f6372e94..b7b3886ffd 100644 --- a/replica/distributed_loader.cc +++ b/replica/distributed_loader.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/replica/distributed_loader.hh b/replica/distributed_loader.hh index d978991196..2728ca0ca9 100644 --- a/replica/distributed_loader.hh +++ b/replica/distributed_loader.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/replica/table.cc b/replica/table.cc index 3faf5ab8d5..35bd28df5b 100644 --- a/replica/table.cc +++ b/replica/table.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/reversibly_mergeable.hh b/reversibly_mergeable.hh index 35ad34c6ba..da88a73912 100644 --- a/reversibly_mergeable.hh +++ b/reversibly_mergeable.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/row_cache.cc b/row_cache.cc index b6fb25cf9d..dab09fa96b 100644 --- a/row_cache.cc +++ b/row_cache.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "row_cache.hh" diff --git a/row_cache.hh b/row_cache.hh index 691212cb56..ad0e7356ac 100644 --- a/row_cache.hh +++ b/row_cache.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/schema.cc b/schema.cc index 114e03e1fa..faa0e68f80 100644 --- a/schema.cc +++ b/schema.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/schema.hh b/schema.hh index b83dd4da3f..d86ea4b029 100644 --- a/schema.hh +++ b/schema.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/schema_builder.hh b/schema_builder.hh index d9af6ef234..cfe8ef1a1e 100644 --- a/schema_builder.hh +++ b/schema_builder.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/schema_fwd.hh b/schema_fwd.hh index 5b2a64e0a1..3c5ffbb159 100644 --- a/schema_fwd.hh +++ b/schema_fwd.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/schema_mutations.cc b/schema_mutations.cc index ce47770ff9..9724cf2f18 100644 --- a/schema_mutations.cc +++ b/schema_mutations.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "schema_mutations.hh" diff --git a/schema_mutations.hh b/schema_mutations.hh index 014b7891b7..fb68b7b04c 100644 --- a/schema_mutations.hh +++ b/schema_mutations.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/schema_registry.cc b/schema_registry.cc index 74b2d3dcb1..374801c6ad 100644 --- a/schema_registry.cc +++ b/schema_registry.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/schema_registry.hh b/schema_registry.hh index 8d4501af4a..dbfe9e3d8d 100644 --- a/schema_registry.hh +++ b/schema_registry.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/schema_upgrader.hh b/schema_upgrader.hh index b4d89b61b9..466b9253cd 100644 --- a/schema_upgrader.hh +++ b/schema_upgrader.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/scripts/coverage.py b/scripts/coverage.py index 042bc377d2..fba756e391 100755 --- a/scripts/coverage.py +++ b/scripts/coverage.py @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # diff --git a/scripts/cpp-name-format.py b/scripts/cpp-name-format.py index 512ff64b81..3696074f90 100755 --- a/scripts/cpp-name-format.py +++ b/scripts/cpp-name-format.py @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # import argparse diff --git a/scripts/create-relocatable-package.py b/scripts/create-relocatable-package.py index e123e81bab..4b08fa86ba 100755 --- a/scripts/create-relocatable-package.py +++ b/scripts/create-relocatable-package.py @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # import argparse diff --git a/scripts/jobs b/scripts/jobs index 8f13d621d2..e5bad583f6 100755 --- a/scripts/jobs +++ b/scripts/jobs @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # # Guess and print out a good number of compiler jobs to diff --git a/scripts/merge-compdb.py b/scripts/merge-compdb.py index 9ff3fbc23a..2f4993e52c 100755 --- a/scripts/merge-compdb.py +++ b/scripts/merge-compdb.py @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # # diff --git a/scripts/nodetool-toppartitions b/scripts/nodetool-toppartitions index 4c835970d6..b692cca748 100755 --- a/scripts/nodetool-toppartitions +++ b/scripts/nodetool-toppartitions @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # import argparse diff --git a/scripts/refresh-submodules.sh b/scripts/refresh-submodules.sh index 63f39429bc..02c45edc68 100755 --- a/scripts/refresh-submodules.sh +++ b/scripts/refresh-submodules.sh @@ -6,20 +6,7 @@ # # Copyright (C) 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # set -euo pipefail diff --git a/scylla_post_install.sh b/scylla_post_install.sh index e5940607d8..45c4e8cf40 100755 --- a/scylla_post_install.sh +++ b/scylla_post_install.sh @@ -4,20 +4,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # if [ ! -d /run/systemd/system ]; then diff --git a/seastarx.hh b/seastarx.hh index 949c17ebf2..c36a628ebe 100644 --- a/seastarx.hh +++ b/seastarx.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/serialization_visitors.hh b/serialization_visitors.hh index 164e98fae3..e5bbbb628b 100644 --- a/serialization_visitors.hh +++ b/serialization_visitors.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/serializer.cc b/serializer.cc index a9d810b68c..402d89ddee 100644 --- a/serializer.cc +++ b/serializer.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "serializer_impl.hh" diff --git a/serializer.hh b/serializer.hh index ecac9267bc..03f0650a6d 100644 --- a/serializer.hh +++ b/serializer.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/serializer_impl.hh b/serializer_impl.hh index 11c364c395..35c8f0037b 100644 --- a/serializer_impl.hh +++ b/serializer_impl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/service/cache_hitrate_calculator.hh b/service/cache_hitrate_calculator.hh index 8eaa43e54b..59b983b0e2 100644 --- a/service/cache_hitrate_calculator.hh +++ b/service/cache_hitrate_calculator.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/service/client_state.cc b/service/client_state.cc index d88f0c5c46..3839b1141c 100644 --- a/service/client_state.cc +++ b/service/client_state.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "client_state.hh" diff --git a/service/client_state.hh b/service/client_state.hh index 577e4cccb8..2da623b81d 100644 --- a/service/client_state.hh +++ b/service/client_state.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/service/endpoint_lifecycle_subscriber.hh b/service/endpoint_lifecycle_subscriber.hh index 6560f7167b..ebf4de28c7 100644 --- a/service/endpoint_lifecycle_subscriber.hh +++ b/service/endpoint_lifecycle_subscriber.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/service/load_broadcaster.hh b/service/load_broadcaster.hh index 9ade8e7838..f3d8ffbef6 100644 --- a/service/load_broadcaster.hh +++ b/service/load_broadcaster.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/service/load_meter.hh b/service/load_meter.hh index a1758a1256..38becd42cd 100644 --- a/service/load_meter.hh +++ b/service/load_meter.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/service/memory_limiter.hh b/service/memory_limiter.hh index 0771a298cf..541e42d149 100644 --- a/service/memory_limiter.hh +++ b/service/memory_limiter.hh @@ -1,19 +1,5 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 * * Copyright (C) 2021-present ScyllaDB * diff --git a/service/migration_listener.hh b/service/migration_listener.hh index 925a6afe8f..c722a2e62f 100644 --- a/service/migration_listener.hh +++ b/service/migration_listener.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/service/migration_manager.cc b/service/migration_manager.cc index 8dcaecfe29..608f3863af 100644 --- a/service/migration_manager.cc +++ b/service/migration_manager.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/service/migration_manager.hh b/service/migration_manager.hh index 1f3aa05086..fccc73fd42 100644 --- a/service/migration_manager.hh +++ b/service/migration_manager.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/service/misc_services.cc b/service/misc_services.cc index 64f0ff7bdf..34457e61e6 100644 --- a/service/misc_services.cc +++ b/service/misc_services.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/service/pager/paging_state.cc b/service/pager/paging_state.cc index 02f2a7bc69..ad7a9bf80a 100644 --- a/service/pager/paging_state.cc +++ b/service/pager/paging_state.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "bytes.hh" diff --git a/service/pager/paging_state.hh b/service/pager/paging_state.hh index df66f24ddf..a501209de1 100644 --- a/service/pager/paging_state.hh +++ b/service/pager/paging_state.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/service/pager/query_pager.hh b/service/pager/query_pager.hh index 8fc7572a2e..588703c45e 100644 --- a/service/pager/query_pager.hh +++ b/service/pager/query_pager.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/service/pager/query_pagers.cc b/service/pager/query_pagers.cc index bc8a76d0d0..f7ed068fdf 100644 --- a/service/pager/query_pagers.cc +++ b/service/pager/query_pagers.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "query_pagers.hh" diff --git a/service/pager/query_pagers.hh b/service/pager/query_pagers.hh index 39bd3257b2..23e6788c16 100644 --- a/service/pager/query_pagers.hh +++ b/service/pager/query_pagers.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/service/paxos/cas_request.hh b/service/paxos/cas_request.hh index e66ef9f9af..3c8ff23fc8 100644 --- a/service/paxos/cas_request.hh +++ b/service/paxos/cas_request.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/service/paxos/paxos_state.cc b/service/paxos/paxos_state.cc index 4730e43b78..54e234f446 100644 --- a/service/paxos/paxos_state.cc +++ b/service/paxos/paxos_state.cc @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "seastar/core/coroutine.hh" #include "service/storage_proxy.hh" diff --git a/service/paxos/paxos_state.hh b/service/paxos/paxos_state.hh index 5eed816e65..10f0b3af77 100644 --- a/service/paxos/paxos_state.hh +++ b/service/paxos/paxos_state.hh @@ -1,21 +1,5 @@ /* * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. * */ /* @@ -24,20 +8,7 @@ * Modified by ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once #include "service/paxos/proposal.hh" diff --git a/service/paxos/prepare_response.cc b/service/paxos/prepare_response.cc index 5626efe7cb..fdf9949e44 100644 --- a/service/paxos/prepare_response.cc +++ b/service/paxos/prepare_response.cc @@ -1,21 +1,5 @@ /* * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. * */ /* @@ -24,20 +8,7 @@ * Modified by ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "prepare_response.hh" diff --git a/service/paxos/prepare_response.hh b/service/paxos/prepare_response.hh index 9ebd81ac79..dc6217232e 100644 --- a/service/paxos/prepare_response.hh +++ b/service/paxos/prepare_response.hh @@ -1,21 +1,5 @@ /* * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. * */ /* @@ -24,20 +8,7 @@ * Modified by ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/service/paxos/prepare_summary.cc b/service/paxos/prepare_summary.cc index 5ab8303e2f..8a2c94b561 100644 --- a/service/paxos/prepare_summary.cc +++ b/service/paxos/prepare_summary.cc @@ -1,21 +1,5 @@ /* * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. * */ /* @@ -24,20 +8,7 @@ * Modified by ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "service/paxos/prepare_summary.hh" diff --git a/service/paxos/prepare_summary.hh b/service/paxos/prepare_summary.hh index ace06fad49..ced0ac4e1e 100644 --- a/service/paxos/prepare_summary.hh +++ b/service/paxos/prepare_summary.hh @@ -1,21 +1,5 @@ /* * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. * */ /* @@ -24,20 +8,7 @@ * Modified by ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/service/paxos/proposal.cc b/service/paxos/proposal.cc index 9be8766250..9f6be9b5f6 100644 --- a/service/paxos/proposal.cc +++ b/service/paxos/proposal.cc @@ -1,21 +1,5 @@ /* * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. * */ /* @@ -24,20 +8,7 @@ * Modified by ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "proposal.hh" diff --git a/service/paxos/proposal.hh b/service/paxos/proposal.hh index 8b0a36592f..dd7730bb0f 100644 --- a/service/paxos/proposal.hh +++ b/service/paxos/proposal.hh @@ -1,21 +1,5 @@ /* * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. * */ /* @@ -24,20 +8,7 @@ * Modified by ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once #include "utils/UUID_gen.hh" diff --git a/service/priority_manager.cc b/service/priority_manager.cc index e18edc48f4..e4ee34b716 100644 --- a/service/priority_manager.cc +++ b/service/priority_manager.cc @@ -2,20 +2,7 @@ * Copyright 2016-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "priority_manager.hh" #include diff --git a/service/priority_manager.hh b/service/priority_manager.hh index 4009242a92..d41f1956dd 100644 --- a/service/priority_manager.hh +++ b/service/priority_manager.hh @@ -2,20 +2,7 @@ * Copyright 2016-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/service/qos/qos_common.cc b/service/qos/qos_common.cc index f803b060c8..395779c869 100644 --- a/service/qos/qos_common.cc +++ b/service/qos/qos_common.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "qos_common.hh" diff --git a/service/qos/qos_common.hh b/service/qos/qos_common.hh index 7a6bdcca79..bbf8dd3a22 100644 --- a/service/qos/qos_common.hh +++ b/service/qos/qos_common.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/service/qos/qos_configuration_change_subscriber.hh b/service/qos/qos_configuration_change_subscriber.hh index eb14cc20dd..05f0ddd5e4 100644 --- a/service/qos/qos_configuration_change_subscriber.hh +++ b/service/qos/qos_configuration_change_subscriber.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/service/qos/service_level_controller.cc b/service/qos/service_level_controller.cc index da6ea57b39..aa0f242198 100644 --- a/service/qos/service_level_controller.cc +++ b/service/qos/service_level_controller.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/service/qos/service_level_controller.hh b/service/qos/service_level_controller.hh index 6e5d01d17f..a780ce3c0c 100644 --- a/service/qos/service_level_controller.hh +++ b/service/qos/service_level_controller.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/service/qos/standard_service_level_distributed_data_accessor.cc b/service/qos/standard_service_level_distributed_data_accessor.cc index a9370bb464..a0b56d11ee 100644 --- a/service/qos/standard_service_level_distributed_data_accessor.cc +++ b/service/qos/standard_service_level_distributed_data_accessor.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "standard_service_level_distributed_data_accessor.hh" diff --git a/service/qos/standard_service_level_distributed_data_accessor.hh b/service/qos/standard_service_level_distributed_data_accessor.hh index a4013b3c31..c2da1f1558 100644 --- a/service/qos/standard_service_level_distributed_data_accessor.hh +++ b/service/qos/standard_service_level_distributed_data_accessor.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/service/query_state.hh b/service/query_state.hh index 7bcafa3002..f454165bad 100644 --- a/service/query_state.hh +++ b/service/query_state.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #ifndef SERVICE_QUERY_STATE_HH diff --git a/service/raft/discovery.cc b/service/raft/discovery.cc index d97cfb6dbd..6dd0faf0bd 100644 --- a/service/raft/discovery.cc +++ b/service/raft/discovery.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "service/raft/discovery.hh" diff --git a/service/raft/discovery.hh b/service/raft/discovery.hh index 785f327a13..59cc3eb497 100644 --- a/service/raft/discovery.hh +++ b/service/raft/discovery.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once #include "raft/raft.hh" diff --git a/service/raft/messaging.hh b/service/raft/messaging.hh index 4cb2e39a4e..4f08f1981b 100644 --- a/service/raft/messaging.hh +++ b/service/raft/messaging.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once #include "raft/raft.hh" diff --git a/service/raft/raft_address_map.hh b/service/raft/raft_address_map.hh index 4e59ac1a65..51871b1547 100644 --- a/service/raft/raft_address_map.hh +++ b/service/raft/raft_address_map.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/service/raft/raft_gossip_failure_detector.cc b/service/raft/raft_gossip_failure_detector.cc index 7913931618..e2ed271d9c 100644 --- a/service/raft/raft_gossip_failure_detector.cc +++ b/service/raft/raft_gossip_failure_detector.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "service/raft/raft_gossip_failure_detector.hh" diff --git a/service/raft/raft_gossip_failure_detector.hh b/service/raft/raft_gossip_failure_detector.hh index 978e5fe690..e6f24a8eb1 100644 --- a/service/raft/raft_gossip_failure_detector.hh +++ b/service/raft/raft_gossip_failure_detector.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/service/raft/raft_group0.cc b/service/raft/raft_group0.cc index 05f143065d..9af695d071 100644 --- a/service/raft/raft_group0.cc +++ b/service/raft/raft_group0.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "service/raft/raft_group0.hh" #include "service/raft/raft_rpc.hh" diff --git a/service/raft/raft_group0.hh b/service/raft/raft_group0.hh index ae5d308ec0..d76b66dc53 100644 --- a/service/raft/raft_group0.hh +++ b/service/raft/raft_group0.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once #include "service/raft/raft_group_registry.hh" diff --git a/service/raft/raft_group_registry.cc b/service/raft/raft_group_registry.cc index 034c68761b..2f87e1af2e 100644 --- a/service/raft/raft_group_registry.cc +++ b/service/raft/raft_group_registry.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "service/raft/raft_group_registry.hh" #include "service/raft/raft_rpc.hh" diff --git a/service/raft/raft_group_registry.hh b/service/raft/raft_group_registry.hh index e589d1bd59..4495391fd4 100644 --- a/service/raft/raft_group_registry.hh +++ b/service/raft/raft_group_registry.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/service/raft/raft_rpc.cc b/service/raft/raft_rpc.cc index a676aa0fcc..9a98a764ca 100644 --- a/service/raft/raft_rpc.cc +++ b/service/raft/raft_rpc.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include #include "service/raft/raft_rpc.hh" diff --git a/service/raft/raft_rpc.hh b/service/raft/raft_rpc.hh index 876f716f2e..d929c0f1f9 100644 --- a/service/raft/raft_rpc.hh +++ b/service/raft/raft_rpc.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/service/raft/raft_state_machine.hh b/service/raft/raft_state_machine.hh index fe849a8832..14be78fcae 100644 --- a/service/raft/raft_state_machine.hh +++ b/service/raft/raft_state_machine.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/service/raft/raft_sys_table_storage.cc b/service/raft/raft_sys_table_storage.cc index ddb30b0a45..b77803e622 100644 --- a/service/raft/raft_sys_table_storage.cc +++ b/service/raft/raft_sys_table_storage.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "service/raft/raft_sys_table_storage.hh" diff --git a/service/raft/raft_sys_table_storage.hh b/service/raft/raft_sys_table_storage.hh index 9f06a904e2..2001950ab4 100644 --- a/service/raft/raft_sys_table_storage.hh +++ b/service/raft/raft_sys_table_storage.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/service/raft/schema_raft_state_machine.cc b/service/raft/schema_raft_state_machine.cc index 07bb89bacd..6fb7d5ae93 100644 --- a/service/raft/schema_raft_state_machine.cc +++ b/service/raft/schema_raft_state_machine.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "service/raft/schema_raft_state_machine.hh" #include diff --git a/service/raft/schema_raft_state_machine.hh b/service/raft/schema_raft_state_machine.hh index 782e8e20a7..0dfcd5065f 100644 --- a/service/raft/schema_raft_state_machine.hh +++ b/service/raft/schema_raft_state_machine.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/service/storage_proxy.cc b/service/storage_proxy.cc index 4e08df1d9e..2a4dbf4615 100644 --- a/service/storage_proxy.cc +++ b/service/storage_proxy.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/service/storage_proxy.hh b/service/storage_proxy.hh index 1ffa5ace7c..c5cdb25563 100644 --- a/service/storage_proxy.hh +++ b/service/storage_proxy.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/service/storage_proxy_stats.hh b/service/storage_proxy_stats.hh index d5bcbfda27..eb9cf55815 100644 --- a/service/storage_proxy_stats.hh +++ b/service/storage_proxy_stats.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/service/storage_service.cc b/service/storage_service.cc index a6b0d9b226..b8b19bd047 100644 --- a/service/storage_service.cc +++ b/service/storage_service.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB @@ -21,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "storage_service.hh" diff --git a/service/storage_service.hh b/service/storage_service.hh index 60785006d0..7fed254fb8 100644 --- a/service/storage_service.hh +++ b/service/storage_service.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB @@ -21,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/service/view_update_backlog_broker.hh b/service/view_update_backlog_broker.hh index 605998c27f..f460ad3877 100644 --- a/service/view_update_backlog_broker.hh +++ b/service/view_update_backlog_broker.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/service_permit.hh b/service_permit.hh index 4e49f4aa79..3eaf8f0e54 100644 --- a/service_permit.hh +++ b/service_permit.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/shell.nix b/shell.nix index 5eb1c36904..ebb29f3ab4 100755 --- a/shell.nix +++ b/shell.nix @@ -2,20 +2,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later { pkgs ? null, diff --git a/sstables/binary_search.hh b/sstables/binary_search.hh index 1e917df40e..e7b0d1e8e7 100644 --- a/sstables/binary_search.hh +++ b/sstables/binary_search.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/checksum_utils.hh b/sstables/checksum_utils.hh index c7357e7fac..26c050c266 100644 --- a/sstables/checksum_utils.hh +++ b/sstables/checksum_utils.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/column_translation.hh b/sstables/column_translation.hh index 2a4a7e593c..0d01df465c 100644 --- a/sstables/column_translation.hh +++ b/sstables/column_translation.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/component_type.hh b/sstables/component_type.hh index 7f6a2bae48..da37f52726 100644 --- a/sstables/component_type.hh +++ b/sstables/component_type.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/compress.cc b/sstables/compress.cc index fdb6b75da4..af15ba9f8c 100644 --- a/sstables/compress.cc +++ b/sstables/compress.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/sstables/compress.hh b/sstables/compress.hh index 580d804504..a134784aab 100644 --- a/sstables/compress.hh +++ b/sstables/compress.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/consumer.hh b/sstables/consumer.hh index 98bb54c263..9ca0b97c95 100644 --- a/sstables/consumer.hh +++ b/sstables/consumer.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/disk_types.hh b/sstables/disk_types.hh index affa7cd2e9..db30c7b2e4 100644 --- a/sstables/disk_types.hh +++ b/sstables/disk_types.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/downsampling.hh b/sstables/downsampling.hh index b61194b1df..621ab3205b 100644 --- a/sstables/downsampling.hh +++ b/sstables/downsampling.hh @@ -1,20 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. */ /* @@ -24,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/sstables/exceptions.hh b/sstables/exceptions.hh index 0261f455c1..90bc70be86 100644 --- a/sstables/exceptions.hh +++ b/sstables/exceptions.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/filter.hh b/sstables/filter.hh index ce794f3327..7d033f35e2 100644 --- a/sstables/filter.hh +++ b/sstables/filter.hh @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/hyperloglog.hh b/sstables/hyperloglog.hh index b5cd21bf99..142293fec9 100644 --- a/sstables/hyperloglog.hh +++ b/sstables/hyperloglog.hh @@ -10,20 +10,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ /* diff --git a/sstables/index_entry.hh b/sstables/index_entry.hh index ad9ce252ef..f489388922 100644 --- a/sstables/index_entry.hh +++ b/sstables/index_entry.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/index_reader.hh b/sstables/index_reader.hh index bf51a819e9..d959e97870 100644 --- a/sstables/index_reader.hh +++ b/sstables/index_reader.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/integrity_checked_file_impl.cc b/sstables/integrity_checked_file_impl.cc index 47dfdde07a..fb8bcafac8 100644 --- a/sstables/integrity_checked_file_impl.cc +++ b/sstables/integrity_checked_file_impl.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "integrity_checked_file_impl.hh" diff --git a/sstables/integrity_checked_file_impl.hh b/sstables/integrity_checked_file_impl.hh index 4736811d25..6301d099c5 100644 --- a/sstables/integrity_checked_file_impl.hh +++ b/sstables/integrity_checked_file_impl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/key.hh b/sstables/key.hh index 2943ff1f20..6428dcf2e0 100644 --- a/sstables/key.hh +++ b/sstables/key.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/kl/reader.cc b/sstables/kl/reader.cc index 3ea774e728..a5cf8933db 100644 --- a/sstables/kl/reader.cc +++ b/sstables/kl/reader.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "sstables/consumer.hh" diff --git a/sstables/kl/reader.hh b/sstables/kl/reader.hh index 15d75ccd6e..6202e74446 100644 --- a/sstables/kl/reader.hh +++ b/sstables/kl/reader.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/liveness_info.hh b/sstables/liveness_info.hh index 756bade4ad..d0e13ce1c2 100644 --- a/sstables/liveness_info.hh +++ b/sstables/liveness_info.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/m_format_read_helpers.cc b/sstables/m_format_read_helpers.cc index 1b4dfcdf87..6ca5bff7b1 100644 --- a/sstables/m_format_read_helpers.cc +++ b/sstables/m_format_read_helpers.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "vint-serialization.hh" diff --git a/sstables/m_format_read_helpers.hh b/sstables/m_format_read_helpers.hh index 979e9df86b..aaae79690c 100644 --- a/sstables/m_format_read_helpers.hh +++ b/sstables/m_format_read_helpers.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/metadata_collector.cc b/sstables/metadata_collector.cc index ad943e0b70..82859bf326 100644 --- a/sstables/metadata_collector.cc +++ b/sstables/metadata_collector.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "log.hh" diff --git a/sstables/metadata_collector.hh b/sstables/metadata_collector.hh index 38ccf24bbf..78e2b40aa6 100644 --- a/sstables/metadata_collector.hh +++ b/sstables/metadata_collector.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/sstables/mutation_fragment_filter.hh b/sstables/mutation_fragment_filter.hh index 580bf8ca21..68aa653857 100644 --- a/sstables/mutation_fragment_filter.hh +++ b/sstables/mutation_fragment_filter.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/mx/bsearch_clustered_cursor.hh b/sstables/mx/bsearch_clustered_cursor.hh index 9f03929ce7..072cca537f 100644 --- a/sstables/mx/bsearch_clustered_cursor.hh +++ b/sstables/mx/bsearch_clustered_cursor.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/mx/parsers.hh b/sstables/mx/parsers.hh index 015a680035..e1ab8ae00e 100644 --- a/sstables/mx/parsers.hh +++ b/sstables/mx/parsers.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/mx/partition_reversing_data_source.cc b/sstables/mx/partition_reversing_data_source.cc index 44dfa4cf30..b3582c38e9 100644 --- a/sstables/mx/partition_reversing_data_source.cc +++ b/sstables/mx/partition_reversing_data_source.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/sstables/mx/partition_reversing_data_source.hh b/sstables/mx/partition_reversing_data_source.hh index e9577d45d3..e0a271a65e 100644 --- a/sstables/mx/partition_reversing_data_source.hh +++ b/sstables/mx/partition_reversing_data_source.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/mx/reader.cc b/sstables/mx/reader.cc index b2a124498c..aee9df9fd3 100644 --- a/sstables/mx/reader.cc +++ b/sstables/mx/reader.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "reader.hh" diff --git a/sstables/mx/reader.hh b/sstables/mx/reader.hh index 0743679063..6d77efd316 100644 --- a/sstables/mx/reader.hh +++ b/sstables/mx/reader.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/mx/types.hh b/sstables/mx/types.hh index 729d922f9f..b914ed020e 100644 --- a/sstables/mx/types.hh +++ b/sstables/mx/types.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/mx/writer.cc b/sstables/mx/writer.cc index 8da76edd98..a1eaba0ecf 100644 --- a/sstables/mx/writer.cc +++ b/sstables/mx/writer.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "sstables/mx/writer.hh" diff --git a/sstables/mx/writer.hh b/sstables/mx/writer.hh index ae084a78b1..8efae1e5b8 100644 --- a/sstables/mx/writer.hh +++ b/sstables/mx/writer.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/open_info.hh b/sstables/open_info.hh index 0bf3cbbc13..d14e0c3997 100644 --- a/sstables/open_info.hh +++ b/sstables/open_info.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/partition_index_cache.hh b/sstables/partition_index_cache.hh index 4c68a491b7..b6573b5269 100644 --- a/sstables/partition_index_cache.hh +++ b/sstables/partition_index_cache.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/prepended_input_stream.cc b/sstables/prepended_input_stream.cc index f3038ba82a..19953302b8 100644 --- a/sstables/prepended_input_stream.cc +++ b/sstables/prepended_input_stream.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "prepended_input_stream.hh" diff --git a/sstables/prepended_input_stream.hh b/sstables/prepended_input_stream.hh index 1c5b3166b6..038ca7a49e 100644 --- a/sstables/prepended_input_stream.hh +++ b/sstables/prepended_input_stream.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/processing_result_generator.hh b/sstables/processing_result_generator.hh index b61e5c8588..ebfa452c13 100644 --- a/sstables/processing_result_generator.hh +++ b/sstables/processing_result_generator.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/progress_monitor.hh b/sstables/progress_monitor.hh index ba37bd6420..aaaaa5cfb3 100644 --- a/sstables/progress_monitor.hh +++ b/sstables/progress_monitor.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/promoted_index_blocks_reader.hh b/sstables/promoted_index_blocks_reader.hh index 9e91b0e151..0ebce95e75 100644 --- a/sstables/promoted_index_blocks_reader.hh +++ b/sstables/promoted_index_blocks_reader.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/random_access_reader.cc b/sstables/random_access_reader.cc index 3caa6c905b..e6bbbe7e08 100644 --- a/sstables/random_access_reader.cc +++ b/sstables/random_access_reader.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/sstables/random_access_reader.hh b/sstables/random_access_reader.hh index 1998f2117f..abcb66b021 100644 --- a/sstables/random_access_reader.hh +++ b/sstables/random_access_reader.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/sstables/scanning_clustered_index_cursor.hh b/sstables/scanning_clustered_index_cursor.hh index 4316f133ad..4db8109875 100644 --- a/sstables/scanning_clustered_index_cursor.hh +++ b/sstables/scanning_clustered_index_cursor.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/segmented_compress_params.hh b/sstables/segmented_compress_params.hh index 5aeaa3e68d..0581fa6cf0 100644 --- a/sstables/segmented_compress_params.hh +++ b/sstables/segmented_compress_params.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ /* diff --git a/sstables/shareable_components.hh b/sstables/shareable_components.hh index 3b9889b5da..67c3ff6c97 100644 --- a/sstables/shareable_components.hh +++ b/sstables/shareable_components.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/shared_sstable.hh b/sstables/shared_sstable.hh index 48e5c9699d..4bd1d355dd 100644 --- a/sstables/shared_sstable.hh +++ b/sstables/shared_sstable.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/sstable_directory.cc b/sstables/sstable_directory.cc index dd8dc0aa67..8583bb01dc 100644 --- a/sstables/sstable_directory.cc +++ b/sstables/sstable_directory.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/sstables/sstable_directory.hh b/sstables/sstable_directory.hh index b7ba342f06..595190fbcc 100644 --- a/sstables/sstable_directory.hh +++ b/sstables/sstable_directory.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/sstable_mutation_reader.cc b/sstables/sstable_mutation_reader.cc index e56658c140..6811ba64d6 100644 --- a/sstables/sstable_mutation_reader.cc +++ b/sstables/sstable_mutation_reader.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "sstable_mutation_reader.hh" diff --git a/sstables/sstable_mutation_reader.hh b/sstables/sstable_mutation_reader.hh index 2e8c6cc561..9921b4bd80 100644 --- a/sstables/sstable_mutation_reader.hh +++ b/sstables/sstable_mutation_reader.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "mutation.hh" #include "sstables.hh" diff --git a/sstables/sstable_set.cc b/sstables/sstable_set.cc index 5f61168924..316cd66ecc 100644 --- a/sstables/sstable_set.cc +++ b/sstables/sstable_set.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/sstables/sstable_set.hh b/sstables/sstable_set.hh index bc965307c1..448c5c522b 100644 --- a/sstables/sstable_set.hh +++ b/sstables/sstable_set.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/sstable_set_impl.hh b/sstables/sstable_set_impl.hh index db1b658f6e..bf64bd65dc 100644 --- a/sstables/sstable_set_impl.hh +++ b/sstables/sstable_set_impl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/sstable_version.cc b/sstables/sstable_version.cc index 4e689fdd8e..3cca8216d7 100644 --- a/sstables/sstable_version.cc +++ b/sstables/sstable_version.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "sstable_version.hh" diff --git a/sstables/sstable_version.hh b/sstables/sstable_version.hh index 7bc2280973..a336d8c123 100644 --- a/sstables/sstable_version.hh +++ b/sstables/sstable_version.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/sstable_version_k_l.hh b/sstables/sstable_version_k_l.hh index 8ae28f1b46..b9dcb2503c 100644 --- a/sstables/sstable_version_k_l.hh +++ b/sstables/sstable_version_k_l.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/sstable_version_m.hh b/sstables/sstable_version_m.hh index 046bf583da..f4460fd0a7 100644 --- a/sstables/sstable_version_m.hh +++ b/sstables/sstable_version_m.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/sstable_writer.hh b/sstables/sstable_writer.hh index f3aca8c8b7..7ea6c9ee15 100644 --- a/sstables/sstable_writer.hh +++ b/sstables/sstable_writer.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/sstables.cc b/sstables/sstables.cc index 733118125d..997b9be755 100644 --- a/sstables/sstables.cc +++ b/sstables/sstables.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "log.hh" diff --git a/sstables/sstables.hh b/sstables/sstables.hh index 1a454479cc..257d3877ae 100644 --- a/sstables/sstables.hh +++ b/sstables/sstables.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/sstables_manager.cc b/sstables/sstables_manager.cc index bf202d7a95..dfbd6cbef3 100644 --- a/sstables/sstables_manager.cc +++ b/sstables/sstables_manager.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "log.hh" diff --git a/sstables/sstables_manager.hh b/sstables/sstables_manager.hh index 2fef8574a9..0de6d05fe3 100644 --- a/sstables/sstables_manager.hh +++ b/sstables/sstables_manager.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/stats.hh b/sstables/stats.hh index 270ee8e67d..737a7ffe40 100644 --- a/sstables/stats.hh +++ b/sstables/stats.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/types.hh b/sstables/types.hh index 26ffac2c99..0e02a93e41 100644 --- a/sstables/types.hh +++ b/sstables/types.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/version.hh b/sstables/version.hh index c6a39914fc..9ec05a6047 100644 --- a/sstables/version.hh +++ b/sstables/version.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/writer.cc b/sstables/writer.cc index e02363abf9..8ccafbd602 100644 --- a/sstables/writer.cc +++ b/sstables/writer.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "sstables.hh" diff --git a/sstables/writer.hh b/sstables/writer.hh index b38def8615..90a8b83229 100644 --- a/sstables/writer.hh +++ b/sstables/writer.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables/writer_impl.hh b/sstables/writer_impl.hh index f8a702c20f..d8ac8ab5e4 100644 --- a/sstables/writer_impl.hh +++ b/sstables/writer_impl.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/sstables_loader.cc b/sstables_loader.cc index db75ed0f01..90c82d389b 100644 --- a/sstables_loader.cc +++ b/sstables_loader.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/sstables_loader.hh b/sstables_loader.hh index 5b54fb7a4d..ffdc147fb1 100644 --- a/sstables_loader.hh +++ b/sstables_loader.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/streaming/consumer.cc b/streaming/consumer.cc index baabccdbe6..831432e518 100644 --- a/streaming/consumer.cc +++ b/streaming/consumer.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/streaming/consumer.hh b/streaming/consumer.hh index 9735971bbe..8178f59498 100644 --- a/streaming/consumer.hh +++ b/streaming/consumer.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "sstables/sstable_set.hh" diff --git a/streaming/prepare_message.hh b/streaming/prepare_message.hh index 7e9b51ee00..745c202eae 100644 --- a/streaming/prepare_message.hh +++ b/streaming/prepare_message.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/streaming/progress_info.cc b/streaming/progress_info.cc index 09aa450e12..0afe025113 100644 --- a/streaming/progress_info.cc +++ b/streaming/progress_info.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "streaming/progress_info.hh" diff --git a/streaming/progress_info.hh b/streaming/progress_info.hh index e07c198982..f6daeffffe 100644 --- a/streaming/progress_info.hh +++ b/streaming/progress_info.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/streaming/session_info.cc b/streaming/session_info.cc index 7baaa964bb..314ea15e1b 100644 --- a/streaming/session_info.cc +++ b/streaming/session_info.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "streaming/session_info.hh" diff --git a/streaming/session_info.hh b/streaming/session_info.hh index aef31fb0cd..cef0a5033e 100644 --- a/streaming/session_info.hh +++ b/streaming/session_info.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/streaming/stream_coordinator.cc b/streaming/stream_coordinator.cc index 803905b627..2388b98a67 100644 --- a/streaming/stream_coordinator.cc +++ b/streaming/stream_coordinator.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "streaming/stream_detail.hh" diff --git a/streaming/stream_coordinator.hh b/streaming/stream_coordinator.hh index 9c3b951682..cacf6280b6 100644 --- a/streaming/stream_coordinator.hh +++ b/streaming/stream_coordinator.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/streaming/stream_detail.hh b/streaming/stream_detail.hh index d496324f46..ffd8d4edd9 100644 --- a/streaming/stream_detail.hh +++ b/streaming/stream_detail.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/streaming/stream_event.hh b/streaming/stream_event.hh index bd05bd6914..e3e85b48fa 100644 --- a/streaming/stream_event.hh +++ b/streaming/stream_event.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/streaming/stream_event_handler.hh b/streaming/stream_event_handler.hh index 54db53aa89..f9dff1205c 100644 --- a/streaming/stream_event_handler.hh +++ b/streaming/stream_event_handler.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/streaming/stream_exception.hh b/streaming/stream_exception.hh index 59c3a1a405..2021480a64 100644 --- a/streaming/stream_exception.hh +++ b/streaming/stream_exception.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/streaming/stream_manager.cc b/streaming/stream_manager.cc index fafc5be0da..d04b0c4113 100644 --- a/streaming/stream_manager.cc +++ b/streaming/stream_manager.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/streaming/stream_manager.hh b/streaming/stream_manager.hh index 2c06aa1fe2..942efad795 100644 --- a/streaming/stream_manager.hh +++ b/streaming/stream_manager.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/streaming/stream_mutation_fragments_cmd.hh b/streaming/stream_mutation_fragments_cmd.hh index ad6f7f96a6..70dd7656b7 100644 --- a/streaming/stream_mutation_fragments_cmd.hh +++ b/streaming/stream_mutation_fragments_cmd.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/streaming/stream_plan.cc b/streaming/stream_plan.cc index 20c8b560e6..2d88f3af11 100644 --- a/streaming/stream_plan.cc +++ b/streaming/stream_plan.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "streaming/stream_plan.hh" diff --git a/streaming/stream_plan.hh b/streaming/stream_plan.hh index 98cd00f4fd..0024165999 100644 --- a/streaming/stream_plan.hh +++ b/streaming/stream_plan.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/streaming/stream_reason.cc b/streaming/stream_reason.cc index 4b68c4933e..aef043d7e3 100644 --- a/streaming/stream_reason.cc +++ b/streaming/stream_reason.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "streaming/stream_reason.hh" diff --git a/streaming/stream_reason.hh b/streaming/stream_reason.hh index c5a415f66a..122d7ef5f9 100644 --- a/streaming/stream_reason.hh +++ b/streaming/stream_reason.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/streaming/stream_receive_task.cc b/streaming/stream_receive_task.cc index b3d5a196c8..86d9e315fe 100644 --- a/streaming/stream_receive_task.cc +++ b/streaming/stream_receive_task.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "streaming/stream_session.hh" diff --git a/streaming/stream_receive_task.hh b/streaming/stream_receive_task.hh index 3313bf9104..d032c7dda0 100644 --- a/streaming/stream_receive_task.hh +++ b/streaming/stream_receive_task.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/streaming/stream_request.cc b/streaming/stream_request.cc index 8d32774aaa..825993c526 100644 --- a/streaming/stream_request.cc +++ b/streaming/stream_request.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "streaming/stream_request.hh" diff --git a/streaming/stream_request.hh b/streaming/stream_request.hh index 637a4f8aef..5ea9a923e9 100644 --- a/streaming/stream_request.hh +++ b/streaming/stream_request.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/streaming/stream_result_future.cc b/streaming/stream_result_future.cc index d7b64ea1a2..60a1ddbf72 100644 --- a/streaming/stream_result_future.cc +++ b/streaming/stream_result_future.cc @@ -1,38 +1,10 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "streaming/stream_result_future.hh" diff --git a/streaming/stream_result_future.hh b/streaming/stream_result_future.hh index 974d586c58..0e3c468c14 100644 --- a/streaming/stream_result_future.hh +++ b/streaming/stream_result_future.hh @@ -1,38 +1,10 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/streaming/stream_session.cc b/streaming/stream_session.cc index 3691a34a5a..e16c0fbbec 100644 --- a/streaming/stream_session.cc +++ b/streaming/stream_session.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "log.hh" diff --git a/streaming/stream_session.hh b/streaming/stream_session.hh index 57119c18c5..5ff343bc07 100644 --- a/streaming/stream_session.hh +++ b/streaming/stream_session.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/streaming/stream_session_state.cc b/streaming/stream_session_state.cc index 8fd28ee8f8..242c7b99d0 100644 --- a/streaming/stream_session_state.cc +++ b/streaming/stream_session_state.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "streaming/stream_session_state.hh" diff --git a/streaming/stream_session_state.hh b/streaming/stream_session_state.hh index d0d2a3e1e8..bc97d20d3b 100644 --- a/streaming/stream_session_state.hh +++ b/streaming/stream_session_state.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/streaming/stream_state.hh b/streaming/stream_state.hh index 3ec97d717d..55207f4854 100644 --- a/streaming/stream_state.hh +++ b/streaming/stream_state.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/streaming/stream_summary.cc b/streaming/stream_summary.cc index a1c6d8d994..e12926855c 100644 --- a/streaming/stream_summary.cc +++ b/streaming/stream_summary.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "streaming/stream_summary.hh" diff --git a/streaming/stream_summary.hh b/streaming/stream_summary.hh index 98a21b9782..1496cbc93f 100644 --- a/streaming/stream_summary.hh +++ b/streaming/stream_summary.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/streaming/stream_task.cc b/streaming/stream_task.cc index 91842dacbe..b98860e38a 100644 --- a/streaming/stream_task.cc +++ b/streaming/stream_task.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "streaming/stream_task.hh" diff --git a/streaming/stream_task.hh b/streaming/stream_task.hh index 0286ace040..37d0eb0ca2 100644 --- a/streaming/stream_task.hh +++ b/streaming/stream_task.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/streaming/stream_transfer_task.cc b/streaming/stream_transfer_task.cc index c75e9f9112..558f741cd6 100644 --- a/streaming/stream_transfer_task.cc +++ b/streaming/stream_transfer_task.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "log.hh" diff --git a/streaming/stream_transfer_task.hh b/streaming/stream_transfer_task.hh index be2e83a72c..ccb5136794 100644 --- a/streaming/stream_transfer_task.hh +++ b/streaming/stream_transfer_task.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/supervisor.hh b/supervisor.hh index 7fa61584c0..42e067f48e 100644 --- a/supervisor.hh +++ b/supervisor.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/table_helper.cc b/table_helper.cc index af8f480aec..feb5401787 100644 --- a/table_helper.cc +++ b/table_helper.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/table_helper.hh b/table_helper.hh index 978c39e1c2..5106c29daa 100644 --- a/table_helper.hh +++ b/table_helper.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test.py b/test.py index c254ac98a9..1be4210945 100755 --- a/test.py +++ b/test.py @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # from abc import ABC, abstractmethod import argparse diff --git a/test/alternator/conftest.py b/test/alternator/conftest.py index 7b89f42d76..7fed2b91fe 100644 --- a/test/alternator/conftest.py +++ b/test/alternator/conftest.py @@ -1,19 +1,6 @@ # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # This file contains "test fixtures", a pytest concept described in # https://docs.pytest.org/en/latest/fixture.html. diff --git a/test/alternator/test_authorization.py b/test/alternator/test_authorization.py index 7ca81054e5..a9da26b255 100644 --- a/test/alternator/test_authorization.py +++ b/test/alternator/test_authorization.py @@ -1,19 +1,6 @@ # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for authorization diff --git a/test/alternator/test_batch.py b/test/alternator/test_batch.py index 51cfdcfb1a..f67122541a 100644 --- a/test/alternator/test_batch.py +++ b/test/alternator/test_batch.py @@ -1,19 +1,6 @@ # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for batch operations - BatchWriteItem, BatchReadItem. # Note that various other tests in other files also use these operations, diff --git a/test/alternator/test_condition_expression.py b/test/alternator/test_condition_expression.py index 43a9cfbbb1..b7a26e079a 100644 --- a/test/alternator/test_condition_expression.py +++ b/test/alternator/test_condition_expression.py @@ -1,19 +1,6 @@ # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for the ConditionExpression parameter which makes certain operations # (PutItem, UpdateItem and DeleteItem) conditional on the existing attribute diff --git a/test/alternator/test_cors.py b/test/alternator/test_cors.py index 0f27439a35..a445d07096 100644 --- a/test/alternator/test_cors.py +++ b/test/alternator/test_cors.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for CORS (Cross-origin resource sharing) protocol support. # If the request has the "Origin" header specifying where the script which diff --git a/test/alternator/test_describe_endpoints.py b/test/alternator/test_describe_endpoints.py index 2b42a32d1a..7b1be83db3 100644 --- a/test/alternator/test_describe_endpoints.py +++ b/test/alternator/test_describe_endpoints.py @@ -1,19 +1,6 @@ # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Test for the DescribeEndpoints operation diff --git a/test/alternator/test_describe_table.py b/test/alternator/test_describe_table.py index 22cc47a166..0284fdd8b2 100644 --- a/test/alternator/test_describe_table.py +++ b/test/alternator/test_describe_table.py @@ -1,19 +1,6 @@ # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for the DescribeTable operation. # Some attributes used only by a specific major feature will be tested diff --git a/test/alternator/test_expected.py b/test/alternator/test_expected.py index 9ff4d2599e..e6547a088f 100644 --- a/test/alternator/test_expected.py +++ b/test/alternator/test_expected.py @@ -1,19 +1,6 @@ # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for the "Expected" parameter used to make certain operations (PutItem, # UpdateItem and DeleteItem) conditional on the existing attribute values. diff --git a/test/alternator/test_filter_expression.py b/test/alternator/test_filter_expression.py index d0631aae58..3976de2868 100644 --- a/test/alternator/test_filter_expression.py +++ b/test/alternator/test_filter_expression.py @@ -1,19 +1,6 @@ # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for the FilterExpression parameter of the Query and Scan operations. # FilterExpression is a newer version of the older "QueryFilter" and diff --git a/test/alternator/test_gsi.py b/test/alternator/test_gsi.py index d1a8169e9a..cfdfbdd8de 100644 --- a/test/alternator/test_gsi.py +++ b/test/alternator/test_gsi.py @@ -1,19 +1,6 @@ # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests of GSI (Global Secondary Indexes) # diff --git a/test/alternator/test_health.py b/test/alternator/test_health.py index 7a53f038b0..6606b490e5 100644 --- a/test/alternator/test_health.py +++ b/test/alternator/test_health.py @@ -1,19 +1,6 @@ # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for the health check diff --git a/test/alternator/test_item.py b/test/alternator/test_item.py index ef60f8bcb8..d3b007bc31 100644 --- a/test/alternator/test_item.py +++ b/test/alternator/test_item.py @@ -1,19 +1,6 @@ # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for the CRUD item operations: PutItem, GetItem, UpdateItem, DeleteItem diff --git a/test/alternator/test_key_condition_expression.py b/test/alternator/test_key_condition_expression.py index c168349110..a00145209e 100644 --- a/test/alternator/test_key_condition_expression.py +++ b/test/alternator/test_key_condition_expression.py @@ -1,19 +1,6 @@ # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for the KeyConditionExpression parameter of the Query operation. # KeyConditionExpression is a newer version of the older "KeyConditions" diff --git a/test/alternator/test_key_conditions.py b/test/alternator/test_key_conditions.py index ff9c8ffffe..357185c31e 100644 --- a/test/alternator/test_key_conditions.py +++ b/test/alternator/test_key_conditions.py @@ -1,20 +1,7 @@ # -*- coding: utf-8 -*- # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for the KeyConditions parameter of the Query operation. # KeyConditions is the older version of the newer "KeyConditionExpression" diff --git a/test/alternator/test_limits.py b/test/alternator/test_limits.py index 946724d9fe..3cda912aa4 100644 --- a/test/alternator/test_limits.py +++ b/test/alternator/test_limits.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Tests for various limits, which did not fit naturally into other test files diff --git a/test/alternator/test_lsi.py b/test/alternator/test_lsi.py index 642350de75..e1e1b191cd 100644 --- a/test/alternator/test_lsi.py +++ b/test/alternator/test_lsi.py @@ -1,19 +1,6 @@ # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests of LSI (Local Secondary Indexes) # diff --git a/test/alternator/test_manual_requests.py b/test/alternator/test_manual_requests.py index e6f3115af4..88b060e75b 100644 --- a/test/alternator/test_manual_requests.py +++ b/test/alternator/test_manual_requests.py @@ -1,19 +1,6 @@ # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for manual requests - not necessarily generated # by boto3, in order to allow non-validated input to get through diff --git a/test/alternator/test_metrics.py b/test/alternator/test_metrics.py index 5183005e12..81372489e6 100644 --- a/test/alternator/test_metrics.py +++ b/test/alternator/test_metrics.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################## # Tests for Scylla's metrics (see docs/design-notes/metrics.md) for Alternator diff --git a/test/alternator/test_nested.py b/test/alternator/test_nested.py index fd8769c2f7..5cb0495cc9 100644 --- a/test/alternator/test_nested.py +++ b/test/alternator/test_nested.py @@ -1,19 +1,6 @@ # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Test for operations on items with *nested* attributes. diff --git a/test/alternator/test_number.py b/test/alternator/test_number.py index d41e2e4085..e0c9967412 100644 --- a/test/alternator/test_number.py +++ b/test/alternator/test_number.py @@ -1,19 +1,6 @@ # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for the number type. Numbers in DynamoDB have an unusual definition - # they are a floating-point type with 38 decimal digits of precision and diff --git a/test/alternator/test_projection_expression.py b/test/alternator/test_projection_expression.py index a00f4295ac..d2944c6349 100644 --- a/test/alternator/test_projection_expression.py +++ b/test/alternator/test_projection_expression.py @@ -1,19 +1,6 @@ # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for the various operations (GetItem, Query, Scan) with a # ProjectionExpression parameter. diff --git a/test/alternator/test_query.py b/test/alternator/test_query.py index 9514de8d50..a2e369a755 100644 --- a/test/alternator/test_query.py +++ b/test/alternator/test_query.py @@ -1,20 +1,7 @@ # -*- coding: utf-8 -*- # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for the Query operation # Some of the Query features are tested in separate files: diff --git a/test/alternator/test_query_filter.py b/test/alternator/test_query_filter.py index 14d5839407..4b820eb673 100644 --- a/test/alternator/test_query_filter.py +++ b/test/alternator/test_query_filter.py @@ -1,19 +1,6 @@ # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for the QueryFilter parameter of the Query operation. # QueryFilter is the older version of the newer FilterExpression syntax, diff --git a/test/alternator/test_returnvalues.py b/test/alternator/test_returnvalues.py index 8675a9d89d..841a05973e 100644 --- a/test/alternator/test_returnvalues.py +++ b/test/alternator/test_returnvalues.py @@ -1,19 +1,6 @@ # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for the ReturnValues parameter for the different update operations # (PutItem, UpdateItem, DeleteItem). diff --git a/test/alternator/test_scan.py b/test/alternator/test_scan.py index 1e328996fc..5e97ef624a 100644 --- a/test/alternator/test_scan.py +++ b/test/alternator/test_scan.py @@ -1,19 +1,6 @@ # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for the Scan operation diff --git a/test/alternator/test_scylla.py b/test/alternator/test_scylla.py index 3642336cd7..5abdf7ea4d 100644 --- a/test/alternator/test_scylla.py +++ b/test/alternator/test_scylla.py @@ -1,19 +1,6 @@ # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # This file contains tests which check Scylla-specific features that do # not exist on AWS. So all these tests are skipped when running with "--aws". diff --git a/test/alternator/test_streams.py b/test/alternator/test_streams.py index 8110f626f0..4e85a70d95 100644 --- a/test/alternator/test_streams.py +++ b/test/alternator/test_streams.py @@ -1,19 +1,6 @@ # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for stream operations: ListStreams, DescribeStream, GetShardIterator, # GetRecords. diff --git a/test/alternator/test_system_tables.py b/test/alternator/test_system_tables.py index 8a8e989030..a9041cde4d 100644 --- a/test/alternator/test_system_tables.py +++ b/test/alternator/test_system_tables.py @@ -1,19 +1,6 @@ # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for accessing alternator-only system tables (from Scylla). diff --git a/test/alternator/test_table.py b/test/alternator/test_table.py index 937f4f0192..6c65144dfd 100644 --- a/test/alternator/test_table.py +++ b/test/alternator/test_table.py @@ -1,19 +1,6 @@ # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for basic table operations: CreateTable, DeleteTable, ListTables. # Also some basic tests for UpdateTable - although UpdateTable usually diff --git a/test/alternator/test_tag.py b/test/alternator/test_tag.py index 2664dcead1..4eb5eb601d 100644 --- a/test/alternator/test_tag.py +++ b/test/alternator/test_tag.py @@ -1,20 +1,7 @@ # -*- coding: utf-8 -*- # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for Tagging: # 1. TagResource - tagging a table with a (key, value) pair diff --git a/test/alternator/test_tracing.py b/test/alternator/test_tracing.py index c362fe9b31..800af6f054 100644 --- a/test/alternator/test_tracing.py +++ b/test/alternator/test_tracing.py @@ -1,19 +1,6 @@ # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################## # Tests for Scylla's "tracing" feature (see docs/tracing.md) for Alternator diff --git a/test/alternator/test_ttl.py b/test/alternator/test_ttl.py index 79b76f961c..dadb46f880 100644 --- a/test/alternator/test_ttl.py +++ b/test/alternator/test_ttl.py @@ -1,19 +1,6 @@ # Copyright 2021 ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for the Time To Live (TTL) feature for item expiration. diff --git a/test/alternator/test_update_expression.py b/test/alternator/test_update_expression.py index 233aa48375..6ec78c1668 100644 --- a/test/alternator/test_update_expression.py +++ b/test/alternator/test_update_expression.py @@ -1,19 +1,6 @@ # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for the UpdateItem operations with an UpdateExpression parameter diff --git a/test/alternator/util.py b/test/alternator/util.py index 690eb6930d..79f622082c 100644 --- a/test/alternator/util.py +++ b/test/alternator/util.py @@ -1,19 +1,6 @@ # Copyright 2019-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Various utility functions which are useful for multiple tests diff --git a/test/boost/UUID_test.cc b/test/boost/UUID_test.cc index 1b0d12f6da..16c6f8512d 100644 --- a/test/boost/UUID_test.cc +++ b/test/boost/UUID_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/aggregate_fcts_test.cc b/test/boost/aggregate_fcts_test.cc index 3466484098..b84b41e9e9 100644 --- a/test/boost/aggregate_fcts_test.cc +++ b/test/boost/aggregate_fcts_test.cc @@ -5,19 +5,7 @@ /* * This file is part of Scylla. * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/allocation_strategy_test.cc b/test/boost/allocation_strategy_test.cc index fe5b62c92b..e8c0186a17 100644 --- a/test/boost/allocation_strategy_test.cc +++ b/test/boost/allocation_strategy_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/alternator_unit_test.cc b/test/boost/alternator_unit_test.cc index d766988853..9d69254c94 100644 --- a/test/boost/alternator_unit_test.cc +++ b/test/boost/alternator_unit_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE alternator diff --git a/test/boost/anchorless_list_test.cc b/test/boost/anchorless_list_test.cc index 3bebc771bf..fb0de24905 100644 --- a/test/boost/anchorless_list_test.cc +++ b/test/boost/anchorless_list_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/auth_passwords_test.cc b/test/boost/auth_passwords_test.cc index fe6e1d0f22..efc0aa7f1a 100644 --- a/test/boost/auth_passwords_test.cc +++ b/test/boost/auth_passwords_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/auth_resource_test.cc b/test/boost/auth_resource_test.cc index a3f05a647d..6cd620e042 100644 --- a/test/boost/auth_resource_test.cc +++ b/test/boost/auth_resource_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/auth_test.cc b/test/boost/auth_test.cc index 2fc4079e53..362e3d9d26 100644 --- a/test/boost/auth_test.cc +++ b/test/boost/auth_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/batchlog_manager_test.cc b/test/boost/batchlog_manager_test.cc index a4b2372826..ee667ff843 100644 --- a/test/boost/batchlog_manager_test.cc +++ b/test/boost/batchlog_manager_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/big_decimal_test.cc b/test/boost/big_decimal_test.cc index 9faa921eb0..f319207b23 100644 --- a/test/boost/big_decimal_test.cc +++ b/test/boost/big_decimal_test.cc @@ -5,19 +5,7 @@ /* * This file is part of Scylla. * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE big_decimal diff --git a/test/boost/bptree_test.cc b/test/boost/bptree_test.cc index 14372afb5c..2a3f30b1e1 100644 --- a/test/boost/bptree_test.cc +++ b/test/boost/bptree_test.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE bptree diff --git a/test/boost/broken_sstable_test.cc b/test/boost/broken_sstable_test.cc index a6c9589c1a..19105b95f6 100644 --- a/test/boost/broken_sstable_test.cc +++ b/test/boost/broken_sstable_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/btree_test.cc b/test/boost/btree_test.cc index b837fbb887..546b5f92e9 100644 --- a/test/boost/btree_test.cc +++ b/test/boost/btree_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/bytes_ostream_test.cc b/test/boost/bytes_ostream_test.cc index 61755d8196..5fb576802b 100644 --- a/test/boost/bytes_ostream_test.cc +++ b/test/boost/bytes_ostream_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/cache_flat_mutation_reader_test.cc b/test/boost/cache_flat_mutation_reader_test.cc index da617a31a2..aca7bbcffe 100644 --- a/test/boost/cache_flat_mutation_reader_test.cc +++ b/test/boost/cache_flat_mutation_reader_test.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/cached_file_test.cc b/test/boost/cached_file_test.cc index 61514339ac..4011de3ede 100644 --- a/test/boost/cached_file_test.cc +++ b/test/boost/cached_file_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/caching_options_test.cc b/test/boost/caching_options_test.cc index a2713e84a6..e2b8484c2a 100644 --- a/test/boost/caching_options_test.cc +++ b/test/boost/caching_options_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/canonical_mutation_test.cc b/test/boost/canonical_mutation_test.cc index 1f12025b62..404c5c5ece 100644 --- a/test/boost/canonical_mutation_test.cc +++ b/test/boost/canonical_mutation_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/cartesian_product_test.cc b/test/boost/cartesian_product_test.cc index 900574c5f7..bb57bc2741 100644 --- a/test/boost/cartesian_product_test.cc +++ b/test/boost/cartesian_product_test.cc @@ -20,20 +20,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/castas_fcts_test.cc b/test/boost/castas_fcts_test.cc index f259ce0e6b..b59c64f252 100644 --- a/test/boost/castas_fcts_test.cc +++ b/test/boost/castas_fcts_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/cdc_generation_test.cc b/test/boost/cdc_generation_test.cc index 0f28b4da82..d7abc7eb2b 100644 --- a/test/boost/cdc_generation_test.cc +++ b/test/boost/cdc_generation_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/cdc_test.cc b/test/boost/cdc_test.cc index db9dd494b8..297d0ac305 100644 --- a/test/boost/cdc_test.cc +++ b/test/boost/cdc_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/cell_locker_test.cc b/test/boost/cell_locker_test.cc index b1a1fde764..e58dd44b46 100644 --- a/test/boost/cell_locker_test.cc +++ b/test/boost/cell_locker_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/checksum_utils_test.cc b/test/boost/checksum_utils_test.cc index 40d0a9b894..dc1f9315d4 100644 --- a/test/boost/checksum_utils_test.cc +++ b/test/boost/checksum_utils_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/chunked_managed_vector_test.cc b/test/boost/chunked_managed_vector_test.cc index 0d4960e762..22415c1632 100644 --- a/test/boost/chunked_managed_vector_test.cc +++ b/test/boost/chunked_managed_vector_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/chunked_vector_test.cc b/test/boost/chunked_vector_test.cc index 394582c661..ead989fb02 100644 --- a/test/boost/chunked_vector_test.cc +++ b/test/boost/chunked_vector_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/clustering_ranges_walker_test.cc b/test/boost/clustering_ranges_walker_test.cc index 91b84ef71b..74ace880a0 100644 --- a/test/boost/clustering_ranges_walker_test.cc +++ b/test/boost/clustering_ranges_walker_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/column_mapping_test.cc b/test/boost/column_mapping_test.cc index b6b9f12982..6490970b7e 100644 --- a/test/boost/column_mapping_test.cc +++ b/test/boost/column_mapping_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/commitlog_test.cc b/test/boost/commitlog_test.cc index 83487af12e..e00b11df43 100644 --- a/test/boost/commitlog_test.cc +++ b/test/boost/commitlog_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/compound_test.cc b/test/boost/compound_test.cc index 5eee0637ef..59e14f586f 100644 --- a/test/boost/compound_test.cc +++ b/test/boost/compound_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/compress_test.cc b/test/boost/compress_test.cc index 691416c027..ad8c4d65c6 100644 --- a/test/boost/compress_test.cc +++ b/test/boost/compress_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/config_test.cc b/test/boost/config_test.cc index 2f9d4e706a..14ec2ee8a6 100644 --- a/test/boost/config_test.cc +++ b/test/boost/config_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/continuous_data_consumer_test.cc b/test/boost/continuous_data_consumer_test.cc index fcb7420700..632459e5e7 100644 --- a/test/boost/continuous_data_consumer_test.cc +++ b/test/boost/continuous_data_consumer_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "vint-serialization.hh" diff --git a/test/boost/counter_test.cc b/test/boost/counter_test.cc index 517ab33b40..8333f7cf4d 100644 --- a/test/boost/counter_test.cc +++ b/test/boost/counter_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "counters.hh" diff --git a/test/boost/cql_auth_query_test.cc b/test/boost/cql_auth_query_test.cc index 87eab488a0..1bf47df0a0 100644 --- a/test/boost/cql_auth_query_test.cc +++ b/test/boost/cql_auth_query_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/cql_auth_syntax_test.cc b/test/boost/cql_auth_syntax_test.cc index 26b45f9749..8f570dd649 100644 --- a/test/boost/cql_auth_syntax_test.cc +++ b/test/boost/cql_auth_syntax_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/cql_functions_test.cc b/test/boost/cql_functions_test.cc index bf12f90b5e..68501963b3 100644 --- a/test/boost/cql_functions_test.cc +++ b/test/boost/cql_functions_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/cql_query_group_test.cc b/test/boost/cql_query_group_test.cc index 286c0fb8fb..6c57d17ba2 100644 --- a/test/boost/cql_query_group_test.cc +++ b/test/boost/cql_query_group_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/cql_query_large_test.cc b/test/boost/cql_query_large_test.cc index eba9b868cd..4c892e9fa2 100644 --- a/test/boost/cql_query_large_test.cc +++ b/test/boost/cql_query_large_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/cql_query_like_test.cc b/test/boost/cql_query_like_test.cc index 88144b490c..9b113e613c 100644 --- a/test/boost/cql_query_like_test.cc +++ b/test/boost/cql_query_like_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/cql_query_test.cc b/test/boost/cql_query_test.cc index 1f55c83dc8..892029fb00 100644 --- a/test/boost/cql_query_test.cc +++ b/test/boost/cql_query_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/crc_test.cc b/test/boost/crc_test.cc index 1c0a47e9d8..e8f28aa5e4 100644 --- a/test/boost/crc_test.cc +++ b/test/boost/crc_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/data_listeners_test.cc b/test/boost/data_listeners_test.cc index 68941e0a80..3b008a70d4 100644 --- a/test/boost/data_listeners_test.cc +++ b/test/boost/data_listeners_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/database_test.cc b/test/boost/database_test.cc index cc85a6215a..dfde91af79 100644 --- a/test/boost/database_test.cc +++ b/test/boost/database_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/double_decker_test.cc b/test/boost/double_decker_test.cc index dff47c5b12..d06f3ef4d1 100644 --- a/test/boost/double_decker_test.cc +++ b/test/boost/double_decker_test.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/duration_test.cc b/test/boost/duration_test.cc index ee154dcc5e..5b284dd9a1 100644 --- a/test/boost/duration_test.cc +++ b/test/boost/duration_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/dynamic_bitset_test.cc b/test/boost/dynamic_bitset_test.cc index cd0dcf21fe..1c690a7a72 100644 --- a/test/boost/dynamic_bitset_test.cc +++ b/test/boost/dynamic_bitset_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/enum_option_test.cc b/test/boost/enum_option_test.cc index c55e35876e..55974e59a5 100644 --- a/test/boost/enum_option_test.cc +++ b/test/boost/enum_option_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/enum_set_test.cc b/test/boost/enum_set_test.cc index 532b64c5af..071b9eafe2 100644 --- a/test/boost/enum_set_test.cc +++ b/test/boost/enum_set_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/error_injection_test.cc b/test/boost/error_injection_test.cc index fe0c6db4d6..a83adb4ce7 100644 --- a/test/boost/error_injection_test.cc +++ b/test/boost/error_injection_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "test/lib/cql_test_env.hh" diff --git a/test/boost/estimated_histogram_test.cc b/test/boost/estimated_histogram_test.cc index 5f321c1721..09582c54cc 100644 --- a/test/boost/estimated_histogram_test.cc +++ b/test/boost/estimated_histogram_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/extensions_test.cc b/test/boost/extensions_test.cc index d219e33b52..e221a00c86 100644 --- a/test/boost/extensions_test.cc +++ b/test/boost/extensions_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/filtering_test.cc b/test/boost/filtering_test.cc index 0c32b64bfc..c26c400280 100644 --- a/test/boost/filtering_test.cc +++ b/test/boost/filtering_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/flat_mutation_reader_test.cc b/test/boost/flat_mutation_reader_test.cc index ed83ce05b3..208f05e44f 100644 --- a/test/boost/flat_mutation_reader_test.cc +++ b/test/boost/flat_mutation_reader_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/flush_queue_test.cc b/test/boost/flush_queue_test.cc index 70f10f212d..004910dd4c 100644 --- a/test/boost/flush_queue_test.cc +++ b/test/boost/flush_queue_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/fragmented_temporary_buffer_test.cc b/test/boost/fragmented_temporary_buffer_test.cc index 654be897fe..b01779e7d8 100644 --- a/test/boost/fragmented_temporary_buffer_test.cc +++ b/test/boost/fragmented_temporary_buffer_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/frozen_mutation_test.cc b/test/boost/frozen_mutation_test.cc index a86068b175..7e3c7360d6 100644 --- a/test/boost/frozen_mutation_test.cc +++ b/test/boost/frozen_mutation_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/gossiping_property_file_snitch_test.cc b/test/boost/gossiping_property_file_snitch_test.cc index 1681388a31..752f3acee8 100644 --- a/test/boost/gossiping_property_file_snitch_test.cc +++ b/test/boost/gossiping_property_file_snitch_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/hash_test.cc b/test/boost/hash_test.cc index 2391908440..2b74250bff 100644 --- a/test/boost/hash_test.cc +++ b/test/boost/hash_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/hashers_test.cc b/test/boost/hashers_test.cc index d8e5249686..cb19d32775 100644 --- a/test/boost/hashers_test.cc +++ b/test/boost/hashers_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "db/timeout_clock.hh" diff --git a/test/boost/hint_test.cc b/test/boost/hint_test.cc index 3e3c123c51..61d9f1512b 100644 --- a/test/boost/hint_test.cc +++ b/test/boost/hint_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/idl_test.cc b/test/boost/idl_test.cc index cae3ba2630..26a14937f2 100644 --- a/test/boost/idl_test.cc +++ b/test/boost/idl_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/index_with_paging_test.cc b/test/boost/index_with_paging_test.cc index 6a9e080547..dfb098443f 100644 --- a/test/boost/index_with_paging_test.cc +++ b/test/boost/index_with_paging_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/input_stream_test.cc b/test/boost/input_stream_test.cc index 64aa82f3c5..8700afd306 100644 --- a/test/boost/input_stream_test.cc +++ b/test/boost/input_stream_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/intrusive_array_test.cc b/test/boost/intrusive_array_test.cc index 26de71bda6..1e9a4bff95 100644 --- a/test/boost/intrusive_array_test.cc +++ b/test/boost/intrusive_array_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/json_cql_query_test.cc b/test/boost/json_cql_query_test.cc index 782e3b72ef..59b7f43646 100644 --- a/test/boost/json_cql_query_test.cc +++ b/test/boost/json_cql_query_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/json_test.cc b/test/boost/json_test.cc index 37790ebfac..d4aa094a3e 100644 --- a/test/boost/json_test.cc +++ b/test/boost/json_test.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE json diff --git a/test/boost/keys_test.cc b/test/boost/keys_test.cc index 6c835a9530..295dbfea42 100644 --- a/test/boost/keys_test.cc +++ b/test/boost/keys_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/large_paging_state_test.cc b/test/boost/large_paging_state_test.cc index e430fe2ae2..b953a109f7 100644 --- a/test/boost/large_paging_state_test.cc +++ b/test/boost/large_paging_state_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/like_matcher_test.cc b/test/boost/like_matcher_test.cc index 8fa67f31fd..448af2eb23 100644 --- a/test/boost/like_matcher_test.cc +++ b/test/boost/like_matcher_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/limiting_data_source_test.cc b/test/boost/limiting_data_source_test.cc index ad534de619..264288d5ff 100644 --- a/test/boost/limiting_data_source_test.cc +++ b/test/boost/limiting_data_source_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "utils/limiting_data_source.hh" diff --git a/test/boost/linearizing_input_stream_test.cc b/test/boost/linearizing_input_stream_test.cc index aecaf419ef..6e9218ba52 100644 --- a/test/boost/linearizing_input_stream_test.cc +++ b/test/boost/linearizing_input_stream_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/lister_test.cc b/test/boost/lister_test.cc index d73ab1deec..1fa0a96c2e 100644 --- a/test/boost/lister_test.cc +++ b/test/boost/lister_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/loading_cache_test.cc b/test/boost/loading_cache_test.cc index 4a89641701..8efaeb5efe 100644 --- a/test/boost/loading_cache_test.cc +++ b/test/boost/loading_cache_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/log_heap_test.cc b/test/boost/log_heap_test.cc index a6ea690cf7..1deda2be77 100644 --- a/test/boost/log_heap_test.cc +++ b/test/boost/log_heap_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/logalloc_test.cc b/test/boost/logalloc_test.cc index fac5f478be..8461c05599 100644 --- a/test/boost/logalloc_test.cc +++ b/test/boost/logalloc_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/managed_bytes_test.cc b/test/boost/managed_bytes_test.cc index 796f003e82..361d3777c8 100644 --- a/test/boost/managed_bytes_test.cc +++ b/test/boost/managed_bytes_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/managed_vector_test.cc b/test/boost/managed_vector_test.cc index 00ffcb0232..3d278c3019 100644 --- a/test/boost/managed_vector_test.cc +++ b/test/boost/managed_vector_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/map_difference_test.cc b/test/boost/map_difference_test.cc index 27a2fc0eb7..1b4858f6c7 100644 --- a/test/boost/map_difference_test.cc +++ b/test/boost/map_difference_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/memtable_test.cc b/test/boost/memtable_test.cc index 35489d706f..eac4b554e3 100644 --- a/test/boost/memtable_test.cc +++ b/test/boost/memtable_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/multishard_combining_reader_as_mutation_source_test.cc b/test/boost/multishard_combining_reader_as_mutation_source_test.cc index 39ecc389a1..a9f8df4f7e 100644 --- a/test/boost/multishard_combining_reader_as_mutation_source_test.cc +++ b/test/boost/multishard_combining_reader_as_mutation_source_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/multishard_mutation_query_test.cc b/test/boost/multishard_mutation_query_test.cc index 2c40e0ac8e..ab22ed6563 100644 --- a/test/boost/multishard_mutation_query_test.cc +++ b/test/boost/multishard_mutation_query_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "multishard_mutation_query.hh" diff --git a/test/boost/murmur_hash_test.cc b/test/boost/murmur_hash_test.cc index 1dd7ad5d52..689c7a973e 100644 --- a/test/boost/murmur_hash_test.cc +++ b/test/boost/murmur_hash_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/mutation_fragment_test.cc b/test/boost/mutation_fragment_test.cc index 4b14532ccd..0b7ba73c87 100644 --- a/test/boost/mutation_fragment_test.cc +++ b/test/boost/mutation_fragment_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/mutation_query_test.cc b/test/boost/mutation_query_test.cc index 90bfb3395f..85dee52733 100644 --- a/test/boost/mutation_query_test.cc +++ b/test/boost/mutation_query_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/mutation_reader_test.cc b/test/boost/mutation_reader_test.cc index 8e267e22df..db029e40ea 100644 --- a/test/boost/mutation_reader_test.cc +++ b/test/boost/mutation_reader_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/mutation_test.cc b/test/boost/mutation_test.cc index a4bdbc1220..da6b068c92 100644 --- a/test/boost/mutation_test.cc +++ b/test/boost/mutation_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/mutation_writer_test.cc b/test/boost/mutation_writer_test.cc index 1fb253c5ad..c466ebc4b2 100644 --- a/test/boost/mutation_writer_test.cc +++ b/test/boost/mutation_writer_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/mvcc_test.cc b/test/boost/mvcc_test.cc index 3937e205b8..0ec28b083f 100644 --- a/test/boost/mvcc_test.cc +++ b/test/boost/mvcc_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/network_topology_strategy_test.cc b/test/boost/network_topology_strategy_test.cc index fc6480a91a..415755b4c6 100644 --- a/test/boost/network_topology_strategy_test.cc +++ b/test/boost/network_topology_strategy_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/nonwrapping_range_test.cc b/test/boost/nonwrapping_range_test.cc index b445e7f969..6c79abace1 100644 --- a/test/boost/nonwrapping_range_test.cc +++ b/test/boost/nonwrapping_range_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/observable_test.cc b/test/boost/observable_test.cc index a5430f7ff5..3bf8867071 100644 --- a/test/boost/observable_test.cc +++ b/test/boost/observable_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE observable_test diff --git a/test/boost/partitioner_test.cc b/test/boost/partitioner_test.cc index 10cf44016b..52f78d8288 100644 --- a/test/boost/partitioner_test.cc +++ b/test/boost/partitioner_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/querier_cache_test.cc b/test/boost/querier_cache_test.cc index d9166587c3..3dce71cac1 100644 --- a/test/boost/querier_cache_test.cc +++ b/test/boost/querier_cache_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "querier.hh" diff --git a/test/boost/query_processor_test.cc b/test/boost/query_processor_test.cc index 38eb0b5ee1..3076219704 100644 --- a/test/boost/query_processor_test.cc +++ b/test/boost/query_processor_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/radix_tree_test.cc b/test/boost/radix_tree_test.cc index b3ca93c1c0..065d16184d 100644 --- a/test/boost/radix_tree_test.cc +++ b/test/boost/radix_tree_test.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/range_assert.hh b/test/boost/range_assert.hh index 4e53aae63c..4fc6f2da00 100644 --- a/test/boost/range_assert.hh +++ b/test/boost/range_assert.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/boost/range_test.cc b/test/boost/range_test.cc index 1213900db3..cedf56c212 100644 --- a/test/boost/range_test.cc +++ b/test/boost/range_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/range_tombstone_list_assertions.hh b/test/boost/range_tombstone_list_assertions.hh index 2588904291..c911899046 100644 --- a/test/boost/range_tombstone_list_assertions.hh +++ b/test/boost/range_tombstone_list_assertions.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/boost/range_tombstone_list_test.cc b/test/boost/range_tombstone_list_test.cc index 4a663c28db..28e97af350 100644 --- a/test/boost/range_tombstone_list_test.cc +++ b/test/boost/range_tombstone_list_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/reader_concurrency_semaphore_test.cc b/test/boost/reader_concurrency_semaphore_test.cc index e939da4bcb..ff71112850 100644 --- a/test/boost/reader_concurrency_semaphore_test.cc +++ b/test/boost/reader_concurrency_semaphore_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "reader_concurrency_semaphore.hh" diff --git a/test/boost/restrictions_test.cc b/test/boost/restrictions_test.cc index 31ca790016..1d2854631b 100644 --- a/test/boost/restrictions_test.cc +++ b/test/boost/restrictions_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/reusable_buffer_test.cc b/test/boost/reusable_buffer_test.cc index 95d5888614..d728b0af88 100644 --- a/test/boost/reusable_buffer_test.cc +++ b/test/boost/reusable_buffer_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE reusable_buffer diff --git a/test/boost/role_manager_test.cc b/test/boost/role_manager_test.cc index 86e6932eb6..792929879d 100644 --- a/test/boost/role_manager_test.cc +++ b/test/boost/role_manager_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "auth/standard_role_manager.hh" diff --git a/test/boost/row_cache_test.cc b/test/boost/row_cache_test.cc index 8188fc843a..717b11cc2e 100644 --- a/test/boost/row_cache_test.cc +++ b/test/boost/row_cache_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/schema_change_test.cc b/test/boost/schema_change_test.cc index 0a15430674..dee093df20 100644 --- a/test/boost/schema_change_test.cc +++ b/test/boost/schema_change_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/schema_changes_test.cc b/test/boost/schema_changes_test.cc index 86b7ba108f..312c7dc201 100644 --- a/test/boost/schema_changes_test.cc +++ b/test/boost/schema_changes_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/schema_loader_test.cc b/test/boost/schema_loader_test.cc index 88d716f7af..5dc3e5bb34 100644 --- a/test/boost/schema_loader_test.cc +++ b/test/boost/schema_loader_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/schema_registry_test.cc b/test/boost/schema_registry_test.cc index 5e537a3d93..55a1283806 100644 --- a/test/boost/schema_registry_test.cc +++ b/test/boost/schema_registry_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/secondary_index_test.cc b/test/boost/secondary_index_test.cc index ae1bcce5bc..0d6b0def32 100644 --- a/test/boost/secondary_index_test.cc +++ b/test/boost/secondary_index_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/serialization_test.cc b/test/boost/serialization_test.cc index a7577d48a9..4aa2758f6d 100644 --- a/test/boost/serialization_test.cc +++ b/test/boost/serialization_test.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/serialized_action_test.cc b/test/boost/serialized_action_test.cc index 152c5fd676..df09837a96 100644 --- a/test/boost/serialized_action_test.cc +++ b/test/boost/serialized_action_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/service_level_controller_test.cc b/test/boost/service_level_controller_test.cc index 02cee48111..78009f839f 100644 --- a/test/boost/service_level_controller_test.cc +++ b/test/boost/service_level_controller_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/small_vector_test.cc b/test/boost/small_vector_test.cc index 3da9393534..492853521c 100644 --- a/test/boost/small_vector_test.cc +++ b/test/boost/small_vector_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE small_vector diff --git a/test/boost/snitch_reset_test.cc b/test/boost/snitch_reset_test.cc index 79947977ae..b5a72e5e06 100644 --- a/test/boost/snitch_reset_test.cc +++ b/test/boost/snitch_reset_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/sstable_3_x_test.cc b/test/boost/sstable_3_x_test.cc index 325ed4d2e1..bcd1b1bd4d 100644 --- a/test/boost/sstable_3_x_test.cc +++ b/test/boost/sstable_3_x_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/sstable_compaction_test.cc b/test/boost/sstable_compaction_test.cc index bb63038122..14454b97c9 100644 --- a/test/boost/sstable_compaction_test.cc +++ b/test/boost/sstable_compaction_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/sstable_conforms_to_mutation_source_test.cc b/test/boost/sstable_conforms_to_mutation_source_test.cc index 898f5bd218..2857b317d7 100644 --- a/test/boost/sstable_conforms_to_mutation_source_test.cc +++ b/test/boost/sstable_conforms_to_mutation_source_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/sstable_datafile_test.cc b/test/boost/sstable_datafile_test.cc index 09b2ee0004..4521bd246f 100644 --- a/test/boost/sstable_datafile_test.cc +++ b/test/boost/sstable_datafile_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/sstable_directory_test.cc b/test/boost/sstable_directory_test.cc index 18ce022fe8..19bc63f884 100644 --- a/test/boost/sstable_directory_test.cc +++ b/test/boost/sstable_directory_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/sstable_move_test.cc b/test/boost/sstable_move_test.cc index 43cdfdb362..c8ecf921bc 100644 --- a/test/boost/sstable_move_test.cc +++ b/test/boost/sstable_move_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/sstable_mutation_test.cc b/test/boost/sstable_mutation_test.cc index a81e785417..416b336c7c 100644 --- a/test/boost/sstable_mutation_test.cc +++ b/test/boost/sstable_mutation_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/sstable_partition_index_cache_test.cc b/test/boost/sstable_partition_index_cache_test.cc index 3596bccc34..6e09a7a462 100644 --- a/test/boost/sstable_partition_index_cache_test.cc +++ b/test/boost/sstable_partition_index_cache_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/sstable_set_test.cc b/test/boost/sstable_set_test.cc index 1a6cddc37a..c4a6c09e90 100644 --- a/test/boost/sstable_set_test.cc +++ b/test/boost/sstable_set_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/sstable_test.cc b/test/boost/sstable_test.cc index 90951676e4..40154a295d 100644 --- a/test/boost/sstable_test.cc +++ b/test/boost/sstable_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/sstable_test.hh b/test/boost/sstable_test.hh index 91e085d17e..4ce1bb5498 100644 --- a/test/boost/sstable_test.hh +++ b/test/boost/sstable_test.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/boost/stall_free_test.cc b/test/boost/stall_free_test.cc index c0a7734e4c..8cd7c1befa 100644 --- a/test/boost/stall_free_test.cc +++ b/test/boost/stall_free_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/statement_restrictions_test.cc b/test/boost/statement_restrictions_test.cc index 6714b188e2..ec979595dc 100644 --- a/test/boost/statement_restrictions_test.cc +++ b/test/boost/statement_restrictions_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/storage_proxy_test.cc b/test/boost/storage_proxy_test.cc index 957f74e906..c9f10906a8 100644 --- a/test/boost/storage_proxy_test.cc +++ b/test/boost/storage_proxy_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/test_table.cc b/test/boost/test_table.cc index e3a7828d03..9dee4c7665 100644 --- a/test/boost/test_table.cc +++ b/test/boost/test_table.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "test/lib/test_table.hh" diff --git a/test/boost/top_k_test.cc b/test/boost/top_k_test.cc index 286182d0ea..a768e498ca 100644 --- a/test/boost/top_k_test.cc +++ b/test/boost/top_k_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/total_order_check.hh b/test/boost/total_order_check.hh index d6da4a34d0..0b68f2f0fd 100644 --- a/test/boost/total_order_check.hh +++ b/test/boost/total_order_check.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/boost/tracing.cc b/test/boost/tracing.cc index d184087d38..3f191910d8 100644 --- a/test/boost/tracing.cc +++ b/test/boost/tracing.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/transport_test.cc b/test/boost/transport_test.cc index 5a0e92eca4..a11a3a3841 100644 --- a/test/boost/transport_test.cc +++ b/test/boost/transport_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/types_test.cc b/test/boost/types_test.cc index ae265aeade..07a0b09c11 100644 --- a/test/boost/types_test.cc +++ b/test/boost/types_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/user_function_test.cc b/test/boost/user_function_test.cc index 217ba4e1fd..f984a86a88 100644 --- a/test/boost/user_function_test.cc +++ b/test/boost/user_function_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/user_types_test.cc b/test/boost/user_types_test.cc index 30635207cf..38add4f945 100644 --- a/test/boost/user_types_test.cc +++ b/test/boost/user_types_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/utf8_test.cc b/test/boost/utf8_test.cc index f901c092b4..d0ecdd0bf8 100644 --- a/test/boost/utf8_test.cc +++ b/test/boost/utf8_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/view_build_test.cc b/test/boost/view_build_test.cc index b15bf2701e..a5dcd11305 100644 --- a/test/boost/view_build_test.cc +++ b/test/boost/view_build_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/view_complex_test.cc b/test/boost/view_complex_test.cc index bd96f8f866..166bef7a12 100644 --- a/test/boost/view_complex_test.cc +++ b/test/boost/view_complex_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/view_schema_ckey_test.cc b/test/boost/view_schema_ckey_test.cc index 24e0d6e407..5a1b5bf9cd 100644 --- a/test/boost/view_schema_ckey_test.cc +++ b/test/boost/view_schema_ckey_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/view_schema_pkey_test.cc b/test/boost/view_schema_pkey_test.cc index 4ca5ad625e..5df44969a2 100644 --- a/test/boost/view_schema_pkey_test.cc +++ b/test/boost/view_schema_pkey_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/view_schema_test.cc b/test/boost/view_schema_test.cc index 1d23d8c23d..ff36c5690b 100644 --- a/test/boost/view_schema_test.cc +++ b/test/boost/view_schema_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/boost/vint_serialization_test.cc b/test/boost/vint_serialization_test.cc index 1e7ff2e64d..ac2e520273 100644 --- a/test/boost/vint_serialization_test.cc +++ b/test/boost/vint_serialization_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE core diff --git a/test/boost/virtual_reader_test.cc b/test/boost/virtual_reader_test.cc index 25589ad210..300778061b 100644 --- a/test/boost/virtual_reader_test.cc +++ b/test/boost/virtual_reader_test.cc @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/boost/virtual_table_mutation_source_test.cc b/test/boost/virtual_table_mutation_source_test.cc index c96da9e673..3e7608e6db 100644 --- a/test/boost/virtual_table_mutation_source_test.cc +++ b/test/boost/virtual_table_mutation_source_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "db/virtual_table.hh" diff --git a/test/boost/virtual_table_test.cc b/test/boost/virtual_table_test.cc index 57391d83f8..6d5160df36 100644 --- a/test/boost/virtual_table_test.cc +++ b/test/boost/virtual_table_test.cc @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/cql-pytest/cassandra_tests/porting.py b/test/cql-pytest/cassandra_tests/porting.py index 6ba734b6b7..3e96b0126f 100644 --- a/test/cql-pytest/cassandra_tests/porting.py +++ b/test/cql-pytest/cassandra_tests/porting.py @@ -1,19 +1,6 @@ # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # This file contains various utility functions which are useful for porting diff --git a/test/cql-pytest/cassandra_tests/validation/entities/collections_test.py b/test/cql-pytest/cassandra_tests/validation/entities/collections_test.py index 05293ea1a6..1037e48485 100644 --- a/test/cql-pytest/cassandra_tests/validation/entities/collections_test.py +++ b/test/cql-pytest/cassandra_tests/validation/entities/collections_test.py @@ -3,21 +3,7 @@ # # The original Apache Cassandra license: # -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 from cassandra_tests.porting import * from cassandra.query import UNSET_VALUE diff --git a/test/cql-pytest/cassandra_tests/validation/entities/counters_test.py b/test/cql-pytest/cassandra_tests/validation/entities/counters_test.py index 4c998d696c..003525bf27 100644 --- a/test/cql-pytest/cassandra_tests/validation/entities/counters_test.py +++ b/test/cql-pytest/cassandra_tests/validation/entities/counters_test.py @@ -3,21 +3,7 @@ # # The original Apache Cassandra license: # -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 from cassandra_tests.porting import * diff --git a/test/cql-pytest/cassandra_tests/validation/entities/date_type_test.py b/test/cql-pytest/cassandra_tests/validation/entities/date_type_test.py index 15ef215667..8b75feec8f 100644 --- a/test/cql-pytest/cassandra_tests/validation/entities/date_type_test.py +++ b/test/cql-pytest/cassandra_tests/validation/entities/date_type_test.py @@ -3,21 +3,7 @@ # # The original Apache Cassandra license: # -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 from cassandra_tests.porting import create_table, execute, assert_invalid diff --git a/test/cql-pytest/cassandra_tests/validation/entities/frozen_collections_test.py b/test/cql-pytest/cassandra_tests/validation/entities/frozen_collections_test.py index ccd2301180..fec77205a1 100644 --- a/test/cql-pytest/cassandra_tests/validation/entities/frozen_collections_test.py +++ b/test/cql-pytest/cassandra_tests/validation/entities/frozen_collections_test.py @@ -3,21 +3,7 @@ # # The original Apache Cassandra license: # -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 from cassandra_tests.porting import * diff --git a/test/cql-pytest/cassandra_tests/validation/entities/json_test.py b/test/cql-pytest/cassandra_tests/validation/entities/json_test.py index 368faaf3ad..ff709287f6 100644 --- a/test/cql-pytest/cassandra_tests/validation/entities/json_test.py +++ b/test/cql-pytest/cassandra_tests/validation/entities/json_test.py @@ -3,21 +3,7 @@ # # The original Apache Cassandra license: # -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 from cassandra_tests.porting import * diff --git a/test/cql-pytest/cassandra_tests/validation/entities/secondary_index_on_map_entries_test.py b/test/cql-pytest/cassandra_tests/validation/entities/secondary_index_on_map_entries_test.py index 5ea99c271d..e52f8e751b 100644 --- a/test/cql-pytest/cassandra_tests/validation/entities/secondary_index_on_map_entries_test.py +++ b/test/cql-pytest/cassandra_tests/validation/entities/secondary_index_on_map_entries_test.py @@ -3,21 +3,7 @@ # # The original Apache Cassandra license: # -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 from cassandra_tests.porting import * diff --git a/test/cql-pytest/cassandra_tests/validation/entities/secondary_index_on_static_column_test.py b/test/cql-pytest/cassandra_tests/validation/entities/secondary_index_on_static_column_test.py index b4992a6b8a..17fbf3d10e 100644 --- a/test/cql-pytest/cassandra_tests/validation/entities/secondary_index_on_static_column_test.py +++ b/test/cql-pytest/cassandra_tests/validation/entities/secondary_index_on_static_column_test.py @@ -3,21 +3,7 @@ # # The original Apache Cassandra license: # -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 from cassandra_tests.porting import * diff --git a/test/cql-pytest/cassandra_tests/validation/entities/secondary_index_test.py b/test/cql-pytest/cassandra_tests/validation/entities/secondary_index_test.py index 0beed603a4..aa0ef8d997 100644 --- a/test/cql-pytest/cassandra_tests/validation/entities/secondary_index_test.py +++ b/test/cql-pytest/cassandra_tests/validation/entities/secondary_index_test.py @@ -3,21 +3,7 @@ # # The original Apache Cassandra license: # -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # SCYLLA NOTE (FIXME): The following tests, originally written for Cassandra, diff --git a/test/cql-pytest/cassandra_tests/validation/entities/static_columns_test.py b/test/cql-pytest/cassandra_tests/validation/entities/static_columns_test.py index 2fd0b1c3ca..114406a4f7 100644 --- a/test/cql-pytest/cassandra_tests/validation/entities/static_columns_test.py +++ b/test/cql-pytest/cassandra_tests/validation/entities/static_columns_test.py @@ -3,21 +3,7 @@ # # The original Apache Cassandra license: # -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 from cassandra_tests.porting import * diff --git a/test/cql-pytest/cassandra_tests/validation/entities/timestamp_test.py b/test/cql-pytest/cassandra_tests/validation/entities/timestamp_test.py index cc29b80d67..6dfe57e639 100644 --- a/test/cql-pytest/cassandra_tests/validation/entities/timestamp_test.py +++ b/test/cql-pytest/cassandra_tests/validation/entities/timestamp_test.py @@ -3,21 +3,7 @@ # # The original Apache Cassandra license: # -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 from cassandra_tests.porting import * diff --git a/test/cql-pytest/cassandra_tests/validation/entities/timeuuid_test.py b/test/cql-pytest/cassandra_tests/validation/entities/timeuuid_test.py index ad938467e4..1a14e118dd 100644 --- a/test/cql-pytest/cassandra_tests/validation/entities/timeuuid_test.py +++ b/test/cql-pytest/cassandra_tests/validation/entities/timeuuid_test.py @@ -3,21 +3,7 @@ # # The original Apache Cassandra license: # -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 from cassandra_tests.porting import * diff --git a/test/cql-pytest/cassandra_tests/validation/entities/tuple_type_test.py b/test/cql-pytest/cassandra_tests/validation/entities/tuple_type_test.py index d83d999e4b..90dded60a7 100644 --- a/test/cql-pytest/cassandra_tests/validation/entities/tuple_type_test.py +++ b/test/cql-pytest/cassandra_tests/validation/entities/tuple_type_test.py @@ -3,21 +3,7 @@ # # The original Apache Cassandra license: # -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 from cassandra_tests.porting import * from cassandra.query import UNSET_VALUE diff --git a/test/cql-pytest/cassandra_tests/validation/entities/type_test.py b/test/cql-pytest/cassandra_tests/validation/entities/type_test.py index c27af3d68a..680eb404dc 100644 --- a/test/cql-pytest/cassandra_tests/validation/entities/type_test.py +++ b/test/cql-pytest/cassandra_tests/validation/entities/type_test.py @@ -3,21 +3,7 @@ # # The original Apache Cassandra license: # -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 from cassandra_tests.porting import * diff --git a/test/cql-pytest/cassandra_tests/validation/entities/user_types_test.py b/test/cql-pytest/cassandra_tests/validation/entities/user_types_test.py index a5d470b812..3cec73c819 100644 --- a/test/cql-pytest/cassandra_tests/validation/entities/user_types_test.py +++ b/test/cql-pytest/cassandra_tests/validation/entities/user_types_test.py @@ -3,21 +3,7 @@ # # The original Apache Cassandra license: # -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 from cassandra_tests.porting import * from cassandra.query import UNSET_VALUE diff --git a/test/cql-pytest/cassandra_tests/validation/operations/select_order_by_test.py b/test/cql-pytest/cassandra_tests/validation/operations/select_order_by_test.py index d344813e98..2b74e19792 100644 --- a/test/cql-pytest/cassandra_tests/validation/operations/select_order_by_test.py +++ b/test/cql-pytest/cassandra_tests/validation/operations/select_order_by_test.py @@ -3,21 +3,7 @@ # # The original Apache Cassandra license: # -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 from cassandra_tests.porting import * diff --git a/test/cql-pytest/conftest.py b/test/cql-pytest/conftest.py index d86044984c..3e60573019 100644 --- a/test/cql-pytest/conftest.py +++ b/test/cql-pytest/conftest.py @@ -1,19 +1,6 @@ # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # This file configures pytest for all tests in this directory, and also # defines common test fixtures for all of them to use. A "fixture" is some diff --git a/test/cql-pytest/nodetool.py b/test/cql-pytest/nodetool.py index c34f9c0a60..b73b408e70 100644 --- a/test/cql-pytest/nodetool.py +++ b/test/cql-pytest/nodetool.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ################################################################## # This file provides a few nodetool-compatible commands that may be useful diff --git a/test/cql-pytest/test-timestamp.py b/test/cql-pytest/test-timestamp.py index f345c5a940..da627f9b3e 100644 --- a/test/cql-pytest/test-timestamp.py +++ b/test/cql-pytest/test-timestamp.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Various tests for USING TIMESTAMP support in Scylla. Note that Cassandra diff --git a/test/cql-pytest/test_allow_filtering.py b/test/cql-pytest/test_allow_filtering.py index 856c471b4f..f6d7ad36a2 100644 --- a/test/cql-pytest/test_allow_filtering.py +++ b/test/cql-pytest/test_allow_filtering.py @@ -1,19 +1,6 @@ # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Tests for the "ALLOW FILTERING" specification on SELECT requests. diff --git a/test/cql-pytest/test_cdc.py b/test/cql-pytest/test_cdc.py index 9542e1ee25..48c2c16e88 100644 --- a/test/cql-pytest/test_cdc.py +++ b/test/cql-pytest/test_cdc.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later from cassandra.cluster import ConsistencyLevel from cassandra.query import SimpleStatement diff --git a/test/cql-pytest/test_filtering.py b/test/cql-pytest/test_filtering.py index 45a223b88f..4deb1484af 100644 --- a/test/cql-pytest/test_filtering.py +++ b/test/cql-pytest/test_filtering.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Tests for the SELECT requests with various filtering expressions. diff --git a/test/cql-pytest/test_frozen_collection.py b/test/cql-pytest/test_frozen_collection.py index 17a9089868..5a01d890d4 100644 --- a/test/cql-pytest/test_frozen_collection.py +++ b/test/cql-pytest/test_frozen_collection.py @@ -1,19 +1,6 @@ # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Various tests for the handling of frozen collections. Note that Cassandra diff --git a/test/cql-pytest/test_json.py b/test/cql-pytest/test_json.py index c5d5673d3d..370ba8bf1a 100644 --- a/test/cql-pytest/test_json.py +++ b/test/cql-pytest/test_json.py @@ -1,20 +1,7 @@ # -*- coding: utf-8 -*- # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Various tests for JSON support in Scylla. Note that Cassandra also had diff --git a/test/cql-pytest/test_keyspace.py b/test/cql-pytest/test_keyspace.py index fc16c8dee5..3d916833e2 100644 --- a/test/cql-pytest/test_keyspace.py +++ b/test/cql-pytest/test_keyspace.py @@ -1,19 +1,6 @@ # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for basic keyspace operations: CREATE KEYSPACE, DROP KEYSPACE, # ALTER KEYSPACE diff --git a/test/cql-pytest/test_large_cells_rows.py b/test/cql-pytest/test_large_cells_rows.py index f1957f2a7b..3ecbcc75ec 100644 --- a/test/cql-pytest/test_large_cells_rows.py +++ b/test/cql-pytest/test_large_cells_rows.py @@ -1,19 +1,6 @@ # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later from util import new_test_table diff --git a/test/cql-pytest/test_materialized_view.py b/test/cql-pytest/test_materialized_view.py index d69677e800..3afaca0cdc 100644 --- a/test/cql-pytest/test_materialized_view.py +++ b/test/cql-pytest/test_materialized_view.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for materialized views diff --git a/test/cql-pytest/test_minmax.py b/test/cql-pytest/test_minmax.py index b7be43f0de..5c2a34b80d 100644 --- a/test/cql-pytest/test_minmax.py +++ b/test/cql-pytest/test_minmax.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Tests for min/max aggregate functions diff --git a/test/cql-pytest/test_non_deterministic_functions.py b/test/cql-pytest/test_non_deterministic_functions.py index fdef8cbdb8..62e8e1e11e 100644 --- a/test/cql-pytest/test_non_deterministic_functions.py +++ b/test/cql-pytest/test_non_deterministic_functions.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Non-deterministic CQL functions should be evaluated just before query diff --git a/test/cql-pytest/test_null.py b/test/cql-pytest/test_null.py index fb36bae9fd..fc0426baf8 100644 --- a/test/cql-pytest/test_null.py +++ b/test/cql-pytest/test_null.py @@ -1,19 +1,6 @@ # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Tests for finer points of the meaning of "null" in various places diff --git a/test/cql-pytest/test_range_and_slice.py b/test/cql-pytest/test_range_and_slice.py index 37b2ac5d2a..61c247e3fb 100644 --- a/test/cql-pytest/test_range_and_slice.py +++ b/test/cql-pytest/test_range_and_slice.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Tests the calculation of partition range and slice. diff --git a/test/cql-pytest/test_secondary_index.py b/test/cql-pytest/test_secondary_index.py index 715eec0066..447a30a406 100644 --- a/test/cql-pytest/test_secondary_index.py +++ b/test/cql-pytest/test_secondary_index.py @@ -1,19 +1,6 @@ # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for secondary indexes diff --git a/test/cql-pytest/test_service_levels.py b/test/cql-pytest/test_service_levels.py index 13454acc00..4f6c442633 100644 --- a/test/cql-pytest/test_service_levels.py +++ b/test/cql-pytest/test_service_levels.py @@ -1,20 +1,7 @@ # -*- coding: utf-8 -*- # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Tests for the service levels infrastructure. Service levels can be attached diff --git a/test/cql-pytest/test_shedding.py b/test/cql-pytest/test_shedding.py index f80c3a1f18..f1ef335bff 100644 --- a/test/cql-pytest/test_shedding.py +++ b/test/cql-pytest/test_shedding.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Tests for the shedding mechanisms in the CQL layer diff --git a/test/cql-pytest/test_ssl.py b/test/cql-pytest/test_ssl.py index 7c9142233d..f9c319105c 100644 --- a/test/cql-pytest/test_ssl.py +++ b/test/cql-pytest/test_ssl.py @@ -1,20 +1,7 @@ # -*- coding: utf-8 -*- # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Tests for CQL over SSL (TLS). These tests are skipped when the tests are diff --git a/test/cql-pytest/test_sstable.py b/test/cql-pytest/test_sstable.py index c109ee25b9..a2796350d1 100644 --- a/test/cql-pytest/test_sstable.py +++ b/test/cql-pytest/test_sstable.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # The cql-pytest framework is about testing CQL functionality, so diff --git a/test/cql-pytest/test_system_tables.py b/test/cql-pytest/test_system_tables.py index 5958f0839c..a6913ded5a 100644 --- a/test/cql-pytest/test_system_tables.py +++ b/test/cql-pytest/test_system_tables.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Various tests for the content of system tables. Many of these tables have diff --git a/test/cql-pytest/test_ttl.py b/test/cql-pytest/test_ttl.py index 58544f5f43..3690e0cb98 100644 --- a/test/cql-pytest/test_ttl.py +++ b/test/cql-pytest/test_ttl.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Various tests for Scylla's ttl feature - USING TTL and DEFAULT_TIME_TO_LIVE diff --git a/test/cql-pytest/test_type_duration.py b/test/cql-pytest/test_type_duration.py index 7ee9bf9e6e..cd5889ff74 100644 --- a/test/cql-pytest/test_type_duration.py +++ b/test/cql-pytest/test_type_duration.py @@ -1,20 +1,7 @@ # -*- coding: utf-8 -*- # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Test involving the "duration" column type. diff --git a/test/cql-pytest/test_type_string.py b/test/cql-pytest/test_type_string.py index b17e1641d9..b37d710cb9 100644 --- a/test/cql-pytest/test_type_string.py +++ b/test/cql-pytest/test_type_string.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Tests for string-like types - ascii, blob, and text (a.k.a varchar). diff --git a/test/cql-pytest/test_type_time.py b/test/cql-pytest/test_type_time.py index 32e38192f0..12811fbb31 100644 --- a/test/cql-pytest/test_type_time.py +++ b/test/cql-pytest/test_type_time.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Test involving the "time" column type. diff --git a/test/cql-pytest/test_uda.py b/test/cql-pytest/test_uda.py index 6d6555fe7b..f3f09c460b 100644 --- a/test/cql-pytest/test_uda.py +++ b/test/cql-pytest/test_uda.py @@ -1,20 +1,7 @@ # -*- coding: utf-8 -*- # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Tests for user-defined aggregates (UDA) diff --git a/test/cql-pytest/test_using_timeout.py b/test/cql-pytest/test_using_timeout.py index 826b52ab30..d6ab72167e 100644 --- a/test/cql-pytest/test_using_timeout.py +++ b/test/cql-pytest/test_using_timeout.py @@ -1,19 +1,6 @@ # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # Tests for USING TIMEOUT extension diff --git a/test/cql-pytest/test_utf8.py b/test/cql-pytest/test_utf8.py index 858e95e8b8..edf93783e2 100644 --- a/test/cql-pytest/test_utf8.py +++ b/test/cql-pytest/test_utf8.py @@ -2,20 +2,7 @@ # -*- coding: utf-8 -*- # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Tests for finer points of UTF-8 support. The issue of *invalid* UTF-8 input diff --git a/test/cql-pytest/test_validation.py b/test/cql-pytest/test_validation.py index 6e1e15dd58..0d7e3f4ecb 100644 --- a/test/cql-pytest/test_validation.py +++ b/test/cql-pytest/test_validation.py @@ -1,20 +1,7 @@ # -*- coding: utf-8 -*- # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Tests for the type validation in CQL. For example, it should not be diff --git a/test/cql-pytest/test_virtual_tables.py b/test/cql-pytest/test_virtual_tables.py index ed0ecc65c0..4244808e1e 100644 --- a/test/cql-pytest/test_virtual_tables.py +++ b/test/cql-pytest/test_virtual_tables.py @@ -1,20 +1,7 @@ # -*- coding: utf-8 -*- # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import pytest import util diff --git a/test/cql-pytest/test_wasm.py b/test/cql-pytest/test_wasm.py index 72ebc9145a..635bd16793 100644 --- a/test/cql-pytest/test_wasm.py +++ b/test/cql-pytest/test_wasm.py @@ -1,20 +1,7 @@ # -*- coding: utf-8 -*- # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ############################################################################# # Tests for user defined functions defined with WebAssembly backend diff --git a/test/cql-pytest/util.py b/test/cql-pytest/util.py index 7f60da6b3e..2fb487b0b2 100644 --- a/test/cql-pytest/util.py +++ b/test/cql-pytest/util.py @@ -1,19 +1,6 @@ # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later ################################################################## # Various utility functions which are useful for multiple tests. diff --git a/test/cql/cassandra_batch_test.cql b/test/cql/cassandra_batch_test.cql index 060f1e183e..72c5240fd1 100644 --- a/test/cql/cassandra_batch_test.cql +++ b/test/cql/cassandra_batch_test.cql @@ -2,21 +2,6 @@ -- Modified by ScyllaDB -- from cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/BatchTest.java -- --- Licensed to the Apache Software Foundation (ASF) under one --- or more contributor license agreements. See the NOTICE file --- distributed with this work for additional information --- regarding copyright ownership. The ASF licenses this file --- to you under the Apache License, Version 2.0 (the --- "License"); you may not use this file except in compliance --- with the License. You may obtain a copy of the License at --- --- http://www.apache.org/licenses/LICENSE-2.0 --- --- Unless required by applicable law or agreed to in writing, software --- distributed under the License is distributed on an "AS IS" BASIS, --- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --- See the License for the specific language governing permissions and --- limitations under the License. -- -------------------------------------------------------------------------------- -- @@ -24,20 +9,7 @@ -- -- Modified by ScyllaDB -- --- This file is part of Scylla. --- --- Scylla is free software: you can redistribute it and/or modify --- it under the terms of the GNU Affero General Public License as published by --- the Free Software Foundation, either version 3 of the License, or --- (at your option) any later version. --- --- Scylla is distributed in the hope that it will be useful, --- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. --- --- You should have received a copy of the GNU General Public License --- along with Scylla. If not, see . +-- SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) -- setup CREATE KEYSPACE k WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1}; diff --git a/test/cql/cassandra_batch_test.result b/test/cql/cassandra_batch_test.result index 2625e2144b..9d99aed864 100644 --- a/test/cql/cassandra_batch_test.result +++ b/test/cql/cassandra_batch_test.result @@ -2,21 +2,6 @@ -- Modified by ScyllaDB -- from cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/BatchTest.java -- --- Licensed to the Apache Software Foundation (ASF) under one --- or more contributor license agreements. See the NOTICE file --- distributed with this work for additional information --- regarding copyright ownership. The ASF licenses this file --- to you under the Apache License, Version 2.0 (the --- "License"); you may not use this file except in compliance --- with the License. You may obtain a copy of the License at --- --- http://www.apache.org/licenses/LICENSE-2.0 --- --- Unless required by applicable law or agreed to in writing, software --- distributed under the License is distributed on an "AS IS" BASIS, --- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --- See the License for the specific language governing permissions and --- limitations under the License. -- -------------------------------------------------------------------------------- -- @@ -24,20 +9,7 @@ -- -- Modified by ScyllaDB -- --- This file is part of Scylla. --- --- Scylla is free software: you can redistribute it and/or modify --- it under the terms of the GNU Affero General Public License as published by --- the Free Software Foundation, either version 3 of the License, or --- (at your option) any later version. --- --- Scylla is distributed in the hope that it will be useful, --- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. --- --- You should have received a copy of the GNU General Public License --- along with Scylla. If not, see . +-- SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) -- setup CREATE KEYSPACE k WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1}; diff --git a/test/cql/cassandra_cql_test.cql b/test/cql/cassandra_cql_test.cql index cebe58e2d3..4f6b0a1f27 100644 --- a/test/cql/cassandra_cql_test.cql +++ b/test/cql/cassandra_cql_test.cql @@ -2,21 +2,6 @@ -- Modified by ScyllaDB -- from Cassandra cassandra-dtest/cql_test.py -- --- Licensed to the Apache Software Foundation (ASF) under one --- or more contributor license agreements. See the NOTICE file --- distributed with this work for additional information --- regarding copyright ownership. The ASF licenses this file --- to you under the Apache License, Version 2.0 (the --- "License"); you may not use this file except in compliance --- with the License. You may obtain a copy of the License at --- --- http://www.apache.org/licenses/LICENSE-2.0 --- --- Unless required by applicable law or agreed to in writing, software --- distributed under the License is distributed on an "AS IS" BASIS, --- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --- See the License for the specific language governing permissions and --- limitations under the License. -- -------------------------------------------------------------------------------- -- @@ -24,20 +9,7 @@ -- -- Modified by ScyllaDB -- --- This file is part of Scylla. --- --- Scylla is free software: you can redistribute it and/or modify --- it under the terms of the GNU Affero General Public License as published by --- the Free Software Foundation, either version 3 of the License, or --- (at your option) any later version. --- --- Scylla is distributed in the hope that it will be useful, --- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. --- --- You should have received a copy of the GNU General Public License --- along with Scylla. If not, see . +-- SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) -- setup CREATE KEYSPACE ks1 WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1} diff --git a/test/cql/cassandra_cql_test.result b/test/cql/cassandra_cql_test.result index 0525388e98..dc11e9317e 100644 --- a/test/cql/cassandra_cql_test.result +++ b/test/cql/cassandra_cql_test.result @@ -2,21 +2,6 @@ -- Modified by ScyllaDB -- from Cassandra cassandra-dtest/cql_test.py -- --- Licensed to the Apache Software Foundation (ASF) under one --- or more contributor license agreements. See the NOTICE file --- distributed with this work for additional information --- regarding copyright ownership. The ASF licenses this file --- to you under the Apache License, Version 2.0 (the --- "License"); you may not use this file except in compliance --- with the License. You may obtain a copy of the License at --- --- http://www.apache.org/licenses/LICENSE-2.0 --- --- Unless required by applicable law or agreed to in writing, software --- distributed under the License is distributed on an "AS IS" BASIS, --- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --- See the License for the specific language governing permissions and --- limitations under the License. -- -------------------------------------------------------------------------------- -- @@ -24,20 +9,7 @@ -- -- Modified by ScyllaDB -- --- This file is part of Scylla. --- --- Scylla is free software: you can redistribute it and/or modify --- it under the terms of the GNU Affero General Public License as published by --- the Free Software Foundation, either version 3 of the License, or --- (at your option) any later version. --- --- Scylla is distributed in the hope that it will be useful, --- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. --- --- You should have received a copy of the GNU General Public License --- along with Scylla. If not, see . +-- SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) -- setup CREATE KEYSPACE ks1 WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1} diff --git a/test/lib/alternator_test_env.cc b/test/lib/alternator_test_env.cc index 4f7cabe55a..3938300c7b 100644 --- a/test/lib/alternator_test_env.cc +++ b/test/lib/alternator_test_env.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "test/lib/alternator_test_env.hh" diff --git a/test/lib/alternator_test_env.hh b/test/lib/alternator_test_env.hh index 520bdfd165..0c3954003b 100644 --- a/test/lib/alternator_test_env.hh +++ b/test/lib/alternator_test_env.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/cql_assertions.cc b/test/lib/cql_assertions.cc index 28ac639f9d..4cf9662388 100644 --- a/test/lib/cql_assertions.cc +++ b/test/lib/cql_assertions.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/lib/cql_assertions.hh b/test/lib/cql_assertions.hh index 132b922317..e90ff7ee30 100644 --- a/test/lib/cql_assertions.hh +++ b/test/lib/cql_assertions.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/cql_test_env.cc b/test/lib/cql_test_env.cc index d82f7b37e6..536f02977e 100644 --- a/test/lib/cql_test_env.cc +++ b/test/lib/cql_test_env.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/lib/cql_test_env.hh b/test/lib/cql_test_env.hh index 9cad0353c1..b29b0a400f 100644 --- a/test/lib/cql_test_env.hh +++ b/test/lib/cql_test_env.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/data_model.cc b/test/lib/data_model.cc index e1f0f80313..5658f2eb84 100644 --- a/test/lib/data_model.cc +++ b/test/lib/data_model.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "test/lib/data_model.hh" diff --git a/test/lib/data_model.hh b/test/lib/data_model.hh index 8f480d0310..924b038cac 100644 --- a/test/lib/data_model.hh +++ b/test/lib/data_model.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/dummy_sharder.cc b/test/lib/dummy_sharder.cc index e61d431ada..21fcbbcfce 100644 --- a/test/lib/dummy_sharder.cc +++ b/test/lib/dummy_sharder.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/lib/dummy_sharder.hh b/test/lib/dummy_sharder.hh index 148e396019..343ff15701 100644 --- a/test/lib/dummy_sharder.hh +++ b/test/lib/dummy_sharder.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/eventually.hh b/test/lib/eventually.hh index 9bcfa7b1e2..bc137a4191 100644 --- a/test/lib/eventually.hh +++ b/test/lib/eventually.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/exception_utils.cc b/test/lib/exception_utils.cc index 86b01a5f85..3a42efda94 100644 --- a/test/lib/exception_utils.cc +++ b/test/lib/exception_utils.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "test/lib/exception_utils.hh" diff --git a/test/lib/exception_utils.hh b/test/lib/exception_utils.hh index 07db173fc0..ff8d9ee93a 100644 --- a/test/lib/exception_utils.hh +++ b/test/lib/exception_utils.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/failure_injecting_allocation_strategy.hh b/test/lib/failure_injecting_allocation_strategy.hh index e5572ab115..b44f62dbb3 100644 --- a/test/lib/failure_injecting_allocation_strategy.hh +++ b/test/lib/failure_injecting_allocation_strategy.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/flat_mutation_reader_assertions.hh b/test/lib/flat_mutation_reader_assertions.hh index 1cfa893a2a..2d946b71d1 100644 --- a/test/lib/flat_mutation_reader_assertions.hh +++ b/test/lib/flat_mutation_reader_assertions.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/index_reader_assertions.hh b/test/lib/index_reader_assertions.hh index 7c46ee8bf4..e45750d77a 100644 --- a/test/lib/index_reader_assertions.hh +++ b/test/lib/index_reader_assertions.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/log.cc b/test/lib/log.cc index 63781d7ad2..6dcf6039bc 100644 --- a/test/lib/log.cc +++ b/test/lib/log.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "test/lib/log.hh" diff --git a/test/lib/log.hh b/test/lib/log.hh index 81e6ae3fed..d4756f2744 100644 --- a/test/lib/log.hh +++ b/test/lib/log.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once #include diff --git a/test/lib/make_random_string.hh b/test/lib/make_random_string.hh index e6f6f5c1d3..46f5a62bab 100644 --- a/test/lib/make_random_string.hh +++ b/test/lib/make_random_string.hh @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/memtable_snapshot_source.hh b/test/lib/memtable_snapshot_source.hh index 75eb3c5b4e..b121573e13 100644 --- a/test/lib/memtable_snapshot_source.hh +++ b/test/lib/memtable_snapshot_source.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/mutation_assertions.hh b/test/lib/mutation_assertions.hh index 13a3af2bf2..92b58adfe7 100644 --- a/test/lib/mutation_assertions.hh +++ b/test/lib/mutation_assertions.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/mutation_source_test.cc b/test/lib/mutation_source_test.cc index 324cc67a03..79c35e6559 100644 --- a/test/lib/mutation_source_test.cc +++ b/test/lib/mutation_source_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/lib/mutation_source_test.hh b/test/lib/mutation_source_test.hh index 621ba88594..a35bda81fc 100644 --- a/test/lib/mutation_source_test.hh +++ b/test/lib/mutation_source_test.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/normalizing_reader.cc b/test/lib/normalizing_reader.cc index a25c6919a6..e4092bb509 100644 --- a/test/lib/normalizing_reader.cc +++ b/test/lib/normalizing_reader.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "test/lib/normalizing_reader.hh" diff --git a/test/lib/normalizing_reader.hh b/test/lib/normalizing_reader.hh index f8cabe2022..4190c9a40e 100644 --- a/test/lib/normalizing_reader.hh +++ b/test/lib/normalizing_reader.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/random_schema.cc b/test/lib/random_schema.cc index 3505fc6322..bc037c6b00 100644 --- a/test/lib/random_schema.cc +++ b/test/lib/random_schema.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/lib/random_schema.hh b/test/lib/random_schema.hh index 2cf0743204..f7bdb13d43 100644 --- a/test/lib/random_schema.hh +++ b/test/lib/random_schema.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/random_utils.hh b/test/lib/random_utils.hh index e30cea2a07..c4a413adfb 100644 --- a/test/lib/random_utils.hh +++ b/test/lib/random_utils.hh @@ -2,20 +2,7 @@ * Copyright (C) 2018-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/reader_concurrency_semaphore.hh b/test/lib/reader_concurrency_semaphore.hh index f483bfddfa..13b1758183 100644 --- a/test/lib/reader_concurrency_semaphore.hh +++ b/test/lib/reader_concurrency_semaphore.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/reader_lifecycle_policy.hh b/test/lib/reader_lifecycle_policy.hh index 72168d52c9..97b62143d5 100644 --- a/test/lib/reader_lifecycle_policy.hh +++ b/test/lib/reader_lifecycle_policy.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/result_set_assertions.cc b/test/lib/result_set_assertions.cc index eb3a2ed0e8..151af83781 100644 --- a/test/lib/result_set_assertions.cc +++ b/test/lib/result_set_assertions.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/lib/result_set_assertions.hh b/test/lib/result_set_assertions.hh index 06ee291193..f31f2b4fb2 100644 --- a/test/lib/result_set_assertions.hh +++ b/test/lib/result_set_assertions.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/select_statement_utils.hh b/test/lib/select_statement_utils.hh index 32ca070c98..5f3377b412 100644 --- a/test/lib/select_statement_utils.hh +++ b/test/lib/select_statement_utils.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/simple_position_reader_queue.hh b/test/lib/simple_position_reader_queue.hh index 5b81f0040a..0f97d974da 100644 --- a/test/lib/simple_position_reader_queue.hh +++ b/test/lib/simple_position_reader_queue.hh @@ -5,19 +5,7 @@ /* * This file is part of Scylla. * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "mutation_reader.hh" diff --git a/test/lib/simple_schema.hh b/test/lib/simple_schema.hh index 08fab869db..5542b4d152 100644 --- a/test/lib/simple_schema.hh +++ b/test/lib/simple_schema.hh @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/sstable_run_based_compaction_strategy_for_tests.cc b/test/lib/sstable_run_based_compaction_strategy_for_tests.cc index f2a61b2686..4b1209ab33 100644 --- a/test/lib/sstable_run_based_compaction_strategy_for_tests.cc +++ b/test/lib/sstable_run_based_compaction_strategy_for_tests.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/lib/sstable_run_based_compaction_strategy_for_tests.hh b/test/lib/sstable_run_based_compaction_strategy_for_tests.hh index 34c22f53e6..492de7c8e3 100644 --- a/test/lib/sstable_run_based_compaction_strategy_for_tests.hh +++ b/test/lib/sstable_run_based_compaction_strategy_for_tests.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/lib/sstable_test_env.hh b/test/lib/sstable_test_env.hh index b7750d27ee..6d93784ce2 100644 --- a/test/lib/sstable_test_env.hh +++ b/test/lib/sstable_test_env.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/sstable_utils.cc b/test/lib/sstable_utils.cc index 5252b254ee..777c1090ca 100644 --- a/test/lib/sstable_utils.cc +++ b/test/lib/sstable_utils.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "test/lib/sstable_utils.hh" diff --git a/test/lib/sstable_utils.hh b/test/lib/sstable_utils.hh index b08749e2b5..133d00b634 100644 --- a/test/lib/sstable_utils.hh +++ b/test/lib/sstable_utils.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/test_services.cc b/test/lib/test_services.cc index a25fb0e502..670f99e79b 100644 --- a/test/lib/test_services.cc +++ b/test/lib/test_services.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "test/lib/test_services.hh" diff --git a/test/lib/test_table.hh b/test/lib/test_table.hh index 63f9719bde..74ec4fa788 100644 --- a/test/lib/test_table.hh +++ b/test/lib/test_table.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ /// Helper functions for creating and populating a test table. diff --git a/test/lib/test_utils.cc b/test/lib/test_utils.cc index 46b6b0c589..c064bca2ee 100644 --- a/test/lib/test_utils.cc +++ b/test/lib/test_utils.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "test/lib/test_utils.hh" diff --git a/test/lib/test_utils.hh b/test/lib/test_utils.hh index d04aa8c363..bb07c064e4 100644 --- a/test/lib/test_utils.hh +++ b/test/lib/test_utils.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/tmpdir.cc b/test/lib/tmpdir.cc index 4add34bfce..0bfaf5c354 100644 --- a/test/lib/tmpdir.cc +++ b/test/lib/tmpdir.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "test/lib/tmpdir.hh" diff --git a/test/lib/tmpdir.hh b/test/lib/tmpdir.hh index 6f0e122f33..5c099acb4b 100644 --- a/test/lib/tmpdir.hh +++ b/test/lib/tmpdir.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/lib/unit_test_service_levels_accessor.hh b/test/lib/unit_test_service_levels_accessor.hh index 959c502642..677b8bb9a5 100644 --- a/test/lib/unit_test_service_levels_accessor.hh +++ b/test/lib/unit_test_service_levels_accessor.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "service/qos/service_level_controller.hh" diff --git a/test/manual/ec2_snitch_test.cc b/test/manual/ec2_snitch_test.cc index f5e0356e25..7b250d6fb8 100644 --- a/test/manual/ec2_snitch_test.cc +++ b/test/manual/ec2_snitch_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/manual/enormous_table_scan_test.cc b/test/manual/enormous_table_scan_test.cc index 497e5ca0e9..e1a23ce5ba 100644 --- a/test/manual/enormous_table_scan_test.cc +++ b/test/manual/enormous_table_scan_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/manual/gce_snitch_test.cc b/test/manual/gce_snitch_test.cc index fff3f9e64c..e8a1897f85 100644 --- a/test/manual/gce_snitch_test.cc +++ b/test/manual/gce_snitch_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ /// \brief Tests the GoogleCloudSnitch. diff --git a/test/manual/gossip.cc b/test/manual/gossip.cc index 1cd7f7a3f6..3190204f3d 100644 --- a/test/manual/gossip.cc +++ b/test/manual/gossip.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/manual/hint_test.cc b/test/manual/hint_test.cc index 9f2051abb4..b85e2c09a4 100644 --- a/test/manual/hint_test.cc +++ b/test/manual/hint_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/manual/message.cc b/test/manual/message.cc index bf758e1335..61b5660e96 100644 --- a/test/manual/message.cc +++ b/test/manual/message.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/manual/partition_data_test.cc b/test/manual/partition_data_test.cc index 328b4555bd..8acd552d1c 100644 --- a/test/manual/partition_data_test.cc +++ b/test/manual/partition_data_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE partition_data diff --git a/test/manual/row_locker_test.cc b/test/manual/row_locker_test.cc index 808babc03e..b7f52e2245 100644 --- a/test/manual/row_locker_test.cc +++ b/test/manual/row_locker_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/manual/sstable_scan_footprint_test.cc b/test/manual/sstable_scan_footprint_test.cc index 4df844fd95..9eb5cd42ed 100644 --- a/test/manual/sstable_scan_footprint_test.cc +++ b/test/manual/sstable_scan_footprint_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "test/lib/cql_test_env.hh" diff --git a/test/manual/streaming_histogram_test.cc b/test/manual/streaming_histogram_test.cc index 6fbb7e3fa8..d4cad4494d 100644 --- a/test/manual/streaming_histogram_test.cc +++ b/test/manual/streaming_histogram_test.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -21,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #define BOOST_TEST_MODULE core diff --git a/test/perf/linux-perf-event.cc b/test/perf/linux-perf-event.cc index c1d914c47e..c3adf9d297 100644 --- a/test/perf/linux-perf-event.cc +++ b/test/perf/linux-perf-event.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/test/perf/linux-perf-event.hh b/test/perf/linux-perf-event.hh index 74e5465d4c..7aefe0dd3f 100644 --- a/test/perf/linux-perf-event.hh +++ b/test/perf/linux-perf-event.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/perf/logalloc.cc b/test/perf/logalloc.cc index c4b8a7491b..3f55f1c520 100644 --- a/test/perf/logalloc.cc +++ b/test/perf/logalloc.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/perf/memory_footprint_test.cc b/test/perf/memory_footprint_test.cc index a4b169de0f..eb8233b091 100644 --- a/test/perf/memory_footprint_test.cc +++ b/test/perf/memory_footprint_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/perf/perf.cc b/test/perf/perf.cc index cd930db151..61192d92d7 100644 --- a/test/perf/perf.cc +++ b/test/perf/perf.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "perf.hh" diff --git a/test/perf/perf.hh b/test/perf/perf.hh index 94a4528dac..d3112170fc 100644 --- a/test/perf/perf.hh +++ b/test/perf/perf.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/perf/perf_big_decimal.cc b/test/perf/perf_big_decimal.cc index a957e60ce9..26c14c9d70 100644 --- a/test/perf/perf_big_decimal.cc +++ b/test/perf/perf_big_decimal.cc @@ -5,19 +5,7 @@ /* * This file is part of Scylla. * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "seastar/include/seastar/testing/perf_tests.hh" diff --git a/test/perf/perf_cache_eviction.cc b/test/perf/perf_cache_eviction.cc index df8d894eee..99243303cb 100644 --- a/test/perf/perf_cache_eviction.cc +++ b/test/perf/perf_cache_eviction.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/perf/perf_checksum.cc b/test/perf/perf_checksum.cc index 59360adbc6..dec8ad8db2 100644 --- a/test/perf/perf_checksum.cc +++ b/test/perf/perf_checksum.cc @@ -5,19 +5,7 @@ /* * This file is part of Scylla. * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "sstables/checksum_utils.hh" diff --git a/test/perf/perf_collection.cc b/test/perf/perf_collection.cc index cbee1da317..ec18644528 100644 --- a/test/perf/perf_collection.cc +++ b/test/perf/perf_collection.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/perf/perf_cql_parser.cc b/test/perf/perf_cql_parser.cc index 875d87e36b..aa1eb21dea 100644 --- a/test/perf/perf_cql_parser.cc +++ b/test/perf/perf_cql_parser.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "test/perf/perf.hh" diff --git a/test/perf/perf_fast_forward.cc b/test/perf/perf_fast_forward.cc index 45bbe1024e..b21eae450b 100644 --- a/test/perf/perf_fast_forward.cc +++ b/test/perf/perf_fast_forward.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/perf/perf_fast_forward_report.py b/test/perf/perf_fast_forward_report.py index bad6a5794a..289cbdbed3 100755 --- a/test/perf/perf_fast_forward_report.py +++ b/test/perf/perf_fast_forward_report.py @@ -4,20 +4,7 @@ # Copyright (C) 2019-present ScyllaDB # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # import argparse diff --git a/test/perf/perf_hash.cc b/test/perf/perf_hash.cc index e726d94c53..2b51be1d77 100644 --- a/test/perf/perf_hash.cc +++ b/test/perf/perf_hash.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "utils/murmur_hash.hh" diff --git a/test/perf/perf_idl.cc b/test/perf/perf_idl.cc index 3b9696931b..0c49112fdb 100644 --- a/test/perf/perf_idl.cc +++ b/test/perf/perf_idl.cc @@ -5,19 +5,7 @@ /* * This file is part of Scylla. * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "seastar/include/seastar/testing/perf_tests.hh" diff --git a/test/perf/perf_mutation.cc b/test/perf/perf_mutation.cc index e1cfc7279d..de5fdc8f45 100644 --- a/test/perf/perf_mutation.cc +++ b/test/perf/perf_mutation.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "replica/database.hh" diff --git a/test/perf/perf_mutation_fragment.cc b/test/perf/perf_mutation_fragment.cc index d92a0209df..8c99266a31 100644 --- a/test/perf/perf_mutation_fragment.cc +++ b/test/perf/perf_mutation_fragment.cc @@ -5,19 +5,7 @@ /* * This file is part of Scylla. * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "seastar/include/seastar/testing/perf_tests.hh" diff --git a/test/perf/perf_mutation_readers.cc b/test/perf/perf_mutation_readers.cc index 6ebf946b07..de068131be 100644 --- a/test/perf/perf_mutation_readers.cc +++ b/test/perf/perf_mutation_readers.cc @@ -5,19 +5,7 @@ /* * This file is part of Scylla. * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/perf/perf_row_cache_reads.cc b/test/perf/perf_row_cache_reads.cc index fea5f732ac..4644b36251 100644 --- a/test/perf/perf_row_cache_reads.cc +++ b/test/perf/perf_row_cache_reads.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/perf/perf_row_cache_update.cc b/test/perf/perf_row_cache_update.cc index 1dbcc73c2c..e1c96cc5d7 100644 --- a/test/perf/perf_row_cache_update.cc +++ b/test/perf/perf_row_cache_update.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/perf/perf_simple_query.cc b/test/perf/perf_simple_query.cc index 912408f298..0f537b2138 100644 --- a/test/perf/perf_simple_query.cc +++ b/test/perf/perf_simple_query.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/perf/perf_sstable.cc b/test/perf/perf_sstable.cc index 7c6349c2ff..d0a98bd871 100644 --- a/test/perf/perf_sstable.cc +++ b/test/perf/perf_sstable.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/perf/perf_sstable.hh b/test/perf/perf_sstable.hh index 3f6a1d8589..056c02de67 100644 --- a/test/perf/perf_sstable.hh +++ b/test/perf/perf_sstable.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/perf/perf_vint.cc b/test/perf/perf_vint.cc index c0ba01fa4f..438a9145ed 100644 --- a/test/perf/perf_vint.cc +++ b/test/perf/perf_vint.cc @@ -5,19 +5,7 @@ /* * This file is part of Scylla. * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "seastar/include/seastar/testing/perf_tests.hh" diff --git a/test/raft/discovery_test.cc b/test/raft/discovery_test.cc index 356fabc959..31d4cce50e 100644 --- a/test/raft/discovery_test.cc +++ b/test/raft/discovery_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE raft #include "test/raft/helpers.hh" diff --git a/test/raft/etcd_test.cc b/test/raft/etcd_test.cc index 4f886e8552..1a8c16dfe5 100644 --- a/test/raft/etcd_test.cc +++ b/test/raft/etcd_test.cc @@ -17,20 +17,7 @@ * under the License. */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ // Port of etcd Raft implementation unit tests diff --git a/test/raft/fsm_test.cc b/test/raft/fsm_test.cc index 0380e7bff2..8faad18fe6 100644 --- a/test/raft/fsm_test.cc +++ b/test/raft/fsm_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #define BOOST_TEST_MODULE raft diff --git a/test/raft/future_set.hh b/test/raft/future_set.hh index e7fe0091a8..30ab61ff2c 100644 --- a/test/raft/future_set.hh +++ b/test/raft/future_set.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/raft/generator.hh b/test/raft/generator.hh index 2bfda50e03..e098239366 100644 --- a/test/raft/generator.hh +++ b/test/raft/generator.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/raft/helpers.cc b/test/raft/helpers.cc index 53d3a36d95..5fea10abe4 100644 --- a/test/raft/helpers.cc +++ b/test/raft/helpers.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ // diff --git a/test/raft/helpers.hh b/test/raft/helpers.hh index 55ab73661b..1d218b0635 100644 --- a/test/raft/helpers.hh +++ b/test/raft/helpers.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ // diff --git a/test/raft/logical_timer.hh b/test/raft/logical_timer.hh index a5ee699d64..19992948b1 100644 --- a/test/raft/logical_timer.hh +++ b/test/raft/logical_timer.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/raft/many_test.cc b/test/raft/many_test.cc index 5f7618be2a..8ba177ff12 100644 --- a/test/raft/many_test.cc +++ b/test/raft/many_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ // Test Raft library with many candidates diff --git a/test/raft/raft_address_map_test.cc b/test/raft/raft_address_map_test.cc index d5855bbcf7..d9b322c1ef 100644 --- a/test/raft/raft_address_map_test.cc +++ b/test/raft/raft_address_map_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/raft/raft_sys_table_storage_test.cc b/test/raft/raft_sys_table_storage_test.cc index d72d8fe2fc..9227f62965 100644 --- a/test/raft/raft_sys_table_storage_test.cc +++ b/test/raft/raft_sys_table_storage_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/raft/randomized_nemesis_test.cc b/test/raft/randomized_nemesis_test.cc index 676603e63a..0ed12eb6c5 100644 --- a/test/raft/randomized_nemesis_test.cc +++ b/test/raft/randomized_nemesis_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/raft/replication.cc b/test/raft/replication.cc index a76cb14cd9..08eec14bd2 100644 --- a/test/raft/replication.cc +++ b/test/raft/replication.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #undef SEASTAR_TESTING_MAIN diff --git a/test/raft/replication.hh b/test/raft/replication.hh index 6511720397..c66a85a730 100644 --- a/test/raft/replication.hh +++ b/test/raft/replication.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/raft/replication_test.cc b/test/raft/replication_test.cc index b71d07c2d1..53407e29b3 100644 --- a/test/raft/replication_test.cc +++ b/test/raft/replication_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "replication.hh" diff --git a/test/raft/ticker.hh b/test/raft/ticker.hh index 5b6daa546f..f65d7c8f5d 100644 --- a/test/raft/ticker.hh +++ b/test/raft/ticker.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/redis/conftest.py b/test/redis/conftest.py index 97278b1010..8ad3be3fe5 100644 --- a/test/redis/conftest.py +++ b/test/redis/conftest.py @@ -1,19 +1,6 @@ # Copyright 2020-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # This file contains "test fixtures", a pytest concept described in # https://docs.pytest.org/en/latest/fixture.html. diff --git a/test/redis/test_hashes.py b/test/redis/test_hashes.py index ec1cfda9ac..0df04a68b0 100644 --- a/test/redis/test_hashes.py +++ b/test/redis/test_hashes.py @@ -1,18 +1,5 @@ # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # import pytest diff --git a/test/redis/test_raw_cmd.py b/test/redis/test_raw_cmd.py index 800d6465e5..999276dbaa 100644 --- a/test/redis/test_raw_cmd.py +++ b/test/redis/test_raw_cmd.py @@ -2,20 +2,7 @@ # Copyright (C) 2019-present ScyllaDB # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # import socket diff --git a/test/redis/test_strings.py b/test/redis/test_strings.py index 6abcd0c5a9..bdd1d934dc 100644 --- a/test/redis/test_strings.py +++ b/test/redis/test_strings.py @@ -2,20 +2,7 @@ # Copyright (C) 2019 pengjian.uestc @ gmail.com # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # import pytest diff --git a/test/redis/util.py b/test/redis/util.py index 41feec877d..f51c5964e6 100644 --- a/test/redis/util.py +++ b/test/redis/util.py @@ -2,20 +2,7 @@ # Copyright (C) 2019 pengjian.uestc @ gmail.com # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # import string diff --git a/test/rest_api/conftest.py b/test/rest_api/conftest.py index 7abb775e77..b81a2b09e7 100644 --- a/test/rest_api/conftest.py +++ b/test/rest_api/conftest.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # This file configures pytest for all tests in this directory, and also # defines common test fixtures for all of them to use. A "fixture" is some diff --git a/test/rest_api/test_compaction_manager.py b/test/rest_api/test_compaction_manager.py index 303ddf50d1..fde4fa59a0 100644 --- a/test/rest_api/test_compaction_manager.py +++ b/test/rest_api/test_compaction_manager.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import pytest import sys diff --git a/test/rest_api/test_storage_service.py b/test/rest_api/test_storage_service.py index 30644cb770..05cedb40b2 100644 --- a/test/rest_api/test_storage_service.py +++ b/test/rest_api/test_storage_service.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later import pytest import sys diff --git a/test/rest_api/test_system.py b/test/rest_api/test_system.py index 8d3bb492b9..bfb606ffef 100644 --- a/test/rest_api/test_system.py +++ b/test/rest_api/test_system.py @@ -1,19 +1,6 @@ # Copyright 2021-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later def test_system_uptime_ms(rest_api): resp = rest_api.send('GET', "system/uptime_ms") diff --git a/test/scylla-gdb/conftest.py b/test/scylla-gdb/conftest.py index 8864bf2a88..4b19024aba 100644 --- a/test/scylla-gdb/conftest.py +++ b/test/scylla-gdb/conftest.py @@ -1,19 +1,6 @@ # Copyright 2022-present ScyllaDB # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # This file configures pytest for all tests in this directory, and also # defines common test fixtures for all of them to use. A "fixture" is some diff --git a/test/tools/cql_repl.cc b/test/tools/cql_repl.cc index 893beaa513..016f582dcc 100644 --- a/test/tools/cql_repl.cc +++ b/test/tools/cql_repl.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include #include diff --git a/test/unit/bptree_compaction_test.cc b/test/unit/bptree_compaction_test.cc index 02d6ab92dc..40aece75e4 100644 --- a/test/unit/bptree_compaction_test.cc +++ b/test/unit/bptree_compaction_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/unit/bptree_stress_test.cc b/test/unit/bptree_stress_test.cc index 234e692951..30bdf0c203 100644 --- a/test/unit/bptree_stress_test.cc +++ b/test/unit/bptree_stress_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/unit/bptree_validation.hh b/test/unit/bptree_validation.hh index b48c2b346e..a47bf6349a 100644 --- a/test/unit/bptree_validation.hh +++ b/test/unit/bptree_validation.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/unit/btree_compaction_test.cc b/test/unit/btree_compaction_test.cc index 1752b72cfa..f5f32b9c12 100644 --- a/test/unit/btree_compaction_test.cc +++ b/test/unit/btree_compaction_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/unit/btree_stress_test.cc b/test/unit/btree_stress_test.cc index d7f668f1ad..2da5a0c716 100644 --- a/test/unit/btree_stress_test.cc +++ b/test/unit/btree_stress_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/unit/btree_validation.hh b/test/unit/btree_validation.hh index 09208b8bf5..1fcaffa5ad 100644 --- a/test/unit/btree_validation.hh +++ b/test/unit/btree_validation.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/unit/collection_stress.hh b/test/unit/collection_stress.hh index 7454ea03ac..085982b26b 100644 --- a/test/unit/collection_stress.hh +++ b/test/unit/collection_stress.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/unit/cross_shard_barrier_test.cc b/test/unit/cross_shard_barrier_test.cc index 3b066f0c24..3f5d73f9ff 100644 --- a/test/unit/cross_shard_barrier_test.cc +++ b/test/unit/cross_shard_barrier_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/unit/lsa_async_eviction_test.cc b/test/unit/lsa_async_eviction_test.cc index 96f2cf2373..86f7c83fc0 100644 --- a/test/unit/lsa_async_eviction_test.cc +++ b/test/unit/lsa_async_eviction_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/unit/lsa_sync_eviction_test.cc b/test/unit/lsa_sync_eviction_test.cc index f1facc288d..3d444dbd6a 100644 --- a/test/unit/lsa_sync_eviction_test.cc +++ b/test/unit/lsa_sync_eviction_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/unit/radix_tree_compaction_test.cc b/test/unit/radix_tree_compaction_test.cc index 4f43f94492..0bd6be347a 100644 --- a/test/unit/radix_tree_compaction_test.cc +++ b/test/unit/radix_tree_compaction_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/unit/radix_tree_printer.hh b/test/unit/radix_tree_printer.hh index 5c3c241352..f08eeb6b30 100644 --- a/test/unit/radix_tree_printer.hh +++ b/test/unit/radix_tree_printer.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/test/unit/radix_tree_stress_test.cc b/test/unit/radix_tree_stress_test.cc index a00ad1715c..d5a3f476d7 100644 --- a/test/unit/radix_tree_stress_test.cc +++ b/test/unit/radix_tree_stress_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/unit/row_cache_alloc_stress_test.cc b/test/unit/row_cache_alloc_stress_test.cc index 38276426e8..92de5b6a6a 100644 --- a/test/unit/row_cache_alloc_stress_test.cc +++ b/test/unit/row_cache_alloc_stress_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/unit/row_cache_stress_test.cc b/test/unit/row_cache_stress_test.cc index 11718d1d4e..9a26a2096f 100644 --- a/test/unit/row_cache_stress_test.cc +++ b/test/unit/row_cache_stress_test.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/test/unit/tree_test_key.hh b/test/unit/tree_test_key.hh index 5e29adffe0..9ddf3993ac 100644 --- a/test/unit/tree_test_key.hh +++ b/test/unit/tree_test_key.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/thrift/controller.cc b/thrift/controller.cc index afa8aa0422..c84e0adca8 100644 --- a/thrift/controller.cc +++ b/thrift/controller.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "thrift/controller.hh" diff --git a/thrift/controller.hh b/thrift/controller.hh index 9bd54437d0..ca57544b99 100644 --- a/thrift/controller.hh +++ b/thrift/controller.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/thrift/handler.cc b/thrift/handler.cc index 93e8015f54..acfd012b24 100644 --- a/thrift/handler.cc +++ b/thrift/handler.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ // Some thrift headers include other files from within namespaces, diff --git a/thrift/handler.hh b/thrift/handler.hh index 2f44fdd0c7..118f13ee8f 100644 --- a/thrift/handler.hh +++ b/thrift/handler.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #ifndef APPS_SEASTAR_THRIFT_HANDLER_HH_ diff --git a/thrift/server.cc b/thrift/server.cc index 15ad4ced67..111df9f184 100644 --- a/thrift/server.cc +++ b/thrift/server.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "server.hh" diff --git a/thrift/server.hh b/thrift/server.hh index afcc88e000..fb8b992063 100644 --- a/thrift/server.hh +++ b/thrift/server.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #ifndef APPS_SEASTAR_THRIFT_SERVER_HH_ diff --git a/thrift/thrift_validation.cc b/thrift/thrift_validation.cc index d8fa784587..49c04e5f2a 100644 --- a/thrift/thrift_validation.cc +++ b/thrift/thrift_validation.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "thrift_validation.hh" diff --git a/thrift/thrift_validation.hh b/thrift/thrift_validation.hh index 488a7b111f..3e23951c71 100644 --- a/thrift/thrift_validation.hh +++ b/thrift/thrift_validation.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/thrift/utils.hh b/thrift/utils.hh index 4a76e8cc87..6988794c2e 100644 --- a/thrift/utils.hh +++ b/thrift/utils.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/timeout_config.cc b/timeout_config.cc index dc6f3e39fc..3c783fa0e7 100644 --- a/timeout_config.cc +++ b/timeout_config.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "timeout_config.hh" diff --git a/timeout_config.hh b/timeout_config.hh index 3aa8cb4042..1ef88ed43b 100644 --- a/timeout_config.hh +++ b/timeout_config.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/timestamp.hh b/timestamp.hh index efe8362bcb..9f122a38b7 100644 --- a/timestamp.hh +++ b/timestamp.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/to_string.hh b/to_string.hh index fa9cc4c031..da46f2291c 100644 --- a/to_string.hh +++ b/to_string.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/tombstone.hh b/tombstone.hh index 960a5fd461..b8276a5246 100644 --- a/tombstone.hh +++ b/tombstone.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/tombstone_gc.cc b/tombstone_gc.cc index e77ba462bb..9e8c93a1ad 100644 --- a/tombstone_gc.cc +++ b/tombstone_gc.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/tombstone_gc.hh b/tombstone_gc.hh index 5b343612ac..e7f15af46f 100644 --- a/tombstone_gc.hh +++ b/tombstone_gc.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/tombstone_gc_extension.hh b/tombstone_gc_extension.hh index 60f70e2344..3597319138 100644 --- a/tombstone_gc_extension.hh +++ b/tombstone_gc_extension.hh @@ -2,20 +2,7 @@ * Copyright 2021-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/tombstone_gc_options.cc b/tombstone_gc_options.cc index 2ef6787e07..fe7871fff2 100644 --- a/tombstone_gc_options.cc +++ b/tombstone_gc_options.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/tombstone_gc_options.hh b/tombstone_gc_options.hh index f42d4d304a..95627d8fe7 100644 --- a/tombstone_gc_options.hh +++ b/tombstone_gc_options.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/tools/entry_point.hh b/tools/entry_point.hh index 3ecd5c48a5..19c2816ab6 100644 --- a/tools/entry_point.hh +++ b/tools/entry_point.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace tools { diff --git a/tools/schema_loader.cc b/tools/schema_loader.cc index e26f3a834d..c7b252551d 100644 --- a/tools/schema_loader.cc +++ b/tools/schema_loader.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/tools/schema_loader.hh b/tools/schema_loader.hh index ce708109cb..8340227f1f 100644 --- a/tools/schema_loader.hh +++ b/tools/schema_loader.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/tools/scylla-sstable.cc b/tools/scylla-sstable.cc index 95f7d5b053..4954647d49 100644 --- a/tools/scylla-sstable.cc +++ b/tools/scylla-sstable.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/tools/scylla-types.cc b/tools/scylla-types.cc index f24a58ef3d..a6ea8c20c0 100644 --- a/tools/scylla-types.cc +++ b/tools/scylla-types.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/tools/testing/dist-check/dist-check.sh b/tools/testing/dist-check/dist-check.sh index 49da6e26de..e4fc7a4058 100755 --- a/tools/testing/dist-check/dist-check.sh +++ b/tools/testing/dist-check/dist-check.sh @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # PROGRAM=$(basename $0) diff --git a/tools/testing/dist-check/docker.io/centos-7.sh b/tools/testing/dist-check/docker.io/centos-7.sh index 0542f557b2..415da2babf 100755 --- a/tools/testing/dist-check/docker.io/centos-7.sh +++ b/tools/testing/dist-check/docker.io/centos-7.sh @@ -5,20 +5,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # source "$(dirname $0)/util.sh" diff --git a/tools/testing/dist-check/docker.io/util.sh b/tools/testing/dist-check/docker.io/util.sh index f38c2278d7..69148fed45 100644 --- a/tools/testing/dist-check/docker.io/util.sh +++ b/tools/testing/dist-check/docker.io/util.sh @@ -3,20 +3,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # PROGRAM=$(basename $0) diff --git a/tools/utils.cc b/tools/utils.cc index c6ff8e2ad8..8ebab40af5 100644 --- a/tools/utils.cc +++ b/tools/utils.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "tools/utils.hh" diff --git a/tools/utils.hh b/tools/utils.hh index 6059cb77b5..a010f0abd8 100644 --- a/tools/utils.hh +++ b/tools/utils.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/tracing/trace_keyspace_helper.cc b/tracing/trace_keyspace_helper.cc index f496cd904e..959ed32a39 100644 --- a/tracing/trace_keyspace_helper.cc +++ b/tracing/trace_keyspace_helper.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include #include "types.hh" diff --git a/tracing/trace_keyspace_helper.hh b/tracing/trace_keyspace_helper.hh index 10012d7557..fbd0d43572 100644 --- a/tracing/trace_keyspace_helper.hh +++ b/tracing/trace_keyspace_helper.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/tracing/trace_state.cc b/tracing/trace_state.cc index 52b671a237..4b85609d39 100644 --- a/tracing/trace_state.cc +++ b/tracing/trace_state.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include #include "cql3/statements/prepared_statement.hh" diff --git a/tracing/trace_state.hh b/tracing/trace_state.hh index ae37e80721..edfb7f44cb 100644 --- a/tracing/trace_state.hh +++ b/tracing/trace_state.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/tracing/traced_file.cc b/tracing/traced_file.cc index ef95ab8589..63e07ab88b 100644 --- a/tracing/traced_file.cc +++ b/tracing/traced_file.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/tracing/traced_file.hh b/tracing/traced_file.hh index 107a7f3b16..f64aa6ca31 100644 --- a/tracing/traced_file.hh +++ b/tracing/traced_file.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/tracing/tracing.cc b/tracing/tracing.cc index 3475c0d349..4716f7d266 100644 --- a/tracing/tracing.cc +++ b/tracing/tracing.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include #include "tracing/tracing.hh" diff --git a/tracing/tracing.hh b/tracing/tracing.hh index b4097ff3fd..0a42dc46ec 100644 --- a/tracing/tracing.hh +++ b/tracing/tracing.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/tracing/tracing_backend_registry.cc b/tracing/tracing_backend_registry.cc index d269e75237..dc913529ba 100644 --- a/tracing/tracing_backend_registry.cc +++ b/tracing/tracing_backend_registry.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "tracing_backend_registry.hh" diff --git a/tracing/tracing_backend_registry.hh b/tracing/tracing_backend_registry.hh index 457987e70d..e22a4f38a4 100644 --- a/tracing/tracing_backend_registry.hh +++ b/tracing/tracing_backend_registry.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/transport/controller.cc b/transport/controller.cc index d5eff565f3..207710fb89 100644 --- a/transport/controller.cc +++ b/transport/controller.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "transport/controller.hh" diff --git a/transport/controller.hh b/transport/controller.hh index ae40712020..cf6281bfa8 100644 --- a/transport/controller.hh +++ b/transport/controller.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/transport/cql_protocol_extension.cc b/transport/cql_protocol_extension.cc index d4b969f605..7b0f1dbb4b 100644 --- a/transport/cql_protocol_extension.cc +++ b/transport/cql_protocol_extension.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/transport/cql_protocol_extension.hh b/transport/cql_protocol_extension.hh index ecf8751f02..ede06e8a52 100644 --- a/transport/cql_protocol_extension.hh +++ b/transport/cql_protocol_extension.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/transport/event.cc b/transport/event.cc index dce982541f..1240b26253 100644 --- a/transport/event.cc +++ b/transport/event.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "transport/event.hh" diff --git a/transport/event.hh b/transport/event.hh index 6591d4184e..ce2ebd8016 100644 --- a/transport/event.hh +++ b/transport/event.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/transport/event_notifier.cc b/transport/event_notifier.cc index 213f978845..9d94be854e 100644 --- a/transport/event_notifier.cc +++ b/transport/event_notifier.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "transport/server.hh" diff --git a/transport/messages/result_message.cc b/transport/messages/result_message.cc index b21400e8d5..1c9a149863 100644 --- a/transport/messages/result_message.cc +++ b/transport/messages/result_message.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "result_message.hh" diff --git a/transport/messages/result_message.hh b/transport/messages/result_message.hh index 7448e5a62d..53cb654e73 100644 --- a/transport/messages/result_message.hh +++ b/transport/messages/result_message.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/transport/messages/result_message_base.hh b/transport/messages/result_message_base.hh index 8855d74799..a5c82f156f 100644 --- a/transport/messages/result_message_base.hh +++ b/transport/messages/result_message_base.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/transport/messages_fwd.hh b/transport/messages_fwd.hh index 385f25a463..1103ae1ce7 100644 --- a/transport/messages_fwd.hh +++ b/transport/messages_fwd.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/transport/request.hh b/transport/request.hh index ac72f16a7e..959636d5b6 100644 --- a/transport/request.hh +++ b/transport/request.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/transport/response.hh b/transport/response.hh index 36c17c7d5f..70d7ae9682 100644 --- a/transport/response.hh +++ b/transport/response.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/transport/server.cc b/transport/server.cc index 5b7222bd6b..1026291da1 100644 --- a/transport/server.cc +++ b/transport/server.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "server.hh" diff --git a/transport/server.hh b/transport/server.hh index f7049d1bcb..0609131069 100644 --- a/transport/server.hh +++ b/transport/server.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/types.cc b/types.cc index ec8c274766..7392cd20c1 100644 --- a/types.cc +++ b/types.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/types.hh b/types.hh index 6c4ecdb3d6..b6bab82f31 100644 --- a/types.hh +++ b/types.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/types/collection.hh b/types/collection.hh index 420b2b3f17..aa4c7b9499 100644 --- a/types/collection.hh +++ b/types/collection.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/types/list.hh b/types/list.hh index a8cda729c8..bc78bc7a8f 100644 --- a/types/list.hh +++ b/types/list.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/types/listlike_partial_deserializing_iterator.hh b/types/listlike_partial_deserializing_iterator.hh index dc79bcca6a..7e7edd3437 100644 --- a/types/listlike_partial_deserializing_iterator.hh +++ b/types/listlike_partial_deserializing_iterator.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/types/map.hh b/types/map.hh index 0b0e4ed0bb..54b3ddef7b 100644 --- a/types/map.hh +++ b/types/map.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/types/set.hh b/types/set.hh index 89737be4cf..a006ed91b4 100644 --- a/types/set.hh +++ b/types/set.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/types/tuple.hh b/types/tuple.hh index 32be01c66d..19ef3bb880 100644 --- a/types/tuple.hh +++ b/types/tuple.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/types/user.hh b/types/user.hh index 45ba5aae3e..13216b2ce8 100644 --- a/types/user.hh +++ b/types/user.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/unified/build_unified.sh b/unified/build_unified.sh index 245a292416..dafc115bfe 100755 --- a/unified/build_unified.sh +++ b/unified/build_unified.sh @@ -4,20 +4,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # print_usage() { diff --git a/unified/install.sh b/unified/install.sh index 36d54e6082..174ebd048a 100755 --- a/unified/install.sh +++ b/unified/install.sh @@ -4,20 +4,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # set -e diff --git a/unified/uninstall.sh b/unified/uninstall.sh index d28bdf0bce..13a1836a04 100755 --- a/unified/uninstall.sh +++ b/unified/uninstall.sh @@ -4,20 +4,7 @@ # # -# This file is part of Scylla. -# -# Scylla is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scylla is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Scylla. If not, see . +# SPDX-License-Identifier: AGPL-3.0-or-later # set -e diff --git a/unimplemented.cc b/unimplemented.cc index 5607840236..485bc4e568 100644 --- a/unimplemented.cc +++ b/unimplemented.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/unimplemented.hh b/unimplemented.hh index bbda3d403b..7f55451001 100644 --- a/unimplemented.hh +++ b/unimplemented.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/UUID.hh b/utils/UUID.hh index 50e4d966a0..ff9bac98b9 100644 --- a/utils/UUID.hh +++ b/utils/UUID.hh @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ // This class is the parts of java.util.UUID that we need diff --git a/utils/UUID_gen.cc b/utils/UUID_gen.cc index ea31f97ebc..21f9f9b2fc 100644 --- a/utils/UUID_gen.cc +++ b/utils/UUID_gen.cc @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "UUID_gen.hh" diff --git a/utils/UUID_gen.hh b/utils/UUID_gen.hh index 8e5e1f50c1..d2a69d1e6f 100644 --- a/utils/UUID_gen.hh +++ b/utils/UUID_gen.hh @@ -1,40 +1,12 @@ #pragma once /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include diff --git a/utils/allocation_strategy.hh b/utils/allocation_strategy.hh index 816050a8ec..de35426fe3 100644 --- a/utils/allocation_strategy.hh +++ b/utils/allocation_strategy.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/anchorless_list.hh b/utils/anchorless_list.hh index 0e869b26a8..731245630b 100644 --- a/utils/anchorless_list.hh +++ b/utils/anchorless_list.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/array-search.cc b/utils/array-search.cc index f4fa99a416..84713ac21d 100644 --- a/utils/array-search.cc +++ b/utils/array-search.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/utils/array-search.hh b/utils/array-search.hh index 8579663c3f..2835805d35 100644 --- a/utils/array-search.hh +++ b/utils/array-search.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/ascii.cc b/utils/ascii.cc index 3d1855e005..ce42df62be 100644 --- a/utils/ascii.cc +++ b/utils/ascii.cc @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "ascii.hh" diff --git a/utils/ascii.hh b/utils/ascii.hh index fd67b16234..925e3dd525 100644 --- a/utils/ascii.hh +++ b/utils/ascii.hh @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/atomic_vector.hh b/utils/atomic_vector.hh index 020d3f8f80..5ee801944f 100644 --- a/utils/atomic_vector.hh +++ b/utils/atomic_vector.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/base64.cc b/utils/base64.cc index 0b8f84157b..dce903f6d4 100644 --- a/utils/base64.cc +++ b/utils/base64.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "base64.hh" diff --git a/utils/base64.hh b/utils/base64.hh index f436526c14..cbd1eaf961 100644 --- a/utils/base64.hh +++ b/utils/base64.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/big_decimal.cc b/utils/big_decimal.cc index 860ec9126e..ae02d4b4ee 100644 --- a/utils/big_decimal.cc +++ b/utils/big_decimal.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "big_decimal.hh" diff --git a/utils/big_decimal.hh b/utils/big_decimal.hh index 7ea3ea881b..eafc90f199 100644 --- a/utils/big_decimal.hh +++ b/utils/big_decimal.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/bit_cast.hh b/utils/bit_cast.hh index 445cb56362..2d3328e9e0 100644 --- a/utils/bit_cast.hh +++ b/utils/bit_cast.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/bloom_calculations.cc b/utils/bloom_calculations.cc index ff04d6a4a5..bbd7d93964 100644 --- a/utils/bloom_calculations.cc +++ b/utils/bloom_calculations.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "bloom_calculations.hh" diff --git a/utils/bloom_calculations.hh b/utils/bloom_calculations.hh index b48020bef4..d0a9cb85e7 100644 --- a/utils/bloom_calculations.hh +++ b/utils/bloom_calculations.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/utils/bloom_filter.cc b/utils/bloom_filter.cc index 17cd974d3f..b53c90cdec 100644 --- a/utils/bloom_filter.cc +++ b/utils/bloom_filter.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "i_filter.hh" diff --git a/utils/bloom_filter.hh b/utils/bloom_filter.hh index 71a7023ff7..138a99a67e 100644 --- a/utils/bloom_filter.hh +++ b/utils/bloom_filter.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -26,20 +11,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once #include "i_filter.hh" diff --git a/utils/bounded_stats_deque.hh b/utils/bounded_stats_deque.hh index ba5fdd0f58..5e666e5a66 100644 --- a/utils/bounded_stats_deque.hh +++ b/utils/bounded_stats_deque.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/utils/bptree.hh b/utils/bptree.hh index 8db7151bcb..a73ca8e31c 100644 --- a/utils/bptree.hh +++ b/utils/bptree.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/buffer_input_stream.cc b/utils/buffer_input_stream.cc index 88c437d509..f73bf966b9 100644 --- a/utils/buffer_input_stream.cc +++ b/utils/buffer_input_stream.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "buffer_input_stream.hh" diff --git a/utils/buffer_input_stream.hh b/utils/buffer_input_stream.hh index ac249c5d5a..6c5fcc1c56 100644 --- a/utils/buffer_input_stream.hh +++ b/utils/buffer_input_stream.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/cached_file.hh b/utils/cached_file.hh index 9cb542c370..e0aa40a939 100644 --- a/utils/cached_file.hh +++ b/utils/cached_file.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/chunked_vector.hh b/utils/chunked_vector.hh index 7a69e16102..dca542167e 100644 --- a/utils/chunked_vector.hh +++ b/utils/chunked_vector.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/class_registrator.hh b/utils/class_registrator.hh index bab76397cc..76c9fe3901 100644 --- a/utils/class_registrator.hh +++ b/utils/class_registrator.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/clmul.hh b/utils/clmul.hh index 8ef157f9d7..1e1ed6b4d5 100644 --- a/utils/clmul.hh +++ b/utils/clmul.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later * */ diff --git a/utils/coarse_steady_clock.hh b/utils/coarse_steady_clock.hh index 874a113aed..b97cd29ac3 100644 --- a/utils/coarse_steady_clock.hh +++ b/utils/coarse_steady_clock.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/collection-concepts.hh b/utils/collection-concepts.hh index 7be6b6da16..38c7dc388c 100644 --- a/utils/collection-concepts.hh +++ b/utils/collection-concepts.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/compact-radix-tree.hh b/utils/compact-radix-tree.hh index 35cc4d1c10..5a3779ccd2 100644 --- a/utils/compact-radix-tree.hh +++ b/utils/compact-radix-tree.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/config_file.cc b/utils/config_file.cc index 582efa3bb8..6a678ed4a6 100644 --- a/utils/config_file.cc +++ b/utils/config_file.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/utils/config_file.hh b/utils/config_file.hh index d6364e3e9e..e8b78890c1 100644 --- a/utils/config_file.hh +++ b/utils/config_file.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/config_file_impl.hh b/utils/config_file_impl.hh index 579f794f37..1b36dac839 100644 --- a/utils/config_file_impl.hh +++ b/utils/config_file_impl.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/coroutine.hh b/utils/coroutine.hh index 8b4f1ef658..d13be71753 100644 --- a/utils/coroutine.hh +++ b/utils/coroutine.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/crc.hh b/utils/crc.hh index 7811c8d588..c4449400fc 100644 --- a/utils/crc.hh +++ b/utils/crc.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later * * A crc32 calculation for __PPC64__ uses the code from https://github.com/antonblanchard/crc32-vpmsum * written by Anton Blanchard , IBM diff --git a/utils/cross-shard-barrier.hh b/utils/cross-shard-barrier.hh index 6759dda88d..0407ef8aa3 100644 --- a/utils/cross-shard-barrier.hh +++ b/utils/cross-shard-barrier.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/data_input.hh b/utils/data_input.hh index 5d192a4161..30eeb1391a 100644 --- a/utils/data_input.hh +++ b/utils/data_input.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #ifndef UTILS_DATA_INPUT_HH_ diff --git a/utils/directories.cc b/utils/directories.cc index bb05b50bb5..422741415e 100644 --- a/utils/directories.cc +++ b/utils/directories.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/utils/directories.hh b/utils/directories.hh index f8279af859..2206c2a129 100644 --- a/utils/directories.hh +++ b/utils/directories.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/disk-error-handler.cc b/utils/disk-error-handler.cc index a7612e81a1..98558879fe 100644 --- a/utils/disk-error-handler.cc +++ b/utils/disk-error-handler.cc @@ -2,20 +2,7 @@ * Copyright 2016-present ScyllaDB **/ -/* This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . +/* SPDX-License-Identifier: AGPL-3.0-or-later */ #include "utils/disk-error-handler.hh" diff --git a/utils/disk-error-handler.hh b/utils/disk-error-handler.hh index e3516de1e2..3d81fa812a 100644 --- a/utils/disk-error-handler.hh +++ b/utils/disk-error-handler.hh @@ -2,20 +2,7 @@ * Copyright 2016-present ScyllaDB **/ -/* This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . +/* SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/div_ceil.hh b/utils/div_ceil.hh index 81a25723f9..943872dbcc 100644 --- a/utils/div_ceil.hh +++ b/utils/div_ceil.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/double-decker.hh b/utils/double-decker.hh index 744b38ff9d..8a75f36568 100644 --- a/utils/double-decker.hh +++ b/utils/double-decker.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/dynamic_bitset.cc b/utils/dynamic_bitset.cc index b611099d36..160c060f93 100644 --- a/utils/dynamic_bitset.cc +++ b/utils/dynamic_bitset.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/utils/dynamic_bitset.hh b/utils/dynamic_bitset.hh index a10a535124..8eb1eb925b 100644 --- a/utils/dynamic_bitset.hh +++ b/utils/dynamic_bitset.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/entangled.hh b/utils/entangled.hh index d32c2df9cb..342c478b21 100644 --- a/utils/entangled.hh +++ b/utils/entangled.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/enum_option.hh b/utils/enum_option.hh index 11397aa181..c52ccebb1b 100644 --- a/utils/enum_option.hh +++ b/utils/enum_option.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ // TODO: upstream this to Boost. diff --git a/utils/error_injection.cc b/utils/error_injection.cc index c49eb81092..a62ca77bea 100644 --- a/utils/error_injection.cc +++ b/utils/error_injection.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "utils/error_injection.hh" diff --git a/utils/error_injection.hh b/utils/error_injection.hh index 1f417335c1..830c437b17 100644 --- a/utils/error_injection.hh +++ b/utils/error_injection.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/estimated_histogram.hh b/utils/estimated_histogram.hh index c111ae8ff9..c2c784c0d6 100644 --- a/utils/estimated_histogram.hh +++ b/utils/estimated_histogram.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/utils/exceptions.cc b/utils/exceptions.cc index a5202cf12e..e4e612aaa2 100644 --- a/utils/exceptions.cc +++ b/utils/exceptions.cc @@ -2,20 +2,7 @@ * Copyright 2015-present ScyllaDB */ -/* This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . +/* SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/utils/exceptions.hh b/utils/exceptions.hh index d6e59d4583..4f47e3d694 100644 --- a/utils/exceptions.hh +++ b/utils/exceptions.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/exponential_backoff_retry.hh b/utils/exponential_backoff_retry.hh index 8e6059aa22..8b1a60face 100644 --- a/utils/exponential_backoff_retry.hh +++ b/utils/exponential_backoff_retry.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/extremum_tracking.hh b/utils/extremum_tracking.hh index e2b3b20640..b8cf9cc2ba 100644 --- a/utils/extremum_tracking.hh +++ b/utils/extremum_tracking.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/fb_utilities.hh b/utils/fb_utilities.hh index 8694f07c4e..b0cfce92ef 100644 --- a/utils/fb_utilities.hh +++ b/utils/fb_utilities.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -22,20 +7,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/utils/file_lock.cc b/utils/file_lock.cc index 448b9b4faf..c367b87e3b 100644 --- a/utils/file_lock.cc +++ b/utils/file_lock.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/utils/file_lock.hh b/utils/file_lock.hh index 1b3e5e8338..6353197795 100644 --- a/utils/file_lock.hh +++ b/utils/file_lock.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/flush_queue.hh b/utils/flush_queue.hh index 67bb689d38..2053a12d9e 100644 --- a/utils/flush_queue.hh +++ b/utils/flush_queue.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/fmt-compat.hh b/utils/fmt-compat.hh index 5adf3b801a..9ccb27544a 100644 --- a/utils/fmt-compat.hh +++ b/utils/fmt-compat.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/fragment_range.hh b/utils/fragment_range.hh index 8f904d53e1..f2d377ae0f 100644 --- a/utils/fragment_range.hh +++ b/utils/fragment_range.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/fragmented_temporary_buffer.hh b/utils/fragmented_temporary_buffer.hh index 6cd41bd59d..f4f1428ce4 100644 --- a/utils/fragmented_temporary_buffer.hh +++ b/utils/fragmented_temporary_buffer.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/generation-number.cc b/utils/generation-number.cc index 8b15d6e50c..34daee0ab6 100644 --- a/utils/generation-number.cc +++ b/utils/generation-number.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/utils/generation-number.hh b/utils/generation-number.hh index 820d7b24fb..deef890bd4 100644 --- a/utils/generation-number.hh +++ b/utils/generation-number.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/gz/crc_combine.cc b/utils/gz/crc_combine.cc index 1e81033da8..6a8d6b0f52 100644 --- a/utils/gz/crc_combine.cc +++ b/utils/gz/crc_combine.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later * */ diff --git a/utils/gz/crc_combine.hh b/utils/gz/crc_combine.hh index 51e174c61b..30e1a7f09e 100644 --- a/utils/gz/crc_combine.hh +++ b/utils/gz/crc_combine.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later * */ diff --git a/utils/gz/crc_combine_table.hh b/utils/gz/crc_combine_table.hh index cefa879a15..c5f0342926 100644 --- a/utils/gz/crc_combine_table.hh +++ b/utils/gz/crc_combine_table.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later * */ diff --git a/utils/gz/gen_crc_combine_table.cc b/utils/gz/gen_crc_combine_table.cc index c21bdb1520..94086cc19e 100644 --- a/utils/gz/gen_crc_combine_table.cc +++ b/utils/gz/gen_crc_combine_table.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later * */ diff --git a/utils/hash.hh b/utils/hash.hh index 6ae49c157c..18ff8e5ec8 100644 --- a/utils/hash.hh +++ b/utils/hash.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #ifndef UTILS_HASH_HH_ diff --git a/utils/histogram.hh b/utils/histogram.hh index 52e30eb8fd..63f9ebbc76 100644 --- a/utils/histogram.hh +++ b/utils/histogram.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/histogram_metrics_helper.hh b/utils/histogram_metrics_helper.hh index 415d000c3c..450cc038b8 100644 --- a/utils/histogram_metrics_helper.hh +++ b/utils/histogram_metrics_helper.hh @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/human_readable.cc b/utils/human_readable.cc index 145e3e499f..76c10dbeb8 100644 --- a/utils/human_readable.cc +++ b/utils/human_readable.cc @@ -1,18 +1,5 @@ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ /* diff --git a/utils/human_readable.hh b/utils/human_readable.hh index 589f970cbd..5494294d16 100644 --- a/utils/human_readable.hh +++ b/utils/human_readable.hh @@ -1,18 +1,5 @@ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ /* diff --git a/utils/i_filter.cc b/utils/i_filter.cc index 4b929689a0..1e72360ee4 100644 --- a/utils/i_filter.cc +++ b/utils/i_filter.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "log.hh" diff --git a/utils/i_filter.hh b/utils/i_filter.hh index 0ae31f55fe..1f48a37c65 100644 --- a/utils/i_filter.hh +++ b/utils/i_filter.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/utils/immutable-collection.hh b/utils/immutable-collection.hh index ed2913bc5a..6d2518567e 100644 --- a/utils/immutable-collection.hh +++ b/utils/immutable-collection.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/in.hh b/utils/in.hh index d3b3d65fb3..1361318164 100644 --- a/utils/in.hh +++ b/utils/in.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/input_stream.hh b/utils/input_stream.hh index 220c92131f..8bea9ba359 100644 --- a/utils/input_stream.hh +++ b/utils/input_stream.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/int_range.hh b/utils/int_range.hh index 61932f9fde..363c2cba9b 100644 --- a/utils/int_range.hh +++ b/utils/int_range.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/intrusive-array.hh b/utils/intrusive-array.hh index fe727ddde0..91f4ad036a 100644 --- a/utils/intrusive-array.hh +++ b/utils/intrusive-array.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/intrusive_btree.hh b/utils/intrusive_btree.hh index 482abd22f6..0e7d2aaf5e 100644 --- a/utils/intrusive_btree.hh +++ b/utils/intrusive_btree.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/joinpoint.hh b/utils/joinpoint.hh index 8990198163..163cca0faa 100644 --- a/utils/joinpoint.hh +++ b/utils/joinpoint.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/large_bitset.cc b/utils/large_bitset.cc index d7377c36f0..69e2f1e4d2 100644 --- a/utils/large_bitset.cc +++ b/utils/large_bitset.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "large_bitset.hh" diff --git a/utils/large_bitset.hh b/utils/large_bitset.hh index d2bceeb0c8..010e0b87cb 100644 --- a/utils/large_bitset.hh +++ b/utils/large_bitset.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ // A bitset containing a very large number of bits, so it uses fragmented diff --git a/utils/latency.hh b/utils/latency.hh index aff8a5bc87..15e5d30999 100644 --- a/utils/latency.hh +++ b/utils/latency.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/like_matcher.cc b/utils/like_matcher.cc index c31adc9383..8fe7c8300c 100644 --- a/utils/like_matcher.cc +++ b/utils/like_matcher.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/utils/like_matcher.hh b/utils/like_matcher.hh index c8708f2565..29b939b4e9 100644 --- a/utils/like_matcher.hh +++ b/utils/like_matcher.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/limiting_data_source.cc b/utils/limiting_data_source.cc index 1ce7e0537f..7a94a70e5f 100644 --- a/utils/limiting_data_source.cc +++ b/utils/limiting_data_source.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "limiting_data_source.hh" diff --git a/utils/limiting_data_source.hh b/utils/limiting_data_source.hh index e4acbd272c..57a7d12d6e 100644 --- a/utils/limiting_data_source.hh +++ b/utils/limiting_data_source.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/linearizing_input_stream.hh b/utils/linearizing_input_stream.hh index d2af5280a4..5b01fa2090 100644 --- a/utils/linearizing_input_stream.hh +++ b/utils/linearizing_input_stream.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/loading_cache.hh b/utils/loading_cache.hh index f609680a13..a1f5528978 100644 --- a/utils/loading_cache.hh +++ b/utils/loading_cache.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/loading_shared_values.hh b/utils/loading_shared_values.hh index 8d0d612b8c..d3228c3e59 100644 --- a/utils/loading_shared_values.hh +++ b/utils/loading_shared_values.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/log_heap.hh b/utils/log_heap.hh index 4fe73ce75c..41d7d4fd8a 100644 --- a/utils/log_heap.hh +++ b/utils/log_heap.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/logalloc.cc b/utils/logalloc.cc index 619b7bf060..f74ae6c04b 100644 --- a/utils/logalloc.cc +++ b/utils/logalloc.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/utils/logalloc.hh b/utils/logalloc.hh index daa02d4bdc..13d654bb53 100644 --- a/utils/logalloc.hh +++ b/utils/logalloc.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/lru.hh b/utils/lru.hh index c85f5d070c..7d4fb40d5b 100644 --- a/utils/lru.hh +++ b/utils/lru.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/lsa/chunked_managed_vector.hh b/utils/lsa/chunked_managed_vector.hh index 43b5aeeea1..e7a6291659 100644 --- a/utils/lsa/chunked_managed_vector.hh +++ b/utils/lsa/chunked_managed_vector.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/lsa/weak_ptr.hh b/utils/lsa/weak_ptr.hh index aafcbd63e3..f224bc8695 100644 --- a/utils/lsa/weak_ptr.hh +++ b/utils/lsa/weak_ptr.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/managed_bytes.cc b/utils/managed_bytes.cc index a3c96a059d..5368fc36a8 100644 --- a/utils/managed_bytes.cc +++ b/utils/managed_bytes.cc @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/utils/managed_bytes.hh b/utils/managed_bytes.hh index 43fa11f525..105362b1f9 100644 --- a/utils/managed_bytes.hh +++ b/utils/managed_bytes.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/managed_ref.hh b/utils/managed_ref.hh index 61e0609292..117e694f98 100644 --- a/utils/managed_ref.hh +++ b/utils/managed_ref.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/managed_vector.hh b/utils/managed_vector.hh index 147c91ec51..42ee2826f4 100644 --- a/utils/managed_vector.hh +++ b/utils/managed_vector.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/maybe_yield.hh b/utils/maybe_yield.hh index 44ed3db07a..0b69089702 100644 --- a/utils/maybe_yield.hh +++ b/utils/maybe_yield.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/memory_data_sink.hh b/utils/memory_data_sink.hh index 4c31b806ec..eea3898653 100644 --- a/utils/memory_data_sink.hh +++ b/utils/memory_data_sink.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include diff --git a/utils/multiprecision_int.cc b/utils/multiprecision_int.cc index dabc9ac3a4..4214902b83 100644 --- a/utils/multiprecision_int.cc +++ b/utils/multiprecision_int.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/utils/multiprecision_int.hh b/utils/multiprecision_int.hh index f548efd300..117a524afb 100644 --- a/utils/multiprecision_int.hh +++ b/utils/multiprecision_int.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/murmur_hash.cc b/utils/murmur_hash.cc index d0c8e81a6b..0fc471e929 100644 --- a/utils/murmur_hash.cc +++ b/utils/murmur_hash.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB @@ -21,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "murmur_hash.hh" diff --git a/utils/murmur_hash.hh b/utils/murmur_hash.hh index 9ce4c10a29..4ee3a25b90 100644 --- a/utils/murmur_hash.hh +++ b/utils/murmur_hash.hh @@ -1,39 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. * * Modified by ScyllaDB * Copyright (C) 2015-present ScyllaDB */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/utils/mutable_view.hh b/utils/mutable_view.hh index d22606b718..2b724da10c 100644 --- a/utils/mutable_view.hh +++ b/utils/mutable_view.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/neat-object-id.hh b/utils/neat-object-id.hh index 14d66628da..4def533f2f 100644 --- a/utils/neat-object-id.hh +++ b/utils/neat-object-id.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/observable.hh b/utils/observable.hh index 4847d247fa..a34ad41c91 100644 --- a/utils/observable.hh +++ b/utils/observable.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/overloaded_functor.hh b/utils/overloaded_functor.hh index 4f64418a94..f30bab2ba4 100644 --- a/utils/overloaded_functor.hh +++ b/utils/overloaded_functor.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/phased_barrier.hh b/utils/phased_barrier.hh index b48b80d3f4..548a4db524 100644 --- a/utils/phased_barrier.hh +++ b/utils/phased_barrier.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/preempt.hh b/utils/preempt.hh index 063d758d6d..fd155ee225 100644 --- a/utils/preempt.hh +++ b/utils/preempt.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/ranges.hh b/utils/ranges.hh index dcaa2d5878..9da79f7725 100644 --- a/utils/ranges.hh +++ b/utils/ranges.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/rate_limiter.cc b/utils/rate_limiter.cc index 3a7fc4f66e..cf9f76f673 100644 --- a/utils/rate_limiter.cc +++ b/utils/rate_limiter.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "rate_limiter.hh" diff --git a/utils/rate_limiter.hh b/utils/rate_limiter.hh index fdf262d2ee..b95de9c9d8 100644 --- a/utils/rate_limiter.hh +++ b/utils/rate_limiter.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/reusable_buffer.hh b/utils/reusable_buffer.hh index e55cf741d9..6664f1d670 100644 --- a/utils/reusable_buffer.hh +++ b/utils/reusable_buffer.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/rjson.cc b/utils/rjson.cc index 07c904a36f..0bc73f7f7a 100644 --- a/utils/rjson.cc +++ b/utils/rjson.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "rjson.hh" diff --git a/utils/rjson.hh b/utils/rjson.hh index 8f44582c58..ab627377b3 100644 --- a/utils/rjson.hh +++ b/utils/rjson.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/runtime.cc b/utils/runtime.cc index 395a500c40..18da0c64ca 100644 --- a/utils/runtime.cc +++ b/utils/runtime.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "utils/runtime.hh" diff --git a/utils/runtime.hh b/utils/runtime.hh index a973f384ad..46f01b123e 100644 --- a/utils/runtime.hh +++ b/utils/runtime.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/sequenced_set.hh b/utils/sequenced_set.hh index 5aac802392..2638394f3b 100644 --- a/utils/sequenced_set.hh +++ b/utils/sequenced_set.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/serialization.hh b/utils/serialization.hh index f477a39641..4f03561961 100644 --- a/utils/serialization.hh +++ b/utils/serialization.hh @@ -5,20 +5,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ // The following is a redesigned subset of Java's DataOutput, diff --git a/utils/serialized_action.hh b/utils/serialized_action.hh index 7743361068..6f0f0f0a45 100644 --- a/utils/serialized_action.hh +++ b/utils/serialized_action.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/small_vector.hh b/utils/small_vector.hh index 23736c9d11..9e3bb7759b 100644 --- a/utils/small_vector.hh +++ b/utils/small_vector.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/stall_free.hh b/utils/stall_free.hh index 98ff1205ec..c798f5a881 100644 --- a/utils/stall_free.hh +++ b/utils/stall_free.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/streaming_histogram.hh b/utils/streaming_histogram.hh index f529c088c9..1edcfedb2e 100644 --- a/utils/streaming_histogram.hh +++ b/utils/streaming_histogram.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/utils/top_k.hh b/utils/top_k.hh index 121fd142ed..fb174cb98f 100644 --- a/utils/top_k.hh +++ b/utils/top_k.hh @@ -19,20 +19,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/updateable_value.cc b/utils/updateable_value.cc index 60a55eb019..426ff7d2ae 100644 --- a/utils/updateable_value.cc +++ b/utils/updateable_value.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/utils/updateable_value.hh b/utils/updateable_value.hh index f82c944510..9020826392 100644 --- a/utils/updateable_value.hh +++ b/utils/updateable_value.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/utils/utf8.cc b/utils/utf8.cc index 5995627365..dc5c0b79c1 100644 --- a/utils/utf8.cc +++ b/utils/utf8.cc @@ -6,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ /* diff --git a/utils/utf8.hh b/utils/utf8.hh index e1752e5764..ad09cd478a 100644 --- a/utils/utf8.hh +++ b/utils/utf8.hh @@ -6,20 +6,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/uuid.cc b/utils/uuid.cc index 8a7d5c6ceb..7094bbb173 100644 --- a/utils/uuid.cc +++ b/utils/uuid.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ diff --git a/utils/variant_element.hh b/utils/variant_element.hh index c89761e898..af4253d069 100644 --- a/utils/variant_element.hh +++ b/utils/variant_element.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/utils/vle.hh b/utils/vle.hh index 97bf1a66a4..621bf07b2a 100644 --- a/utils/vle.hh +++ b/utils/vle.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/validation.cc b/validation.cc index bbe53dd32a..2da2109944 100644 --- a/validation.cc +++ b/validation.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "validation.hh" diff --git a/validation.hh b/validation.hh index 06c423af06..08138832e5 100644 --- a/validation.hh +++ b/validation.hh @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once diff --git a/version.hh b/version.hh index 69901f2ffb..c29f00ea24 100644 --- a/version.hh +++ b/version.hh @@ -4,20 +4,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/view_info.hh b/view_info.hh index 7bb2984080..bc2a3f5cda 100644 --- a/view_info.hh +++ b/view_info.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/vint-serialization.cc b/vint-serialization.cc index 32f3155af1..c4ac09d2c1 100644 --- a/vint-serialization.cc +++ b/vint-serialization.cc @@ -1,19 +1,4 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ /* @@ -23,20 +8,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #include "vint-serialization.hh" diff --git a/vint-serialization.hh b/vint-serialization.hh index 014544be43..285698c9f5 100644 --- a/vint-serialization.hh +++ b/vint-serialization.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ // diff --git a/xx_hasher.hh b/xx_hasher.hh index 5da19bbba3..99d6198bcf 100644 --- a/xx_hasher.hh +++ b/xx_hasher.hh @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once diff --git a/zstd.cc b/zstd.cc index 9517e2f75c..c46cef663d 100644 --- a/zstd.cc +++ b/zstd.cc @@ -3,20 +3,7 @@ */ /* - * This file is part of Scylla. - * - * Scylla is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Scylla is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Scylla. If not, see . + * SPDX-License-Identifier: AGPL-3.0-or-later */ #include